[Mplayer-cvslog] CVS: main/DOCS encoding.html,1.41,1.42
Winner of tha face compo
gabucino at mplayerhq.hu
Fri May 17 06:09:47 CEST 2002
Update of /cvsroot/mplayer/main/DOCS
In directory mail:/var/tmp.root/cvs-serv2833
Modified Files:
encoding.html
Log Message:
-lavcopts ... inserted since lavc is default encoder now
Index: encoding.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/encoding.html,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- encoding.html 4 May 2002 18:25:47 -0000 1.41
+++ encoding.html 17 May 2002 04:09:37 -0000 1.42
@@ -104,9 +104,9 @@
commands are needed :<BR>
<CODE> rm frameno.avi</CODE> - remove this file, which
can come from a previous 3-pass encoding (it interferes with current one)<BR>
-<CODE> mencoder -dvd 2 -divx4opts br=1100
--o movie.avi -pass 1<BR>
- mencoder -dvd 2 -divx4opts br=1100 -o movie.avi -pass 2</CODE></P>
+<CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options
+ -o movie.avi -pass 1<BR>
+ mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o movie.avi -pass 2</CODE></P>
<P><U><B>3-pass encoding :</B></U> this is an extension of 2-pass encoding,
where the audio encoding takes place in a separate pass. This method enables
@@ -135,7 +135,7 @@
<TR>
<TD><FONT CLASS="text">
<CODE>mencoder <file/DVD> -oac copy -pass 1
- -divx4opts br=<bitrate></CODE></TD>
+ -ovc divx4 -divx4opts br=<bitrate></CODE></TD>
<TD><FONT CLASS="text">
<B><U>Second pass</U> : alias the first pass of DivX4 video encoding.
Optionally specify the video bitrate MEncoder printed at the end of the
@@ -144,7 +144,7 @@
<TR>
<TD><FONT CLASS="text">
<CODE>mencoder <file/DVD> -oac copy -pass 2
- -divx4opts br=<bitrate></CODE></TD>
+ -ovc divx4 -divx4opts br=<bitrate></CODE></TD>
<TD><FONT CLASS="text">
<B><U>Third pass</U> : alias the second pass of DivX4 video encoding.
Optionally specify the video bitrate MEncoder printed at the end of the
@@ -159,12 +159,12 @@
<P><CODE> rm frameno.avi</CODE> - remove this file,
which can come from a previous 3-pass encoding (it interferes with current
one)<BR>
-<CODE> mencoder -dvd 2 -ovc frameno
+<CODE> mencoder -dvd 2 -l-ovc frameno
-o frameno.avi<BR>
<CODE> mencoder -dvd 2
- -divx4opts br=1100 -oac copy -o movie.avi -pass 1<BR>
+ -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR>
mencoder -dvd 2
- -divx4opts br=1100 -oac copy -o movie.avi -pass 2</CODE>
+ -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE>
</P>
<P><U><B>2 or 3-pass encoding using internal libavcodec controler</B></U> :
@@ -174,14 +174,14 @@
<UL>
<B>2-pass encoding</B> :<BR>
<CODE>rm -f lavc_stats.txt<BR>
-mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 (audio-options) -o movie.avi<BR>
-mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 (audio-options) -o movie.avi</CODE><BR>
+mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=1 (audio-options) -o movie.avi<BR>
+mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=2 (audio-options) -o movie.avi</CODE><BR>
<BR>
<B>3-pass encoding</B> :<BR>
<CODE>rm -f frameno.avi lavc_stats.txt<BR>
mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi<BR>
-mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 -oac copy -o movie.avi<BR>
-mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi</CODE><BR>
+mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=1 -oac copy -o movie.avi<BR>
+mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi</CODE><BR>
</UL>
</P>
@@ -202,7 +202,7 @@
fast bilinear.</P>
<P>Usage :<BR>
-<CODE> mencoder sample-svcd.mpg -divx4opts br=1300 -vop scale=640:480 -sws 2 -o output.avi</CODE></P>
+<CODE> mencoder sample-svcd.mpg -lavcopts vcodec=mpeg4:more_options -vop scale=640:480 -sws 2 -o output.avi</CODE></P>
<P><B><A NAME=2.4.3.3>2.4.3.3. Stream copying</B></P>
@@ -286,7 +286,7 @@
global <A HREF=#2.4.5>Options</A> section and in the manpage.</P>
<P><I>Creating a DivX4 file from all the JPEG files in the current dir :</I><BR>
- <CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
+ <CODE>mencoder \*.jpg -lavcopts -mf on:w=800:h=600:fps=25 -ovc divx4 -o
output.avi</CODE></P>
<P><I>Creating a DivX4 file from some JPEG files in the current dir :</I><BR>
@@ -440,19 +440,19 @@
<P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P>
<P>Encoding from DVD, title 2 :<BR>
- <CODE> mencoder -dvd 2 -o title2.avi</CODE></P>
+ <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P>
<P>The same, but with libavcodec family, MJPEG compression :<BR>
- <CODE> mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg</CODE></P>
+ <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg</CODE></P>
<P>Encoding from DVD, title 2, with rescaling :<BR>
- <CODE> mencoder -dvd 2 -vop scale=640:480 -sws 2 -o title2.avi</CODE></P>
+ <CODE> mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P>
<P>Encoding from HTTP :<BR>
- <CODE> mencoder http://mplayer.hq/example.avi -o example.avi</CODE></P>
+ <CODE> mencoder http://mplayer.hq/example.avi -lavcopts vcodec=mpeg4:more_options -o example.avi</CODE></P>
<P>Encoding from a pipe :<BR>
- <CODE> rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -</CODE></P>
+ <CODE> rar p test-SVCD.rar | mencoder -lavcopts vcodec=mpeg4:more_options -ofps 24 -pass 1 -- -</CODE></P>
<P>Encoding multiple *.vob files :<BR>
<CODE> cat *.vob | mencoder <options> -</CODE></P>
More information about the MPlayer-cvslog
mailing list