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

Anton Khirnov wyskas
Sat Feb 27 08:18:12 CET 2010


On Fri, Feb 26, 2010 at 12:00:03AM +0100, Michael Niedermayer wrote:
> On Thu, Feb 25, 2010 at 09:11:24PM +0100, Anton Khirnov wrote:
> > On Thu, Feb 25, 2010 at 05:28:22PM +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.
> > > 
> > > usfull but shouldnt we first by default copy chapters from input to
> > > output file? (that is the parts that are within start-end time ?
> > how would ffmpeg decide from which input file to which output file
> > should it copy? i don't think it should try to be overly smart here.
> > we don't copy metadata by default either.
> 
> i think we should copy metadata & chapters for 1 file in, 1 out
> for the 2 files in 1 file out, AVStream based metadata could still be copied
> 
> i dont see a problem wth this, but maybe you have some issues in mind
> where this would be unwanted ?
not real issues, i just don't like the idea that with one input file
ffmpeg does copy metadata/chapters, but with two it suddenly doesn't.

anyway, that doesn't really affect this patch as it would be useful even
if ffmpeg did copy metadata/chapters by default.

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/20100227/27b00d7e/attachment.pgp>



More information about the ffmpeg-devel mailing list