From 1447772de6146dccc9b0e99d6237e706b3c8c5cf Mon Sep 17 00:00:00 2001 From: wight Date: Wed, 23 Nov 2005 19:14:05 +0000 Subject: [PATCH] fixes in examples, minor details git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17040 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/mencoder.xml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/DOCS/xml/en/mencoder.xml b/DOCS/xml/en/mencoder.xml index 955fde9ff8..d5f19f9a73 100644 --- a/DOCS/xml/en/mencoder.xml +++ b/DOCS/xml/en/mencoder.xml @@ -320,8 +320,8 @@ net. 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 @@ the audio track to MP3. 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 @@ use the option. Example: -mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options media.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 @@ mencoder -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o \ 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 @@ mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc copy -oac copy -o 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 @@ mencoder movie.mpg -ifo movie.ifo