/v4l2-examples

Video for Linux version 2 (V4L2) examples

Primary LanguageCMIT LicenseMIT

V4L2 Examples

Examples that demonstrate the Video for Linux version 2 (V4L2) API.

Each example directory contains a Makefile for compiling its respective example. To compile all examples, simply navigate into this directory and run the following command:

make

Examples

  1. example-1 Print video device capabilities
  2. example-2 Print video device crop capabilities
  3. example-3 Print and set video device format description
  4. example-4 Allocate and setup memory-mapped buffers for data transfer
  5. example-5 Video capture
  6. example-6 Exploring captured image data

Credits

These examples are based on work from