I capture live streams.  When a stream drops ffmpeg stops capturing, doesn't 
reconnect, and keeps running after the time limit.  For example:

ffmpeg -i 
https://playerservices.streamtheworld.com/api/livestream-redirect/KUNMFM_32.mp3 
-t 180 -reconnect true -reconnect_streamed true -reconnect_on_network_error 
true -timelimit 180 -loglevel warning kunm_StarDate-20250111-1800.mp3 

I used to use streamripper, which keeps on trying to reconnect for the time 
specified and quits when the time expires, but works only for icecast and 
shoutcast streams.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to