2002-10-05 10:19:07 +00:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
|
<HTML>
|
|
|
|
|
|
|
|
|
|
<HEAD>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<TITLE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -- MEncoder -- Linux<75>µĵ<C2B5>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
|
2003-02-28 19:58:12 +00:00
|
|
|
|
<LINK REL="stylesheet" TYPE="text/css" HREF="../default.css">
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gbk">
|
2002-10-05 10:19:07 +00:00
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
|
|
<BODY>
|
|
|
|
|
|
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<H1><A NAME="encoding">7. <20><>MEncoder<65><72><EFBFBD><EFBFBD></A></H1>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-03-17 10:05:22 +00:00
|
|
|
|
<P>MEncoder<EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>뿴man page<67><65>һЩʵ<D0A9>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ӺͶ<D3BA>һЩ<D2BB><D0A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>꾡<EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD>뿴<EFBFBD><EBBFB4><A
|
2003-01-24 21:35:40 +00:00
|
|
|
|
HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">mplayer-users</A><EFBFBD>ʼ<EFBFBD><EFBFBD>б<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><A
|
2003-03-17 10:05:22 +00:00
|
|
|
|
HREF="../tech/encoding-tips.txt"><3E><><EFBFBD>뼼<EFBFBD><EBBCBC></A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><A HREF="http://mplayerhq.hu/pipermail/mplayer-users/"><EFBFBD>ʼ<EFBFBD>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<EFBFBD>ĵ<EFBFBD></A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD>MEncoder<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>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<H4><A NAME="2pass">7.1 2<><32><EFBFBD><EFBFBD>3-pass<73><73>MPEG-4("DivX")<29><><EFBFBD><EFBFBD></A></H4>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<P><U><B>2-pass<73><73><EFBFBD>룺</B></U><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD>ʰ<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><I><EFBFBD><EFBFBD><EFBFBD><EFBFBD></I><EFBFBD><EFBFBD><EFBFBD><EFB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FBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϲ<EFBFBD><EFBFBD><EFBFBD>һЩ<EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ָ<EFBFBD>ϡ<EFBFBD></P>
|
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD>DVD<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ2-pass<73><73>MPEG-4("DIVX")<29><>AVI<56><49>ֻ<EFBFBD><D6BB>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><BR>
|
|
|
|
|
<CODE> 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> 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></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><U><B>3-pass<73><73><EFBFBD>룺</B></U><EFBFBD><EFBFBD><EFBFB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|
|
|
|
<P><CODE>mencoder <file/DVD> -ovc frameno -oac mp3lame -lameopts vbr=3 -o frameno.avi</CODE></P> <P><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD>avi<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><B>ֻ</B><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><CODE>-lameopts</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>룬
|
|
|
|
|
MEncoder<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>pass<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>650Mb<EFBFBD><EFBFBD>700Mb<EFBFBD><EFBFBD><EFBFBD><EFBFBD>800Mb<EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><EFBFBD>ӡ<EFBFBD>Ƽ<EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD></P></LI>
|
|
|
|
|
<LI><EFBFBD>ڶ<EFBFBD><EFBFBD>α<EFBFBD><EFBFBD>룺
|
|
|
|
|
<P><CODE>mencoder <file/DVD> -oac copy
|
|
|
|
|
-ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=<bitrate></CODE></P>
|
|
|
|
|
<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>ʱMEncoder<EFBFBD><EFBFBD>ӡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʡ<EFBFBD></P></LI>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
<LI><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>pass<EFBFBD><EFBFBD>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><CODE>mencoder <file/DVD> -oac copy
|
|
|
|
|
-ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=<bitrate></CODE></P>
|
|
|
|
|
<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><EFBFBD>֪<EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD>ڸ<EFBFBD>ʲô<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>α<EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><EFBFBD><EFBFBD><CODE>frameno.avi</CODE>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
<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>
|
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><CODE> 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>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
<CODE> mencoder -dvd 2 -ovc frameno
|
2003-01-24 21:35:40 +00:00
|
|
|
|
-o frameno.avi -oac mp3lame -lameopts vbr=3<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></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H2><A NAME="mpeg">7.2 <20><><EFBFBD><EFBFBD>ΪMPEG<45><47>ʽ</A></H2>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<P>MEncoder<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MPEG(MPEG-PS)<29><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>libavcodec<65><63><I>mpeg1video</I><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊһ<EFBFBD>㲥<EFBFBD><EFBFBD><EFBFBD><EFBFBD> -
|
|
|
|
|
- <20><><EFBFBD><EFBFBD>MPlayer -- <20><>ΪMPEG<45>ļ<EFBFBD><C4BC>а<EFBFBD><D0B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MPEG1<47><31>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD>MPEG1 layer 2(MP2)<29><>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD></P>
|
2003-03-17 10:05:22 +00:00
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<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>bug<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĿǰMEncoder<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MPEG1 layer 2 (MP2)<29><><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DZ<EFBFBD><C7B1>IJ<EFBFBD><C4B2><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪMPEG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>еġ<EFBFBD></P>
|
2003-03-17 10:05:22 +00:00
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<P>Ҫ<EFBFBD>ı<EFBFBD>MEncoder<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><CODE>-of mpeg</CODE>ѡ<EFBFBD></P>
|
|
|
|
|
|
|
|
|
|
<P>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><BR>
|
|
|
|
|
<CODE>mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video
|
|
|
|
|
-oac copy <other options> media.avi -o output.mpg</CODE></P>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<H2><A NAME="rescaling">7.3 <20><>Ӱ<EFBFB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FBD><A HREF="#aspect"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD>߿<EFBFBD><EFBFBD><EFBFBD></A><EFBFBD><EFBFBD><EFBFBD>֡<EFBFBD></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-03-17 10:05:22 +00:00
|
|
|
|
<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=width:height</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>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
MEncoder<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-03-17 10:05:22 +00:00
|
|
|
|
<H4><EFBFBD>÷<EFBFBD>:</H4>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
<CODE> mencoder sample-svcd.mpg -lavcopts
|
|
|
|
|
vcodec=mpeg4:more_options -vop scale=640:480 -sws 2 -o
|
|
|
|
|
output.avi</CODE></P>
|
|
|
|
|
|
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H2><A NAME="copying">7.4 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A></H2>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P>MEncoder<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>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<UL>
|
|
|
|
|
<LI><B><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD></B>(<CODE>-ovc copy</CODE>ѡ<EFBFBD><EFBFBD>)<29><> <20><><EFBFBD>Ըɵĺܺ<C4BA>:)<BR>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<20><><EFBFBD>磬<EFBFBD><E7A3AC>FLI<4C><49><EFBFBD><EFBFBD>VIVO<56><4F><EFBFBD><EFBFBD>MPEG1<47><31><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>(<28><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>)<29><>AVI<56>ļ<EFBFBD><C4BC>С<EFBFBD><D0A1><EFBFBD>Ȼֻ<C8BB><D6BB>MPlayer<65>ܲ<EFBFBD><DCB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>)<29><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E>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܡ<EFBFBD></LI>
|
|
|
|
|
</UL>
|
|
|
|
|
|
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H2><A NAME="fixing">7.5 <20><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߽<EFBFBD><DFBD><EFBFBD><EFBFBD><EFBFBD>AVI </A></H2>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<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>MEncoder<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȼ<EFBFBD>ⲻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD>п<EFBFBD><D0BF>ܵĴ<DCB5><C4B4><EFBFBD><EFBFBD><EFBFBD>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
<EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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>
|
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H3><A NAME="appending">7.5.1 <20>ϲ<EFBFBD><CFB2><EFBFBD><EFBFBD><EFBFBD>AVI<56>ļ<EFBFBD></A></H3>
|
|
|
|
|
|
2003-03-17 10:05:22 +00:00
|
|
|
|
<P><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>AVI<EFBFBD>ļ<EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD><EFBFBD>ʹMEncoder<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>AVI<EFBFBD>ļ<EFBFBD><EFBFBD>ϲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<P><EFBFBD><EFBFBD><EFBFBD><CODE>cat 1.avi 2.avi | mencoder -noidx -ovc copy -oac copy -o output.avi -</CODE></P>
|
|
|
|
|
|
2003-03-17 10:05:22 +00:00
|
|
|
|
<P><B>ע<EFBFBD>⣺</B><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><CODE>1.avi</CODE><EFBFBD><EFBFBD><CODE>2.avi</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>1.avi<76><69><EFBFBD><EFBFBD><EFBFBD>ġ<F0BBB5B5><C4A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD>AVI<56><49><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><A HREF="#fixing"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A><EFBFBD><EFBFBD>˵<EFBFBD>ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></P>
|
2003-02-04 08:54:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<H2><A NAME="libavcodec">7.6 <20><>libavcodec<65><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A></H2>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><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>ƣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>磺<CODE>-lavcopts vcodec=msmpeg4</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<P><EFBFBD><EFBFBD><EFBFBD>磬<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>MJPEGѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><BR>
|
|
|
|
|
<CODE> mencoder -dvd 2 -o title2.avi -ovc lavc
|
2003-01-24 21:35:40 +00:00
|
|
|
|
-lavcopts vcodec=mjpeg -oac copy</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H2><A NAME="image_files">7.7 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD>ļ<EFBFBD>(JPEG<45><47>PNG<4E><47>TGA)<29><><EFBFBD>б<EFBFBD><D0B1><EFBFBD></A></H2>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P>MEncoder<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><>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
MPNG(Motion PNG )<29><>MTGA(Motion TGA)<29>ļ<EFBFBD><C4BC><EFBFBD></P>
|
|
|
|
|
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵Ľ<EFBFBD><EFBFBD>ͣ<EFBFBD>
|
|
|
|
|
|
|
|
|
|
<OL>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<LI>MEncoderʹ<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>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<LI>MEncoder<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><></LI>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
</OL>
|
|
|
|
|
|
|
|
|
|
<H4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></H4>
|
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><CODE>-mf</CODE>ѡ<EFBFBD><EFBFBD><EFBFBD>Ľ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>man page<67><65><EFBFBD>ҵ<EFBFBD><D2B5><EFBFBD></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<P><I><EFBFBD>õ<EFBFBD>ǰĿ¼<EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>JPEG<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DivX4<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD></I><BR>
|
|
|
|
|
<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>
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<CODE>mencoder -mf on:w=800:h=600:fps=25 -ovc divx4 -o output.avi \*.jpg</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<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>
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<CODE>mencoder -mf on:w=800:h=600:fps=25 -ovc copy -o output.avi \*.jpg</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<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>
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<CODE>mencoder -mf on:w=800:h=600:fps=25:type=png -ovc rawrgb -o output.avi \*.png</CODE></P>
|
|
|
|
|
|
|
|
|
|
<P><B>ע<EFBFBD>⣺</B><EFBFBD><EFBFBD><EFBFBD>ȱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>4<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RAW RGB AVI<56><49>ʽ<EFBFBD><CABD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<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>
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<CODE>mencoder -mf on:w=800:h=600:fps=25:type=png -ovc copy -o output.avi \*.png</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
<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>
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<CODE>mencoder -mf on:w=800:h=600:fps=25:type=tga -ovc copy -o output.avi \*.tga</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H2><A NAME="vobsub">7.8 <20><>DVD<56><44>Ļ<EFBFBD><C4BB>ȡΪVobsub<75>ļ<EFBFBD></A></H4>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P>MEncoder<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>MPlayer<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><CODE>-vobsub</CODE><EFBFBD><EFBFBD><CODE>-vobsubid</CODE>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
ѡ<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>
|
|
|
|
|
<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
|
|
|
|
|
<CODE>mencoder -dvd 1 -vobsubout subtitles -vobsuboutindex 0
|
|
|
|
|
-sid 2 -o frameno.avi -ovc frameno</CODE><BR>
|
|
|
|
|
<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 1</CODE><BR>
|
|
|
|
|
<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>
|
|
|
|
|
<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
|
|
|
|
|
<CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles
|
|
|
|
|
-vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P>
|
|
|
|
|
|
2003-02-04 08:54:58 +00:00
|
|
|
|
<H2><A NAME="aspect">7.9 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD>߿<EFBFBD><DFBF><EFBFBD></A></H2>
|
2003-01-24 21:35:40 +00:00
|
|
|
|
|
|
|
|
|
<P>DVD<EFBFBD><EFBFBD>SVCD(Ҳ<><D2B2><EFBFBD><EFBFBD>MPEG1/2)<29>ļ<EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD>߿<EFBFBD><DFBF>ȵ<EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD>˲<EFBFBD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FBD><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><EFBFBD>е<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>man page<67>˽<EFBFBD><CODE>cropdetect</CODE><EFBFBD><EFBFBD><CODE>crop</CODE><EFBFBD>˾<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>á<EFBFBD></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-03-17 10:05:22 +00:00
|
|
|
|
<H4><EFBFBD>÷<EFBFBD><EFBFBD><EFBFBD></H4>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
2003-01-24 21:35:40 +00:00
|
|
|
|
<P><CODE>$ mencoder sample-svcd.mpg -ovc lavc -lavcopts
|
|
|
|
|
vcodec=mpeg4:aspect=16.0/9.0 -vop crop=714:548:0:14 -oac copy -o output.avi</CODE></P>
|
2002-10-05 10:19:07 +00:00
|
|
|
|
|
|
|
|
|
</BODY>
|
|
|
|
|
</HTML>
|