Hi, havin' no idea about resolution so I won't help there, but regarding exposure: > with: > > $ffmpeg7 -f v4l2 -i /dev/video0 -vframes 1 output.jpg > > I get a very dark picture. > > with: > > ffmpeg7 -f v4l2 -i /dev/video0 -vframes 5 output_%02d.jpg > > I get one or two dark exposures and then good exposed remaning ones. > Webcams operate only when something tries to access it. Cameras get ready fast but still that process is long enough to output first frames too dark.
You'll have to either make ffmpeg first trigger camera, wait a little bit and then start capturing or just ignore first (/two) frames and delete them -- pl <p...@szwajn.net>