comparison DOCS/codecs.html @ 7099:0b70f3dc34eb

Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some small additions. * Replaced <UL> with <OL> where it made sense (to me :-)). * Moved "Developer Cries" into the appendix (as Appendix F) with s/Flame Wars/Developer Cries/ and s/In medias res/Developer Cries/. * Renamed "Appendix X" to "Appendix E". * Put a "Hint" inside <BLOCKQUOTE>. * Converted 3-pass encoding and mga_vid installation instructions to lists. * Converted options tables (video eq, SDL, fbdev, VESA, DXR3, TV input, DivX4Linux, AAlib) to <DL> lists. * The "sections" for MPsub and INSTALLING OSD are numbered and displayed in the TOC now. * Changed the text inside some <H4> tags.
author diego
date Tue, 27 Aug 2002 18:06:07 +0000
parents 3275af5787e0
children 1943b619990c
comparison
equal deleted inserted replaced
7098:37b0958a1cad 7099:0b70f3dc34eb
71 compile as usual. If it does not detect it, you did not install or configure 71 compile as usual. If it does not detect it, you did not install or configure
72 it correctly.</P> 72 it correctly.</P>
73 73
74 <P>DivX4Linux works in two modes:</P> 74 <P>DivX4Linux works in two modes:</P>
75 75
76 <TABLE BORDER=0> 76 <DL>
77 <TR><TD>&nbsp;&nbsp;</TD><TD VALIGN=top><CODE>-vc&nbsp;odivx</CODE></TD><TD>&nbsp;&nbsp;</TD> 77 <DT><CODE>-vc odivx</CODE></DT>
78 <TD>Uses the codec in OpenDivX fashion. In this case it 78 <DD>Uses the codec in OpenDivX fashion. In this case it
79 produces YV12 images in its own buffer, and <B>MPlayer</B> does colorspace 79 produces YV12 images in its own buffer, and <B>MPlayer</B> does colorspace
80 conversion via libvo. (<B>Fast, recommended!</B>)</TD></TR> 80 conversion via libvo. (<B>Fast, recommended!</B>)</DD>
81 <TR><TD></TD><TD VALIGN=top><CODE>-vc&nbsp;divx4</CODE></TD><TD></TD> 81
82 <TD>Uses the colorspace conversion of the codec. 82 <DT><CODE>-vc divx4</CODE></DT>
83 In this mode you can use YUY2/UYVY, too. (<B>SLOW</B>)</TD></TR> 83 <DD>Uses the colorspace conversion of the codec.
84 </TABLE> 84 In this mode you can use YUY2/UYVY, too. (<B>SLOW</B>)</DD>
85 </DL>
85 86
86 <P>The <CODE>-vc odivx</CODE> method is usually faster, due to the fact that it 87 <P>The <CODE>-vc odivx</CODE> method is usually faster, due to the fact that it
87 transfers image data in YV12 (planar YUV 4:2:0) format, thus requiring much 88 transfers image data in YV12 (planar YUV 4:2:0) format, thus requiring much
88 less bandwidth on the bus. For packed YUV modes (YUY2, UYVY) use the 89 less bandwidth on the bus. For packed YUV modes (YUY2, UYVY) use the
89 <CODE>-vc divx4</CODE> method. For RGB modes the speed is the same, differing 90 <CODE>-vc divx4</CODE> method. For RGB modes the speed is the same, differing
140 </P> 141 </P>
141 142
142 <P><B>MPlayer</B> is capable of employing the XAnim codecs for decoding. Follow 143 <P><B>MPlayer</B> is capable of employing the XAnim codecs for decoding. Follow
143 the instructions to enable them:</P> 144 the instructions to enable them:</P>
144 145
145 <UL> 146 <OL>
146 <LI>Download the codecs you wish to use from the 147 <LI>Download the codecs you wish to use from the
147 <A HREF="http://xanim.va.pubnix.com">XAnim site</A>. The <B>3ivx</B> codec 148 <A HREF="http://xanim.va.pubnix.com">XAnim site</A>. The <B>3ivx</B> codec
148 is not there, but at the <A HREF="http://www.3ivx.com">3ivx site</A>.</LI> 149 is not there, but at the <A HREF="http://www.3ivx.com">3ivx site</A>.</LI>
149 <LI>Use the <CODE>--with-xanimlibdir</CODE> option to tell configure where 150 <LI>Use the <CODE>--with-xanimlibdir</CODE> option to tell configure where
150 to find the XAnim codecs. By default, it looks for them at 151 to find the XAnim codecs. By default, it looks for them at
151 <CODE>/usr/local/lib/xanim/mods, /usr/lib/xanim/mods and /usr/lib/xanim</CODE>. 152 <CODE>/usr/local/lib/xanim/mods, /usr/lib/xanim/mods and /usr/lib/xanim</CODE>.
152 Alternatively you can set the environment variable <I>XANIM_MOD_DIR</I> to 153 Alternatively you can set the environment variable <I>XANIM_MOD_DIR</I> to
153 the directory of the XAnim codecs.</LI> 154 the directory of the XAnim codecs.</LI>
154 <LI>Rename/symlink the files, cutting out the architecture stuff, so they will 155 <LI>Rename/symlink the files, cutting out the architecture stuff, so they will
155 have filenames like these: <CODE>vid_cvid.xa, vid_h263.xa, vid_iv50.xa</CODE>.</LI> 156 have filenames like these: <CODE>vid_cvid.xa, vid_h263.xa, vid_iv50.xa</CODE>.</LI>
156 </UL> 157 </OL>
157 158
158 <P>XAnim is video codec family number 10, so you may want to use the <CODE>-vfm 10</CODE> 159 <P>XAnim is video codec family number 10, so you may want to use the <CODE>-vfm 10</CODE>
159 option to tell <B>MPlayer</B> to use them if possible.</P> 160 option to tell <B>MPlayer</B> to use them if possible.</P>
160 161
161 <P>Tested codecs include: <B>Indeo 3.2</B>, <B>4.1</B>, <B>5.0</B>, <B>CVID</B>, 162 <P>Tested codecs include: <B>Indeo 3.2</B>, <B>4.1</B>, <B>5.0</B>, <B>CVID</B>,
248 <LI>you have to choose between DivX4 <B>OR</B> XViD support at 249 <LI>you have to choose between DivX4 <B>OR</B> XViD support at
249 compiletime</LI> 250 compiletime</LI>
250 <LI>under development</LI> 251 <LI>under development</LI>
251 </UL> 252 </UL>
252 253
253 <H4>Installation:</H4> 254 <P>XViD is currently available only from CVS. Here are the
254
255 <P>It is currently available only from CVS. Here are the
256 download and installation instructions:</P> 255 download and installation instructions:</P>
257 256
258 <OL> 257 <OL>
259 <LI><CODE>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</CODE></LI> 258 <LI><CODE>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</CODE></LI>
260 <LI><CODE>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</CODE></LI> 259 <LI><CODE>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</CODE></LI>
282 281
283 <UL> 282 <UL>
284 <LI>SVQ3 is still not reverse engineered.</LI> 283 <LI>SVQ3 is still not reverse engineered.</LI>
285 </UL> 284 </UL>
286 285
287 <H4>Installation:</H4> 286 <P>The Sorenson decoder is compiled and usable per default.</P>
288
289 <P>It's compiled and usable per default.</P>
290 287
291 288
292 <H3><A NAME="audio_codecs">2.2.2 Audio codecs</A></H3> 289 <H3><A NAME="audio_codecs">2.2.2 Audio codecs</A></H3>
293 290
294 <P>The most important audio codecs above all:<BR></P> 291 <P>The most important audio codecs above all:<BR></P>
420 <LI>we need the GUID of the codec. 417 <LI>we need the GUID of the codec.
421 </UL> 418 </UL>
422 419
423 <P>Take a deep breath and start searching the registry...</P> 420 <P>Take a deep breath and start searching the registry...</P>
424 421
425 <UL> 422 <OL>
426 <LI>Start <CODE>regedit</CODE>. 423 <LI>Start <CODE>regedit</CODE>.
427 <LI>Press <CODE>Ctrl-f</CODE>, disable the first two checkboxes, and enable 424 <LI>Press <CODE>Ctrl-f</CODE>, disable the first two checkboxes, and enable
428 the third. Type in the fourcc of the codec (e.g. TM20). 425 the third. Type in the fourcc of the codec (e.g. TM20).
429 <LI>You should see a field which contains the path and the filename 426 <LI>You should see a field which contains the path and the filename
430 (e.g. <CODE>C:\WINDOWS\SYSTEM\TM20DEC.AX</CODE>). 427 (e.g. <CODE>C:\WINDOWS\SYSTEM\TM20DEC.AX</CODE>).
433 when Media Player is playing the file, by checking File -&gt; Properties 430 when Media Player is playing the file, by checking File -&gt; Properties
434 -&gt; Advanced. 431 -&gt; Advanced.
435 If not, you are out of luck. Try guessing (e.g. search for TrueMotion). 432 If not, you are out of luck. Try guessing (e.g. search for TrueMotion).
436 <LI>If the GUID is found you should see a FriendlyName and a CLSID 433 <LI>If the GUID is found you should see a FriendlyName and a CLSID
437 field. Write down the 16 byte CLSID, this is the GUID we need. 434 field. Write down the 16 byte CLSID, this is the GUID we need.
438 </UL> 435 </OL>
439 436
440 <P><B>Note:</B> If searching fails, try enabling all the checkboxes. You may have 437 <P><B>Note:</B> If searching fails, try enabling all the checkboxes. You may have
441 false hits, but you may get lucky...</P> 438 false hits, but you may get lucky...</P>
442 439
443 <P>Now that you have all the necessary information (fourcc, GUID, codec file, 440 <P>Now that you have all the necessary information (fourcc, GUID, codec file,