mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
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
This commit is contained in:
parent
06cddea060
commit
850a8d42ab
@ -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
|
encoding. The statistics of the video are recorded in the first
|
||||||
pass and the video is generated at the exact requested bitrate
|
pass and the video is generated at the exact requested bitrate
|
||||||
in the second pass.
|
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}
|
@item -passlogfile @var{file}
|
||||||
Set two pass logfile name to @var{file}.
|
Set two pass logfile name to @var{file}.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user