[FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS
Joe Koberg
joe at koberg.us
Fri Mar 16 17:24:06 EET 2018
On Fri, Mar 16, 2018 at 11:14 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 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?
>
That also seems to work fine! But the duration of the output file
differs a bit (it's correct, 112.112s) from the concat demuxer, which
I didn't expect
More information about the ffmpeg-devel
mailing list