finds.dev← search

// the find

loyd/rscam

★ 121 · Rust · NOASSERTION · updated Oct 2023

Rust wrapper for v4l2

A Rust wrapper around the Linux v4l2 camera API. It was a decent thin abstraction for capturing frames from webcams and USB cameras on Linux, but the author has explicitly abandoned it and recommends moving to libv4l-rs instead.

The API is clean and minimal — open device, configure, capture frames in a loop, done. The `no_wrapper` feature that drops the libv4l2 dependency for direct ioctl access is a sensible escape hatch for cross-compilation targets. Dual Apache/MIT licensing. Examples cover the common cases well.

The README's first section is 'This project is no longer maintained' — that's the whole story. No async support, no streaming abstractions, no format conversion. The Travis CI badge points to a service that no longer runs free builds. Adopting this means inheriting dead code in a safety-critical area (raw device access) with no upstream fixes coming.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →