Skip to content
Snippets Groups Projects

v4l2src

Repo based on GStreamer plugins good for VideoRay that only contains a patched version of v4l2src.

Install

Dependencies

sudo apt install libv4l-dev libudev-dev libgudev-1.0-dev

Build and install

meson build --prefix /usr/
ninja -C build
sudo ninja -C build install

Generate Debian package

debuild -b -us -uc

Examples

imx477 camera capture

gst-launch-1.0 \
rrv4l2src device=/dev/video0 ! \
video/x-bayer,format=rggb,width=3840,height=2160,framerate=30/1,bpp=10 ! \
perf ! fakesink