[FFmpeg-devel] [PATCH] Add an example showing how to add streams to the output file

Stefano Sabatini stefano.sabatini-lala
Fri Aug 29 00:54:21 CEST 2008


On date Thursday 2008-08-28 23:58:10 +0200, Diego Biurrun encoded:
> On Wed, Aug 27, 2008 at 10:18:00PM +0200, Stefano Sabatini wrote:
> > 
> > I'll added more explanations and reformulated the command (-vcodec
> > -acodec now specified just before the output file and not intermixed
> > as before).
> > 
> > --- doc/ffmpeg-doc.texi	(revision 14991)
> > +++ doc/ffmpeg-doc.texi	(working copy)
> > @@ -159,6 +159,20 @@
> > +
> > +* You can put many streams of the same type in output:
> 
> the output

Fixed.

> > + at example
> > +ffmpeg -i test1.avi -i test2.avi -vcodec copy -acodec copy -vcodec copy -acodec copy test12.avi -newvideo -newaudio
> > + at end example
> > +
> > +The resulting output file @file{test12.avi} in the example will
> > +contain also the second video stream and the second audio stream found
> > +in the input streams list.
> 
> This "also" construction sounds weird.  Just list everything the
> resulting file will contain.  This way there cannot be
> misunderstandings.

Fixed.

> > + at code{-newvideo}, @code{-newaudio}, and @code{-newsubtitle} options
> 
> The ...

Fixed.

Regards.
-- 
FFmpeg = Fantastic Freak MultiPurpose Easy God
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-newstream-example-01.patch
Type: text/x-diff
Size: 1043 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080829/59f3e606/attachment.patch>



More information about the ffmpeg-devel mailing list