get buffer from qt surface

Jian Li jian.li at nxp.com
Wed Jan 13 18:22:19 PST 2016


Thanks, I'll try to use some Qt APIs for this, just want to know if there is any element in developing for this purpose.

  Regards, 
   Jian


-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Sebastian Dr?ge
Sent: Thursday, January 14, 2016 4:29 AM
To: Discussion of the development of and with GStreamer
Subject: Re: get buffer from qt surface

On Di, 2016-01-12 at 01:49 +0000, Jian Li wrote:
> Hi,
>  
> Is there a way to get buffer from qt surface?
> I see there is a qmlglsink that can render video into qml window, do 
> we have a plugin do the opposite thing? So that I can record the 
> application.

There is no element for this currently but there might be Qt API for offscreen rendering that can be used to e.g. render the surface into a GL texture and then you can either download that to CPU memory or use the texture directly. 

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com



More information about the gstreamer-devel mailing list