gst-vaapi and opengl again

Jorge Fernandez Monteagudo jorgefm at cirsa.com
Tue Mar 12 00:09:30 PDT 2013


Hi Nicolas, thanks for answering!

Could you clarify a little more about the GstVideoContext and GstSurface role, I would like to know
what is going on?

About the GstVideoContext, in my little X11 application, where I open the display, I do the 'gst_bus_set_sync_handler'
in order to call 'gst_video_context_set_context_pointer' and set the same display, but is it needed in order to create
an opengl context in the vaapi side?

And about the GstSurface... are you talking about GstSurfaceBuffer? How this arrive to my application?
If I use an playbin2 pipeline, is it needed to implement a video sink, like the ClutterGstVideoSink in order to receive this
buffer or the vaapisink is able to export them?

And my last one, Are the clutter libraries needed? I would like to minimize the amount of libraries on my custom
system, and I would like to avoid pango, cogl, clutter etc, and let the basic ones.

Thanks!
Jorge

________________________________________
From: gstreamer-devel-bounces+jorgefm=cirsa.com at lists.freedesktop.org [gstreamer-devel-bounces+jorgefm=cirsa.com at lists.freedesktop.org] On Behalf Of Nicolas Dufresne [nicolas.dufresne at collabora.co.uk]
Sent: Friday, March 08, 2013 4:16 AM
To: Discussion of the development of and with GStreamer
Subject: Re: gst-vaapi and opengl again

Le mardi 05 mars 2013 à 05:23 -0800, Jorge a écrit :
I've read solutions using clutter but it could be done only with gstreamer
libs? Is there a minimal player in source code to grasp the idea?
In 0.10, you can use the GstVideoContext and GstSurface APIs to upload a VA surface to a texture. Note, these APIs are experimental and have been removed in 1.0. They might be reintroduce in another form later, but these things are hard to get right. You can look at the code in 0.10 clutter-gst and it's sample media player.

cheers,
Nicolas


Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.


More information about the gstreamer-devel mailing list