Mercurial > mplayer.hg
comparison DOCS/codecs.html @ 9270:aac86d4eba84
some typos, uniformizing like in the video.html and lot of additions/fixes
author | alex |
---|---|
date | Tue, 04 Feb 2003 14:58:39 +0000 |
parents | 0a3e0a7d0b9d |
children | 0b150ee7e2ad |
comparison
equal
deleted
inserted
replaced
9269:e20e3c0cd9da | 9270:aac86d4eba84 |
---|---|
21 download from our homepage. Grab them from our | 21 download from our homepage. Grab them from our |
22 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</A>.</P> | 22 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</A>.</P> |
23 | 23 |
24 <P>The most important ones above all:</P> | 24 <P>The most important ones above all:</P> |
25 <UL> | 25 <UL> |
26 <LI>MPEG1 (VCD) and MPEG2 (DVD) video</LI> | 26 <LI><B>MPEG1</B> (<B>VCD</B>) and <B>MPEG2</B> (<B>DVD</B>) video</LI> |
27 <LI>native decoders for DivX ;-), OpenDivX, DivX4, DivX5, | 27 <LI>native decoders for <B>DivX ;-)</B>, <B>OpenDivX</B>, <B>DivX4</B>, <B> |
28 M$ MPEG4 v1, v2 and other MPEG4 variants</LI> | 28 DivX5</B>, <B>M$ MPEG4</B> v1, v2 and other MPEG4 variants</LI> |
29 <LI>native decoder for Windows Media Video 7/8 (WMV1/WMV2), and Win32 DLL decoder for | 29 <LI>native decoder for <B>Windows Media Video 7/8</B> (<B>WMV1/WMV2</B>), and |
30 Windows Media Video 9 (WMV3), both used in .wmv files</LI> | 30 Win32 DLL decoder for <B>Windows Media Video 9</B> (<B>WMV3</B>), both |
31 <LI><B>native Sorenson 1 (SVQ1) decoder</B></LI> | 31 used in .wmv files</LI> |
32 <LI><B>Win32/QT Sorenson 3 (SVQ3) decoder</B></LI> | 32 <LI>native <B>Sorenson 1 (SVQ1)</B> decoder</LI> |
33 <LI>3ivx v1, v2 decoder</LI> | 33 <LI>Win32/QT <B>Sorenson 3 (SVQ3)</B> decoder</LI> |
34 <LI>Cinepak and Intel Indeo codecs (3.1, 3.2, 4.1, 5.0)</LI> | 34 <LI><B>3ivx</B> v1, v2 decoder</LI> |
35 <LI>MJPEG, AVID, VCR2, ASV2 and other hardware formats</LI> | 35 <LI>Cinepak and <B>Intel Indeo</B> codecs (3.1, 3.2, 4.1, 5.0)</LI> |
36 <LI>VIVO 1.0, 2.0, I263 and other h263(+) variants</LI> | 36 <LI><B>MJPEG</B>, AVID, VCR2, ASV2 and other hardware formats</LI> |
37 <LI>VIVO 1.0, 2.0, I263 and other <B>h263</B>(+) variants</LI> | |
37 <LI>FLI/FLC</LI> | 38 <LI>FLI/FLC</LI> |
38 <LI>RealVideo 1.0 codec from libavcodec, and RealVideo 2.0, 3.0 and 4.0 | 39 <LI><B>RealVideo 1.0</B> codec from libavcodec, and <B>RealVideo 2.0</B>, |
39 codecs using RealPlayer libraries</LI> | 40 <B>3.0</B> and <B>4.0</B> codecs using RealPlayer libraries</LI> |
40 <LI>native decoder for HuffYUV</LI> | 41 <LI>native decoder for HuffYUV</LI> |
41 <LI>various old simple RLE-like formats</LI> | 42 <LI>various old simple RLE-like formats</LI> |
42 </UL> | 43 </UL> |
43 | 44 |
44 <P>If you have a Win32 codec not listed here which is not supported yet, please | 45 <P>If you have a Win32 codec not listed here which is not supported yet, please |
84 <P><B>Note:</B> If your <CODE>-vo</CODE> driver supports direct rendering, then | 85 <P><B>Note:</B> If your <CODE>-vo</CODE> driver supports direct rendering, then |
85 <CODE>-vc divx4</CODE> may be faster or even the fastest solution.</P> | 86 <CODE>-vc divx4</CODE> may be faster or even the fastest solution.</P> |
86 | 87 |
87 <P>The Divx4/5 binary codec library can be downloaded from | 88 <P>The Divx4/5 binary codec library can be downloaded from |
88 <A HREF="http://avifile.sourceforge.net">avifile</A> or | 89 <A HREF="http://avifile.sourceforge.net">avifile</A> or |
89 <A HREF="http://www.divx.com>divx.com</A>. | 90 <A HREF="http://www.divx.com">divx.com</A>. |
90 Unpack it, run <CODE>./install.sh</CODE> as root and do not forget adding | 91 Unpack it, run <CODE>./install.sh</CODE> as root and do not forget adding |
91 <CODE>/usr/local/lib</CODE> to your <CODE>/etc/ld.so.conf</CODE> and running | 92 <CODE>/usr/local/lib</CODE> to your <CODE>/etc/ld.so.conf</CODE> and running |
92 <CODE>ldconfig</CODE>.</P> | 93 <CODE>ldconfig</CODE>.</P> |
93 | 94 |
94 <P>Get the CVS version of the OLD OpenDivx core library like this:</P> | 95 <P>Get the CVS version of the OLD OpenDivx core library like this:</P> |
166 movies without dropped frames on my K6/2 500.</P> | 167 movies without dropped frames on my K6/2 500.</P> |
167 | 168 |
168 | 169 |
169 <H4><A NAME="xanim">2.2.1.3 XAnim codecs</A></H4> | 170 <H4><A NAME="xanim">2.2.1.3 XAnim codecs</A></H4> |
170 | 171 |
171 <P>Foreword:<BR> | 172 <H5>FOREWORD</H5> |
173 <P> | |
172 Be advised that the XAnim binary codecs are packaged with a piece of text | 174 Be advised that the XAnim binary codecs are packaged with a piece of text |
173 claiming to be a legally binding software license which, besides other | 175 claiming to be a legally binding software license which, besides other |
174 restrictions, forbids the user to use the codecs in conjunction with any | 176 restrictions, forbids the user to use the codecs in conjunction with any |
175 program other than XAnim. However, the XAnim author has yet to bring legal | 177 program other than XAnim. However, the XAnim author has yet to bring legal |
176 action against anyone for codec-related issues. | 178 action against anyone for codec-related issues. |
177 </P> | 179 </P> |
178 | 180 |
181 <H5>INSTALLING AND USAGE</H5> | |
179 <P>MPlayer is capable of employing the XAnim codecs for decoding. Follow | 182 <P>MPlayer is capable of employing the XAnim codecs for decoding. Follow |
180 the instructions to enable them:</P> | 183 the instructions to enable them:</P> |
181 | 184 |
182 <OL> | 185 <OL> |
183 <LI>Download the codecs you wish to use from the | 186 <LI>Download the codecs you wish to use from the |
184 <A HREF="http://xanim.va.pubnix.com">XAnim site</A>. The <B>3ivx</B> codec | 187 <A HREF="http://xanim.va.pubnix.com">XAnim site</A>. The <B>3ivx</B> codec |
185 is not there, but at the <A HREF="http://www.3ivx.com">3ivx site</A>.</LI> | 188 is not there, but at the <A HREF="http://www.3ivx.com">3ivx site</A>.</LI> |
189 <LI><B>OR</B> download the codecs pack from our | |
190 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</A>. | |
191 </LI> | |
186 <LI>Use the <CODE>--with-xanimlibdir</CODE> option to tell configure where | 192 <LI>Use the <CODE>--with-xanimlibdir</CODE> option to tell configure where |
187 to find the XAnim codecs. By default, it looks for them at | 193 to find the XAnim codecs. By default, it looks for them at |
188 <CODE>/usr/local/lib/xanim/mods, /usr/lib/xanim/mods and /usr/lib/xanim</CODE>. | 194 <CODE>/usr/local/lib/xanim/mods, /usr/lib/xanim/mods and /usr/lib/xanim</CODE>. |
189 Alternatively you can set the environment variable <I>XANIM_MOD_DIR</I> to | 195 Alternatively you can set the environment variable <I>XANIM_MOD_DIR</I> to |
190 the directory of the XAnim codecs.</LI> | 196 the directory of the XAnim codecs.</LI> |
203 | 209 |
204 <P>MPlayer can play Vivo (1.0 and 2.0) videos. The most suitable codec | 210 <P>MPlayer can play Vivo (1.0 and 2.0) videos. The most suitable codec |
205 for 1.0 files is FFmpeg's H263 decoder, you can use it with the <CODE>-vc | 211 for 1.0 files is FFmpeg's H263 decoder, you can use it with the <CODE>-vc |
206 ffh263</CODE> option (default). For 2.0 files, use the | 212 ffh263</CODE> option (default). For 2.0 files, use the |
207 <A HREF="http://www.mplayerhq.hu/MPlayer/samples/drivers32/ivvideo.dll">ivvideo.dll</A> | 213 <A HREF="http://www.mplayerhq.hu/MPlayer/samples/drivers32/ivvideo.dll">ivvideo.dll</A> |
208 Win32 DLL file, and install it under <CODE>/usr/lib/win32</CODE> or wherever you store the | 214 Win32 DLL file (included in the latest DLL packages), and install it under |
209 Win32 codecs.</P> | 215 <CODE>/usr/lib/win32</CODE> or wherever you store the Win32 codecs.</P> |
210 | 216 |
211 | 217 |
212 <H4><A NAME="mpeg">2.2.1.5 MPEG 1/2 video</A></H4> | 218 <H4><A NAME="mpeg">2.2.1.5 MPEG 1/2 video</A></H4> |
213 | 219 |
214 <P>MPEG1 and MPEG2 are decoded by the multiplatform native <B>libmpeg2</B> | 220 <P>MPEG1 and MPEG2 are decoded by the multiplatform native <B>libmpeg2</B> |
215 library, whose source code is included in MPlayer. We handle buggy | 221 library, whose source code is included in MPlayer. We handle buggy |
216 MPEG 1/2 video files by catching sig11 (segmentation fault), and quickly | 222 MPEG 1/2 video files by catching <CODE>Signal 11 (Segmentation fault)</CODE>, |
217 reinitializing the codec, continuing exactly from where the failure occurred. | 223 and quickly reinitializing the codec, continuing exactly from where the |
218 This recovery technique has no measurable speed penalty.</P> | 224 failure occurred. This recovery technique has no measurable speed penalty.</P> |
219 | 225 |
220 | 226 |
221 <H4><A NAME="ms_video1">2.2.1.6 MS Video1</A></H4> | 227 <H4><A NAME="ms_video1">2.2.1.6 MS Video1</A></H4> |
222 | 228 |
223 <P>This is a very old and very bad codec from Microsoft. In the past it was | 229 <P>This is a very old and very bad codec from Microsoft. In the past it was |
226 Melanson</A>).</P> | 232 Melanson</A>).</P> |
227 | 233 |
228 | 234 |
229 <H4><A NAME="cinepak">2.2.1.7 Cinepak CVID</A></H4> | 235 <H4><A NAME="cinepak">2.2.1.7 Cinepak CVID</A></H4> |
230 | 236 |
231 <P>MPlayer uses its own open source, multiplatform Cinepak decoder by | 237 <P>MPlayer uses its own open source, multiplatform Cinepak decoder (by |
232 default. It supports YUV outputs, so that hardware scaling is possible if the | 238 <A HREF="mailto:timf@csse.monash.edu.au">Dr. Tim Ferguson</A>), by default. |
233 video output driver permits it.</P> | 239 It supports YUV outputs, so that hardware scaling is possible if the video |
240 output driver permits it.</P> | |
234 | 241 |
235 | 242 |
236 <H4><A NAME="realvideo">2.2.1.8 RealVideo</A></H4> | 243 <H4><A NAME="realvideo">2.2.1.8 RealVideo</A></H4> |
237 | 244 |
238 MPlayer supports decoding all versions of RealVideo: | 245 MPlayer supports decoding all versions of RealVideo: |
253 NetBSD and Cygwin on the x86 and Alpha platforms.</B></P> | 260 NetBSD and Cygwin on the x86 and Alpha platforms.</B></P> |
254 | 261 |
255 | 262 |
256 <H4><A NAME="xvid">2.2.1.9 XViD</A></H4> | 263 <H4><A NAME="xvid">2.2.1.9 XViD</A></H4> |
257 | 264 |
258 <P><B>XViD</B> is a forked development of the OpenDivX codec. It happened when | 265 <P><A HREF="http://www.xvid.org/"><B>XViD</B></A> is a forked development of |
259 ProjectMayo changed OpenDivX to closed source DivX4 (now DivX5), and the | 266 the OpenDivX codec. It happened when ProjectMayo changed OpenDivX to closed |
260 non-ProjectMayo people working on OpenDivX got angry, then started XViD. So | 267 source DivX4 (now DivX5), and the non-ProjectMayo people working on OpenDivX |
261 both projects have the same origin.</P> | 268 got angry, then started XViD. So both projects have the same origin.</P> |
262 | 269 |
263 <H4>Advantages:</H4> | 270 <H5>ADVANTAGES</H5> |
264 | 271 |
265 <UL> | 272 <UL> |
266 <LI>open source</LI> | 273 <LI>open source</LI> |
267 <LI>its API is compatible with DivX4 so adding support for | 274 <LI>its API is compatible with DivX4 so adding support for it is easy</LI> |
268 it is easy</LI> | |
269 <LI>2-pass encoding support</LI> | 275 <LI>2-pass encoding support</LI> |
270 <LI>nice encoding quality, higher speed than DivX4 (you can optimize it for | 276 <LI>nice encoding quality, higher speed than DivX4 (you can optimize it for |
271 your box while compiling)</LI> | 277 your box while compiling)</LI> |
272 </UL> | 278 </UL> |
273 | 279 |
274 <H4>Disadvantages:</H4> | 280 <H5>DISADVANTAGES</H5> |
275 | 281 |
276 <UL> | 282 <UL> |
277 <LI>currently it does not properly <B>decode</B> all DivX/DivX4 files (no problem as libavcodec can play them)</LI> | 283 <LI>currently it does not properly <B>decode</B> all DivX/DivX4 files (no |
278 <LI>you have to choose between DivX4 <B>or</B> XViD support at | 284 problem as <A HREF="#libavcodec">libavcodec</A> can play them)</LI> |
279 compiletime</LI> | 285 <LI>you have to choose between DivX4 <B>or</B> XViD support at compiletime</LI> |
280 <LI>under development</LI> | 286 <LI>under development</LI> |
281 </UL> | 287 </UL> |
288 | |
289 <H5>INSTALLING XVID CVS</H5> | |
282 | 290 |
283 <P>XViD is currently available only from CVS. Here are the | 291 <P>XViD is currently available only from CVS. Here are the |
284 download and installation instructions:</P> | 292 download and installation instructions:</P> |
285 | 293 |
286 <OL> | 294 <OL> |
316 <A HREF="http://www.xinehq.de">xine</A> authors.</LI> | 324 <A HREF="http://www.xinehq.de">xine</A> authors.</LI> |
317 <LI>Sorenson 3 (fourcc <I>SVQ3</I>) - decoding supported by <B>Win32 | 325 <LI>Sorenson 3 (fourcc <I>SVQ3</I>) - decoding supported by <B>Win32 |
318 QuickTime libraries</B></LI> | 326 QuickTime libraries</B></LI> |
319 </UL> | 327 </UL> |
320 | 328 |
321 <H4>Compiling MPlayer with QuickTime libraries support</H4> | 329 <H5>COMPILING MPLAYER WITH QUICKTIME LIBRARIES SUPPORT</H5> |
322 | 330 |
323 <P><B>NOTE:</B> currently only 32bit Intel platforms are supported.</P> | 331 <P><B>NOTE:</B> currently only 32bit Intel platforms are supported.</P> |
324 | 332 |
325 <OL> | 333 <OL> |
326 <LI>download MPlayer CVS</LI> | 334 <LI>download MPlayer CVS</LI> |