[FFmpeg-user] HLS restreaming showing lags and stutters
cntct.ginh at gmail.com
Sat May 29 16:52:56 EEST 2021
Hi, I'm trying to restream HLS input to RTMP output with lowest latency
possible. Tried following methods.
ffmpeg -i <HLS-INPUT> -c copy -f flv <RTMP-OUTPUT with
This method has latency of about 2 seconds behind live. But it has a lot of
lags and stutters.
ffmpeg -re -i <HLS-INPUT> -c copy -f flv <RTMP-OUTPUT with
This method works smoothly most of the time. But latency is over 10 seconds
Is there a possibility of achieving a middleground? Latency of about 5
seconds is workable, but the stream should not show network lags/stutters
More information about the ffmpeg-user