libv4l2
libv4l2-based capture driver More...
libv4l2-based capture driver
The libv4l2 driver captures images from various webcams. Based on v4l-utils (GNU GPL v2).
- Compile-time dependencies
- libv4l2 (part of v4l-utils, shipped separately as media-libs/libv4l on Gentoo Linux)
- Provides
- Requires
- none
- Configuration requests
- none
- Configuration file options
- port (string)
- Default: "/dev/video0"
- Device to read video data from.
- sleep_nsec (integer)
- Default: 10000000 (=10ms which gives max 100 fps)
- timespec value for nanosleep()
- request_only (integer)
- Default: 0
- If set to 1, data will be sent only at PLAYER_CAMEARA_REQ_GET_IMAGE response.
- read_mode (integer)
- Default: 0
- Set to 1 if read should be used instead of grab (in most cases it isn't a good idea!)
- Example
driver ( name "libv4l2" provides ["camera:0"] )