El 25/2/25 a las 21:36, pl escribió:
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.
yes, it seems that it takes a bit of time to adjust focus and exposure.
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
Thanks for the tips. Regards.