[FFmpeg-devel] [PATCH 1/7] lavf: add cue sheet demuxer

Hendrik Leppkes h.leppkes at gmail.com
Tue Aug 1 09:48:33 EEST 2017


On Tue, Aug 1, 2017 at 8:33 AM, Rodger Combs <rodger.combs at gmail.com> wrote:
> ---
>  Changelog                |   2 +
>  doc/demuxers.texi        |   8 ++
>  libavformat/Makefile     |   1 +
>  libavformat/allformats.c |   1 +
>  libavformat/cuedec.c     | 215 +++++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/version.h    |   2 +-
>  6 files changed, 228 insertions(+), 1 deletion(-)
>  create mode 100644 libavformat/cuedec.c
>

Cue Sheets not only support a single data file, but can also contain
metadata for multiple files with one track per file already split (or
even a wild mix of multiple files with multiple tracks per file).
If you don't want to support this, you should probably document this
and perhaps also check in the Cue Sheet parsing if multiple FILE
directives are found, and error out.

- Hendrik


More information about the ffmpeg-devel mailing list