From 7ff0137a1f3bd6b12ca0c55303085ef3128ded98 Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Thu, 2 Jul 2015 19:56:25 +0200 Subject: concatdec: add support for specifying inpoint of files Reviewed-by: Nicolas George Signed-off-by: Marton Balint --- doc/demuxers.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc') diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 35a1561..27a9409 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -112,6 +112,23 @@ file is not available or accurate. If the duration is set for all files, then it is possible to seek in the whole concatenated video. +@item @code{inpoint @var{timestamp}} +In point of the file. When the demuxer opens the file it instantly seeks to the +specified timestamp. Seeking is done so that all streams can be presented +successfully at In point. + +This directive works best with intra frame codecs, because for non-intra frame +ones you will usually get extra packets before the actual In point and the +decoded content will most likely contain frames before In point too. + +For each file, packets before the file In point will have timestamps less than +the calculated start timestamp of the file (negative in case of the first +file), and the duration of the files (if not specified by the @code{duration} +directive) will be reduced based on their specified In point. + +Because of potential packets before the specified In point, packet timestamps +may overlap between two concatenated files. + @item @code{stream} Introduce a stream in the virtual file. All subsequent stream-related directives apply to the last introduced -- cgit v1.1