# v4l2-examples **Repository Path**: tinylab/v4l2-examples ## Basic Information - **Project Name**: v4l2-examples - **Description**: Mirror site of https://github.com/kmdouglass/v4l2-examples - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-08 - **Last Updated**: 2024-01-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://github.com/kmdouglass/v4l2-examples/tree/master/example-1)** Print video device capabilities 2. **[example-2](https://github.com/kmdouglass/v4l2-examples/tree/master/example-2)** Print video device crop capabilities 3. **[example-3](https://github.com/kmdouglass/v4l2-examples/tree/master/example-3)** Print and set video device format description 4. **[example-4](https://github.com/kmdouglass/v4l2-examples/tree/master/example-4)** Allocate and setup memory-mapped buffers for data transfer 5. **[example-5](https://github.com/kmdouglass/v4l2-examples/tree/master/example-5)** Video capture 6. **[example-6](https://github.com/kmdouglass/v4l2-examples/tree/master/example-6)** Exploring captured image data ## Credits These examples are based on work from - [Jay Rambhia](https://jayrambhia.com/blog/capture-v4l2) - [Alex Austin](https://gist.github.com/Circuitsoft/1126411)