#linux #webcam #linux-kernel

linuxvideo

V4L2 video capture and output library

8 releases

0.3.3 Dec 16, 2023
0.3.2 Sep 20, 2023
0.3.1 Jul 31, 2023
0.3.0 Feb 5, 2023
0.0.0 May 1, 2022

#123 in Video

Download history 18/week @ 2024-02-26 2/week @ 2024-03-11 134/week @ 2024-04-01

136 downloads per month
Used in compeg

0BSD license

105KB
2.5K SLoC

V4L2 userspace library

This is a Linux Video library that provides access to V4L2 devices. It directly calls the V4L2 ioctls without depending on libv4l or other C code.

Reference

The V4L2 userspace API is documented in the following places:


lib.rs:

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.

Dependencies

~1.5MB
~36K SLoC