How to get vaapidech265 output as opencv BGR mat?

Víctor Jáquez vjaquez at igalia.com
Mon Jan 6 13:43:28 UTC 2020


On Mon, 30 Dec 2019 at 06:33, jeyp4 wrote:
> I tried vaapipostproc for I420 -> BGRx.
> 
> It is working. But cost an overhead of 5ms for 720p.
> 
> I was wondering that both vaapidecode and vaapih265dec offers
> video/x-raw(meta:GstVideoGLTextureUploadMeta) format: { RGBA, BGRA }.

I suggest you not using it, since that caps feature is going to be deprecated en
2.0. Also that format is just to be used for GL textures, not raw frames. And
the output differs from the used platform: EGL or GLX.

> 
> Can I use this option and to get ready-made BGRA data for cv::Mat? If Yes,
> then How?
> 
> 
> 
> --
> 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