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

Michael Niedermayer michaelni
Sun Feb 28 19:37:18 CET 2010


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 ?

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100228/98a7f24d/attachment.pgp>



More information about the ffmpeg-devel mailing list