rscam
rscam copied to clipboard
Rust wrapper for v4l2
This pull request waits for polls readiness with `pselect` and adds a `timeout` parameter in the `Config`. This has two advantages: 1. Without pselect the capture function blocks forever when...
Hi. I captured some frames and saved it to files. And I copied the files to local machine and tried to open it by photo viewer, but it said that...
I'll continue to work in my personal fork, but I would prefer to improve and update this repository asap
Hi, when trying out rscam on Ubuntu 20.04 armhf (Armbian on BananaPI M1), I saw that the build with standard features (i.e. with the v4l wrappers) failed to mmap, while...
I'm trying to use a PS Eye with a Raspberry pi, and when I try to run the example script in the docs, the mmap returns an OS Error (`EINVAL`)....
When running a `--release` build (no non-standard options), `Camera::start`, which functions correctly with debug mode, throws the error: `Io(Os { code: 22, kind: InvalidInput, message: "Invalid argument" })`. I cannot...
Enabling the `static` cargo feature will link libv4l2, libv4lconvert, and libjpeg statically.
I want to create a vector of 10 frames. The following code will block. ```rust fn main() { let mut camera = rscam::new("/dev/video0").unwrap(); camera.start(&rscam::Config { interval: (1, 30), // 30...
This simplifies the process of validating the build for RPI.