v4l2 utils
Table of Contents
installation
sudo apt install v4l-utils
sudo apt show v4l-utils
Package: v4l-utils
Version: 1.20.0-2
Priority: optional
Section: utils
Maintainer: Gregor Jasny <gjasny@googlemail.com>
Installed-Size: 1826 kB
Depends: libv4l-0 (= 1.20.0-2), libv4l2rds0 (= 1.20.0-2), libc6 (>= 2.28), libgcc-s1 (>= 3.5), libstdc++6 (>= 5.2), libudev1 (>= 183)
Breaks: ivtv-utils (<< 1.4.1-2), media-ctl
Replaces: ivtv-utils (<< 1.4.1-2), media-ctl
Homepage: https://linuxtv.org/downloads/v4l-utils/
Download-Size: 511 kB
APT-Manual-Installed: yes
APT-Sources: http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
Description: Collection of command line video4linux utilities
v4l-utils contains the following video4linux command line utilities:
.
decode_tm6000: decodes tm6000 proprietary format streams
rds-ctl: tool to receive and decode Radio Data System (RDS) streams
v4l2-compliance: tool to test v4l2 API compliance of drivers
v4l2-ctl, cx18-ctl, ivtv-ctl: tools to control v4l2 controls from the cmdline
v4l2-dbg: tool to directly get and set registers of v4l2 devices
v4l2-sysfs-path: sysfs helper tool
List v4l2 devices
$ v4l2-ctl --list-devices
$ ls -l /dev/v4l/by-id/ # alternative
Show device information
$ v4l2-ctl --device=/dev/video3 --all
use list-formats to determine if it contains video streams
$ v4l2-ctl --list-formats --device /dev/video0
List supported formats
$ v4l2-ctl -d /dev/video0 --list-formats-ext
Adjust video source
- Brightness, zoom, focus, etc, can be adjusted with v4l2-ctl. Display all controls and their menus:
$ v4l2-ctl -L
- Then adjust the value:
$ v4l2-ctl -c <option>=<value>
Comments |0|
Category: Uncategorized