[FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Mar 16 17:14:46 EET 2018


2018-03-16 16:07 GMT+01:00, Joe Koberg <joe at koberg.us>:
> On Fri, Mar 16, 2018 at 10:48 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
> wrote:
>>
>> 2018-03-16 14:58 GMT+01:00, Joe Koberg <joe at koberg.us>:
>>
>> > How to reproduce:
>> >
>> >   ffmpeg -i https://s3.amazonaws.com/playon-test-videos/discont_
>> > test_new/discont_test.m3u8 -c copy -y output.mp4
>>
>> Is the issue only reproducible if you use hls input or is it also
>> reproducible if you first concatenate the ts files and use the
>> complete file as input?
>
> Very interesting, this case seems to work perfectly with ffmpeg 3.4.2.

Only current FFmpeg is relevant.

> In previous versions, I don't think it did.
>
> Any hints on getting that to apply to the HLS demuxer?
>
> test concat file:

I meant:
What happens if you concat all these files (with "cat") before
feeding the resulting large file to ffmpeg?

Carl Eugen


More information about the ffmpeg-devel mailing list