Vaapidecode Format and OpenGL
Víctor M. Jáquez L.
vjaquez at igalia.com
Mon Jun 26 09:01:03 UTC 2017
On 06/19/17 at 01:23am, Zelnes wrote:
> Now I am able to create GstCaps, it's okay, but I can't set it between
> vaapidecodebin and appsink, or I could not link them.
>
> Do you have a piece of code showing how to draw a frame on GPU with OpenGL,
> with a frame coming directly from GPU (with vaapidecodebin) and which did
> not go to the CPU ?
> I have found so many different ways, none of them worked, may be because
> they are out of date. I just want an access to the GPU data, in order to
> process it with OpenGL and the draw it on screen with SDL and OpenGL
> (textures).
>
> I know it is possible, but I can't figure out why my attempts all fails.
These examples might help you
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/sdl
vmjl
More information about the gstreamer-devel
mailing list