Hi folks,

Can anyone help me understand how to trigger ffmpeg to list the resolutions and 
frame rates supported by attached video cameras on Linux please? 

With dshow on windows the options can be listed, with avfoundation on macOS you 
can pass a bogus frame rate and it lists the valid ones however on Linux all I 
can find is the list of supported resolutions for supported encoding formats, 
no frame rates. 

I know I could use v4l2-ctl if it was installed, but I’m hoping to be able to 
avoid obliging users to install that. 

Ultimately I’d like to be able to use the apis from libav* to get this info, 
but initially looking to scrape the answers from ffmpeg output. 

Thanks
Alan



Alan White
[email protected]
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to