Control video devices. More information: https://manned.org/v4l2-ctl.
v4l2-ctl --list-devices
/dev/video0
:v4l2-ctl --list-formats-ext
v4l2-ctl --list-formats-ext {{[-d|--device]}} {{path/to/video_device}}
v4l2-ctl --all {{[-d|--device]}} {{path/to/video_device}}
v4l2-ctl {{[-d|--device]}} {{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 {{[-d|--device]}} {{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 {{[-l|--list-ctrls]}} {{[-d|--device]}} {{path/to/video_device}}
v4l2-ctl {{[-d|--device]}} {{path/to/video_device}} {{[-c|--set-ctrl]}} {{control_name}}={{value}}