[Interest] What's the best of way of making a video processing pipeline in Qt?
Nuno Santos
nuno.santos at imaginando.pt
Fri Aug 16 14:13:10 CEST 2024
Jean,
I’ve been looking at the code.
Essentially you only use QRhiBuffer from Qt.
Do you think Qt does not provide the enough performance to handle this task or is any architectural limitation from Qt scene graph that lead to this decision?
Thanks!
Regards,
Nuno
> On 15 Aug 2024, at 16:01, Jean-Michaël Celerier <jeanmichael.celerier at gmail.com> wrote:
>
> I've done it in https://ossia.io <https://ossia.io/> using QRhi, to have multiple pipelines of shaders applying subsequently - works fine for e.g. video art needs.
> Most of the code is in there if that can be useful: https://github.com/ossia/score/tree/master/src/plugins/score-plugin-gfx/Gfx/Graph
>
>
> On Thu, Aug 15, 2024 at 4:38 AM Nuno Santos via Interest <interest at qt-project.org <mailto:interest at qt-project.org>> wrote:
>> Hi,
>>
>> I’m looking to create a pipeline of video processing with C++ only.
>>
>> I want for instance to create render a video, then an apply a blur effect, followed by a tilt effect, followed by hue shift effect, and so on.
>>
>> I also want to be able to switch the order of the effects.
>>
>> I know this is possible to make using Qml but I want to have more low level and dynamic control and be able to do this from C++. Is this even possible using Qt only?
>>
>> I believe a single QQuickItem is able to render source but in order to process is I need to be able to pass the output of that quick item to another quick item which will apply the effect on it.
>>
>> This was the strategy used in a higher level from the Qml side using the multi effect source. Isn’t that correct? But is this possible to do with Qt 6 and C++ only? Is there any API I should be aware of?
>>
>> Please advise.
>>
>> Thanks in advance.
>>
>> With my best regards,
>>
>> Nuno
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240816/af5316d5/attachment.htm>
More information about the Interest
mailing list