Vaapidecode Format and OpenGL

Zelnes mehdi.ghesh at hotmail.fr
Tue Jun 13 07:21:10 UTC 2017


Arjen Veenhuizen wrote
> Consider adding a capsfilter element after your decoder and setting its
> "caps" property to the caps you like instead of trying to force the caps
> on the vaapidecodebin src pad.
> 
> Unfortunately I do not know that much about VAAPI apart from that you have
> to very concise to get it to do what you want. Perhaps @Victor Jaquez can
> help you out here. Also, this thread might be of help to you(?). 

That's what I intend to do, but as I said previously, I can't even create
any caps using `gst_caps_new_simple` because it SEGFAULT all the time.


Hyunjun Ko wrote
> 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

It's funny that you found my version and told me to use 1.12, because I've
already opened  a thread
<http://gstreamer-devel.966125.n4.nabble.com/Problem-installing-GStreamer-vaapi-td4683225.html>  
about that


Hyunjun Ko wrote
> 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.

Let us suppose that the output is GstVideoGLTextureUploadMeta (the type
given by gst-inspect-1.0 for vaapidecode), how am I suppose to deal with
that ?

I'm probably going to try again for the 1.12 installation



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


More information about the gstreamer-devel mailing list