Vaapidecode Format and OpenGL

Hyunjun Ko zzoon at igalia.com
Tue Jun 13 01:19:21 UTC 2017


Hi,

Probably you're using old version of gstreamer-vaapi, I guess it's 1.8 or
under it.
I recommend you use higher version of gstreamer-vaapi, 1.10 at least, 1.12
highly recommended, if you want to manipulate GL buffer from vaapi decoder.
Because there was important bug-fix and optimization for GLX/EGL in
gstreamer-vaapi between 1.8 and 1.10.

https://bugzilla.gnome.org/show_bug.cgi?id=769293
https://bugzilla.gnome.org/show_bug.cgi?id=766206

Then, I believe you can use this pipeline with GstVideoGLTextureUploadMeta
negotiated without capsfilter.

gst-launch-1.0 *-v* filesrc location=/home/perso/video.mp4 ! qtdemux !
vaapidecodebin ! glupload ! appsink 
(Note that this uses vaapidecodebin since vaapidecode is gone in 1.10)

In addition, probably you may want to choose GLX or EGL by env variable
GST_GL_PLATFORM=glx or GST_GL_PLATFORM=egl.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Vaapidecode-Format-and-OpenGL-tp4683302p4683317.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list