[FFmpeg-user] time between releasinf /dev/videoX and using it again

Ben Barker ben at bbarker.co.uk
Sun Jun 20 13:13:36 EEST 2021

I am using ffmpeg to record from a UVC webcam for X seconds that appears as

I have found that if a recording finishes, and I try to start another with
the same command within ~0.5 seconds, I occasionally get an error that the
device is not available.

I assume this is down to some issue with timings and the video device not
being immediately released? I can work around this by ensuring there is a
longer delay between successive recordings, but it would be good to
understand what is going on!

More information about the ffmpeg-user mailing list