Video in Linux
Bits of documentation
Live video in Linux uses the v4l (Video4Linux) driver
Can use a video capture card, or USB webcam
Basic steps:
- Open video device (/dev/video)
- Configure it
- Memory-map block of memory where video will be written
- Send command to start capturing
- Wait for capture to finish
- Read memory-mapped data
next