You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
May we have an example for showing how to get input device for image capturing on Apple MAC ?
I've tried several code snippets but it always failed on either building or finding the correct video input device.
"Thank you very much!"
e.g.
unsafe {rsmpeg::ffi::avdevice_register_all();}
let s = cstr!("rawvideo"); // avfoundation ?
let mut inf = AVInputFormat::find(s);
let file=cstr!("0:0");
let mut input_format_context = AVFormatContextInput::open(file, inf, &mut None)?;
Hi all,
May we have an example for showing how to get input device for image capturing on Apple MAC ?
I've tried several code snippets but it always failed on either building or finding the correct video input device.
"Thank you very much!"
e.g.
let file=cstr!("0:0");
let mut input_format_context = AVFormatContextInput::open(file, inf, &mut None)?;
#117
The text was updated successfully, but these errors were encountered: