How to get vaapidech265 output as opencv BGR mat?
Víctor Jáquez
vjaquez at igalia.com
Thu Oct 31 10:49:21 UTC 2019
On Tue, 29 Oct 2019 at 16:57, jeyp4 wrote:
> 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
vaapidecode doesn't exist anymore. Are using gstreamer-1.8?
>
>
> 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?*
You would need vaapipostproc to do the color transformation and set the BGR
format.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list