aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ffmpeg-doc.texi
diff options
context:
space:
mode:
authorErwan Ducroquet <erwan.ducroquet@gmail.com>2008-08-13 19:49:37 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-08-13 19:49:37 +0000
commit850a8d42ab017c4726944414ecab0a46bfa3d280 (patch)
treeb8e013af9b39ae69b09ad7eb0d309d315de4c226 /doc/ffmpeg-doc.texi
parent06cddea060870254675dbbe74e4e5bed6f7b6fc2 (diff)
downloadffmpeg-850a8d42ab017c4726944414ecab0a46bfa3d280.tar.gz
Add examples in documentation showing how to avoid to decode audio and
output video in pass 1 for 2-pass encoding. Patch by Erwan Ducroquet erwan _dot_ ducroquet _at_ gmail _dot_ com Originally committed as revision 14736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/ffmpeg-doc.texi')
-rw-r--r--doc/ffmpeg-doc.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index 1660980e03..928751463b 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -429,6 +429,12 @@ Select the pass number (1 or 2). It is useful to do two pass
encoding. The statistics of the video are recorded in the first
pass and the video is generated at the exact requested bitrate
in the second pass.
+On pass 1, you may just deactivate audio and set output to null,
+examples for Windows and Unix:
+@example
+ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y NUL
+ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y /dev/null
+@end example
@item -passlogfile @var{file}
Set two pass logfile name to @var{file}.