[Ffmpeg-cvslog] r6796 - trunk/doc/ffmpeg-doc.texi

gpoirier subversion
Thu Oct 26 16:26:22 CEST 2006

Author: gpoirier
Date: Thu Oct 26 16:26:21 2006
New Revision: 6796


Document -newaudio, patch by Victor Paesa, taken from an explanation written by Baptiste Coudurier in -users

Modified: trunk/doc/ffmpeg-doc.texi
--- trunk/doc/ffmpeg-doc.texi	(original)
+++ trunk/doc/ffmpeg-doc.texi	Thu Oct 26 16:26:21 2006
@@ -482,6 +482,18 @@
 @item -acodec codec
 Force audio codec to @var{codec}. Use the @code{copy} special value to
 specify that the raw codec data must be copied as is.
+ at item -newaudio
+It will add a new audio track to the output file. If you want to
+specify parameters, specify them before @code{-newaudio} (@code{-acodec}, @code{-ab}, etc..)
+Mapping will be done automatically, if output streams number is equal to
+input streams number, else it will pick first one found which match. You
+can override the mapping using @code{-map} as usual.
+ at example
+ffmpeg -i file.mpg -vcodec copy -acodec ac3 -ab 384 test.mpg -acodec mp2 -ab 192 -newaudio
+ at end example
 @end table
 @section Audio/Video grab options

More information about the ffmpeg-cvslog mailing list