Expand description
Kernel-device sink: writes frames into a v4l2loopback output device.
Where the host (or a privileged container) carries the v4l2loopback module, a real /dev/videoN
is the zero-configuration path for consumers β no preload, no socket β exactly as /dev/uinput
is for the gamepads. The device is opened for output, set to the ringβs raw format, and fed one
write() per published frame. It is a best-effort mirror of the ring: an error disables the
sink and is reported once, never failing the camera.
StructsΒ§
- V4l2
Capability π - V4l2
Format π struct v4l2_format: the type word, padding to the 8-byte aligned union, then the unionβs 200 bytes, of which the pixel format occupies the first 48.- V4l2
Output - V4l2
PixFormat π
ConstantsΒ§
- IOC_
READ π - IOC_
WRITE π - V4L2_
BUF_ πTYPE_ VIDEO_ OUTPUT - V4L2_
CAP_ πDEVICE_ CAPS - V4L2_
CAP_ πREADWRITE - V4L2_
CAP_ πVIDEO_ OUTPUT - V4L2_
COLORSPACE_ πSMPT E170M - V4L2_
COLORSPACE_ πSRGB - V4L2_
FIELD_ πNONE - VIDIOC_
QUERYCAP π - VIDIOC_
S_ πFMT
FunctionsΒ§
- cstr_
field π - fourcc_
str - ioc π
- is_
loopback_ πoutput - query_
cap π