1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.2.�Codecs</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="install.html" title="Chapter�2.�Installation"><link rel="prev" href="softreq.html" title="2.1.�Software requirements"><link rel="next" href="video-cards.html" title="2.3.�Video cards"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter�1.�Introduction"><link rel="chapter" href="install.html" title="Chapter�2.�Installation"><link rel="chapter" href="usage.html" title="Chapter�3.�Usage"><link rel="chapter" href="cd-dvd.html" title="Chapter�4.�CD/DVD usage"><link rel="chapter" href="faq.html" title="Chapter�5.�Frequently Asked Questions"><link rel="chapter" href="containers.html" title="Chapter�6.�Containers"><link rel="chapter" href="codecs.html" title="Chapter�7.�Codecs"><link rel="chapter" href="video.html" title="Chapter�8.�Video output devices"><link rel="chapter" href="audio.html" title="Chapter�9.�Audio output devices"><link rel="chapter" href="tv.html" title="Chapter�10.�TV"><link rel="chapter" href="ports.html" title="Chapter�11.�Ports"><link rel="chapter" href="mencoder.html" title="Chapter�12.�Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter�13.�Encoding with MEncoder"><link rel="appendix" href="mailinglists.html" title="Appendix�A.�Mailing lists"><link rel="appendix" href="bugreports.html" title="Appendix�B.�How to report bugs"><link rel="appendix" href="bugs.html" title="Appendix�C.�Known bugs"><link rel="appendix" href="skin.html" title="Appendix�D.�MPlayer skin format"><link rel="appendix" href="users-vs-dev.html" title="Appendix�E.�Developer cries"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.2.�Codecs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="softreq.html">Prev</a>�</td><th width="60%" align="center">Chapter�2.�Installation</th><td width="20%" align="right">�<a accesskey="n" href="video-cards.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="installation_codecs"></a>2.2.�Codecs</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>
2
<span class="bold"><strong><code class="systemitem">libavcodec</code></strong></span>:
3
This codec package is capable
4
of decoding H.263/MJPEG/RV10/DivX3/DivX4/DivX5/MP41/MP42/WMV1/WMV2/SVQ1/SVQ3 encoded video
5
streams and WMA (Windows Media Audio) v1/v2 audio streams, on multiple
6
platforms. It is also known to be the fastest for this task. See
7
<a href="video-codecs.html#ffmpeg" title="7.1.2.�FFmpeg/libavcodec">FFmpeg</a> section for details. Features:
8
</p><div class="itemizedlist"><ul type="circle"><li>
9
gain decoding of videos mentioned above, on non-x86 machines
11
encoding with most of the mentioned codecs
13
this codec is the <span class="bold"><strong>fastest codec available</strong></span> for
14
DivX/3/4/5 and other MPEG-4 types. Recommended!
17
<span class="bold"><strong>Win32 codecs</strong></span>: If you plan to use
18
<span class="application">MPlayer</span> on x86 architecture, you will possibly need
19
them. Download a codec package from our
20
<a href="http://www.mplayerhq.hu/homepage/design7/codecs.html" target="_top">codecs page</a>
21
and put the codecs in <tt class="filename">/usr/local/lib/codecs</tt>
22
<span class="bold"><strong>BEFORE</strong></span> compiling <span class="application">MPlayer</span>,
23
otherwise no Win32 support will be compiled!
24
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The avifile project has similar codecs package, but it
25
differs from ours, so if you want to use all supported codecs, then use
26
our package (do not worry, avifile works with it without problems).</p></div><p>
28
</p><div class="itemizedlist"><ul type="circle"><li>
29
you need this if you want to play or encode for example movies recorded
30
with various hardware compressors, like tuner cards, digital cameras
31
(example: DV, ATI VCR, MJPEG)
33
needed if you want to play <span class="bold"><strong>WMV9/WMA9 movies</strong></span>.
35
Not needed for old ASF's with MP41 or MP42 video (though VoxWare audio is
36
frequent for these files - it's done by the Win32 codec), or WMV7. Also not
37
needed for WMA (Windows Media Audio),
38
<code class="systemitem">libavcodec</code> has open source decoder
42
<span class="bold"><strong>QuickTime codecs</strong></span>: on x86 platforms these
43
codecs can be used to decode RPZA, and other QuickTime video,
44
and QDesign audio streams. Installation instructions can be found in the
45
<a href="video-codecs.html#sorenson" title="7.1.9.�Sorenson">Sorenson video codec</a> section.
47
<span class="bold"><strong>DivX4/DivX5</strong></span>: information about this codec is
48
available in the <a href="video-codecs.html#divx4-5" title="7.1.1.�DivX4/DivX5">DivX4/DivX5</a> section. You possibly
49
don't want this codec as
50
<span class="bold"><strong><code class="systemitem">libavcodec</code></strong></span>
51
(see above) is much faster and has better quality than this, for both decoding
52
and encoding. Features:
53
</p><div class="itemizedlist"><ul type="circle"><li>
54
one pass or two pass encoding with
55
<a href="mencoder.html" title="Chapter�12.�Basic usage of MEncoder"><span class="application">MEncoder</span></a>
57
can play old <span class="bold"><strong>DivX3</strong></span> movies much faster than
58
the Win32 DLL but slower than
59
<span class="bold"><strong><code class="systemitem">libavcodec</code></strong></span>!
61
it's closed-source, and only a x86 version is available.
64
<span class="bold"><strong>XviD</strong></span>: Open source encoding alternative to
66
</p><div class="itemizedlist"><ul type="circle"><li>
67
one pass or two pass encoding with
68
<a href="mencoder.html" title="Chapter�12.�Basic usage of MEncoder"><span class="application">MEncoder</span></a>
70
it's open-source, so it's multiplatform.
72
it's about 2 times faster than divX4 when encoding - about the same
76
The <span class="bold"><strong><a href="video-codecs.html#xanim" title="7.1.3.�XAnim codecs">XAnim codecs</a></strong></span>
77
are the best (full screen, hardware YUV zoom) for decoding
78
<span class="bold"><strong>3ivx</strong></span> and Indeo 3/4/5 movies, and some old
79
formats. And they are multiplatform, so this is the only way to play Indeo on
80
non-x86 platforms (well, apart from using XAnim:). But for example Cinepak movies
81
are best played with <span class="application">MPlayer</span>'s own Cinepak decoder!
83
For <span class="bold"><strong>Ogg Vorbis</strong></span> audio decoding you need to
84
install <code class="systemitem">libvorbis</code> properly.
85
You can get binary packages and source code from the
86
<a href="http://www.vorbis.com/download.psp" target="_top">Ogg Vorbis site</a>.
88
<span class="application">MPlayer</span> can use the libraries of RealPlayer 8
89
or RealONE to play files with
90
<span class="bold"><strong>RealVideo 3.0 and 4.0</strong></span>
91
video, and Sipro/Cook audio. See the
92
<a href="video-formats.html#realmedia" title="6.1.7.�RealMedia (RM) files">RealMedia file format</a>
93
section for installation instructions and more information.
94
</p></li></ul></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="softreq.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="install.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="video-cards.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.1.�Software requirements�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�2.3.�Video cards</td></tr></table></div></body></html>