Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 0/1] avformat/concatdec: fix seek with dts
@ 2024-01-26 17:14 Nicolas Gaullier
  2024-01-26 17:14 ` [FFmpeg-devel] [PATCH] " Nicolas Gaullier
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Gaullier @ 2024-01-26 17:14 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Nicolas Gaullier

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-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-26 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-26 17:14 [FFmpeg-devel] [PATCH 0/1] avformat/concatdec: fix seek with dts Nicolas Gaullier
2024-01-26 17:14 ` [FFmpeg-devel] [PATCH] " Nicolas Gaullier

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git