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

Nicolas George nicolas.george at normalesup.org
Thu Nov 22 19:34:15 CET 2012


Le sextidi 6 fructidor, an CCXX, Nicolas George a écrit :
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  Changelog                |    1 +
>  doc/demuxers.texi        |   31 +++++++
>  libavformat/Makefile     |    1 +
>  libavformat/allformats.c |    1 +
>  libavformat/concatdec.c  |  221 ++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 255 insertions(+)
>  create mode 100644 libavformat/concatdec.c
> 
> 
> If the basic principle is deemed sound, I intend to extend the syntax and
> implementation, in particular to allow complete seeking in the virtual file,
> provided the underlying files are seekable too.
> 
> This is not redundant with HLS because HLS does the virtual concatenation at
> stream level, requiring the fragments to be in a concatenable format.
> 
> Concerning security: any kind of playlist support is potentially a security
> concern. My intention is to only allow filenames with safe characters,
> unless an option is explicitely enabled. Right now, since the format can not
> be probed, it does not matter.

Hi.

Apart from Michael's suggestions of using it (in an extended version) to fix
files with timestamps discontinuities (I believe it can work), are there
remarks on this?

Regards,

-- 
  Nicolas George
-------------- 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/20121122/ce1e791f/attachment.asc>


More information about the ffmpeg-devel mailing list