Mercurial > mplayer.hg
comparison DOCS/xml/en/codecs.xml @ 19082:a2f20562aac3
Remove support for obsolete and non-free divx4/odivx libraries.
author | diego |
---|---|
date | Fri, 14 Jul 2006 17:14:16 +0000 |
parents | 1ff5eeb87dce |
children | 8332d5ecf5f1 |
comparison
equal
deleted
inserted
replaced
19081:273bdef43012 | 19082:a2f20562aac3 |
---|---|
72 <para> | 72 <para> |
73 If you have a Win32 codec not listed here which is not supported yet, | 73 If you have a Win32 codec not listed here which is not supported yet, |
74 please read the <link linkend="codec-importing">codec importing HOWTO</link> | 74 please read the <link linkend="codec-importing">codec importing HOWTO</link> |
75 and help us add support for it. | 75 and help us add support for it. |
76 </para> | 76 </para> |
77 | |
78 | |
79 <sect2 id="divx4-5"> | |
80 <title>DivX4/DivX5</title> | |
81 | |
82 <para> | |
83 This section contains information about the DivX4 and DivX5 codecs of | |
84 <ulink url="http://www.projectmayo.com">Project Mayo</ulink>. | |
85 Their first available alpha version was OpenDivX 4.0 alpha 47 and 48. | |
86 Support for this was included in <application>MPlayer</application> in the | |
87 past, and built by default. We also used its postprocessing code to | |
88 optionally enhance visual quality of MPEG-1/2 movies. Now we use our own, | |
89 for all file types. | |
90 </para> | |
91 | |
92 <para> | |
93 The new generation of this codec is called DivX4 and can even decode | |
94 movies made with the infamous DivX codec! In addition it is much faster | |
95 than the native Win32 DivX DLLs but slower than | |
96 <systemitem class="library">libavcodec</systemitem>. | |
97 Hence its usage as a decoder is | |
98 <emphasis role="bold">discouraged</emphasis>. However, it is useful for | |
99 encoding. One disadvantage of this codec is that it is not available under an | |
100 Open Source license. | |
101 </para> | |
102 | |
103 <para> | |
104 DivX4 works in two modes: | |
105 <variablelist> | |
106 <varlistentry><term><option>-vc odivx</option></term> | |
107 <listitem><simpara> | |
108 Uses the codec in OpenDivX fashion. In this case it produces YV12 images | |
109 in its own buffer, and <application>MPlayer</application> does colorspace | |
110 conversion via libvo. (<emphasis role="bold">Fast, recommended!</emphasis>) | |
111 </simpara></listitem> | |
112 </varlistentry> | |
113 <varlistentry><term><option>-vc divx4</option></term> | |
114 <listitem><simpara> | |
115 Uses the colorspace conversion of the codec. In this mode you can use | |
116 YUY2/UYVY, too. (<emphasis role="bold">SLOW</emphasis>) | |
117 </simpara></listitem> | |
118 </varlistentry> | |
119 </variablelist> | |
120 </para> | |
121 | |
122 <para> | |
123 The <option>-vc odivx</option> method is usually faster, due to the fact | |
124 that it transfers image data in YV12 (planar YUV 4:2:0) format, thus | |
125 requiring much less bandwidth on the bus. For packed YUV modes (YUY2, UYVY) | |
126 use the <option>-vc divx4</option> method. For RGB modes the speed is the | |
127 same, differing at best according to your current color depth. | |
128 If your video output driver supports direct rendering, then <option>-vc | |
129 divx4</option> may be faster, or even the fastest solution. | |
130 </para> | |
131 | |
132 <para> | |
133 The DivX4/5 binary codec library can be downloaded from | |
134 <ulink url="http://avifile.sf.net">avifile</ulink> or | |
135 <ulink url="http://www.divx.com">divx.com</ulink> | |
136 Unpack it, run <filename>./install.sh</filename> as root and do not forget to add | |
137 <filename class="directory">/usr/local/lib</filename> to your | |
138 <filename>/etc/ld.so.conf</filename> and running <command>ldconfig</command>. | |
139 </para> | |
140 | |
141 <para> | |
142 <application>MPlayer</application> autodetects DivX4/DivX5 if it is | |
143 properly installed, just compile as usual. If it does not detect it, you | |
144 did not install or configure it correctly. | |
145 </para> | |
146 | |
147 </sect2> | |
148 | 77 |
149 | 78 |
150 <sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec"> | 79 <sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec"> |
151 <title>FFmpeg/libavcodec</title> | 80 <title>FFmpeg/libavcodec</title> |
152 | 81 |