I have a bunch of patches about probing and making better concatdec, this is the first one. Unfortunately, this is mostly about heuristics and find_stream_info things no one like very much.
This first patch seems very straightforward: there is already an heuristic in fftools for seeking, and the same one is required when opening a file indirectly through concatdec. (I can share a sample to reproduce the issue, but this is very commonplace). fate results is updated for one test that uses lavf.ts (two "inpoint" directives in the script, thus two modified blocks). Note: more packets are read but they are usually trimmed through segment_time_metadata etc. Nicolas Gaullier (1): avformat/concatdec: fix seek with dts libavformat/concatdec.c | 17 +++++++- tests/ref/fate/concat-demuxer-simple2-lavf-ts | 40 ++++++++++++++++++- 2 files changed, 54 insertions(+), 3 deletions(-) -- 2.30.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".