mpv/DOCS/Chinese/encoding.html

275 lines
12 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -- MEncoder -- Linux<75>ĵ<EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb_2312-80">
</HEAD>
<BODY>
<H2><A NAME="encoding">2.4 <20><>MEncoder<65><72><EFBFBD><EFBFBD></A></H2>
<P><B>MEncoder</B>(<B>MPlayer</B><EFBFBD>ĵ<EFBFBD>Ӱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29><>һ<EFBFBD><D2BB><EFBFBD>򵥵ĵ<F2B5A5B5>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MPlayer<65>ɲ<EFBFBD><C9B2>ŵĵ<C5B5>Ӱ(<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/
VIV/FLI/RM/NUV/NET</B>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MPlayer<65>ɲ<EFBFBD><C9B2>ŵĸ<C5B5>ʽ(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>б<EFBFBD><D0B1><EFBFBD><EBA3AC><B>DivX4</B>(1<><31><EFBFBD><EFBFBD>2 pass)<29><>libavcodec<65><63>
<B>PCM</B>/<B>MP3</B>/<B>VBR MP3</B><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD>ͬʱҲ<EFBFBD><EFBFBD>ǿ<EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD>ٿ<EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD></P>
<H3><A NAME="compilation">2.4.1 <20></A></H3>
<UL>
<LI><B><EFBFBD><EFBFBD>ѡ</B> -- <20>Ķ<EFBFBD><B>MPlayer</B><EFBFBD>ı༩ָ<EFBFBD></LI>
<LI><B><EFBFBD><EFBFBD>ѡ(Linux<75><78><EFBFBD><EFBFBD>)</B> -- <20><><A HREF="http://avifile.sourceforge.net/download.htm">avifile.sourceforge.net</A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><B>DivX4linux</B><EFBFBD>Ŀ⣬
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD>İ<EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϣ<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>DivX4(1/2 passes)<29><><EFBFBD></LI>
<LI><B><EFBFBD><EFBFBD>ѡ</B> -- <A HREF="codecs.html#xvid"><EFBFBD><EFBFBD><EFBFBD>ز<EFBFBD><EFBFBD>Ұ<EFBFBD>װ<B>XViD</B></A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʮ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>libavcodec<EFBFBD><EFBFBD><I>mpeg4</I><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>XViD
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>DivX4/5<>õö<C3B5><C3B6><EFBFBD><EFBFBD>ٶȺ<D9B6><C8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></LI>
<LI><B><EFBFBD><EFBFBD>ѡ</B> -- <20><><EFBFBD><EFBFBD>libavcodec֧<63>֣<EFBFBD><D6A3><EFBFBD><A HREF="codecs.html#libavcodec">libavcodec<EFBFBD><EFBFBD><EFBFBD><EFBFBD></A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݰ<EFBFBD>װlibavcodec<EFBFBD><EFBFBD></LI>
<LI><B><EFBFBD><EFBFBD>ѡ</B> -- <20><><EFBFBD>ز<EFBFBD><D8B2>ұ<EFBFBD><D2B1><EFBFBD><B>libmp3lame</B>(lame 3.89beta<EFBFBD><EFBFBD><EFBFBD><EFBFBD>lame<EFBFBD><EFBFBD>CVS<EFBFBD>е<EFBFBD>)<29><><BR>
<B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><U>GCC 2.96</U><EFBFBD>༭LAME &lt; 3.90<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B><BR>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CBR/VBR MP3<50><33>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ġ<EFBFBD>ע<EFBFBD><EFBFBD><E2A3AC>һ<CODE>lame</CODE><EFBFBD>Ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD>Dz<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ġ<EFBFBD>˳<EFBFBD><EFBFBD>˵һ<EFBFBD>£<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>lameʹ<EFBFBD>õ<EFBFBD><EFBFBD>Ż<EFBFBD>Խ<EFBFBD>٣<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD>á<EFBFBD>lame<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>make test</CODE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><B>30</B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><B>400</B>֮<EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD><EFBFBD>ţ<EFBFBD><EFBFBD>㲻Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κοɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>make test</CODE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><EFBFBD><EFBFBD>...<2E>ðɣ<C3B0><C9A3><EFBFBD><EFBFBD>Ǹ<EFBFBD><B>GCC 2.96</B>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߰<EFBFBD>lame<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><B>3.90</B><EFBFBD><EFBFBD></LI>
<LI><B><EFBFBD><EFBFBD>ѡ</B> -- <CODE>libjpeg</CODE><EFBFBD><EFBFBD><CODE>libpng</CODE><EFBFBD><EFBFBD>-- <20><>ͬ<A HREF="documentation.html#installation"><EFBFBD><EFBFBD>װ</A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD></LI>
</UL>
<P>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>װ<I>avifile</I><EFBFBD>Ŀ⡣<B>MEncoder</B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD></P>
<H3><A NAME="features">2.4.2 MEncoder<65><72><EFBFBD><EFBFBD></A></H3>
<UL>
<LI><EFBFBD><EFBFBD><B>MPlayer</B>֧<EFBFBD>ֵĹ㷺<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><EFBFBD><EFBFBD></LI>
<LI><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ffmpeg<EFBFBD><EFBFBD><A HREF="codecs.html#libavcodec">libavcodec</A><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ</LI>
<LI><EFBFBD><EFBFBD><B>V4L<EFBFBD><EFBFBD><EFBFBD>ݵĵ<EFBFBD><EFBFBD><EFBFBD>ѡ̨<EFBFBD><EFBFBD></B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ</LI>
<LI><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD>AVI<56>ļ<EFBFBD></LI>
<LI><EFBFBD><EFBFBD><EFBFBD>ⲿ<EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD></LI>
<LI>1<EFBFBD><EFBFBD>2<EFBFBD><EFBFBD><EFBFBD><EFBFBD>3 pass<73><73><EFBFBD><EFBFBD></LI>
<LI><B>VBR</B> MP3<50><33>Ƶ -- <B><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B>VBR MP3<50><33><EFBFBD><EFBF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D><C3BC><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><D5B9><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>rgb/yuvת<76><D7AA>)</LI>
<LI><EFBFBD>ܰ<EFBFBD>DVD<EFBFBD><EFBFBD>VOBsub<B><EFBFBD><EFBFBD></B><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></LI>
<LI><EFBFBD>ܰ<EFBFBD>DVD<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD>ȡΪVobsub<EFBFBD><EFBFBD>ʽ</LI>
</UL>
<H4><EFBFBD>ƻ<EFBFBD><EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԣ<EFBFBD></H4>
<UL>
<LI><EFBFBD><EFBFBD><EFBFBD>ӹ㷺<EFBFBD>Ŀ<EFBFBD><EFBFBD>õı<EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><>DivX4/Indeo5/VIVO<56><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VOB<4F>ļ<EFBFBD> :)</LI>
<LI>v4l<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>(FreeBSD<53><44><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD>)</LI>
</UL>
<H4><A NAME="2pass">2.4.2.1 <20><><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD>3-pass<73><73>DivX4</A></H4>
<P><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FBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϲ<EFBFBD><EFBFBD><EFBFBD>һЩ<EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ָ<EFBFBD>ϡ<EFBFBD></P>
<P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD>DVD<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ2-pass DivX4 AVI<56><49>ֻ<EFBFBD><D6BB>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> -- ɾ<><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0>3-pass<73><73><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>)<BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts
-vcodec=mpeg4:more_options -o movie.avi -pass 1<BR>
&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options
-o movie.avi -pass 2</CODE></P>
<P><U><B>3-pass<73><73><EFBFBD></B></U><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2-pass<73><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><D5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>ʹ<EFBFBD><CAB9>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>pass<73><73><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>Ƽ<EFBFBD><C6BC><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD>ʵĹ<CAB5><C4B9><EFBFBD><EFBFBD><EFBFBD>ʹ֮<CAB9>ܹ<EFBFBD><DCB9>ʺ<EFBFBD>CD<43><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬʱ<CDAC><CAB1>
<EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD>2-pass<73><73>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>Ρ<EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD></P>
<OL>
<LI>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>Ե<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>
<P><CODE>rm frameno.avi</CODE></P></LI>
<LI><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>pass<EFBFBD><EFBFBD>
<P><CODE>mencoder &lt;file/DVD&gt; -ovc frameno -o frameno.avi</CODE></P>
<P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CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 1
-ovc divx4 -divx4opts br=&lt;bitrate&gt;</CODE></P>
<P><EFBFBD>ֳ<EFBFBD>ΪDivX4<EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD>һ<EFBFBD><EFBFBD>pass<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<B>MEncoder</B><EFBFBD><EFBFBD>ӡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʡ<EFBFBD></P></LI>
<LI><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>pass<EFBFBD><EFBFBD>
<P><CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 2
-ovc divx4 -divx4opts br=&lt;bitrate&gt;</CODE></P>
<P><EFBFBD>ֳ<EFBFBD>ΪDivX4<EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵڶ<EFBFBD><EFBFBD><EFBFBD>pass<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<B>MEncoder</B><EFBFBD><EFBFBD>ӡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>pass<EFBFBD>У<EFBFBD><EFBFBD><EFBFBD><CODE>frameno.avi</CODE>
<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뵽Ŀ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>..<2E><><EFBFBD><EFBFBD>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD>ˣ<EFBFBD></P></LI>
</OL>
<H4>3-pass<73><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD></H4>
<P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> -- <20><>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0>3-pass<73><73><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>)<BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno
-o frameno.avi<BR>
&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
-lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR>
&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
-lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE></P>
<P><U><B>ʹ<EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD><EFBFBD><EFBFBD>libavcodec<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><EFBFBD><EFBFBD><EFBFBD>3-pass<73><73><EFBFBD></B></U><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>libavcodec<EFBFBD>ڲ<EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><EFBFBD><EFBFBD><EFBFBD>3-pass<73><73>ʽ<EFBFBD><CABD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>libavcodecʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><EFBFBD>ⲿ<EFBFBD><EFBFBD>DivX4<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2-pass<73><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ձ<EFBFBD><D5B1><EFBFBD><EFBFBD>ʵľ<CAB5>ȷ<EFBFBD>ȡ<EFBFBD></P>
<UL>
<LI><B>2-pass<73><73><EFBFBD></B><BR>
<CODE>rm -f lavc_stats.txt<BR>
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 (audio-options) -o
movie.avi<BR>
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 (audio-options) -o
movie.avi</CODE></LI>
<LI><B>3-pass<73><73><EFBFBD></B><BR>
<CODE>rm -f frameno.avi lavc_stats.txt<BR>
mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi<BR>
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o
movie.avi<BR>
mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o
movie.avi</CODE></LI>
</UL>
<H4><A NAME="rescaling">2.4.2.2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E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BD><EFBFBD>SVCD<EFBFBD><EFBFBD>480x480<EFBFBD>ijߴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD>ͷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>ʹ<EFBFBD>õij<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD>
480x480 + 4:3 = 640x480)<29><>
Ȼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪAVI(DivX)<29>ļ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽<EFBFBD>AVI<56><49>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B4A2><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ψһ<CEA8>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD></P>
<P><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><I>'scale'</I><EFBFBD><EFBFBD>Ƶ<EFBFBD>˾<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>-vop scale=X:Y</CODE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>-sws</CODE>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<B>MEncoder</B><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԡ<EFBFBD></P>
<P><EFBFBD>÷<EFBFBD><EFBFBD><EFBFBD><BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder sample-svcd.mpg -lavcopts
vcodec=mpeg4:more_options -vop scale=640:480 -sws 2 -o
output.avi</CODE></P>
<H4><A NAME="copying">2.4.2.3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A></H4>
<P><B>MEncoder</B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><B><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><B><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD><EFBFBD>ⲿ<EFBFBD><EFBFBD><EFBFBD>ǹ<EFBFBD><EFBFBD><EFBFBD><B><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B><EFBFBD>ġ<EFBFBD></P>
<UL>
<LI><B><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD></B>(<CODE>-ovc copy</CODE>ѡ<EFBFBD><EFBFBD>)<29><> <20><><EFBFBD>Ըɵĺܺ<C4BA>:)<BR>
<20><><EFBFBD><EFBFBD><E7A3AC>FLI<4C><49><EFBFBD><EFBFBD>VIVO<56><4F><EFBFBD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BFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>𻵵<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>
ʹ<EFBFBD><EFBFBD><EFBFBD>Dz<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<CODE>-ni</CODE>ѡ<EFBFBD></P>
<P><EFBFBD><EFBFBD><EFBFBD><CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi</CODE></P>
<H4><A NAME="libavcodec">2.4.2.5 <20><>libavcodec<65><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A></H4>
<P><A HREF="codecs.html#libavcodec">libavcodec</A><EFBFBD><EFBFBD>򵥱<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD>ʽ(Ŀǰ<C4BF><C7B0><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD><D6A7>)<29>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>ܱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>еı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD></P>
<UL>
<LI>mjpeg -- Motion JPEG</LI>
<LI>h263 -- H263</LI>
<LI>h263p -- H263 Plus</LI>
<LI>mpeg4 -- DivX4</LI>
<LI>msmpeg4 -- <20>ϵ<EFBFBD>DivX</LI>
<LI>msmpeg4v2 -- Micro$oft MPEG4 V2 (DivX<76><58><EFBFBD>ֳ<EFBFBD>ΪMP43<34><33>ǰ<EFBFBD><C7B0>)</LI>
<LI>rv10 -- <20>ϵ<EFBFBD>RealVideo<65><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ</LI>
<LI>mpeg1video -- MPEG1<47><31>Ƶ<EFBFBD><C6B5>)</LI>
</UL>
<P><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>а<EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>ô<EFBFBD><EFBFBD><EFBFBD><CODE>vcodec</CODE><EFBFBD><EFBFBD><EFBFBD>õı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>-lavcopts vcodec=msmpeg4</CODE></P>
<P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>MJPEGѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><BR>
<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc
-lavcopts vcodec=mjpeg</CODE></P>
<H4><A NAME="image_files">2.4.2.6 <20>Ӷ<EFBFBD><D3B6><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD>ļ<EFBFBD>(JPEG<45><47>PNG<4E><47>TGA)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A></H4>
<P><B>MEncoder</B><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>JPEG<EFBFBD><EFBFBD>PNG<EFBFBD><EFBFBD>TGA<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD>򵥵<EFBFBD>framecopy<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD>MJPEG(Motion JPEG)<29><>
MPNG(Motion PNG )<29><>MTGA(Motion TGA)<29>ļ<EFBFBD><C4BC><EFBFBD></P>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵Ľ<EFBFBD><EFBFBD>ͣ<EFBFBD>
<OL>
<LI><B>MEncoder</B>ʹ<EFBFBD><EFBFBD><CODE>libjpeg</CODE><I><EFBFBD><EFBFBD><EFBFBD><EFBFBD></I><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PNGʱ<47><CAB1>ʹ<EFBFBD><CAB9><B>libpng</B>)<29><></LI>
<LI><B>MEncoder</B><EFBFBD><EFBFBD><EFBFBD>Űѽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD>ι<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD>ĵ<EFBFBD><EFBFBD><EFBFBD>Ƶѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>(DivX4<58><34>Xvid<69><64>ffmpeg msmpeg4<67>ȵ<EFBFBD>)<29><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>ΪPNG<4E><47><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Ŀǰֻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RGB<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>YUV<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>DivX4<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ffmpeg<EFBFBD><EFBFBD>msmpeg4֮<EFBFBD></LI>
</OL>
<H4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></H4>
<P><CODE>-mf</CODE>ѡ<EFBFBD><EFBFBD><EFBFBD>Ľ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><A HREF="#options">ѡ<EFBFBD><EFBFBD></A><EFBFBD><EFBFBD><EFBFBD>ֺ<EFBFBD>manpage<EFBFBD>б<EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD></P>
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>JPEG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DivX4<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></I><BR>
&nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
output.avi</CODE></P></P>
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD>һЩJPEG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DivX4<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></I><BR>
&nbsp;&nbsp;<CODE>mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
output.avi</CODE></P>
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>JPEG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Motion JPEG(MJPEG)<29>ļ<EFBFBD><C4BC><EFBFBD></I><BR>
&nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc copy
-o output.avi</CODE></P>
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PNG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></I><BR>
&nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc raw -o
output.avi</CODE></P>
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PNG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Motion PNG(MPNG)<29>ļ<EFBFBD><C4BC><EFBFBD></I><BR>
&nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc copy
-o output.avi</CODE></P>
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>TGA<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Motion TGA(MTGA)<29>ļ<EFBFBD><C4BC><EFBFBD></I><BR>
&nbsp;&nbsp;<CODE>mencoder \*.tga -mf on:w=800:h=600:fps=25:type=tga -ovc copy
-o output.avi</CODE></P>
<H4><A NAME="vobsub">2.4.2.7 DVD<56><44>Ļ<EFBFBD><C4BB>ȡΪVobsub<75>ļ<EFBFBD></A></H4>
<P><B>MEncoder</B><EFBFBD>а<EFBFBD>DVD<EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD>Vobsub<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>.idx</CODE><EFBFBD><EFBFBD><CODE>.sub</CODE><EFBFBD><EFBFBD>β<EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>
<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><CODE>.rar</CODE><EFBFBD>ĵ<EFBFBD><EFBFBD>С<EFBFBD><B>MPlayer</B><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><CODE>-vobsub</CODE><EFBFBD><EFBFBD><CODE>-vobsubid</CODE>
ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD></P>
<P><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><CODE>-vobsubout</CODE>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD>Dz<EFBFBD><C7B2><EFBFBD><EFBFBD><EFBFBD><CODE>.idx</CODE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>.sub</CODE><EFBFBD>ĺ<EFBFBD>׺)<29><>
<CODE>-vobsuboutindex</CODE>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD></P>
<P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DVD<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><CODE>-ifo</CODE><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>.idx</CODE><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><CODE>.ifo</CODE><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></P>
<P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DVD<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳû<EFBFBD><EFBFBD><CODE>.ifo</CODE><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫʹ<EFBFBD><EFBFBD><CODE>-vobsubid</CODE>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽<EFBFBD><EFBFBD><EFBFBD><CODE>.idx</CODE>
<EFBFBD>ļ<EFBFBD><EFBFBD>з<EFBFBD><EFBFBD><EFBFBD>ʲô<EFBFBD><EFBFBD><EFBFBD><EFBFBD>language id<69><64></P>
<P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>.idx</CODE><EFBFBD><EFBFBD><CODE>.sub</CODE><EFBFBD>ļ<EFBFBD><EFBFBD>Ѿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڣ<EFBFBD>ÿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>н<EFBFBD>׷<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD>ʼ֮ǰɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></P>
<H4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></H4>
<P><I><EFBFBD>ڽ<EFBFBD><EFBFBD><EFBFBD>3-pass<73><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬʱ<CDAC><CAB1>DVD<56><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ</I><BR>
&nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
&nbsp;&nbsp;<CODE>mencoder -dvd 1 -vobsubout subtitles -vobsuboutindex 0
-sid 2 -o frameno.avi -ovc frameno</CODE><BR>
&nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 1</CODE><BR>
&nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 2 -vobsubout
subtitles -vobsuboutindex 1 -sid 5</CODE></P>
<P><I><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>MPEG<EFBFBD>ļ<EFBFBD><EFBFBD>и<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ</I><BR>
&nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
&nbsp;&nbsp;<CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles
-vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P>
<H3><A NAME="options">2.4.3 <20><><EFBFBD>õ<EFBFBD>ѡ<EFBFBD><D1A1></A></H3>
<P><B>MEncoder</B><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD>б<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD>manpage<EFBFBD><EFBFBD></P>
</BODY>
</HTML>