[FFmpeg-devel] [PATCH] lavf: add a concat demuxer.

Michael Niedermayer michaelni at gmx.at
Sat Aug 25 21:12:37 CEST 2012


On Wed, Aug 22, 2012 at 06:54:02PM +0200, Nicolas George wrote:
[...]
> diff --git a/doc/demuxers.texi b/doc/demuxers.texi
> index aea4c54..126dd1d 100644
> --- a/doc/demuxers.texi
> +++ b/doc/demuxers.texi
> @@ -184,4 +184,35 @@ the script is directly played, the actual times will match the absolute
>  timestamps up to the sound controller's clock accuracy, but if the user
>  somehow pauses the playback or seeks, all times will be shifted accordingly.
>  
> + at section concat
> +
> +Virtual concatenation script demuxer.
> +
> +This demuxer reads a list of files and other directives from a text file and
> +demuxes them one after the other, as if all their packet had been muxed
> +together.
> +

> +The timestamps in the files are adjusted so that the first file starts at 0
> +and each next file starts where the previous one finishes. Note that it is
> +done globally and may cause gaps if all streams do not have exactly the same
> +length.

if this would also work with timestamp discontinuities within files
(possibly through a full demux scan through the file and possibly
 also through caching of the timestamp info in some file)
then this would allow timestamp accurate seeking in mpeg-ts/ps with
discontinuities. At the cost of some startup delay
this could be quite usefull sometimes i think ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120825/1b6f57d5/attachment.asc>


More information about the ffmpeg-devel mailing list