[FFmpeg-user] m3u8/hls livestream recording hangs forever

O S oliverpost69haha at gmail.com
Fri Aug 25 03:32:20 EEST 2023


Hello,

when using ffmpeg to record livestreams ffmpeg sometimes just hangs forever
not doing anything.

I suspect the server timed out or a short connection issue on the
serverside and then ffmpeg just sits there waiting but not receiving
anything, despite the stream continuing.

I tried the -timeout, -rw_timeout and the -reconnect options but nothing
seems to make ffmpeg end its endless waiting.

Here the problem is described in more details and with a proxy workaround:
http://michael-peeters.blogspot.com/2019/03/hanging-m3u8-downloads-in-ffmpeg.html?m=1


Is there anyway to solve this without using a workaround like a proxy?


More information about the ffmpeg-user mailing list