1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
5 <TITLE>±àÂë -- MEncoder -- LinuxϵĵçÓ°±àÂëÆ÷
</TITLE>
6 <LINK REL=
"stylesheet" TYPE=
"text/css" HREF=
"../default.css">
7 <META HTTP-EQUIV=
"Content-Type" CONTENT=
"text/html; charset=gbk">
13 <H1><A NAME=
"encoding">7. ÓÃMEncoder±àÂë
</A></H1>
15 <P>MEncoderµÄÈ«²¿¿ÉÓÃÑ¡ÏîºÍʾÀýÇë¿´man page¡£Ò»Ð©ÊµÓõÄÀý×ӺͶÔһЩ±àÂë²ÎÊýµÄÏ꾡µÄ½âÊÍÇë¿´´Ó
<A
16 HREF=
"http://mplayerhq.hu/mailman/listinfo/mplayer-users">mplayer-users
</A>ÓʼþÁбíÖÐËѼ¯À´µÄ
<A
17 HREF=
"../tech/encoding-tips.txt">±àÂë¼¼ÇÉ
</A>¡£ËÑË÷
<A HREF=
"http://mplayerhq.hu/pipermail/mplayer-users/">Óʼþ
18 Îĵµ
</A>¿ÉÒÔÕÒµ½ÓÃMEncoder±àÂëµÄ¸÷·½ÃæÒÔ¼°ËùÓöµ½ÎÊÌâµÄ·á¸»µÄÌÖÂÛ¡£
</P>
21 <H4><A NAME=
"2pass">7.1 2»òÕß
3-passµÄMPEG-
4(
"DivX")±àÂë
</A></H4>
23 <P><U><B>2-pass±àÂ룺
</B></U>Ãû³ÆÀ´×ÔÕâÖÖ·½·¨Êµ¼Ê°ÑÎļþ±àÂë
<I>Á½´Î
</I>µÄÊÂʵ¡£µÚÒ»´Î±àÂë(ÓÖ³ÆΪ
<I>pass
</I>)´´½¨Ò»Ð©ÁÙʱÐԵļ¸Õ×µÄÎļþ(*.log)£¬
24 ÏȲ»ÒªÉ¾³ýËûÃÇ(Äã¿ÉÒÔ°ÑAVIɾÁË)¡£ÔÚµÚ¶þ´Î±àÂëÖУ¬½«Ê¹ÓÃÁÙʱÎļþµÄ±ÈÌØÂÊÊý¾Ý´´½¨Êä³öÎļþ£¬×îºó²úÉúµÄÎļþ½«ÓкõöàµÄͼÏóÖÊÁ¿¡£Èç¹ûÕâÊÇÄãµÚÒ»´ÎÌýµ½Õâ¸ö£¬
25 ÄãÓ¦¸ÃÔÚÍøÉϲéÔÄһЩ¿ÉÓõÄÖ¸ÄÏ¡£
</P>
27 <P>Õâ¸öÀý×ÓÑÝʾÈçºÎ°ÑDVD±àÂë³ÉΪ
2-passµÄMPEG-
4(
"DIVX")µÄAVI¡£Ö»ÐèÒªÁ½¸öÃüÁ
<BR>
28 <CODE> rm frameno.avi
</CODE> -- ɾµôÕâ¸öÎļþ£¬Ëü¿ÉÄÜÀ´×ÔÒÔÇ°µÄ
3-pass±àÂë(Ëü»á¸ÉÈŵ±Ç°±àÂë)
<BR>
29 <CODE> mencoder dvd://
2 -ovc lavc -lavcopts
30 vcodec=mpeg4:vpass=
1 -oac copy -o movie.avi
<BR>
31 mencoder dvd://
2 -ovc lavc -lavcopts
32 vcodec=mpeg4:vpass=
2 -oac copy -o movie.avi
</CODE></P>
34 <P><U><B>3-pass±àÂ룺
</B></U>ÕâÊÇ
2-pass±àÂëµÄÀ©Õ¹£¬¶ÔÒôƵµÄ±àÂëʹÓÃÒ»¸öµ¥¶ÀµÄ±àÂë¡£ÕâÖÖ·½·¨ÌṩÍƼöÊÓƵ±ÈÌØÂʵĹÀ¼ÆÒÔʹ֮Äܹ»ÊʺÏCDµÄÈÝÁ¿¡£Í¬Ê±£¬
35 ²»Í¬ÓÚ
2-pass·½Ê½£¬ÒôƵ½ö½ö±»±àÂëÒ»´Î¡£²Ù×÷ÁÐ±í£º
</P>
38 <LI>ɾ³ý³åÍ»µÄÁÙʱÐÔµÄÎļþ£º
39 <P><CODE>rm frameno.avi
</CODE></P></LI>
41 <P><CODE>mencoder
<file/DVD
> -ovc frameno -oac mp3lame -lameopts vbr=
3 -o frameno.avi
</CODE></P> <P>½«´´½¨Ò»¸öÖ»ÓÐÒôƵµÄaviÎļþ£¬
<B>Ö»
</B>°üº¬ÒªÇóµÄÒôƵÁ÷¡£²»ÒªÍü¼Ç
<CODE>-lameopts
</CODE>£¬Èç¹ûÐèÒªµÄ»°ÉèÖÃËü¡£Èç¹ûÄã¶ÔÒ»²¿³¤µÄµçÓ°½øÐбàÂ룬
42 MEncoderÔÚÕâ¸öpass½áÊøÖ®ºó£¬½«¶ÔÓÚ
650Mb£¬
700Mb£¬ºÍ
800MbµÄÄ¿±ê´óС´òÓ¡ÍƼöµÄ±ÈÌØÂÊÖµ¡£
</P></LI>
44 <P><CODE>mencoder
<file/DVD
> -oac copy
45 -ovc lavc -lavcopts vcodec=mpeg4:vpass=
1:vbitrate=
<bitrate
></CODE></P>
46 <P>ÕâÊǵÚÒ»´ÎÊÓƵ±àÂë¡£¿ÉÒÔÑ¡ÔñÖ¸¶¨ÔÚÉÏÒ»²½½áÊøʱMEncoder´òÓ¡µÄÊÓƵ±ÈÌØÂÊ¡£
</P></LI>
48 <P><CODE>mencoder
<file/DVD
> -oac copy
49 -ovc lavc -lavcopts vcodec=mpeg4:vpass=
2:vbitrate=
<bitrate
></CODE></P>
50 <P>ÕâÊǵڶþ´ÎÊÓƵ±àÂë¡£Ö¸¶¨¸úÉÏÒ»´Î±àÂëÒ»ÑùµÄ±ÈÌØÂʳý·ÇÄãÕæµÄÖªµÀ×Ô¼ºÔÚ¸Éʲô¡£ÔÚÕâ´Î±àÂëÖУ¬ÓÃ
<CODE>frameno.avi
</CODE>
51 ÖеÄÒôƵ½«±»²åÈ뵽ĿµÄÎļþÖÐ..Õâ¾ÍÈ«²¿¸ã¶¨ÁË£¡
</P></LI>
54 <H4>3-pass±àÂëµÄÀý×Ó£º
</H4>
56 <P><CODE> rm frameno.avi
</CODE> -- ÒÆÈ¥Õâ¸öÎļþ£¬Ëü¿ÉÄÜÀ´×ÔÒÔÇ°µÄ
3-pass±àÂë(Ëü»á¸ÉÈŵ±Ç°±àÂë)
<BR>
57 <CODE> mencoder dvd://
2 -ovc frameno
58 -o frameno.avi -oac mp3lame -lameopts vbr=
3<BR>
59 mencoder dvd://
2 -ovc lavc
60 -lavcopts vcodec=mpeg4:vpass=
1 -oac copy -o movie.avi
<BR>
61 mencoder dvd://
2 -ovc lavc
62 -lavcopts vcodec=mpeg4:vpass=
2 -oac copy -o movie.avi
</CODE></P>
64 <H2><A NAME=
"mpeg">7.2 ±àÂëΪMPEG¸ñʽ
</A></H2>
66 <P>MEncoder¿ÉÒÔÉú³ÉMPEG(MPEG-PS)¸ñʽµÄÊä³öÎļþ¡£ËüÃÇ¿ÉÄÜÖ»ÄÜÓÃÓÚlibavcodecµÄ
<I>mpeg1video
</I>±à½âÂëÆ÷£¬ÒòΪһ°ã²¥·ÅÆ÷ -
67 - ³ýÁËMPlayer -- ÈÏΪMPEGÎļþÖаüº¬µÄÊÇMPEG1ÊÓƵÁ÷ºÍMPEG1 layer
2(MP2)ÒôƵÁ÷¡£
</P>
69 <P>Õâ¸öÌØÐÔÄ¿Ç°À´ËµÃ»ÓÐʲôÓô¦£¬¶øÇÒ¿ÉÄÜ»¹Óкܶàbug£¬ÆäÖØÒªÐÔÔÚÓÚÄ¿Ç°MEncoderÎÞ·¨±àÂëMPEG1 layer
2 (MP2)µÄÒôƵ£¬¶øËüÕýÊDZðµÄ²¥·Å
70 Æ÷ÈÏΪMPEGÎļþÖÐÓ¦¸ÃÓеġ£
</P>
72 <P>Òª¸Ä±äMEncoderµÄÊä³öÎļþ¸ñʽ£¬¿ÉÒÔʹÓÃ
<CODE>-of mpeg
</CODE>Ñ¡Ïî¡£
</P>
75 <CODE>mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video
76 -oac copy
<other options
> media.avi -o output.mpg
</CODE></P>
79 <H2><A NAME=
"rescaling">7.3 µçÓ°ÔÙËõ·Å
</A></H2>
81 <P>°ÑµçӰͼÏóµÄ³ß´çÖØÐÂÉèÖõÄÐèÒª¾³£³öÏÖ¡£ÔÒò¿ÉÄܺܶ࣬ÀýÈç¼õСÊä³öÎļþµÄ´óС£¬ÍøÂç´ø¿íµÈµÈ£¬ºÜ¶àÈËÉõÖÁÔÙ°ÑDVD»òSVCD±àÂëΪµ½DivX
82 µÄAVIµÄʱºòÒ²ÖØÐÂËõ·Å£¬
<B>ÕâÊÇ´íÎóµÄ
</B>¡£ÔÚÕâô×ö֮ǰ£¬ÇëÏÈÔĶÁ
<A HREF=
"#aspect">±£³ÖÆÁÄ»¸ß¿í±È
</A>²¿·Ö¡£
</P>
84 <P>Ëõ·Å¹ý³ÌÓÉ
<I>'scale'
</I>ÊÓƵÂ˾µ´¦Àí£º
<CODE>-vf scale=width:height
</CODE>¡£ÆäÖÊÁ¿ÓÉ
<CODE>-sws
</CODE>Ñ¡Ïî¿ØÖÆ¡£Èç¹ûËüûÓÐÖ¸¶¨£¬
85 MEncoder½«Ê¹ÓÃ
0£º¿ìËÙ¶þ´ÎÏßÐÔËõ·Å¡£
</P>
88 <CODE> mencoder sample-svcd.mpg -lavcopts
89 vcodec=mpeg4:more_options -vf scale=
640:
480 -sws
2 -o
93 <H2><A NAME=
"copying">7.4 Á÷¸´ÖÆ
</A></H2>
95 <P>MEncoderÄÜÓÃÁ½ÖÖ·½Ê½´¦ÀíÊäÈëÁ÷£º
<B>±àÂë
</B>»òÕß
<B>¸´ÖÆ
</B>ËûÃÇ¡£Õⲿ·ÖÊǹØÓÚ
<B>¸´ÖÆ
</B>µÄ¡£
</P>
98 <LI><B>ÊÓƵÁ÷
</B>(
<CODE>-ovc copy
</CODE>Ñ¡Ïî)£º ¿ÉÒԸɵĺܺÃ:)
<BR>
99 ±ÈÈ磬°ÑFLI»òÕßVIVO»òÕßMPEG1µÄÊÓƵ·Å(²»ÊÇת»¯)µ½AVIÎļþÖС£µ±È»Ö»ÓÐMPlayerÄܲ¥·ÅÕâÑùµÄÎļþ£º)¡£¶øÇÒ¿ÉÄÜÔÚÏÖʵÉú»îÖÐûÓÐÈκμÛÖµ¡£
100 ºÏÀíʹÓ㺱ÈÈçÊÓƵÁ÷¸´ÖÆ¿ÉÒÔÓÃÓÚÖ»ÓÐÒôƵÁ÷ÐèÒª±»±àÂëµÄÇé¿ö(±ÈÈ磬´Ó·ÇѹËõµÄPCM±àÂëΪMP3)¡£
</LI>
102 <LI><B>ÒôƵÁ÷
</B>(
<CODE>-oac copy
</CODE>Ñ¡Ïî)£º Ö±½ÓÁ˵±¡£¿ÉÒÔ°ÑÒ»¸öÍⲿÒôƵÎļþ(MP3£¬Vorbis)ºÏ²¨µ½Êä³öÁ÷ÖС£
103 ʹÓÃ
<CODE>-audiofile
<filename
></CODE>Ñ¡ÔñÀ´ÊµÏÖÕâ¸ö¹¦ÄÜ¡£
</LI>
107 <H2><A NAME=
"fixing">7.5 ÐÞ¸´Ë÷Òý»òÕß½»´íË𻵵ÄAVI
</A></H2>
109 <P>×îÈÝÒ×µÄÊÂÇé¡£ÎÒÃǼòµ¥µØ¸´ÖÆÊÓƵºÍÒôƵÁ÷£¬²¢ÓÃMEncoder²úÉúË÷Òý¡£µ±È»Õâ²»ÄÜÐÞ¸´ÊÓƵºÍ/»òÕßÒôƵÁ÷ÖпÉÄܵĴíÎó¡£
110 ÕâͬÑùÒ²¿ÉÒÔÐÞ¸´½»´íË𻵵ÄÎļþ£¬
111 ʹËüÃDz»ÔÙÐèÒª
<CODE>-ni
</CODE>Ñ¡Ïî¡£
</P>
113 <P>ÃüÁ
<CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi
</CODE></P>
115 <H3><A NAME=
"appending">7.5.1 ºÏ²¢¶à¸öAVIÎļþ
</A></H3>
117 <P>×÷Ϊ¸±²úÆ·£¬ÐÞ¸´Ë𻵵ÄAVIÎļþµÄ¹¦ÄÜʹMEncoder¿ÉÒÔÓÃÀ´ÐÞ¸´Á½¸ö»ò¶à¸öAVIÎļþºÏ²¢Éú³ÉµÄÎļþ£º
</P>
119 <P>ÃüÁ
<CODE>cat
1.avi
2.avi | mencoder -noidx -ovc copy -oac copy -o output.avi -
</CODE></P>
121 <P><B>×¢Ò⣺
</B>͉񻂗
<CODE>1.avi
</CODE>ºÍ
<CODE>2.avi
</CODE>ʹÓÃͬÑùµÄ±à½âÂëÆ÷£¬·Ö±æÂÊ£¬Á÷ËÙÂÊ
122 µÈµÈ£¬²¢ÇÒÖÁÉÙ
1.avi²»ÊÇË𻵵ġ£Äã¿ÉÄÜÐèÒªÏÈÐÞ¸´ÄãµÄAVIÊäÈëÎļþ£¬°´ÕÕ
<A HREF=
"#fixing">ÉÏÃæ
</A>Ëù˵µÄ·½·¨¡£
</P>
125 <H2><A NAME=
"libavcodec">7.6 ÓÃlibavcodec±à½âÂëÆ÷×å±àÂë
</A></H2>
127 <P><A HREF=
"codecs.html#libavcodec">libavcodec
</A>Ìṩ¼òµ¥±àÂëÐí¶àÓÐȤµÄÊÓƵºÍÒôƵ¸ñʽ(Ä¿Ç°ÆäÒôƵ±àÂëÆ÷»¹²»Ö§³Ö)µÄ·½·¨¡£
128 ÄãÄܱàÂëÏÂÁеıàÂë¸ñʽ£º
</P>
131 <LI>mjpeg -- Motion JPEG
</LI>
132 <LI>h263 -- H263
</LI>
133 <LI>h263p -- H263 Plus
</LI>
134 <LI>mpeg4 -- DivX4
</LI>
135 <LI>msmpeg4 -- ÀϵÄDivX
</LI>
136 <LI>msmpeg4v2 -- Micro$oft MPEG4 V2 (DivXµÄÓÖ³ÆΪMP43µÄÇ°±²)
</LI>
137 <LI>rv10 -- ÀϵÄRealVideo±àÂë¸ñʽ
</LI>
138 <LI>mpeg1video -- MPEG1ÊÓƵ£º)
</LI>
141 <P>µÚÒ»À¸ÊÇÓ¦¸ÃÔÚ
<CODE>vcodec
</CODE>Ñ¡ÏîÀïÉèÖõıàÂë¸ñʽµÄÃû³Æ£¬±ÈÈ磺
<CODE>-lavcopts vcodec=msmpeg4
</CODE></P>
143 <P>ÀýÈ磬¶ÔÓÚʹÓÃMJPEGѹËõ£º
<BR>
144 <CODE> mencoder dvd://
2 -o title2.avi -ovc lavc
145 -lavcopts vcodec=mjpeg -oac copy
</CODE></P>
148 <H2><A NAME=
"image_files">7.7 ÓÃÊäÈëµÄ¶à·ùͼÏóÎļþ(JPEG£¬PNG»òTGA)½øÐбàÂë
</A></H2>
150 <P>MEncoder¾ßÓдÓÒ»¸ö»ò¶à¸öJPEG£¬PNG»òTGAÎļþ´´½¨µçÓ°µÄÄÜÁ¦¡£Í¨¹ý¼òµ¥µÄframecopyËüÄÜ´´½¨MJPEG(Motion JPEG)£¬
151 MPNG(Motion PNG )»òMTGA(Motion TGA)Îļþ¡£
</P>
156 <LI>MEncoderʹÓÃ
<CODE>libjpeg
</CODE><I>½âÂë
</I>ÊäÈëͼÏñ(µ±½âÂëPNGʱ½«Ê¹ÓÃ
<B>libpng
</B>)¡£
</LI>
158 <LI>MEncoder½Ó×ŰѽâÂëºóµÄͼÏóι¸øËùÑ¡µÄµÄÊÓƵѹËõÆ÷(DivX4£¬Xvid£¬ffmpeg msmpeg4µÈµÈ)¡£
</LI>
163 <P><CODE>-mf
</CODE>Ñ¡ÏîµÄ½âÊÍÄÜÔÚman pageÖÐÕÒµ½¡£
</P>
165 <P><I>Óõ±Ç°Ä¿Â¼ÖеÄËùÓÐJPEGÎļþ´´½¨DivX4Îļþ£º
</I><BR>
166 <CODE>mencoder \*.jpg -mf on:w=
800:h=
600:fps=
25 -ovc divx4 -o
167 output.avi
</CODE></P></P>
169 <P><I>Óõ±Ç°Ä¿Â¼ÖеÄһЩJPEGÎļþ´´½¨DivX4Îļþ£º
</I><BR>
170 <CODE>mencoder -mf on:w=
800:h=
600:fps=
25 -ovc divx4 -o output.avi \*.jpg
</CODE></P>
172 <P><I>Óõ±Ç°Ä¿Â¼ÖеÄËùÓÐJPEGÎļþ´´½¨Motion JPEG(MJPEG)Îļþ£º
</I><BR>
173 <CODE>mencoder -mf on:w=
800:h=
600:fps=
25 -ovc copy -o output.avi \*.jpg
</CODE></P>
175 <P><I>Óõ±Ç°Ä¿Â¼ÖеÄËùÓÐPNGÎļþ´´½¨Ò»¸ö·ÇѹËõµÄÎļþ£º
</I><BR>
176 <CODE>mencoder -mf on:w=
800:h=
600:fps=
25:type=png -ovc rawrgb -o output.avi \*.png
</CODE></P>
178 <P><B>×¢Ò⣺
</B>¿í¶È±ØÐëÊÇ
4µÄÕûÊý±¶£¬ÕâÊÇRAW RGB AVI¸ñʽµÄÒ»¸öÏÞÖÆ¡£
</P>
180 <P><I>Óõ±Ç°Ä¿Â¼ÖеÄËùÓÐPNGÎļþ´´½¨Motion PNG(MPNG)Îļþ£º
</I><BR>
181 <CODE>mencoder -mf on:w=
800:h=
600:fps=
25:type=png -ovc copy -o output.avi \*.png
</CODE></P>
183 <P><I>Óõ±Ç°Ä¿Â¼ÖеÄËùÓÐTGAÎļþ´´½¨Motion TGA(MTGA)Îļþ£º
</I><BR>
184 <CODE>mencoder -mf on:w=
800:h=
600:fps=
25:type=tga -ovc copy -o output.avi \*.tga
</CODE></P>
187 <H2><A NAME=
"vobsub">7.8 ½«DVD×ÖÄ»ÌáȡΪVobsubÎļþ
</A></H4>
189 <P>MEncoderÓаÑDVD×ÖÄ»ÌáÈ¡µ½Vobsub¸ñʽµÄÎļþµÄÄÜÁ¦¡£°üÀ¨ÒÔ
<CODE>.idx
</CODE>ºÍ
<CODE>.sub
</CODE>½áβµÄÒ»¶Ô
190 Îļþ¶øÇÒͨ³£´ò°üÔÚÒ»¸öµ¥Ò»µÄ
<CODE>.rar
</CODE>ÎĵµÖС£MPlayerÄÜʹÓÃ
<CODE>-vobsub
</CODE>ºÍ
<CODE>-vobsubid
</CODE>
193 <P>ÄãʹÓÃ
<CODE>-vobsubout
</CODE>Ñ¡Ïî¹æ¶¨Êä³öÎļþµÄ»ùÃû³Æ(¾ÍÊDz»°üÀ¨
<CODE>.idx
</CODE>»òÕß
<CODE>.sub
</CODE>µÄºó׺)ºÍ
194 <CODE>-vobsuboutindex
</CODE>Ö¸¶¨×ÖÄ»ÔÚÊä³öÎļþÖеÄË÷ÒýºÅ¡£
</P>
196 <P>Èç¹ûÊäÈë²»ÊÇÀ´×ÔDVDÄã±ØÐëʹÓÃ
<CODE>-ifo
</CODE>À´Ö¸Ã÷¹¹Ôì
<CODE>.idx
</CODE>ÎļþÐèÒªµÄ
<CODE>.ifo
</CODE>Îļþ¡£
</P>
198 <P>Èç¹ûÊäÈë²»ÊÇÀ´×ÔDVD¶øÇÒÄãҲûÓÐ
<CODE>.ifo
</CODE>ÎļþÄ㽫ÐèҪʹÓÃ
<CODE>-vobsubid
</CODE>Ñ¡ÏîÈÃËüÁ˽âÔÚ
<CODE>.idx
</CODE>
199 ÎļþÖзÅÖÃʲôÑùµÄlanguage id¡£
</P>
201 <P>Èç¹û
<CODE>.idx
</CODE>ºÍ
<CODE>.sub
</CODE>ÎļþÒѾ´æÔÚ£¬Ã¿´ÎÔËÐн«×·¼ÓÔËÐлñµÃµÄ×ÖÄ»¡£Òò´Ë£¬ÄãÓ¦¸ÃÔÚ¿ªÊ¼Ö®Ç°É¾µôËùÓж«Î÷¡£
</P>
205 <P><I>ÔÚ½øÐÐ
3-pass±àÂëµÄͬʱ´ÓDVD¸´ÖÆÁ½·Ý×ÖÄ»
</I><BR>
206 <CODE>rm subtitles.idx subtitles.sub
</CODE><BR>
207 <CODE>mencoder dvd://
1 -vobsubout subtitles -vobsuboutindex
0
208 -sid
2 -o frameno.avi -ovc frameno
</CODE><BR>
209 <CODE>mencoder dvd://
1 -oac copy -ovc divx4 -pass
1</CODE><BR>
210 <CODE>mencoder dvd://
1 -oac copy -ovc divx4 -pass
2 -vobsubout
211 subtitles -vobsuboutindex
1 -sid
5</CODE></P>
213 <P><I>´ÓÒ»¸öMPEGÎļþÖи´ÖÆ·¨Óï×ÖÄ»
</I><BR>
214 <CODE>rm subtitles.idx subtitles.sub
</CODE><BR>
215 <CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles
216 -vobsuboutindex
0 -vobsuboutid fr -sid
1</CODE></P>
218 <H2><A NAME=
"aspect">7.9 ±£³ÖÆÁÄ»¸ß¿í±È
</A></H2>
220 <P>DVDºÍSVCD(Ò²¾ÍÊÇMPEG1/
2)Îļþͨ³£°üº¬ÆÁÄ»¸ß¿í±ÈµÄÖµ£¬ËüÃèÊö²¥·ÅÆ÷ÈçºÎÕýÈ·Ëõ·ÅÊÓƵÁ÷£¬±£Ö¤È˲»»á³¤¼¦µ°ÄÔ´ü
221 (ex.:
480x480 +
4:
3 =
640x480)¡£µ«µ±±àÂë³ÉAVI(DivX)Îļþʱ£¬Äã±ØÐëÇåÐѵÄÈÏʶµ½AVIµÄÎļþÍ·ÖÐûÓд¢´æÕâ¸öÊý¾Ý¡£ÖØÐÂËõ·ÅµçÓ°
222 ÊÇÁîÈËÑá¶ñµÄ¶øÇÒÏûºÄʱ¼ä¡£±ØÐëÓÐÒ»¸ö¸üºÃµÄÌØÐÔ£¡
</P>
226 <P>MPEG4ÓÐÒ»¸öÌØÐÔ£ºÊÓƵÁ÷¿ÉÒÔ°üº¬ËüËùÐèÒªµÄÆÁÄ»¸ß¿í±È£¬Ã»´í£¬¾Í¸úMPEG1/
2Îļþ(DVD, SVCD)Ò»Ñù¡£Òź¶µÄÊÇ£¬³ýÁËMPlayer
227 Ö®Íâ
<U>ûÓÐ
</U>ÊÓƵ²¥·ÅÆ÷Ö§³ÖÕâ¸öÌØÐÔ¡£
</P>
229 <P>Õâ¸öÌØÐÔÖ»ÄÜÓÃÓÚ
<B>libavcodec
</B>µÄ
<CODE>mpeg4
</CODE>±à½âÂëÆ÷¡£ÀÎÀμÇסÕâÒ»µã£º¾¡¹ÜMPlayerÄÜÕýÈ·²¥·ÅËù´´½¨µÄÎļþ¡£
230 ±ðµÄ²¥·ÅÆ÷»¹»áʹÓôíÎóµÄÆÁÄ»¸ß¿í±È¡£
</P>
232 <P>ÄãÓ¦¸ÃÈÏÕæµÄ°ÑµçÓ°ÉÏϵĺڱßÇеô¡£¿´man pageÁ˽â
<CODE>cropdetect
</CODE>ºÍ
<CODE>crop
</CODE>Â˾µµÄʹÓá£
</P>
236 <P><CODE>$ mencoder sample-svcd.mpg -ovc lavc -lavcopts
237 vcodec=mpeg4:aspect=
16.0/
9.0 -vf crop=
714:
548:
0:
14 -oac copy -o output.avi
</CODE></P>