# HG changeset patch
# User wight
# Date 1132773245 0
# Node ID 5c87173bb774ffcad868dfae398802432de85d4e
# Parent 0313f6c5bd98ba908794549f88faa13dc866c1cc
fixes in examples, minor details
diff -r 0313f6c5bd98 -r 5c87173bb774 DOCS/xml/en/mencoder.xml
--- a/DOCS/xml/en/mencoder.xml Wed Nov 23 12:25:17 2005 +0000
+++ b/DOCS/xml/en/mencoder.xml Wed Nov 23 19:14:05 2005 +0000
@@ -320,8 +320,8 @@
Two pass encode of the second track a DVD to an MPEG-4 ("DivX")
AVI while copying the audio track.
-mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o /dev/null
-mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi
+mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o /dev/null
+mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o output.avi
@@ -334,8 +334,8 @@
Be careful using this method as it may lead to audio/video desync in
some cases.
-mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame -lameopts vbr=3 -o movie.avi
-mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac mp3lame -lameopts vbr=3 -o movie.avi
+mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame -lameopts vbr=3 -o /dev/null
+mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac mp3lame -lameopts vbr=3 -o output.avi
@@ -362,15 +362,13 @@
Example:
-mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_optionsmedia.avi -o output.mpg
+mencoder input.avi -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options -o output.mpg
Creating an MPEG-1 file suitable to be played on systems with minimal
multimedia support, such as default Windows installs:
-mencoder -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o \
-x.mpg -oac lavc -ovc lavc \
--lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 \
-input.avi
+mencoder input.avi -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o output.mpg -oac lavc -ovc lavc \
+-lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
@@ -382,7 +380,7 @@
Often the need to resize movie images' size emerges. Its reasons can be
-many: decreasing file size, network bandwidth,etc. Most people even do
+many: decreasing file size, network bandwidth, etc. Most people even do
rescaling when converting DVDs or SVCDs to DivX AVI. If you wish to rescale,
read the Preserving aspect ratio section.
@@ -510,7 +508,7 @@
Creating an uncompressed file from all the PNG files in the current directory:
-mencoder mf:// -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o output.avi
+mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o output.avi
@@ -607,7 +605,7 @@
DVDs and SVCDs (i.e. MPEG-1/2) files contain an aspect ratio value, which
describes how the player should scale the video stream, so humans will not
have egg heads (ex.: 480x480 + 4:3 = 640x480). However when encoding to AVI
-(DivX) files, you have be aware that AVI headers do not store this value.
+(DivX) files, you have to be aware that AVI headers do not store this value.
Rescaling the movie is disgusting and time consuming, there has to be a better
way!