Opengl framebuffer source

Matthew Waters ystreet00 at gmail.com
Fri Jul 15 12:51:08 UTC 2016


On 15/07/16 02:21, arizonausa wrote:
> Hi All,
>
> I am looking for a solution on using Gstreamer to grab the framebuffer,
> transform it's colors place from RGBA to I420, then use OMX-based encoder to
> finish h264 or h265 encoding.

This all depends on what exactly you mean by 'framebuffer'.  Inside
OpenGL, framebuffer's don't actually hold any data and are just
container objects for textures/renderbuffers that you can render
from/to.  You can download texture but not renderbuffers.

The other interpretation of framebuffer is /dev/fb like thing which I'm
not entirely sure what facilities are available for readback of that. 
This is not in the OpenGL domain though so you'll need to consult your
platform's documentation/samples/etc.

Cheers
-Matt

> I don't find any OPENGL based source plugins which can grab framebuffer to a
> FBO, and save the transformed I420 data to a OPENGL texture.
>
> Do anyone have idea on my case, thanks.
>
> Kevin     

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160715/f4812c70/attachment.sig>


More information about the gstreamer-devel mailing list