[FFmpeg-user] Latency in UDP to HLS Conversion

Moritz Barsnick barsnick at gmx.net
Thu Aug 20 15:08:58 EEST 2020


On Wed, Aug 19, 2020 at 18:57:09 +0530, KRISHNAKUMAR N K wrote:
> Hi Guys
>
> I am converting UDP Input to Live HLS output and pushing the chunks to a
> webdav server. Initial playback works fine, but the playback was delayed by
> almost an hour, when we checked after 15 hours. I can also see that the cpu
> load average is very less.
[...]
> Below is the ffmpeg command that i am using. Any help would be appreciated.

We would appreciate its complete, uncut console output. If it's over,
let's say, 2500 lines, and repetetive in the middle, please post the
first 50 and last 50 lines, and upload the complete output somewhere
else.

> *ffmpeg -i "udp://230.1.1.15:10000?fifo_size=10000000&overrun_nonfatal=1
> <http://230.1.1.15:10000?fifo_size=10000000&overrun_nonfatal=1>"
> -analyzeduration 25M -probesize 50M -threads 0 -vsync 1 -filter_complex
> "[i:0xd49]yadif[vout];[vout]split=4[out0][out1][out2][out3];[out0]setdar=16/9[v0];[out1]setdar=16/9[v1];[out2]setdar=16/9[v2];[out3]setdar=16/9[v3];[i:0xd4a]aresample=async=1:min_hard_comp=0.100000:first_pts=0[aout];[aout]asplit=4[a0][a1][a2][a3]"
> \-vcodec libx264 -s:v:0 256x144 -tune film -r:v:0 25 -b:v:0 100000
[...]

Does the latency also happen with only one output? Or without yadif
filter?

Thanks,
Moritz


More information about the ffmpeg-user mailing list