How do I use glsrcbin

Matthew Waters ystreet00 at gmail.com
Fri Sep 10 02:29:09 UTC 2021


No, that's not what glsrcbin is for.

glsrcbin is only a helper element that automatically adds a ' ! 
glcolorconvert ! gldownload' after the specified source element.

If you want to push texture ID's into GStreamer you would need to do 
that manually using e.g. apprsc and ensure that OpenGL context's are 
shared or created as shareable correctly between your application and 
GStreamer.

Cheers
-Matt

On 10/9/21 7:31 am, Edward Anon via gstreamer-devel wrote:
> I want to push a texture into a pipeline. glsrcbin says it is part of 
> an Infrastructure to process GL textures'. So far so good!
>
> However, the docs don't mention how the "src" property is meant to be 
> used. I do not know how to interpret the description given: "The GL 
> src chain to use". Is there any way I can just give this a texture ID 
> or framebuffer I have my texture bound to?


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


More information about the gstreamer-devel mailing list