[FFmpeg-devel] [PATCH]ffmpeg.c: add option for copying chapters

Anton Khirnov wyskas
Sun Feb 28 22:19:59 CET 2010


On Sun, Feb 28, 2010 at 07:37:18PM +0100, Michael Niedermayer wrote:
> On Thu, Feb 25, 2010 at 04:05:33PM +0100, Anton Khirnov wrote:
> > Hi,
> > 
> > $subj
> > 
> > Anton Khirnov
> 
> >  doc/ffmpeg-doc.texi |    3 ++
> >  ffmpeg.c            |   78 +++++++++++++++++++++++++++++++++++++++++++++++++++-
> >  2 files changed, 80 insertions(+), 1 deletion(-)
> > 6365bd394dd3a804132673b6d607cd25c864a6a9  0001-ffmpeg.c-add-map_chapters-option-for-copying-chapter.patch
> > From 875650637e70521632526f8776697fe3d6f02dcc Mon Sep 17 00:00:00 2001
> > From: Anton Khirnov <wyskas at gmail.com>
> > Date: Wed, 24 Feb 2010 23:00:31 +0100
> > Subject: [PATCH] ffmpeg.c: add -map_chapters option for copying chapters.
> > 
> > ---
> >  doc/ffmpeg-doc.texi |    3 ++
> >  ffmpeg.c            |   78 ++++++++++++++++++++++++++++++++++++++++++++++++++-
> >  2 files changed, 80 insertions(+), 1 deletions(-)
> > 
> > diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
> > index 2a5313c..ea90148 100644
> > --- a/doc/ffmpeg-doc.texi
> > +++ b/doc/ffmpeg-doc.texi
> > @@ -729,6 +729,9 @@ Set stream mapping from input streams to output streams.
> >  Just enumerate the input streams in the order you want them in the output.
> >  @var{sync_stream_id} if specified sets the input stream to sync
> >  against.
> > + at item -map_chapters @var{infile}[:@var{chapter}]
> > +Copy chapters from input streams to output streams. If @var{chapter}
> > +is omitted, then all chapters are copied.
> 
> why is it not just copying the chapters that apply (-ss/-t wise)
> what use case is there for copying just 1 chapter ?
> 
you might want to keep only some chapters, for whatever reason,
like there's too many of them or some are incorrect.

Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100228/7c9f1499/attachment.pgp>



More information about the ffmpeg-devel mailing list