Up to date video capture support for Linux?
⚓ Rust 📅 2026-01-27 👤 surdeus 👁️ 2Hello everyone,
I'm writing a small Linux app that needs to read video and still images from a connected camera. I've pondered writing it in Rust, but am unsure about what library support is available and reliably maintained. I'm reasonably experienced with Rust itself but new to writing code that interacts with cameras.
The v4l crate seems nice per se but hasn't been updated for a couple of years, and the same is true of linux-video and tokio-linux-video. The more recent v4l2r seems to have halted development for the time being. media-device is actively under development but (going by the README) missing v4l support.
Can anyone advise on options here, and their pros and cons?
Thanks in advance for any comments and feedback (and apologies to any projects whose reason for not being updated is that they're feature-complete!).
P.S. As a side note, I've noticed that despite many of the operations being blocking, few of these libraries expose an async API. Should I assume that it's expected that the user will handle that directly using tools like tokio::spawn_blocking as best suits their particular use case?
1 post - 1 participant
🏷️ Rust_feed