Vaapi. The ability to add input types to the decoders plugin: GstVideoGLTextureMeta and DMABuf

Víctor Jáquez vjaquez at igalia.com
Wed Aug 22 10:22:28 UTC 2018


On Tue, 21 Aug 2018 at 20:58, Ivan Fedotov wrote:
> Hello!
>  
> We use the vaapi encoder / decoder vp8. We have a GUI. The gui image is
> rendered directly into the opengl texture. We need to encode an image from the
> texture. We have to copy the memory from opengl to the main memory. Then feed
> to the coder. We need to encode an opengl texture without an intermediate
> memory copy. Is it possible to add GstVideoGLTextureMeta and DMABuf types to
> the inputs of the decoder plugins?

I guess you could use glsrcbin or gldownload to convert a GLMemory based buffer
(with a texture inside) into a dmabuf-based buffer and vaapipostproc would
upload it into a VA surface and then encoding it.

vmjl

> Do you plan to add such functionality in the future?
> Or we could also do this writing ourselves. Could you give us some information
> how to properly add this functionality to your library?
>  
> Ivan
>  
>  

> _______________________________________________
> 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