[Bug 755072] vaapi: expose memory:DMABuf capsfeature

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 3 09:01:38 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=755072

--- Comment #31 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Julien,

I have pushed a branch in my repository with the dmabuf downstream support:

https://github.com/ceyusa/gstreamer-vaapi/tree/755072 (branch name is 755072)

Basically are the patches posted in bug 765435, plus a couple more which sets
the dmabuf allocator if downstream supports EGL_EXT_image_dma_buf_import.

Right now to test is is running a pipeline similar to this one:

GST_GL_PLATFORM=egl gst-play-1.0 sample.mkv --videosink="capsfilter
caps=\"video/x-raw, format=YUY2\" ! glimagesink"

I need a patch to check the dowstream support of EGL_EXT_image_dma_buf_import
before the caps negotiation, so system memory caps will have priority over
GLTextureUpload

Please note that, at least in intel platforms, the format needs to be one which
can be a vaDeriveImage from the VASurface, but also needs to be a format with
one plane, since the dmabuf support in vaapi onle delivers one fd. This is why
I force YUY2 or I420. RGBA won't work :(

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list