Commit c2902c9c authored by Stefano Sabatini's avatar Stefano Sabatini

Improve documentation for the -pass and -passlog options. Add mention

to how the log file is used and specify the default log file name.

Originally committed as revision 15969 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 11c0f9ec
...@@ -439,10 +439,11 @@ tell that the raw codec data must be copied as is. ...@@ -439,10 +439,11 @@ tell that the raw codec data must be copied as is.
Use same video quality as source (implies VBR). Use same video quality as source (implies VBR).
@item -pass @var{n} @item -pass @var{n}
Select the pass number (1 or 2). It is useful to do two pass Select the pass number (1 or 2). It is used to do two-pass
encoding. The statistics of the video are recorded in the first video encoding. The statistics of the video are recorded in the first
pass and the video is generated at the exact requested bitrate pass into a log file (see also the option -passlogfile),
in the second pass. and in the second pass that log file is used to generate the video
at the exact requested bitrate.
On pass 1, you may just deactivate audio and set output to null, On pass 1, you may just deactivate audio and set output to null,
examples for Windows and Unix: examples for Windows and Unix:
@example @example
...@@ -451,7 +452,9 @@ ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y /dev/null ...@@ -451,7 +452,9 @@ ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y /dev/null
@end example @end example
@item -passlogfile @var{file} @item -passlogfile @var{file}
Set two pass logfile name to @var{file}. Set two-pass log file name to @var{file}. Default name is
@file{ffmpeg2pass-N.log}, where N is a number specific to the output
stream.
@item -newvideo @item -newvideo
Add a new video stream to the current output stream. Add a new video stream to the current output stream.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment