[FFmpeg-user] ffmpeg hanging indefinately if streaming connection dies

Ferdi Scholten ferdi at sttc-nlp.nl
Wed Aug 13 00:02:27 EEST 2025



On 12-08-2025 22:35, Andrew Wood via ffmpeg-user wrote:
> Ive just upgraded to ffmpeg 5.1.6 (the version that comes with Debian 
> 12) from an older version. A command which has worked fine for years 
> recording a camera rtsp stream and automatically exiting if the camera 
> connection dies has now started hanging forever if the camera stops 
> responding.
Please state the full command and preferably it's output in the terminal 
here if you want help.
Also 5.1.6 is ancient, We're at 7.1 currently
>
> Has something been altered in ffmpeg and is there a command option to 
> make it work as before? I tried -xerror but that is causing it to exit 
> due to 'Non-monotonous DTS in output stream 0:0; previous: 0, current: 
> 0; aborting' even when the stream is working
Lots of things might have changed, but we can't help if we don't know 
what you are doing.
>
> Thanks
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list