From 4393249deb8932309532a2fcd95c683775dccb6c Mon Sep 17 00:00:00 2001 From: gabucino Date: Fri, 17 May 2002 04:09:37 +0000 Subject: -lavcopts ... inserted since lavc is default encoder now git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6107 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/encoding.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'DOCS') diff --git a/DOCS/encoding.html b/DOCS/encoding.html index 25853e93f3..027b8eabab 100644 --- a/DOCS/encoding.html +++ b/DOCS/encoding.html @@ -104,9 +104,9 @@ about this, you should consult some guides available on the Net.

commands are needed :
    rm frameno.avi - remove this file, which can come from a previous 3-pass encoding (it interferes with current one)
-    mencoder -dvd 2 -divx4opts br=1100 --o movie.avi -pass 1
-    mencoder -dvd 2 -divx4opts br=1100 -o movie.avi -pass 2

+    mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options + -o movie.avi -pass 1
+    mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -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 @@ -135,7 +135,7 @@ commands are needed :
mencoder <file/DVD> -oac copy -pass 1 - -divx4opts br=<bitrate> + -ovc divx4 -divx4opts br=<bitrate> Second pass : alias the first pass of DivX4 video encoding. Optionally specify the video bitrate MEncoder printed at the end of the @@ -144,7 +144,7 @@ commands are needed :
mencoder <file/DVD> -oac copy -pass 2 - -divx4opts br=<bitrate> + -ovc divx4 -divx4opts br=<bitrate> Third pass : alias the second pass of DivX4 video encoding. Optionally specify the video bitrate MEncoder printed at the end of the @@ -159,12 +159,12 @@ commands are needed :

    rm frameno.avi - remove this file, which can come from a previous 3-pass encoding (it interferes with current one)
-    mencoder -dvd 2 -ovc frameno +    mencoder -dvd 2 -l-ovc frameno -o frameno.avi
    mencoder -dvd 2 - -divx4opts br=1100 -oac copy -o movie.avi -pass 1
+ -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1
    mencoder -dvd 2 - -divx4opts br=1100 -oac copy -o movie.avi -pass 2
+ -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2

2 or 3-pass encoding using internal libavcodec controler : @@ -174,14 +174,14 @@ controler with libavcodec.

    2-pass encoding :
    rm -f lavc_stats.txt
    -mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 (audio-options) -o movie.avi
    -mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 (audio-options) -o movie.avi

    +mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=1 (audio-options) -o movie.avi
    +mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=2 (audio-options) -o movie.avi


    3-pass encoding :
    rm -f frameno.avi lavc_stats.txt
    mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi
    -mencoder -dvd 2 -ovc lavc -lacvopts vpass=1 -oac copy -o movie.avi
    -mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi

    +mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=1 -oac copy -o movie.avi
    +mencoder -dvd 2 -ovc lavc -lacvopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi

@@ -202,7 +202,7 @@ mencoder -dvd 2 -ovc lavc -lacvopts vpass=2 -oac copy -o movie.avi
fast bilinear.

Usage :
-    mencoder sample-svcd.mpg -divx4opts br=1300 -vop scale=640:480 -sws 2 -o output.avi

+    mencoder sample-svcd.mpg -lavcopts vcodec=mpeg4:more_options -vop scale=640:480 -sws 2 -o output.avi

2.4.3.3. Stream copying

@@ -286,7 +286,7 @@ unsupported). You can encode to the following codecs :

global
Options section and in the manpage.

Creating a DivX4 file from all the JPEG files in the current dir :
-   mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o +   mencoder \*.jpg -lavcopts -mf on:w=800:h=600:fps=25 -ovc divx4 -o output.avi

Creating a DivX4 file from some JPEG files in the current dir :
@@ -440,19 +440,19 @@ unsupported). You can encode to the following codecs :

Using MEncoder is the easiest thing on Earth. See the following :

Encoding from DVD, title 2 :
-     mencoder -dvd 2 -o title2.avi

+     mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi

The same, but with libavcodec family, MJPEG compression :
-     mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg

+     mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg

Encoding from DVD, title 2, with rescaling :
-     mencoder -dvd 2 -vop scale=640:480 -sws 2 -o title2.avi

+     mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi

Encoding from HTTP :
-     mencoder http://mplayer.hq/example.avi -o example.avi

+     mencoder http://mplayer.hq/example.avi -lavcopts vcodec=mpeg4:more_options -o example.avi

Encoding from a pipe :
-     rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -

+     rar p test-SVCD.rar | mencoder -lavcopts vcodec=mpeg4:more_options -ofps 24 -pass 1 -- -

Encoding multiple *.vob files :
    cat *.vob | mencoder <options> -

-- cgit v1.2.3