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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Dec 28 23:03:48 CET 2021


Hi Vedant,

On Tue, Dec 28, 2021 at 11:27:01PM +0530, Vedant Paranjape wrote:
> 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/

The command doesn't seem to capture any frame :-(

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list