rscam icon indicating copy to clipboard operation
rscam copied to clipboard

v4l2 support in Rust

Open russel opened this issue 5 years ago • 3 comments

Apologies for this non-issue issue, but I wasn't sure the best channel to open communication.

I am interested in working with /dev/radioX rather than /dev/videoX. rscam as is doesn't really support this, but looks to have a good approach to supporting v4l2 in Rust. I have created the crate v4l2-sys using bindgen as a first step to using /dev/radioX from Rust. Is useful/of interest to the rscam folk? Is there merit in creating a more generalised Rust side binding to v4l2 based on v4l2-sys?

https://crates.io/crates/v4l2-sys

russel avatar Dec 17 '18 07:12 russel

Is https://gitlab.com/Russel/rust-v4l2-sys a valid repo? It 404s for me

joelgallant avatar Dec 19 '18 04:12 joelgallant

@joelgallant Curses, and sorry. I wrote rust-v4l2-sys in one place and created v4l2_sys as the repository. https://gitlab.com/Russel/v4l2_sys I am now dithering as to which to change to get consistency.

russel avatar Dec 19 '18 05:12 russel

I got (perhaps a little over) aggressive and assumed the published package on https://cargo.io was right and the repository on https://gitlab.com wrong. I have moved the repository to https://gitlab.com/Russel/rust-v4l2-sys

russel avatar Dec 20 '18 16:12 russel