v4l2format
The Video4Linux2 (V4L2) API is a framework within the Linux kernel that provides applications with access to video capture devices and other multimedia peripherals. The concept of "format" in V4L2 refers to the way image data is structured and represented by a video device. This includes details such as pixel format, resolution, and frame rate.
When an application interacts with a V4L2 device, it must negotiate a format with the device. This
The V4L2 API uses structures like 'struct v4l2_format' to exchange format information between the application and