Webcam

Listing devices

# list all video devices picked up by the kernel 
ls -ltrh /dev/video*

# or
v4l2-ctl --list-devices

# To list all devices attached to USB / PCI
lsusb / lspci
# or
hwinfo --usb

Device Metadata / video mode

v4l2-ctl --device=/dev/video0 --all
v4l2-ctl --list-formats
v4l2-ctl --list-formats-ext

Config

Camera without MPG support mais work with “-r VGA -y” parameters see /root/bin/webcamd and configurations

see also

Written on August 20, 2020, Last update on November 24, 2023
webcam hardware video streaming