[Libav-user] Get input device formats

Timur Guseynov s1.sam.1.93 at gmail.com
Thu Sep 15 23:15:52 EEST 2016

I've been trying to find out the way to get capabilities of my webcam like
resolution, pixel format, fps etc. I've tried using
AVDeviceCapabilitiesQuery, but after creating it, it was shown as NULL

I've seen command like this
ffmpeg -f v4l2 -list_formats all -i /dev/video0

How can I implement something like this in C++?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160915/620d4229/attachment.html>

More information about the Libav-user mailing list