How to get vaapidech265 output as opencv BGR mat?

jeyp4 jaiforfriend at gmail.com
Tue Oct 29 21:57:03 UTC 2019


Hello

I am building an application which emulates below command except
'xvimagesink'.

gst-launch-1.0 -v v4l2src  !
'video/x-raw,format=(string)YV12,width=1280,height=720' ! vaapih265enc !
vaapidecode ! xvimagesink


I checked vaapidecode caps through verbose

vaapidecode0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\
width\=\(int\)1280\,\ height\=\(int\)736\,\
interlace-mode\=\(string\)progressive\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ chroma-site\=\(string\)mpeg2\,\
colorimetry\=\(string\)bt709\,\ framerate\=\(fraction\)25/1"


*What is the efficient way to replace  'xvimagesink' and get the buffer as
opencv BGR mat?*



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list