v4l2-ctl
Verified for current stable LTS
V4l2 Ctl Commands
V4l2 Ctl command syntax with verified terminal examples.
Commands
8 commands for V4l2 Ctl
v4l2-ctl Video
V4l2 Ctl Command: Capture Jpeg Photo With Resolution
v4l2-ctl -d <path/to/video_device> --set-fmt-video=width=<width>,height=<height>,pixelformat=MJPG --stream-mmap --stream-to=<path/to/output.jpg> --stream-count=1 v4l2-ctl Video
V4l2 Ctl Command: Capture Raw Video Stream
v4l2-ctl -d <path/to/video_device> --set-fmt-video=width=<width>,height=<height>,pixelformat=<format> --stream-mmap --stream-to=<path/to/output> --stream-count=<number_of_frames_to_capture> v4l2-ctl Video
V4l2 Ctl Command: Get Video Device Details
v4l2-ctl --all -d <path/to/video_device> v4l2-ctl Video
V4l2 Ctl Command: List All Video Devices
v4l2-ctl -A v4l2-ctl Video
V4l2 Ctl Command: List Supported Video Formats Default Device
v4l2-ctl --list-formats-ext v4l2-ctl Video
V4l2 Ctl Command: List Supported Video Formats Specific Device
v4l2-ctl --list-formats-ext -d <path/to/video_device> v4l2-ctl Video
V4l2 Ctl Command: List Video Device Controls And Values
v4l2-ctl -l -d <path/to/video_device> v4l2-ctl Video
V4l2 Ctl Command: Set Video Device Control Value
v4l2-ctl -d <path/to/video_device> -c <control_name>=<value> Suggest a V4l2 Ctl Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common V4l2 Ctl workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.