Mercurial > mplayer.hg
comparison DOCS/codecs.html @ 1987:c4dbfa55d873
reviewed for release
author | gabucino |
---|---|
date | Thu, 27 Sep 2001 15:23:41 +0000 |
parents | 01aa08dae521 |
children | 05189dbfb847 |
comparison
equal
deleted
inserted
replaced
1986:b1d663f54725 | 1987:c4dbfa55d873 |
---|---|
86 | 86 |
87 <P>Generally we can pinpoint this issue to that you have two options to use | 87 <P>Generally we can pinpoint this issue to that you have two options to use |
88 this codec:</P> | 88 this codec:</P> |
89 | 89 |
90 <P><TABLE BORDER=0> | 90 <P><TABLE BORDER=0> |
91 <TD> </TD><TD VALIGN=top>-vc odivx</TD><TD> </TD> | 91 <TD> </TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-vc odivx</TD><TD> </TD> |
92 <TD>using divx4 codec as a new version of OpenDivX. | 92 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>using divx4 codec as a new version of OpenDivX. |
93 in this case it produces YV12 image in its own buffer, | 93 in this case it produces YV12 image in its own buffer, |
94 and <B>MPlayer</B> (libvo) does colorspace conversion.</TD><TR> | 94 and <B>MPlayer</B> (libvo) does colorspace conversion. (<B>RECOMMENDED!</B>)</TD><TR> |
95 <TD></TD><TD VALIGN=top>-vc divx4</TD><TD></TD> | 95 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>-vc divx4</TD><TD></TD> |
96 <TD>using divx4 codec's colorspace conversion. | 96 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>using divx4 codec's colorspace conversion. |
97 in this mode, you can use YUY2/UYVY too.</TD><TR> | 97 in this mode, you can use YUY2/UYVY too.</TD><TR> |
98 </TABLE></P> | 98 </TABLE></P> |
99 | 99 |
100 <P>The 'odivx' method is usually faster, due to the fact that it transfers | 100 <P>The 'odivx' method is usually faster, due to the fact that it transfers |
101 image data in YV12 (planar YUV 4:2:0) format, thus requiring much less | 101 image data in YV12 (planar YUV 4:2:0) format, thus requiring much less |
104 differ according to the current bpp.</P> | 104 differ according to the current bpp.</P> |
105 | 105 |
106 <P>Note: it supports postprocessing too, but range of values is strange:</P> | 106 <P>Note: it supports postprocessing too, but range of values is strange:</P> |
107 | 107 |
108 <P><TABLE BORDER=0> | 108 <P><TABLE BORDER=0> |
109 <TD> </TD><TD>0</TD><TD> </TD> | 109 <TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>0</TD><TD> </TD> |
110 <TD>no postproc</TD><TR> | 110 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no postproc</TD><TR> |
111 <TD></TD><TD>10 .. 20</TD> | 111 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>10 .. 20</TD> |
112 <TD></TD><TD>postprocessing, normal (like level 2 with divxds)</TD><TR> | 112 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>postprocessing, normal (like level 2 with divxds)</TD><TR> |
113 <TD></TD><TD>30 .. 60</TD> | 113 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>30 .. 60</TD> |
114 <TD></TD><TD>hard prostprocessing, eats many CPU (like level 4 with divxds</TD><TR> | 114 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>hard prostprocessing, eats many CPU (like level 4 with divxds</TD><TR> |
115 </TABLE></P> | 115 </TABLE></P> |
116 | 116 |
117 <P><B><A NAME=2.1.2.2>2.1.2.2. ffmpeg's DivX/libavcodec</A></B></P> | 117 <P><B><A NAME=2.1.2.2>2.1.2.2. ffmpeg's DivX/libavcodec</A></B></P> |
118 | 118 |
119 <P>Beginning with version 0.4.2 , <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> contains an <B>opensource</B> DivX codec, | 119 <P>Beginning with version 0.4.2 , <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> contains an <B>opensource</B> DivX codec, |
121 and this makes it possible to <B>watch DivX movies on non-x86 platforms!</B> | 121 and this makes it possible to <B>watch DivX movies on non-x86 platforms!</B> |
122 It was removed from <B>MPlayer</B>'s cvs tree, you have to download it | 122 It was removed from <B>MPlayer</B>'s cvs tree, you have to download it |
123 manually directly from <B>FFmpeg</B>'s tree:</P> | 123 manually directly from <B>FFmpeg</B>'s tree:</P> |
124 | 124 |
125 <P><CODE> | 125 <P><CODE> |
126 cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login | 126 cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login<BR> |
127 cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg | 127 cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg |
128 </CODE></P> | 128 </CODE></P> |
129 | 129 |
130 <P>Note: <I>if you copy with CVS subdirs, next time it's enough to do | 130 <P>Note: <I>if you copy with CVS subdirs, next time it's enough to do |
131 'cvs update'.</I></P> | 131 'cvs update'.</I></P> |
152 <P><B><A NAME=2.1.2.3>2.1.2.3. Hardware AC3 decoding</A></B></P> | 152 <P><B><A NAME=2.1.2.3>2.1.2.3. Hardware AC3 decoding</A></B></P> |
153 | 153 |
154 <P>You'll need an AC3 capable soundcard, with digital out (SP/DIF). The | 154 <P>You'll need an AC3 capable soundcard, with digital out (SP/DIF). The |
155 card's driver must support the AFMT_AC3 format (like SB Live! does). | 155 card's driver must support the AFMT_AC3 format (like SB Live! does). |
156 Connect your AC3 decoder to the SP/DIF output, and use the '-ac hwac3' | 156 Connect your AC3 decoder to the SP/DIF output, and use the '-ac hwac3' |
157 option. It may or may not work (experimental).</P> | 157 option. It may or may not work (experimental). (probably won't...)</P> |
158 | 158 |
159 | 159 |
160 <P><B><A NAME=2.1.4>2.1.4. Codec importing howto</A></B></P> | 160 <P><B><A NAME=2.1.4>2.1.4. Codec importing howto</A></B></P> |
161 | 161 |
162 <P><B><A NAME=2.1.4.1>2.1.4.1. VFW codecs</A></B></P> | 162 <P><B><A NAME=2.1.4.1>2.1.4.1. VFW codecs</A></B></P> |