Re: ffmpeg hanging if input stream dies on Debian 12
On 12/08/2025 13:30, Andrew Wood wrote:
On Debian 11 and earlier if I ran ffmpeg to capture a stream from a
camera using rtsp it would close the file and exit if the stream died
at the transmitting end or due to a network failure. Since upgrading
to Debian 12 ffmpeg now just hangs indefinately if the stream dies. Is
this a change in the version of ffmpeg and is there a way to restore
the old behaviour please?
Thanks
Andrew
I tried using -xerror but that causes it to exit with this:
Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; aborting.
Reply to: