Efficiently displaying video in Qt application

Carlos Rafael Giani crg7475 at mailbox.org
Mon Oct 19 20:34:46 UTC 2020


Take a look at qmlglsink. It does exactly what you want to do.

On 19.10.20 19:53, Tyler Compton wrote:
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201019/699ed7e1/attachment.htm>


More information about the gstreamer-devel mailing list