diff --git a/DOCS/encoding.html b/DOCS/encoding.html
index bad022ce1a..184e199637 100644
--- a/DOCS/encoding.html
+++ b/DOCS/encoding.html
@@ -106,9 +106,9 @@
can come from a previous 3-pass encoding (it interferes with current
one)
mencoder -dvd 2 -ovc lavc -lavcopts
- vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1
+ vcodec=mpeg4:vpass=1:more_options -oac copy -o movie.avi
mencoder -dvd 2 -ovc lavc -lavcopts
- vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2
3-pass encoding: this is an extension of 2-pass encoding, where the audio encoding takes place in a separate pass. This method enables @@ -126,14 +126,14 @@ prints the recommended bitrate values for 650Mb, 700Mb, and 800Mb destination sizes, after this pass finishes.
mencoder <file/DVD> -oac copy -pass 1
- -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=<bitrate>
mencoder <file/DVD> -oac copy
+ -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=<bitrate>
Alias the first pass of DivX4 video encoding. Optionally specify the video bitrate MEncoder printed at the end of the previous pass.
mencoder <file/DVD> -oac copy -pass 2
- -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=<bitrate>
mencoder <file/DVD> -oac copy
+ -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=<bitrate>
Alias the second pass of DivX4 video encoding.
Optionally specify the video bitrate MEncoder printed at the end of
the previous pass. In this pass, audio from frameno.avi
will
@@ -148,9 +148,9 @@
mencoder -dvd 2 -ovc frameno
-o frameno.avi -oac mp3lame -lameopts vbr=3:more_options
mencoder -dvd 2 -ovc lavc
- -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1
+ -lavcopts vcodec=mpeg4:vpass=1:more_options -oac copy -o movie.avi
mencoder -dvd 2 -ovc lavc
- -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2
2 or 3-pass encoding using internal libavcodec controller: Optionally you can use libavcodec's internal 2 or 3-pass mode, it may give @@ -159,13 +159,13 @@
rm -f lavc_stats.txt
+
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 (audio-options) -o
movie.avi
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 (audio-options) -o
movie.avi
rm -f frameno.avi lavc_stats.txt
+ rm -f frameno.avi
mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o
movie.avi
@@ -332,8 +332,8 @@ Explanation of the process:
rm subtitles.idx subtitles.sub
mencoder -dvd 1 -vobsubout subtitles -vobsuboutindex 0
-sid 2 -o frameno.avi -ovc frameno -oac mp3lame -lameopts vbr=3
- mencoder -dvd 1 -oac copy -ovc divx4 -pass 1
- mencoder -dvd 1 -oac copy -ovc divx4 -pass 2 -vobsubout
+ mencoder -dvd 1 -oac copy -ovc divx4 -divx4opts pass=1
+ mencoder -dvd 1 -oac copy -ovc divx4 -divx4opts pass=2 -vobsubout
subtitles -vobsuboutindex 1 -sid 5
Copying a french subtitle from an MPEG file
diff --git a/DOCS/mplayer.1 b/DOCS/mplayer.1
index 1f4a701d24..da0bc05305 100644
--- a/DOCS/mplayer.1
+++ b/DOCS/mplayer.1
@@ -1800,12 +1800,16 @@ rate control reaction period
rate control reaction ratio
.IPs crispness=<0\-100>
specify crispness/\:smoothness
+.IPs pass=<1\-2>
+With this you can encode 2pass DivX4 files.
+First encode with pass=1, then with the same parameters, encode with
+pass=2.
.IPs vbrpass=<0\-2>
-Override the -pass argument and use XviD VBR Library instead of DivX4
+Override the pass argument and use XviD VBR Library instead of DivX4
VBR. Available options are:
.
.RSss
-0: one pass encoding (as in not putting -pass on the command line)
+0: one pass encoding (as in not putting pass on the command line)
.br
1: Analysis (first) pass of two pass encoding.
The resulting AVI file can be directed to /dev/null.
@@ -2316,15 +2320,6 @@ encode with a libavcodec codecs
.PD 1
.
.TP
-.B \-pass <1/\:2>
-With this you can encode 2pass DivX4 files.
-First encode with \-pass\ 1, then with the same parameters, encode with
-\-pass\ 2.
-
-.I NOTE:
-.br
-Use \-lavcopts vpass=1/\:2 for libavcodec 2-pass instead of \-pass\ 1/\:2.
-.TP
.B \-passlogfile
When encoding in 2pass mode, MEncoder dumps first pass' informations
to the given file instead of the default divx2pass.log.
@@ -2685,7 +2680,7 @@ mencoder \-tv on:driver=v4l:width=640:height=480 \-o tv.avi \-ovc rawrgb
.TP
.B Encoding from a pipe
rar p test-SVCD.rar | mencoder \-ovc divx4 \-divx4opts br=800 \-ofps 24
-\-pass\ 1 \-\- \-
+\-\- \-
.TP
.B Encoding multiple *.vob files
cat *.vob | mencoder \-