aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVĂ­ctor Paesa <wzrlpy@arsystel.com>2006-10-26 14:26:21 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-10-26 14:26:21 +0000
commitde62a89d42ea32da7b536ed15ee17cbfec99ca1a (patch)
treee7156599be22fbd0947c17419e19d0c692e38d20 /doc
parentffc5430bc30a787ae684549df3afcb7b9dcc86d9 (diff)
downloadffmpeg-de62a89d42ea32da7b536ed15ee17cbfec99ca1a.tar.gz
Document -newaudio, patch by Victor Paesa, taken from an explanation written by Baptiste Coudurier in -users
Originally committed as revision 6796 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg-doc.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index eec2939a2f..c9c2af25bf 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -482,6 +482,18 @@ Disable audio recording.
@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.
+@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.
+
+Example:
+@example
+ffmpeg -i file.mpg -vcodec copy -acodec ac3 -ab 384 test.mpg -acodec mp2 -ab 192 -newaudio
+@end example
@end table
@section Audio/Video grab options