Efficiently displaying video in Qt application

Tyler Compton xaviosx at gmail.com
Mon Oct 19 17:53:08 UTC 2020


Hi everyone,

I have a pipeline that uses VA-API to hardware decode some video streams so
they can be displayed on a Qt application. Right now, I'm doing the simple
thing and converting the results from a DMABuf/VASurface to a regular
GStreamer buffer, passing them to an appsink, and displaying the frames
manually. This is a fairly inefficient process, however.

I'm wondering if it's possible to display a DMABuf/VASurface directly
on-screen within my Qt application. My hunch is that I could do this by
creating an OpenGL context in Qt and routing the results there, but I'm
having trouble putting all the pieces together. Would someone mind pointing
me in the right direction?

Thanks,
Tyler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201019/5885ae3e/attachment.htm>


More information about the gstreamer-devel mailing list