[Bug 792034] dmabuf import with icamerasrc plugin does not working with gst-vaapi-1.12.2

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Dec 30 01:58:22 UTC 2017


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

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Ok, indeed automatic importation from vaapi dmabuf to the camera is not
automatically supported. It is also broken in v4l2src, so if there is a hack to
enable it, please remove right away, I'll remove it if it is still there when
I'm back in Jan (unless I have a patch that adds the missing validation).

What is complicated is that you need to tell the driver the strides and offsets
of the allocated images. And as there is currently no kernel API to help with
negotiating the allocation between two drivers, these need to match on first
try. Drivers like UVC, that could support arbitrary alignement simply don't
implement it, and enforce a certain alignment. V4L2 API is not very friendly as
it merge the format and alignment ll together.

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