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

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


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:

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

More information about the ffmpeg-user mailing list