GNOME Bugzilla – Bug 743635
plugins: add support for dma_buf exports (v4l2src)
Last modified: 2015-01-28 16:39:52 UTC
This is a follow-on to bug #735362 whereby supporting v4l2src is not going to work if the underlying V4L2 driver does not support DMABUF exports. There is another possible approach, since GStreamer 1.4, to allow for dma_buf exports from the downstream element, and importing that buffer in v4l2src element instead. This uses io-mode=dmabuf-import, and this needs to be explicitly requested for. Ultimately, further dependencies to core GStreamer need to be added so that clear DMABUF capabilities/requirements are exposed either as capsfeatures or appropriate bufferpool options.
commit 82fc406dfda4d477396c1396d0cf2d03b4417d6a Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Date: Mon Jan 26 18:30:47 2015 +0100 plugins: add support for dma_buf exports (v4l2src). Allow v4l2src element to connected to vaapipostproc or vaapisink when "io-mode" is set to "dmabuf-import". In practice, this is a more likely operational mode with uvcvideo. Supporting v4lsrc with "io-mode" set to "dmabuf" could work, but with more demanding driver or kernel reqs. Note: with GStreamer 1.4, v4l2src (gst-plugins-good) needs to be built with --without-libv4l2. https://bugzilla.gnome.org/show_bug.cgi?id=743635