Forrest logo
back to the v4l2-ctl tool

v4l2-ctl:tldr:ec37f

v4l2-ctl: List supported video formats and resolutions of default video device `/dev/video0`.
$ v4l2-ctl --list-formats-ext
try on your machine

The command "v4l2-ctl --list-formats-ext" is used to display the supported video formats and their properties of a video device in the Linux system. Here's a breakdown of the command: - "v4l2-ctl": This refers to the Video4Linux2 Control program, which is a command-line tool used to control and configure video devices. - "--list-formats-ext": This option tells the "v4l2-ctl" program to list the formats supported by the video device, along with their extended details. When you run this command, it will provide you with a list of video formats supported by the specified video device, such as resolution, pixel formats, frame rates, etc. This can be helpful when configuring or troubleshooting video devices, as it gives you an overview of the capabilities of the device.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the v4l2-ctl tool