[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:15:51 CEST 2024


David,

I’m was looking to use QQuick API instead of QWidgets.

Instead of a video it could be a shader, or an image. The idea is to have a processing, on a certain input. 

I also need to do this fast, very fast. Is Qt suitable for this? 

Regards,

Nuno

> On 15 Aug 2024, at 21:55, David M. Cotter <dave at kjams.com> wrote:
> 
> Assuming you want multiple layers, you want a QGraphicsScene
> https://doc.qt.io/qt-6/qgraphicsscene.html
> 
> Shown through a view
> 
> And into the scene you can add QGraphicsItems
> https://doc.qt.io/qt-6/qgraphicsitem.html#details
> 
> One of which can be a pixmap item:
> https://doc.qt.io/qt-6/qgraphicspixmapitem.html
> 
> yes?
> 
>> On Aug 15, 2024, at 1:37 AM, Nuno Santos via Interest <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
>> https://lists.qt-project.org/listinfo/interest
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240816/59ef8520/attachment.htm>


More information about the Interest mailing list