Open justas- opened 1 month ago
Hi @justas-, this is a limitation on the v4l2 crate that we are using, specifically, it is failing at this line.
I don't have the same board or camera, so if you know Rust, here is a minimal reproducible example we can test and submit to them meanwhile:
cargo new v4l2_not_working && cd v4l2_not_working
Then edit the following files:
Cargo.toml
:
[package]
name = "v4l2_not_working"
[dependencies]
v4l = "0.14.0"
src/main.rs
:
use v4l::video::Capture;
fn main() {
let device = v4l::Device::with_path("/dev/video3").unwrap();
dbg!(&device);
let caps = device.query_caps().unwrap();
dbg!(&caps);
let formats = device.format().unwrap();
dbg!(&formats);
}
Apart from that, we also have the idea of switching from interfacing with v4l directly, to using GST Device Monitor to get all this information.
Thanks
MCM fails to detect and configure video device exported by FLIR Boson camera connected over USB on a NXP IMX8MP system (/dev/video2).
Verified that streaming works with:
mcm console output:
Video devices in the system:
v4l2 details: