From 4393249deb8932309532a2fcd95c683775dccb6c Mon Sep 17 00:00:00 2001
From: gabucino
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>
mencoder <file/DVD> -oac copy -pass 2
- -divx4opts br=<bitrate>
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 2
+ -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
2 or 3-pass encoding using internal libavcodec controler :
@@ -174,14 +174,14 @@ controler with libavcodec.
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
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
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
@@ -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> -