v4L2
Video4Linux2 (v4l2) is the second version of the Linux kernel API and user-space interface for video capture and output devices. It provides a standardized way to access webcams, TV tuners, capture cards, and other video hardware across different drivers and devices.
v4l2 defines both kernel-side and user-space interfaces. Device drivers implement the kernel API and expose devices
A core concept in v4l2 is buffer management and streaming. Applications request buffers (VIDIOC_REQBUFS), queue buffers
v4l2 is widely used by multimedia frameworks and applications, including GStreamer, FFmpeg, VLC, OpenCV, and desktop
Historically, v4l2 superseded the original Video4Linux (v4l1) and became the standard API in the Linux ecosystem,