Expand description
Linux video device library.
This library provides a (hopefully) convenient and high-level wrapper around the V4L2 ioctls, and allows accessing video devices (capture cards, webcams, etc.) on Linux systems.
The main entry points to the library are list
, for enumerating all V4L2 devices (and opening
one of them by name), and Device::open
, for opening a specific path.
Modules§
- controls
- Device control enumeration and access.
- format
- Image and pixel formats.
- stream
- Streaming I/O.
- uvc
- USB Video Class extensions.
Structs§
- Analog
Std - Analog video standards.
- BufType
- A buffer or stream type.
- BufTypes
- Bitflags of supported buffer types.
- BufTypes
Iter - Iterator over the
BufType
s stored in aBufTypes
value. - Capabilities
- Stores generic device information.
- Capability
Flags - Device capabilities.
- Device
- A V4L2 device.
- Fract
- A fractional value (
numerator / denominator
). - Input
- Information about a device input.
- Input
Capabilities - Describes the capabilities of a device
Input
. - Input
Iter - Iterator over the
Input
s of aDevice
. - Input
Status - Bitflags describing the current status of a device
Input
. - Input
Type - Describes what kind of device an
Input
is. - Meta
Capture Device - A device configured for metadata capture.
- Output
- Information about a device output.
- Output
Capabilities - Describes the capabilities of a device
Output
. - Output
Iter - Iterator over the
Output
s of aDevice
. - Output
Type - Describes what kind of device an
Output
is. - Video
Capture Device - A video device configured for video capture.
- Video
Output Device - A video device configured for video output.
Functions§
- list
- Returns an iterator over all connected V4L2 devices.