On Fri, Mar 16, 2018 at 11:14 AM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2018-03-16 16:07 GMT+01:00, Joe Koberg <j...@koberg.us>: >> On Fri, Mar 16, 2018 at 10:48 AM, Carl Eugen Hoyos <ceffm...@gmail.com> >> wrote: >>> >>> 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
When I do that, a few messages are printed but otherwise everything works perfectly and the output appears correctly timed when written to MP4. How do we get similar performance from HLS input? I think hls.c just calls av_probe_input_buffer to open the sub-demuxers (this is my first time trying to read this code, so please correct me), so I'm not sure why the MPEG-TS demuxer wouldn't handle timestamps the same way in both situations. for reference, new command was: cat `grep '.ts$' discont_test.m3u8` | ffmpeg -f mpegts -i - -c copy output000.mp4 Thanks, Joe Koberg j...@koberg.us _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel