Dear Maintainers, I second the proposal for enabling the V4L2 M2M Gstreamer plugins,
This is immediately usable on the Raspberry Pi's with their downstream kernel that includes the bcm2835-codec V4L2 M2M stateful codec driver. It would also be usable on Mediatek platforms, whose stateful codec driver has been merged upstream as of kernel version 4.14. In addition, a driver for Amlogic's VPU has been merged for Linux kernel 5.3, initially supporting MPEG-1/2, but will be expanded to cover H.264, MPEG-4 ASP, and MJPEG [1]. There are many more platforms already supported upstream, though I'm not familiar with them. It is more usable then FFmpeg's support for V4L2 M2M, which seems to break under some corner cases. The following patch (diff against buster source package version 1.14.4-1) enables the feature for all Linux platforms. Please consider applying it. Regards ChenYu [1] https://github.com/Elyotna/linux/commits/5.2/v4l2-m2m-pr --- debian/rules.old 2019-07-17 11:45:21.047971339 +0800 +++ debian/rules 2019-07-17 11:22:50.010807527 +0800 @@ -86,6 +86,7 @@ ifeq ($(DEB_HOST_ARCH_OS),linux) 1394 = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-$(gst_abi)/libgst1394.so video4linux2 = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-$(gst_abi)/libgstvideo4linux2.so +CONFIG_ARGS += --enable-v4l2-probe endif ifeq ($(DEB_HOST_ARCH_OS),hurd)
signature.asc
Description: PGP signature