[libcamera-devel] [PATCH v3] v4l2: V4L2CameraProxy: Add EXPBUF as one of the supported ioctl

Vedant Paranjape vedantparanjape160201 at gmail.com
Tue Dec 28 18:57:01 CET 2021


Hello Laurent,
I have been able to test the patch. The steps I have followed:

1) clone this repo: https://git.libcamera.org/libcamera/vivid.git
2) Apply the patch in the trailing email, there's a small conflict
while doing so in v4l2_camera_proxy.h (as the patch was sent some time
back, probably needs to be rebased)
3) meson build
4) ninja -C build
5) sudo modprobe vivid
6) export LIBCAMERA_LOG_LEVELS='V4L2Compat:0'
7) run the following command:
        LD_PRELOAD=build/src/v4l2/v4l2-compat.so v4l2-ctl --device
/dev/video0 --stream-mmap --out-device /dev/video3 --stream-out-dmabuf

I have attached the output of lsv4l2 here as well:

video0: HD WebCam: HD WebCam
video1: HD WebCam: HD WebCam
video2: vivid-000-vid-cap
video3: vivid-000-vid-out

Here's the terminal log that I got: https://paste.debian.net/1225055/

Regards,
Vedant Paranjape


More information about the libcamera-devel mailing list