Crate linuxvideo

Source
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§

AnalogStd
Analog video standards.
BufType
A buffer or stream type.
BufTypes
Bitflags of supported buffer types.
BufTypesIter
Iterator over the BufTypes stored in a BufTypes value.
Capabilities
Stores generic device information.
CapabilityFlags
Device capabilities.
Device
A V4L2 device.
Fract
A fractional value (numerator / denominator).
Input
Information about a device input.
InputCapabilities
Describes the capabilities of a device Input.
InputIter
Iterator over the Inputs of a Device.
InputStatus
Bitflags describing the current status of a device Input.
InputType
Describes what kind of device an Input is.
MetaCaptureDevice
A device configured for metadata capture.
Output
Information about a device output.
OutputCapabilities
Describes the capabilities of a device Output.
OutputIter
Iterator over the Outputs of a Device.
OutputType
Describes what kind of device an Output is.
VideoCaptureDevice
A video device configured for video capture.
VideoOutputDevice
A video device configured for video output.

Functions§

list
Returns an iterator over all connected V4L2 devices.