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
overrun_nonfatal=1&fifo_size=500000000>

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
overrun_nonfatal=1&fifo_size=500000000>

This method works smoothly most of the time. But latency is over 10 seconds
behind live.

Is there a possibility of achieving a middleground? Latency of about 5
seconds is workable, but the stream should not show network lags/stutters
at all.

thank you
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to