>2017-09-01 18:32 GMT+08:00 Steven Liu 
><lingjiujia...@gmail.com<mailto:lingjiujia...@gmail.com>>:
>Sorry, my mistake.
>
>the target_duration must large or equal to the en->duration, can not
>small than en->duration from HLS version 3.

When “round_durations” is enabled “en->duration” also gets rounded(lrint). So 
in the playlist, the target duration will never be lesser than any of the 
segment durations. It will still be in compliance to the HLS spec.
Otherwise we see an output where all segment durations are ‘n’ seconds, and the 
target duration is ‘n+1’ seconds when round_durations is enabled. This behavior 
causes some players to misbehave and add more latency unnecessarily.

Thanks,
Karthick

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to