annotate DOCS/xml/en/codecs.xml @ 15335:69a00872b993

Build fix, 1000l to Guillaume
author wight
date Tue, 03 May 2005 20:27:49 +0000
parents 4c039fa37dbf
children bd6adbd632e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10869
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <sect1 id="codecs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Supported codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <sect2 id="video-codecs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <title>Video codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 <para>
15316
4626c01a4be0 codecs-status.html now resides in DOCS/.
diego
parents: 14700
diff changeset
10 See the <ulink url="../../codecs-status.html">codec status table</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 for the complete, daily generated list. Quite a few codecs are available for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 download from our homepage. Grab them from our
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 The most important ones above all:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <listitem><simpara>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
22 <emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) and
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
23 <emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) video
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 native decoders for <emphasis role="bold">DivX ;-), OpenDivX (DivX4),
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
27 DivX 5 (Pro), 3ivX, M$ MPEG-4</emphasis> v1, v2 and other MPEG-4 variants
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 native decoder for <emphasis role="bold">Windows Media Video 7/8</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 (<emphasis role="bold">WMV1/WMV2</emphasis>), and Win32 DLL decoder
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 for <emphasis role="bold">Windows Media Video 9</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 (<emphasis role="bold">WMV3</emphasis>), both used in <filename>.wmv</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 files
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 native <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> decoder
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 <listitem><simpara>
10132
nicolas
parents: 10039
diff changeset
40 native <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> decoder
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <emphasis role="bold">3ivx</emphasis> v1, v2 decoder
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
46 Cinepak and <emphasis role="bold">Intel Indeo</emphasis> codecs (3.1,3.2,4.1,5.0)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 and other hardware
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 formats
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 <listitem><simpara>
13111
fad3639920d5 H.263 spelling
diego
parents: 12903
diff changeset
53 VIVO 1.0, 2.0, I263 and other <emphasis role="bold">H.263(+)</emphasis> variants
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 FLI/FLC
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 <listitem><simpara>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
59 <emphasis role="bold">RealVideo 1.0 &amp; 2.0</emphasis> from
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
60 <systemitem class="library">libavcodec</systemitem>, and
11638
189ac484f742 compile fix
wight
parents: 11637
diff changeset
61 <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> codecs using RealPlayer
11637
alex
parents: 11555
diff changeset
62 libraries
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
64 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 native decoder for HuffYUV
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
68 Various old simple RLE-like formats
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 If you have a Win32 codec not listed here which is not supported yet,
14061
682ddd07f14e better label
diego
parents: 14024
diff changeset
74 please read the <link linkend="codec-importing">codec importing HOWTO</link>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 and help us add support for it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 <sect3 id="divx4-5">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <title>DivX4/DivX5</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
81
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 <para>
9683
nicolas
parents: 9675
diff changeset
83 This section contains information about the DivX4 and DivX5 codecs of
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 <ulink url="http://www.projectmayo.com">Project Mayo</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 Their first available alpha version was OpenDivX 4.0 alpha 47 and 48.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 Support for this was included in <application>MPlayer</application> in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 past, and built by default. We also used its postprocessing code to
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
88 optionally enhance visual quality of MPEG-1/2 movies. Now we use our own,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 for all file types.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 The new generation of this codec is called DivX4 and can even decode
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
94 movies made with the infamous DivX codec! In addition it is much faster
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
95 than the native Win32 DivX DLLs but slower than
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
96 <systemitem class="library">libavcodec</systemitem>.
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
97 Hence its usage as a decoder is
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
98 <emphasis role="bold">discouraged</emphasis>. However, it is useful for
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
99 encoding. One disadvantage of this codec is that it is not available under an
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 Open Source license.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
101 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 DivX4 works in two modes:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 <variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 <varlistentry><term><option>-vc odivx</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
107 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 Uses the codec in OpenDivX fashion. In this case it produces YV12 images
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 in its own buffer, and <application>MPlayer</application> does colorspace
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 conversion via libvo. (<emphasis role="bold">Fast, recommended!</emphasis>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <varlistentry><term><option>-vc divx4</option></term>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 Uses the colorspace conversion of the codec. In this mode you can use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 YUY2/UYVY, too. (<emphasis role="bold">SLOW</emphasis>)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 </varlistentry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 </variablelist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 The <option>-vc odivx</option> method is usually faster, due to the fact
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 that it transfers image data in YV12 (planar YUV 4:2:0) format, thus
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 requiring much less bandwidth on the bus. For packed YUV modes (YUY2, UYVY)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 use the <option>-vc divx4</option> method. For RGB modes the speed is the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 same, differing at best according to your current color depth.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 If your <option>-vo</option> driver supports direct rendering, then <option>-vc
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 divx4</option> may be faster, or even the fastest solution.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134 <para>
11758
f15a92de64fd proper capitalisation of DivX and the like
wight
parents: 11638
diff changeset
135 The DivX4/5 binary codec library can be downloaded from
13977
7895a1b73828 URL updates
diego
parents: 13927
diff changeset
136 <ulink url="http://avifile.sf.net">avifile</ulink> or
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 <ulink url="http://www.divx.com">divx.com</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 Unpack it, run <filename>./install.sh</filename> as root and do not forget adding
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 <filename class="directory">/usr/local/lib</filename> to your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 <filename>/etc/ld.so.conf</filename> and running <command>ldconfig</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 <para>
11758
f15a92de64fd proper capitalisation of DivX and the like
wight
parents: 11638
diff changeset
144 Get the CVS version of the OLD OpenDivX core library like this:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 <screen>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot login</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 <screen>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot co divxcore</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 This core library is split into a decore and encore library that have to be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 compiled separately. For the decore Library, simply type
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 cd divxcore/decore/build/linux
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160 cp libdivxdecore.so /usr/local/lib
9815
eb55fee443d2 Make absolute symlinks relative as suggested by Rich, fix typo.
diego
parents: 9802
diff changeset
161 ln -s libdivxdecore.so /usr/local/lib/libdivxdecore.so.0
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 cp ../../src/decore.h /usr/local/include
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
166 Alas, for the encore library there is no Linux Makefile available, and the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 MMX optimized code only works on Windows. You can still compile it, though,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168 by using this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 <ulink url="ftp://ftp.mplayerhq.hu/MPlayer/contrib/divx-mf/Makefile">Makefile</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 cd ../../../encore/build
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 mkdir linux
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 cd linux
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174 cp path/Makefile .
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 cp libdivxencore.so /usr/local/lib
9815
eb55fee443d2 Make absolute symlinks relative as suggested by Rich, fix typo.
diego
parents: 9802
diff changeset
177 ln -s libdivxencore.so /usr/local/lib/libdivxencore.so.0
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 cp ../../src/encore.h /usr/local/include
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 <application>MPlayer</application> autodetects DivX4/DivX5 if it is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 properly installed, just compile as usual. If it does not detect it, you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 did not install or configure it correctly.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193
10869
364d43cee33e sync with HTML
diego
parents: 10766
diff changeset
194 <sect3 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
11107
alex
parents: 11090
diff changeset
195 <title>FFmpeg/libavcodec</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 <para>
13977
7895a1b73828 URL updates
diego
parents: 13927
diff changeset
198 <ulink url="http://ffmpeg.org">FFmpeg</ulink> contains an
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 <emphasis role="bold">open source</emphasis> codec package, which is capable
11089
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
200 of decoding streams with various audio and video codecs. It also offers an
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
201 impressing encoding facility and higher speed than the Win32 codecs or the
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
202 DivX.com DivX4/5 libraries!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
206 It contains a lot of nice codecs, especially important are the MPEG-4 variants:
10132
nicolas
parents: 10039
diff changeset
207 DivX3, DivX4, DivX5, Windows Media Video 7/8 (WMV1/WMV2). Also a very interesting one
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 is the WMA decoder.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 <para>
10132
nicolas
parents: 10039
diff changeset
212 The most recent codec deserving credit is the <emphasis role="bold">Sorenson 3</emphasis>
15329
4c039fa37dbf Removes all English's short forms.
gpoirier
parents: 15326
diff changeset
213 (SVQ3) codec. This is the first, completely opensource implementation. It is even
11089
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
214 faster than the original. Be sure to prefer this instead of the binary codec!
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
215 </para>
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
216
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
217 <para>
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
218 For a complete list of supported codecs please visit the FFmpeg homepage.
14113
4c91818a371c link updates
diego
parents: 14061
diff changeset
219 Supported <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC19">video</ulink>
4c91818a371c link updates
diego
parents: 14061
diff changeset
220 and <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC20">audio</ulink> codecs.
10132
nicolas
parents: 10039
diff changeset
221 </para>
nicolas
parents: 10039
diff changeset
222
nicolas
parents: 10039
diff changeset
223 <para>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
224 If you use an <application>MPlayer</application> release you have
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
225 <systemitem class="library">libavcodec</systemitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 right in the package, just build as usual. If you use
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
227 <application>MPlayer</application> from CVS you have to extract
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
228 <systemitem class="library">libavcodec</systemitem> from
11089
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
229 the FFmpeg CVS tree as FFmpeg releases are very rare. The CVS is mostly stable
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
230 and offers the most features. In order to achieve this do:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 <step><para>
11074
85f0917f80cb ffmpeg moved to mphq, URLs changed
gabucino
parents: 11042
diff changeset
235 <screen>cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <step><para>
12457
7f79a6237c48 better CVS checkout parameters
diego
parents: 12369
diff changeset
238 <screen>cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg/libavcodec</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 Move the <filename>libavcodec</filename> directory from the FFmpeg
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 sources to the root of the <application>MPlayer</application> CVS tree.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 It should look like this:
11089
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
244 <filename class="directory">main/libavcodec</filename>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 </para><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 Symlinking is <emphasis role="bold">not</emphasis> enough, you have to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 copy/move it!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 <step><para>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
250 If you prefer having <systemitem class="library">libavcodec</systemitem>
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
251 updated at the same time you update
11089
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
252 <application>MPlayer</application> CVS, put the following line into the
11090
nauj27
parents: 11089
diff changeset
253 <filename>main/CVS/Entries</filename> file:
11089
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
254 <screen>D/libavcodec////</screen>
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
255 </para></step>
0649acf1f1e3 reworked the libavcodec section
alex
parents: 11074
diff changeset
256 <step><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 Compile. <filename>configure</filename> should detect problems before
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 compilation.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 <application>MPlayer</application> from CVS does contain a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 <filename>libavcodec</filename> subdirectory, but it does
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
266 <emphasis role="bold">not</emphasis> contain the source for
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
267 <systemitem class="library">libavcodec</systemitem>!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 You must follow the steps above to obtain the source for this library.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 With FFmpeg and my Matrox G400, I can view even the highest resolution DivX
11042
5a39e905f5e4 microfix
diego
parents: 11033
diff changeset
274 movies without dropped frames on my K6-2 500.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 <sect3 id="xanim">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 <title>XAnim codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 Be advised that the XAnim binary codecs are packaged with a piece of text
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 claiming to be a legally binding software license which, besides other
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 restrictions, forbids the user to use the codecs in conjunction with any
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 program other than <application>XAnim</application>. However, the XAnim
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 author has yet to bring legal action against anyone for codec-related issues.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 <title>INSTALLATION AND USAGE</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 <application>MPlayer</application> is capable of employing the XAnim codecs
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 for decoding. Follow the instructions to enable them:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 Download the codecs you wish to use from the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 <ulink url="http://xanim.va.pubnix.com">XAnim site</ulink>.
9683
nicolas
parents: 9675
diff changeset
304 The <emphasis role="bold">3ivx</emphasis> codec is not there, but at the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305 <ulink url="http://www.3ivx.com">3ivx site</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 <step><para>
9683
nicolas
parents: 9675
diff changeset
308 <emphasis role="bold">OR</emphasis> download the codecs pack from our
nicolas
parents: 9675
diff changeset
309 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</ulink>
nicolas
parents: 9675
diff changeset
310 </para></step>
nicolas
parents: 9675
diff changeset
311 <step><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
312 Use the <option>--with-xanimlibdir</option> option to tell
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 <filename>configure</filename> where
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 to find the XAnim codecs. By default, it looks for them at
10229
nicolas
parents: 10188
diff changeset
315 <filename class="directory">/usr/local/lib/codecs</filename>,
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 <filename class="directory">/usr/local/lib/xanim/mods</filename>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 <filename class="directory">/usr/lib/xanim/mods</filename> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 <filename class="directory">/usr/lib/xanim</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 Alternatively you can set the environment variable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 <envar>XANIM_MOD_DIR</envar> to the directory of the XAnim codecs.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 Rename/symlink the files, cutting out the architecture stuff, so they
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 will have filenames like these: <filename>vid_cvid.xa</filename>,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 <filename>vid_h263.xa</filename>, <filename>vid_iv50.xa</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 XAnim is video codec family <systemitem>xanim</systemitem>, so you may want
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 to use the <option>-vfm xanim</option> option to tell <application>MPlayer</application>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 to use them if possible.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 Tested codecs include: <emphasis role="bold">Indeo 3.2, 4.1, 5.0, CVID, 3ivX,
13111
fad3639920d5 H.263 spelling
diego
parents: 12903
diff changeset
337 H.263.</emphasis>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
341
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 <sect3 id="vivo-video">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
343 <title>VIVO video</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
345 <application>MPlayer</application> can play Vivo (1.0 and 2.0) videos. The
13111
fad3639920d5 H.263 spelling
diego
parents: 12903
diff changeset
346 most suitable codec for 1.0 files is FFmpeg's H.263 decoder, you can use it
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
347 with the <option>-vc ffh263</option> option. For 2.0 files, use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
348 Win32 DLL through the <option>-vc vivo</option> option. If you do not supply
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 command line options <application>MPlayer</application> selects the best codec
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 automatically.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
351 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
352 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
353
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 <sect3 id="mpeg12">
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
356 <title>MPEG-1/2 video</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
358 MPEG-1 and MPEG-2 are decoded by the multiplatform native <systemitem
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
359 class="library">libmpeg2</systemitem> library, whose source code is
14024
0d9e27059495 MPEG-X spelling
diego
parents: 14004
diff changeset
360 included in <application>MPlayer</application>. We handle buggy MPEG-1/2
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361 video files by catching <systemitem>Signal 11</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
362 (<systemitem>segmentation fault</systemitem>), and quickly
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 reinitializing the codec, continuing exactly from where the failure
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 occurred. This recovery technique has no measurable speed penalty.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368
12759
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12695
diff changeset
369 <sect3 id="avicodecs">
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12695
diff changeset
370 <title>MS Video1, Cinepak CVID, and other older codecs</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 <para>
12832
76b5400ab234 Add <application> tags around MPlayer.
lumag
parents: 12815
diff changeset
372 <application>MPlayer</application> is able to play most of the older codecs
76b5400ab234 Add <application> tags around MPlayer.
lumag
parents: 12815
diff changeset
373 used in AVI and MOV files.
12759
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12695
diff changeset
374 In the past they were decoded with binary Win32 codecs, but now we have
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12695
diff changeset
375 <emphasis role="bold">native codecs</emphasis> for most of them using
111a9feec18c NSV added to formats, cinepak etc codec updates by Roberto Togni.
diego
parents: 12695
diff changeset
376 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381 <sect3 id="realvideo">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382 <title>RealVideo</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <application>MPlayer</application> supports decoding all versions of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 RealVideo:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 <listitem><simpara>
11555
2a84e9145fa3 native RV20
gabucino
parents: 11540
diff changeset
390 RealVideo 1.0, 2.0 (fourcc RV10, RV20) - en/decoding supported by
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 <systemitem class="library">libavcodec</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 <listitem><simpara>
11555
2a84e9145fa3 native RV20
gabucino
parents: 11540
diff changeset
394 RealVideo 3.0, 4.0 (fourcc RV30, RV40) - decoding supported by
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 <emphasis role="bold">RealPlayer libraries</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400 <para>
12648
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
401 Download Real codecs from
12832
76b5400ab234 Add <application> tags around MPlayer.
lumag
parents: 12815
diff changeset
402 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</ulink>
12648
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
403 and extract them to the
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
404 <filename class="directory">/usr/local/lib/codecs</filename> directory.
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
405 If you want to store them in a different location, pass the
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
406 <option>--with-reallibdir</option> option to <command>configure</command>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
408
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 <application>RealPlayer</application> libraries currently
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411 <emphasis role="bold">only work with Linux, FreeBSD, NetBSD and Cygwin on the x86,
12648
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
412 Alpha and PowerPC (Linux/Alpha and Linux/PowerPC have been tested) platforms and with Mac OS X</emphasis>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417 <sect3 id="xvid">
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
418 <title>XviD</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 <para>
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
421 <ulink url="http://www.xvid.org">XviD</ulink> is a forked development of the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 OpenDivX codec. It happened when ProjectMayo changed OpenDivX to closed source
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423 DivX4 (now DivX5), and the non-ProjectMayo people working on OpenDivX got angry,
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
424 then started XviD. So both projects have the same origin.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
425
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
427 <title>ADVANTAGES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
428 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 open source
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
430 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
431 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 its API is compatible with DivX4 so adding support for it is easy
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
433 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 2-pass encoding support
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
436 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
438 nice encoding quality, higher speed than DivX4 (you can optimize it for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439 your box while compiling)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
441 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
443 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
444 <title>DISADVANTAGES</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
445 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 currently it does not properly <emphasis role="bold">decode</emphasis> all
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
447 DivX/DivX4 files (no problem as
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
448 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449 can play them)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
450 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452 under development
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
454 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
457 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
458 <title>INSTALLING XVID CVS</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
459 <para>
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
460 It is currently available only from CVS. Here are download and installation
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
461 instructions (you need at least autoconf 2.50, automake and libtool):
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
465 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
466 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
467 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
468 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
470 <screen>cd xvidcore/build/generic</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
471 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
472 <step><para>
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
473 <screen>./bootstrap.sh</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
474 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
475 <step><para>
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
476 <screen>./configure</screen>
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
477 You may have to add some options (examine the output of
13223
4d3536e69177 - <screen> -> <command>, improves readibility and sense.
wight
parents: 13222
diff changeset
478 <command>./configure --help</command>).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
480 <step><para>
9720
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
481 <screen>make &amp;&amp; make install</screen>
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
482 </para></step>
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
483 <step><para>
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
484 If you specified <option>--enable-divxcompat</option>,
5cd40fe6ba7e Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents: 9683
diff changeset
485 copy <filename>../../src/divx4.h</filename> to
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
486 <filename class="directory">/usr/local/include/</filename>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
487 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
489 Recompile <application>MPlayer</application> with
12000
204cb6d58da6 Keep the ./configure options for xvid in sync.
rathann
parents: 11822
diff changeset
490 <option>--with-xvidlibdir=<replaceable>/path/to/</replaceable>libxvidcore.a</option>
204cb6d58da6 Keep the ./configure options for xvid in sync.
rathann
parents: 11822
diff changeset
491 <option>--with-xvidincdir=<replaceable>/path/to/</replaceable>xvid.h</option>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
492 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
493 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
494 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
495
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
496
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 <sect3 id="sorenson">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
498 <title>Sorenson</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
499
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
500 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
501 Sorenson is a video codec developed by Sorenson Media and licensed to Apple who
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
502 distribute it with their <application>QuickTime Player</application>. We are
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
503 currently able to decode all version of Sorenson video files with the following
10132
nicolas
parents: 10039
diff changeset
504 decoders:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
505 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
506
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
507 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
508 <listitem><simpara>
10430
4b2254f16fed sync with HTML
diego
parents: 10318
diff changeset
509 Sorenson Video v1 (fourcc <emphasis>SVQ1</emphasis>) - decoding supported
4b2254f16fed sync with HTML
diego
parents: 10318
diff changeset
510 by <emphasis role="bold">native codec</emphasis>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
511 (<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
512 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
513 <listitem><simpara>
10430
4b2254f16fed sync with HTML
diego
parents: 10318
diff changeset
514 Sorenson Video v3 (fourcc <emphasis>SVQ3</emphasis>) - decoding supported by
4b2254f16fed sync with HTML
diego
parents: 10318
diff changeset
515 <emphasis role="bold">native codec</emphasis>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
516 (<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
517 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
520 <procedure>
9837
75ff80d8dc1e Looks like a typo :) --- Fixed
lumag
parents: 9815
diff changeset
521 <title>COMPILING MPLAYER WITH QUICKTIME LIBRARIES SUPPORT</title>
13223
4d3536e69177 - <screen> -> <command>, improves readibility and sense.
wight
parents: 13222
diff changeset
522 <note><para>Currently only 32-bit Intel platforms are supported.</para></note>
11540
d480f7e36b74 <application> attack
wight
parents: 11344
diff changeset
523 <step><para>download <application>MPlayer</application> CVS</para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
524 <step><para>download QuickTime DLL pack from
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
525 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
526 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
527 <step><para>extract QuickTime DLL pack to your Win32 codecs directory
10188
13a2047cf94e An additional cosmetic '/' for consistency.
diego
parents: 10185
diff changeset
528 (default: <filename class="directory">/usr/local/lib/codecs/</filename>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
529 </para></step>
11540
d480f7e36b74 <application> attack
wight
parents: 11344
diff changeset
530 <step><para>compile <application>MPlayer</application></para></step>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
531 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
532
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
533 </sect3>
15326
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
534
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
535 <sect3 id="codec-x264">
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
536 <title>x264</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
537
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
538 <sect4 id="codec-x264-whatis">
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
539 <title>What is x264?</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
540 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
541 <systemitem class="library">x264</systemitem> is a library for
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
542 creating H.264 video streams.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
543 It is not 100% complete, but currently it has at least some kind
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
544 of support for most of the H.264 features which impact quality.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
545 There are also many advanced features in the H.264 specification
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
546 which have nothing to do with video quality per se; many of these
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
547 are not yet implemented in
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
548 <systemitem class="library">x264</systemitem>.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
549 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
550
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
551 <itemizedlist>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
552 <title>Encoder features</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
553 <listitem><para>CAVLC/CABAC</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
554 <listitem><para>Multi-references</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
555 <listitem><para>Intra: all macroblock types (16x16 and 4x4 with
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
556 all predictions)</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
557 <listitem><para>Inter P: all partitions (from 16x16 down to
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
558 4x4)</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
559 <listitem><para>Inter B: partitions from 16x16 down to 8x8
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
560 (including SKIP/DIRECT)</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
561 <listitem><para>Ratecontrol: constant quantizer, constant bitrate,
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
562 or multipass ABR</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
563 <listitem><para>Scene cut detection</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
564 <listitem><para>Adaptive B-frame placement</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
565 <listitem><para>B-frames as references / arbitrary frame
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
566 order</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
567 </itemizedlist>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
568
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
569 <itemizedlist>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
570 <title>Encoder limitations</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
571 <listitem><para>No real RD</para></listitem>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
572 </itemizedlist>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
573
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
574
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
575 </sect4>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
576
15335
69a00872b993 Build fix, 1000l to Guillaume
wight
parents: 15329
diff changeset
577 <sect4 id="codec-h264-whatis">
15326
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
578 <title>What is H.264?</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
579 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
580 H.264 is one name for a new digital video codec jointly developed
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
581 by the ITU and MPEG.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
582 It can also be correctly referred to by the cumbersome names of
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
583 "ISO/IEC 14496-10" or "MPEG-4 Part 10".
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
584 More frequently, it is referred to as "MPEG-4 AVC" or just "AVC".
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
585 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
586 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
587 Whatever you call it, H.264 may be worth trying because it can
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
588 typically match the quality of MPEG-4 ASP with 5%-30% less
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
589 bitrate.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
590 Actual results will depend on both the source material and the
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
591 encoder.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
592 The gains from using H.264 do not come for free: decoding H.264
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
593 streams seems to have steep CPU and memory requirements.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
594 For instance, on a 1733 MHz Athlon, a 1500kbps H.264 video uses
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
595 around 50% CPU to decode.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
596 By comparison, decoding a 1500kbps MPEG4-ASP stream requires
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
597 around 10% CPU.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
598 This means that decoding high-definition streams is almost out of
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
599 the question for most users.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
600 It also means that even a decent DVD rip may sometimes stutter on
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
601 processors slower than 2.0 GHz or so.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
602 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
603 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
604 At least with <systemitem class="library">x264</systemitem>,
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
605 encoding requirements are not much worse than what you are used to
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
606 with MPEG4-ASP.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
607 For instance, on a 1733 MHz Athlon a typical DVD encode would run
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
608 at 5-15fps.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
609 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
610 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
611 This document is not intended to explain the details of H.264,
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
612 but if you are interested in a brief overview, you may want to read
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
613 <ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
614 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
615 </sect4>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
616
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
617 <sect4 id="codec-x264-playback">
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
618 <title>How can I play H.264 videos with <application>MPlayer</application>?</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
619 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
620 <application>MPlayer</application> uses
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
621 <systemitem class="library">libavcodec</systemitem>'s H.264
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
622 decoder.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
623 <systemitem class="library">libavcodec</systemitem> has had at
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
624 least minimally usable H.264 decoding since around July 2004,
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
625 however major changes and improvements have been implemented since
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
626 that time, both in terms of more functionalities supported and in
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
627 terms of improved CPU usage.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
628 Just to be certain, it is always a good idea to use a recent CVS
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
629 checkout.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
630 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
631 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
632 If you want a quick and easy way to know whether there have been
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
633 recent changes to <systemitem class="library">libavcodec</systemitem>'s
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
634 H.264 decoding, you might keep an eye on
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
635 <ulink url="http://mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/h264.c?cvsroot=FFMpeg">FFmpeg CVS repository's web interface</ulink>.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
636 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
637 </sect4>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
638
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
639 <sect4 id="codec-x264-encode">
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
640 <title>How can I encode videos using <application>MEncoder</application> and <systemitem class="library">x264</systemitem>?</title>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
641 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
642 If you have the subversion client installed, the latest x264
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
643 sources can be gotten with this command:
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
644 <screen>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
645 svn co svn://svn.videolan.org/x264/trunk x264
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
646 </screen>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
647 <application>MPlayer</application> sources are updated whenever
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
648 an <systemitem class="library">x264</systemitem> API change
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
649 occurs, so it is always suggested to use CVS
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
650 <application>MPlayer</application> as well.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
651 Perhaps this situation will change when and if an
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
652 <systemitem class="library">x264</systemitem> "release" occurs.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
653 Meanwhile, <systemitem class="library">x264</systemitem> should
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
654 be considered very unstable, in the sense that its programming
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
655 interface is subject to change.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
656 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
657 <para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
658 <systemitem class="library">x264</systemitem> is built and
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
659 installed in the standard way:
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
660 <screen>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
661 ./configure &amp;&amp; make &amp;&amp; sudo make install
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
662 </screen>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
663 This installs libx264.a in /usr/local/lib and x264.h is placed in
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
664 /usr/local/include.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
665
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
666 With the <systemitem class="library">x264</systemitem> library
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
667 and header placed in the standard locations, building
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
668 <application>MPlayer</application> with
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
669 <systemitem class="library">x264</systemitem> support is easy.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
670 Just run the standard:
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
671 <screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
672 The configure script will autodetect that you have satisfied the
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
673 requirements for <systemitem class="library">x264</systemitem>.
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
674 </para>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
675 </sect4>
f351dd913bc6 x264's encoding and install guide
gpoirier
parents: 15316
diff changeset
676 </sect3>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
677 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
678
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
679 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
680
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
681 <sect2 id="audio-codecs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
682 <title>Audio codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
683
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
684 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
685 <title>The most important audio codecs above all:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
686 <listitem><simpara>
11342
bcb9c6abf798 some clarifications
alex
parents: 11107
diff changeset
687 MPEG layer 1/2/3 (MP1/2/3) audio (<emphasis role="bold">native</emphasis>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
688 code, with MMX/SSE/3DNow! optimization)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
689 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
690 <listitem><simpara>
13222
diego
parents: 13111
diff changeset
691 Windows Media Audio 7 and 8 (AKA WMAv1 and WMAv2) (<emphasis role="bold">native</emphasis> code, with
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11758
diff changeset
692 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
693 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
694 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
695 Windows Media Audio 9 (WMAv3) (using DMO DLL)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
696 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
697 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
698 AC3 Dolby audio (<emphasis role="bold">native</emphasis> code, with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
699 MMX/SSE/3DNow! optimization)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
700 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
701 <listitem><simpara>
13532
diego
parents: 13223
diff changeset
702 AC3 passing through sound card hardware
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
703 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
704 <listitem><simpara>
11342
bcb9c6abf798 some clarifications
alex
parents: 11107
diff changeset
705 AAC
bcb9c6abf798 some clarifications
alex
parents: 11107
diff changeset
706 </simpara></listitem>
bcb9c6abf798 some clarifications
alex
parents: 11107
diff changeset
707 <listitem><simpara>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
708 Ogg Vorbis audio codec (<emphasis role="bold">native</emphasis> library)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
709 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
710 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
711 RealAudio: DNET (low bitrate AC3), Cook, Sipro and ATRAC3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
712 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
713 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
714 QuickTime: Qualcomm and QDesign audio codecs
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
715 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
716 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
717 VIVO audio (g723, Vivo Siren)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
718 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
719 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
720 Voxware audio (using DirectShow DLL)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
721 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
722 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
723 alaw and ulaw, various gsm, adpcm and pcm formats and other simple old
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
724 audio codecs
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
725 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
726 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
727
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
728
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
729 <sect3 id="swac3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
730 <title>Software AC3 decoding</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
731
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
732 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
733 This is the default decoder used for files with AC3 audio.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
734 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
735
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
736 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
737 The AC3 decoder can create audio output mixes for 2, 4, or 6 speakers.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
738 When configured for 6 speakers, this decoder provides separate output of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
739 all the AC3 channels to the sound driver, allowing for full "surround
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
740 sound" experience without the external AC3 decoder required to use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
741 hwac3 codec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
742 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
743
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
744 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
745 Use the <option>-channels</option> option to select the number of output
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
746 channels. Use <option>-channels 2</option> for a stereo downmix. For a 4
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
747 channel downmix (Left Front, Right Front, Left Surround and Right Surround
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
748 outputs), use <option>-channels 4</option>. In this case, any center
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
749 channel will be mixed equally to the front channels. <option>-channels
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
750 6</option> will output all the AC3 channels as they are encoded - in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
751 order Left, Right, Left Surround, Right Surround, Center and LFE.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
752 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
753
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
754 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
755 The default number of output channels is 2.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
756 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
757
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
758 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
759 To use more than 2 output channels, you will need to use OSS, and have a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
760 sound card that supports the appropriate number of output channels via the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
761 SNDCTL_DSP_CHANNELS ioctl. An example of a suitable driver is emu10k1
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
762 (used by Soundblaster Live! cards) from August 2001 or newer (ALSA CVS is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
763 also supposed to work).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
764 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
765 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
766
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
767
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
768 <sect3 id="hwac3">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
769 <title>Hardware AC3 decoding</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
770 <para>
12369
6c19f8e780fc S/PDIF spelling corrected
wight
parents: 12000
diff changeset
771 You need an AC3 capable sound card, with digital out (S/PDIF). The card's
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
772 driver must properly support the AFMT_AC3 format (C-Media does). Connect
12369
6c19f8e780fc S/PDIF spelling corrected
wight
parents: 12000
diff changeset
773 your AC3 decoder to the S/PDIF output, and use the <option>-ac
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
774 hwac3</option> option. It is experimental but known to work with C-Media
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
775 cards and Soundblaster Live! + ALSA (but not OSS) drivers and DXR3/Hollywood+
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
776 MPEG decoder cards.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
777 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
778 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
779
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
780
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
781 <sect3 id="libmad">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
782 <title>libmad support</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
783
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
784 <para>
13977
7895a1b73828 URL updates
diego
parents: 13927
diff changeset
785 <ulink url="http://www.underbit.com/products/mad/">libmad</ulink> is a multiplatform,
11342
bcb9c6abf798 some clarifications
alex
parents: 11107
diff changeset
786 integer (internally 24bit PCM) only
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
787 MPEG audio decoding library. It does not handle broken files well, and it
11342
bcb9c6abf798 some clarifications
alex
parents: 11107
diff changeset
788 sometimes has problems with seeking, but it may perform better on FPU-less
11343
5149afdc8d27 10l again :(
alex
parents: 11342
diff changeset
789 (such as <link linkend="arm">ARM</link>) platform than mp3lib.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
790 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
791
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
792 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
793 To enable support, compile with the <option>--enable-mad</option> configure
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
794 option.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
795 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
796 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
797
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
798
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
799 <sect3 id="vivo-audio">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
800 <title>VIVO audio</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
801 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
802 The audio codec used in VIVO files depends on whether it is a VIVO/1.0 or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
803 VIVO/2.0 file. VIVO/1.0 files have <emphasis role="bold">g.723</emphasis> audio,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
804 and VIVO/2.0 files have <emphasis role="bold">Vivo Siren</emphasis> audio. Both are
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
805 supported.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
806 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
807 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
808
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
809
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
810 <sect3 id="realaudio">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
811 <title>RealAudio</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
812
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
813 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
814 <application>MPlayer</application> supports decoding nearly all versions of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
815 RealAudio:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
816 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
817
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
818 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
819 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
820 RealAudio DNET - decoding supported by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
821 <systemitem class="library">liba52</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
822 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
823 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
824 RealAudio Cook/Sipro/ATRAC3 - decoding supported by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
825 <emphasis role="bold">RealPlayer libraries</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
826 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
827 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
828
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
829 <para>
12695
845882906af0 grammar/typos pointed out by the Wanderer
diego
parents: 12648
diff changeset
830 Instructions on how to install the RealPlayer libraries are in the
12648
c12639f67b24 Real codecs and Mac OS X, don't recommend installing Real player.
diego
parents: 12457
diff changeset
831 <link linkend="realvideo">RealVideo</link> section.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
832 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
833 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
834
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
835 <sect3 id="qdesign">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
836 <title>QDesign codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
837 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
838 QDesign audio streams (fourcc:<emphasis>QDMC, QDM2</emphasis>) are found
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
839 in MOV/QT files. Both versions of this codec can be decoded with QuickTime
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
840 libraries. For installation instructions please see the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
841 <link linkend="sorenson">Sorenson video codec</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
842 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
843 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
844
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
845 <sect3 id="qualcomm">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
846 <title>Qualcomm codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
847 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
848 Qualcomm audio streams (fourcc:<emphasis>Qclp</emphasis>) is found
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
849 in MOV/QT files. It can be decoded with QuickTime
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
850 libraries. For installation instructions please see the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
851 <link linkend="sorenson">Sorenson video codec</link> section.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
852 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
853 </sect3>
9802
nicolas
parents: 9784
diff changeset
854
nicolas
parents: 9784
diff changeset
855 <sect3 id="aac">
nicolas
parents: 9784
diff changeset
856 <title>AAC codec</title>
nicolas
parents: 9784
diff changeset
857 <para>
nicolas
parents: 9784
diff changeset
858 AAC (Advanced Audio Coding) is an audio codec sometimes found in MOV and MP4
nicolas
parents: 9784
diff changeset
859 files. An open source decoder called FAAD is available from
10766
57f5eb4d884f libfaad is included now.
diego
parents: 10701
diff changeset
860 <ulink url="http://www.audiocoding.com"/>.
14658
8bccff70ebf8 The included libfaad is at version 2.1 beta.
diego
parents: 14113
diff changeset
861 <application>MPlayer</application> includes a CVS snapshot of libfaad 2.1
8bccff70ebf8 The included libfaad is at version 2.1 beta.
diego
parents: 14113
diff changeset
862 beta, so you do not need to get it separately.
9802
nicolas
parents: 9784
diff changeset
863 </para>
11031
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
864
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
865 <para>
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
866 If you use gcc 3.2 which fails to compile our internal FAAD or want to use
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
867 the external library for some other reason, download the library from the
14113
4c91818a371c link updates
diego
parents: 14061
diff changeset
868 <ulink url="http://www.audiocoding.com/modules/mydownloads/">download page</ulink>
13687
ca7583315b4d Typo noticed by Nicolas Plourde.
diego
parents: 13631
diff changeset
869 and pass <option>--enable-external-faad</option> to <filename>configure</filename>.
11031
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
870 You do not need all of faad2 to decode AAC files, libfaad is enough. Build
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
871 it like this:
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
872 <screen>
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
873 cd faad2/
14700
db451cd8ea37 Simplify FAAD instructions.
diego
parents: 14658
diff changeset
874 sh bootstrap
11031
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
875 ./configure
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
876 cd libfaad
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
877 make
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
878 make install
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
879 </screen>
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
880 Binaries are not available from audiocoding.com, but you can (apt-)get Debian
14113
4c91818a371c link updates
diego
parents: 14061
diff changeset
881 packages from <ulink url="http://hpisi.nerim.net">Christian Marillat's homepage</ulink>,
11033
668f6aef703d From: "Dominik 'Rathann' Mierzejewski" <dominik@rangers.eu.org>
gabucino
parents: 11031
diff changeset
882 Mandrake RPMs from the <ulink url="http://plf.zarb.org">P.L.F</ulink> and RedHat RPMs
12882
1b3b8b8ae12e update RedHat RPM sites in doc translations
rathann
parents: 12832
diff changeset
883 from <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>.
11031
f57563a141aa libfaad FAQ, external FAAD info added back.
diego
parents: 10913
diff changeset
884 </para>
9802
nicolas
parents: 9784
diff changeset
885 </sect3>
nicolas
parents: 9784
diff changeset
886
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
887 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
888
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
889 <!-- ********** -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
890
14061
682ddd07f14e better label
diego
parents: 14024
diff changeset
891 <sect2 id="codec-importing">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
892 <title>Win32 codecs importing HOWTO</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
893
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
894 <!-- TODO: a short paragraph of text would be nice here... -->
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
895
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
896 <sect3 id="vfw-codecs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
897 <title>VFW codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
898
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
899 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
900 VFW (Video for Windows) is the old Video API for Windows. Its codecs have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
901 the <filename>.DLL</filename> or (rarely) <filename>.DRV</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
902 extension. If <application>MPlayer</application> fails at playing your AVI
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
903 with this kind of message:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
904 <screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
905 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
906
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
907 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
908 It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU =
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
909 HuffYUV codec, DIV3 = DivX Low Motion, etc.). Now that you know this, you
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
910 have to find out which DLL Windows loads in order to play this file. In our
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
911 case, the <filename>system.ini</filename> contains this information in a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
912 line that reads:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
913 <programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
914 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
915
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
916 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
917 So you need the <filename>huffyuv.dll</filename> file. Note that the audio
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
918 codecs are specified by the MSACM prefix:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
919 <programlisting>msacm.l3acm=L3codeca.acm</programlisting>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
920 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
921
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
922 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
923 This is the MP3 codec. Now that you have all the necessary information
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
924 (fourcc, codec file, sample AVI), submit your codec support request by
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
925 mail, and upload these files to the FTP site:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
926 <systemitem role="url">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
927 ftp://ftp.mplayerhq.hu/MPlayer/incoming/[codecname]/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
928 </systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
929 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
930
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
931 <note><para>On Windows NT/2000/XP search for this info in the registry,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
932 e.g. search for &quot;VIDC.HFYU&quot;. To find out how to do this, look at
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
933 the old DirectShow method below.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
934 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
935 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
936
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
937
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
938 <sect3 id="dshow-codecs">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
939 <title>DirectShow codecs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
940
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
941 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
942 DirectShow is the newer Video API, which is even worse than its predecessor.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
943 Things are harder with DirectShow, since
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
944 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
945 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
946 <filename>system.ini</filename> does not contain the needed information,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
947 instead it is stored in the registry and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
948 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
949 <listitem><simpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
950 we need the GUID of the codec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
951 </simpara></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
952 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
953 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
954
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
955 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
956 <title>New Method:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
957 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
958 Using <application>Microsoft GraphEdit</application> (fast)
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
959 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
960 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
961 Get <application>GraphEdit</application> from either DirectX SDK or
13927
26d200cbf307 URL update, noticed by Gabor Mizda.
diego
parents: 13891
diff changeset
962 <ulink url="http://doom9.net">doom9</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
963 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
964 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
965 Start <command>graphedit.exe</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
966 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
967 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
968 From the menu select Graph -> Insert Filters.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
969 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
970 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
971 Expand item <systemitem>DirectShow Filters</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
972 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
973 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
974 Select the right codec name and expand item.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
975 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
976 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
977 In the entry <systemitem>DisplayName</systemitem> look at the text in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
978 winged brackets after the backslash and write it down (five dash-delimited
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
979 blocks, the GUID).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
980 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
981 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
982 The codec binary is the file specified in the <systemitem>Filename</systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
983 entry.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
984 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
985 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
986
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
987 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
988 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
989 If there is no <systemitem>Filename</systemitem> and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
990 <systemitem>DisplayName</systemitem> contains something like
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
991 <systemitem>device:dmo</systemitem>, then it is a DMO-Codec.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
992 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
993 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
994
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
995 <procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
996 <title>Old Method:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
997 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
998 Take a deep breath and start searching the registry...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
999 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1000 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1001 Start <command>regedit</command>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1002 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1003 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1004 Press <keycap>Ctrl</keycap>+<keycap>F</keycap>, disable the first two
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1005 checkboxes, and enable the third. Type in the fourcc of the codec (e.g.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1006 <userinput>TM20</userinput>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1007 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1008 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1009 You should see a field which contains the path and the filename (e.g.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1010 <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1011 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1012 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1013 Now that you have the file, we need the GUID. Try searching again, but
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1014 now search for the codec's name, not the fourcc. Its name can be acquired
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1015 when Media Player is playing the file, by checking
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1016 <guimenu>File</guimenu> -&gt; <guisubmenu>Properties</guisubmenu> -&gt;
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1017 <guimenuitem>Advanced</guimenuitem>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1018 If not, you are out of luck. Try guessing (e.g. search for TrueMotion).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1019 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1020 <step><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1021 If the GUID is found you should see a <guilabel>FriendlyName</guilabel>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1022 and a <guilabel>CLSID</guilabel> field. Write down the 16 byte CLSID,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1023 this is the GUID we need.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1024 </para></step>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1025 </procedure>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1026
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1027 <note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1028 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1029 If searching fails, try enabling all the checkboxes. You may have
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1030 false hits, but you may get lucky...
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1031 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1032 </note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1033
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1034 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1035 Now that you have all the necessary information (fourcc, GUID, codec file,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1036 sample AVI), submit your codec support request by mail, and upload these files
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1037 to the FTP site:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1038 <systemitem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1039 role="url">ftp://ftp.mplayerhq.hu/MPlayer/incoming/[codecname]/
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1040 </systemitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1041 </para>
14004
3d698ac7ec9a Explain what you need to read to add a codec yourself, patch by
diego
parents: 13977
diff changeset
1042
3d698ac7ec9a Explain what you need to read to add a codec yourself, patch by
diego
parents: 13977
diff changeset
1043 <para>
3d698ac7ec9a Explain what you need to read to add a codec yourself, patch by
diego
parents: 13977
diff changeset
1044 If you want to add a codec yourself, read
3d698ac7ec9a Explain what you need to read to add a codec yourself, patch by
diego
parents: 13977
diff changeset
1045 <ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
3d698ac7ec9a Explain what you need to read to add a codec yourself, patch by
diego
parents: 13977
diff changeset
1046 </para>
3d698ac7ec9a Explain what you need to read to add a codec yourself, patch by
diego
parents: 13977
diff changeset
1047
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1048 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1049 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1050 </sect1>