Mercurial > mplayer.hg
annotate DOCS/xml/en/codecs.xml @ 27070:e538f3e34cd0
fix a couple of broken URL links
author | gpoirier |
---|---|
date | Fri, 20 Jun 2008 19:31:21 +0000 |
parents | b89c59df8ba6 |
children | c59e6672574e |
rev | line source |
---|---|
20535 | 1 <?xml version="1.0" encoding="utf-8"?> |
10913
49b1a67e7381
Add revision keyword to english xml files, to ease translation synchronization
lumag
parents:
10869
diff
changeset
|
2 <!-- $Revision$ --> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
3 <chapter id="codecs"> |
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
4 <title>Codecs</title> |
9675 | 5 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
6 <sect1 id="video-codecs"> |
9675 | 7 <title>Video codecs</title> |
8 | |
9 <para> | |
19681 | 10 The <ulink url="../../codecs-status.html">codec status table</ulink> is a |
11 complete list of all supported codecs, regenerated daily. | |
12 Some binary codecs for use with MPlayer are available in the | |
13 <ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">download section</ulink> | |
14 of our homepage. | |
9675 | 15 </para> |
16 | |
17 <para> | |
18 The most important ones above all: | |
19 </para> | |
20 | |
21 <itemizedlist> | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
22 <listitem><para> |
14024 | 23 <emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) and |
24 <emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) video | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
25 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
26 <listitem><para> |
20355 | 27 native decoders for <emphasis role="bold">all DivX variants, |
26114
cc7bc19e3166
replace all occurences of "M$" by "Microsoft" because it's what we really meant, and "M$" nickname is quite childish
gpoirier
parents:
24062
diff
changeset
|
28 3ivX, Microsoft MPEG-4</emphasis> v1, v2 and other MPEG-4 variants |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
29 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
30 <listitem><para> |
9675 | 31 native decoder for <emphasis role="bold">Windows Media Video 7/8</emphasis> |
32 (<emphasis role="bold">WMV1/WMV2</emphasis>), and Win32 DLL decoder | |
33 for <emphasis role="bold">Windows Media Video 9</emphasis> | |
21521 | 34 (<emphasis role="bold">WMV3</emphasis>), |
35 both used in <filename>.wmv</filename> files | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
36 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
37 <listitem><para> |
9675 | 38 native <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> decoder |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
39 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
40 <listitem><para> |
10132 | 41 native <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> decoder |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
42 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
43 <listitem><para> |
9675 | 44 <emphasis role="bold">3ivx</emphasis> v1, v2 decoder |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
45 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
46 <listitem><para> |
21521 | 47 Cinepak and <emphasis role="bold">Intel Indeo</emphasis> codecs |
48 (3.1,3.2,4.1,5.0) | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
49 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
50 <listitem><para> |
9675 | 51 <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 and other hardware |
52 formats | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
53 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
54 <listitem><para> |
21521 | 55 VIVO 1.0, 2.0, I263 and other <emphasis role="bold">H.263(+)</emphasis> |
56 variants | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
57 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
58 <listitem><para> |
9675 | 59 FLI/FLC |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
60 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
61 <listitem><para> |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11758
diff
changeset
|
62 <emphasis role="bold">RealVideo 1.0 & 2.0</emphasis> from |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11758
diff
changeset
|
63 <systemitem class="library">libavcodec</systemitem>, and |
21521 | 64 <emphasis role="bold">RealVideo 3.0 & 4.0</emphasis> codecs using |
65 RealPlayer libraries | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
66 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
67 <listitem><para> |
9675 | 68 native decoder for HuffYUV |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
69 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
70 <listitem><para> |
9675 | 71 Various old simple RLE-like formats |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
72 </para></listitem> |
9675 | 73 </itemizedlist> |
74 | |
75 <para> | |
76 If you have a Win32 codec not listed here which is not supported yet, | |
14061 | 77 please read the <link linkend="codec-importing">codec importing HOWTO</link> |
9675 | 78 and help us add support for it. |
79 </para> | |
80 | |
21521 | 81 <!-- ********** --> |
9675 | 82 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
83 <sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec"> |
11107 | 84 <title>FFmpeg/libavcodec</title> |
9675 | 85 |
86 <para> | |
20335 | 87 <ulink url="http://ffmpeg.org">FFmpeg</ulink> contains |
88 <systemitem class="library">libavcodec</systemitem>, the leading | |
89 open source video and audio codec library. It is capable | |
90 of decoding most multimedia formats, usually at higher speeds | |
20666 | 91 than the alternatives, and aims to add support for |
20335 | 92 the rest of them eventually. It is the default decoder for |
93 the majority of codecs that <application>MPlayer</application> | |
94 supports. Encoding is also possible for some formats and | |
95 supported in <application>MEncoder</application>. | |
11089 | 96 </para> |
97 | |
98 <para> | |
20687
558608ebde11
Better wording, especially if hyperlinks are not visible
torinthiel
parents:
20686
diff
changeset
|
99 For a complete list of supported |
27070 | 100 <ulink url="http://ffmpeg.mplayerhq.hu/general.html#SEC6">video</ulink> |
101 and <ulink url="http://ffmpeg.mplayerhq.hu/general.html#SEC7">audio</ulink> | |
20687
558608ebde11
Better wording, especially if hyperlinks are not visible
torinthiel
parents:
20686
diff
changeset
|
102 codecs please visit the FFmpeg homepage. |
10132 | 103 </para> |
104 | |
105 <para> | |
20335 | 106 <application>MPlayer</application> contains |
107 <systemitem class="library">libavcodec</systemitem>. | |
20689 | 108 Just run <filename>./configure</filename> and compile. |
18601
802ec5d54662
</para> tag was accidently deleted and caused compile error
kraymer
parents:
18599
diff
changeset
|
109 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
110 </sect2> |
9675 | 111 |
21521 | 112 <!-- ********** --> |
9675 | 113 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
114 <sect2 id="xvid"> |
20860 | 115 <title>Xvid</title> |
9675 | 116 |
117 <para> | |
20860 | 118 <ulink url="http://www.xvid.org">Xvid</ulink> is a free software MPEG-4 ASP |
15871 | 119 compliant video codec, which features two pass encoding and full MPEG-4 ASP |
15709 | 120 support, making it a lot more efficient than the well-known DivX codec. |
121 It yields very good video quality and good performance due to CPU | |
122 optimizations for most modern processors. | |
123 </para> | |
21521 | 124 |
15709 | 125 <para> |
126 It began as a forked development of the OpenDivX codec. | |
127 This happened when ProjectMayo changed OpenDivX to closed source | |
20355 | 128 DivX4, and the non-ProjectMayo people working on OpenDivX got angry, |
20860 | 129 then started Xvid. So both projects have the same origin. |
9675 | 130 </para> |
131 | |
20335 | 132 <para> |
20860 | 133 Note that Xvid is not necessary to decode Xvid-encoded video. |
20335 | 134 <systemitem class="library">libavcodec</systemitem> is used by |
135 default as it offers better speed. | |
136 </para> | |
137 | |
9675 | 138 <procedure> |
20860 | 139 <title>Installing <systemitem class="library">Xvid</systemitem></title> |
9675 | 140 <para> |
15709 | 141 Like most open source software, it is available in two flavors: |
142 <ulink url="http://www.xvid.org/downloads.html">official releases</ulink> | |
143 and the CVS version. | |
144 The CVS version is usually stable enough to use, as most of the time it | |
145 features fixes for bugs that exist in releases. | |
20860 | 146 Here is what to do to make <systemitem class="library">Xvid</systemitem> |
15709 | 147 CVS work with <application>MEncoder</application> (you need at least |
16067
f9ffda85aeee
the the auto* tools should be inside an <application></application> tag
gpoirier
parents:
15915
diff
changeset
|
148 <application>autoconf</application> 2.50, |
f9ffda85aeee
the the auto* tools should be inside an <application></application> tag
gpoirier
parents:
15915
diff
changeset
|
149 <application>automake</application> and <application>libtool</application>): |
9675 | 150 </para> |
151 <step><para> | |
152 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen> | |
21521 | 153 </para></step> |
9675 | 154 <step><para> |
155 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen> | |
156 </para></step> | |
157 <step><para> | |
158 <screen>cd xvidcore/build/generic</screen> | |
21521 | 159 </para></step> |
9675 | 160 <step><para> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
161 <screen>./bootstrap.sh</screen> |
21521 | 162 </para></step> |
9675 | 163 <step><para> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
164 <screen>./configure</screen> |
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
165 You may have to add some options (examine the output of |
13223
4d3536e69177
- <screen> -> <command>, improves readibility and sense.
wight
parents:
13222
diff
changeset
|
166 <command>./configure --help</command>). |
21521 | 167 </para></step> |
9675 | 168 <step><para> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
169 <screen>make && make install</screen> |
21521 | 170 </para></step> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
171 <step><para> |
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
172 If you specified <option>--enable-divxcompat</option>, |
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
173 copy <filename>../../src/divx4.h</filename> to |
9675 | 174 <filename class="directory">/usr/local/include/</filename>. |
21521 | 175 </para></step> |
9675 | 176 <step><para> |
26956 | 177 Recompile <application>MPlayer</application>. |
21521 | 178 </para></step> |
9675 | 179 </procedure> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
180 </sect2> |
9675 | 181 |
21521 | 182 <!-- ********** --> |
9675 | 183 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
184 <sect2 id="codec-x264"> |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
185 <title><systemitem class="library">x264</systemitem></title> |
15326 | 186 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
187 <sect3 id="codec-x264-whatis"> |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
188 <title>What is <systemitem class="library">x264</systemitem>?</title> |
21521 | 189 |
15326 | 190 <para> |
21521 | 191 <ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink> |
192 is a library for creating H.264 video streams. | |
26643
fc2e579e2fe6
update paragraphs related to x264, and update its checkout command
gpoirier
parents:
26114
diff
changeset
|
193 It is not 100% complete, but supports most of H.264's features which impact |
fc2e579e2fe6
update paragraphs related to x264, and update its checkout command
gpoirier
parents:
26114
diff
changeset
|
194 quality. |
21521 | 195 There are also many advanced features in the H.264 specification |
196 which have nothing to do with video quality per se; many of these | |
197 are not yet implemented in <systemitem class="library">x264</systemitem>. | |
15326 | 198 </para> |
199 | |
200 <itemizedlist> | |
201 <title>Encoder features</title> | |
202 <listitem><para>CAVLC/CABAC</para></listitem> | |
203 <listitem><para>Multi-references</para></listitem> | |
21521 | 204 <listitem><para> |
205 Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions) | |
206 </para></listitem> | |
207 <listitem><para> | |
208 Inter P: all partitions (from 16x16 down to 4x4) | |
209 </para></listitem> | |
210 <listitem><para> | |
211 Inter B: partitions from 16x16 down to 8x8 (including SKIP/DIRECT) | |
212 </para></listitem> | |
213 <listitem><para> | |
214 Ratecontrol: constant quantizer, constant bitrate, single or multipass ABR, | |
215 optional VBV | |
216 </para></listitem> | |
15326 | 217 <listitem><para>Scene cut detection</para></listitem> |
218 <listitem><para>Adaptive B-frame placement</para></listitem> | |
21521 | 219 <listitem><para> |
220 B-frames as references / arbitrary frame order | |
221 </para></listitem> | |
17273 | 222 <listitem><para>8x8 and 4x4 adaptive spatial transform</para></listitem> |
223 <listitem><para>Lossless mode</para></listitem> | |
224 <listitem><para>Custom quantization matrices</para></listitem> | |
225 <listitem><para>Parallel encoding of multiple slices</para></listitem> | |
21152 | 226 <listitem><para>Interlacing</para></listitem> |
15326 | 227 </itemizedlist> |
21521 | 228 </sect3> |
15326 | 229 |
230 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
231 <sect3 id="codec-h264-whatis"> |
15326 | 232 <title>What is H.264?</title> |
21521 | 233 |
15326 | 234 <para> |
21521 | 235 H.264 is one name for a new digital video codec jointly developed |
236 by the ITU and MPEG. | |
237 It can also be correctly referred to by the cumbersome names of | |
238 "ISO/IEC 14496-10" or "MPEG-4 Part 10". | |
239 More frequently, it is referred to as "MPEG-4 AVC" or just "AVC". | |
15326 | 240 </para> |
21521 | 241 |
15326 | 242 <para> |
21521 | 243 Whatever you call it, H.264 may be worth trying because it can typically match |
244 the quality of MPEG-4 ASP with 5%-30% less bitrate. | |
245 Actual results will depend on both the source material and the encoder. | |
246 The gains from using H.264 do not come for free: Decoding H.264 | |
247 streams seems to have steep CPU and memory requirements. | |
248 For instance, on a 1733 MHz Athlon, a DVD-resolution 1500kbps H.264 | |
249 video requires around 35% CPU to decode. | |
250 By comparison, decoding a DVD-resolution 1500kbps MPEG-4 ASP stream | |
251 requires around 10% CPU. | |
252 This means that decoding high-definition streams is almost out of | |
253 the question for most users. | |
254 It also means that even a decent DVD rip may sometimes stutter on | |
255 processors slower than 2.0 GHz or so. | |
15326 | 256 </para> |
21521 | 257 |
15326 | 258 <para> |
21521 | 259 At least with <systemitem class="library">x264</systemitem>, |
260 encoding requirements are not much worse than what you are used to | |
261 with MPEG-4 ASP. | |
262 For instance, on a 1733 MHz Athlon a typical DVD encode would run | |
263 at 5-15fps. | |
15326 | 264 </para> |
21521 | 265 |
15326 | 266 <para> |
21521 | 267 This document is not intended to explain the details of H.264, |
268 but if you are interested in a brief overview, you may want to read | |
269 <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>. | |
15326 | 270 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
271 </sect3> |
15326 | 272 |
21521 | 273 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
274 <sect3 id="codec-x264-playback"> |
21521 | 275 <title>How can I play H.264 videos with |
276 <application>MPlayer</application>?</title> | |
277 | |
15326 | 278 <para> |
21521 | 279 <application>MPlayer</application> uses |
280 <systemitem class="library">libavcodec</systemitem>'s H.264 decoder. | |
281 <systemitem class="library">libavcodec</systemitem> has had at | |
282 least minimally usable H.264 decoding since around July 2004, | |
283 however major changes and improvements have been implemented since | |
26958 | 284 that time, both in terms of more functionality supported and in |
21521 | 285 terms of improved CPU usage. |
286 Just to be certain, it is always a good idea to use a recent Subversion | |
287 checkout. | |
15326 | 288 </para> |
21521 | 289 |
15326 | 290 <para> |
21521 | 291 If you want a quick and easy way to know whether there have been |
292 recent changes to <systemitem class="library">libavcodec</systemitem>'s | |
293 H.264 decoding, you might keep an eye on | |
294 <ulink url="http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?view=log">FFmpeg Subversion repository's web interface</ulink>. | |
15326 | 295 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
296 </sect3> |
15326 | 297 |
21521 | 298 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
299 <sect3 id="codec-x264-encode"> |
21521 | 300 <title>How can I encode videos using <application>MEncoder</application> |
301 and <systemitem class="library">x264</systemitem>?</title> | |
302 | |
15326 | 303 <para> |
26643
fc2e579e2fe6
update paragraphs related to x264, and update its checkout command
gpoirier
parents:
26114
diff
changeset
|
304 If you have the GIT client installed, the latest x264 |
21521 | 305 sources can be gotten with this command: |
26643
fc2e579e2fe6
update paragraphs related to x264, and update its checkout command
gpoirier
parents:
26114
diff
changeset
|
306 <screen>git clone git://git.videolan.org/x264.git</screen> |
21521 | 307 <application>MPlayer</application> sources are updated whenever |
308 an <systemitem class="library">x264</systemitem> API change | |
309 occurs, so it is always suggested to use | |
26697
baaeace9c6a8
MPlayer uses Subversion, not GIT, 10L to me, and thanks to Mizda for spotting this
gpoirier
parents:
26643
diff
changeset
|
310 <application>MPlayer</application> from Subversion as well. |
21521 | 311 Perhaps this situation will change when and if an |
312 <systemitem class="library">x264</systemitem> "release" occurs. | |
313 Meanwhile, <systemitem class="library">x264</systemitem> should | |
26643
fc2e579e2fe6
update paragraphs related to x264, and update its checkout command
gpoirier
parents:
26114
diff
changeset
|
314 be considered a bit unstable, in the sense that its programming |
21521 | 315 interface is subject to change. |
15326 | 316 </para> |
21521 | 317 |
15326 | 318 <para> |
21521 | 319 <systemitem class="library">x264</systemitem> is built and |
320 installed in the standard way: | |
321 <screen>./configure && make && sudo make install</screen> | |
322 This installs libx264.a in /usr/local/lib and x264.h is placed in | |
323 /usr/local/include. | |
15326 | 324 |
21521 | 325 With the <systemitem class="library">x264</systemitem> library |
326 and header placed in the standard locations, building | |
327 <application>MPlayer</application> with | |
328 <systemitem class="library">x264</systemitem> support is easy. | |
329 Just run the standard: | |
330 <screen>./configure && make && sudo make install</screen> | |
331 The <filename>./configure</filename> script will autodetect that you have | |
332 satisfied the requirements for <systemitem class="library">x264</systemitem>. | |
15326 | 333 </para> |
334 </sect3> | |
9675 | 335 </sect2> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
336 </sect1> |
9675 | 337 |
21521 | 338 |
339 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
340 | |
9675 | 341 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
342 <sect1 id="audio-codecs"> |
9675 | 343 <title>Audio codecs</title> |
344 | |
345 <itemizedlist> | |
346 <title>The most important audio codecs above all:</title> | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
347 <listitem><para> |
11342 | 348 MPEG layer 1/2/3 (MP1/2/3) audio (<emphasis role="bold">native</emphasis> |
9675 | 349 code, with MMX/SSE/3DNow! optimization) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
350 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
351 <listitem><para> |
21521 | 352 Windows Media Audio 7 and 8 (AKA WMAv1 and WMAv2) |
353 (<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
|
354 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
355 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
356 <listitem><para> |
9675 | 357 Windows Media Audio 9 (WMAv3) (using DMO DLL) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
358 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
359 <listitem><para> |
24036 | 360 AC-3 Dolby audio (<emphasis role="bold">native</emphasis> code, with |
9675 | 361 MMX/SSE/3DNow! optimization) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
362 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
363 <listitem><para> |
24036 | 364 AC-3 passing through sound card hardware |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
365 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
366 <listitem><para> |
11342 | 367 AAC |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
368 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
369 <listitem><para> |
9675 | 370 Ogg Vorbis audio codec (<emphasis role="bold">native</emphasis> library) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
371 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
372 <listitem><para> |
24036 | 373 RealAudio: DNET (low bitrate AC-3), Cook, Sipro and ATRAC3 |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
374 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
375 <listitem><para> |
9675 | 376 QuickTime: Qualcomm and QDesign audio codecs |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
377 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
378 <listitem><para> |
9675 | 379 VIVO audio (g723, Vivo Siren) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
380 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
381 <listitem><para> |
9675 | 382 Voxware audio (using DirectShow DLL) |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
383 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
384 <listitem><para> |
26958 | 385 alaw and ulaw, various GSM, ADPCM and PCM formats and other simple old |
9675 | 386 audio codecs |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
387 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
388 <listitem><para> |
18060
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
389 Adaptive Multi-Rate (AMR) speech codecs |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
390 </para></listitem> |
9675 | 391 </itemizedlist> |
392 | |
21521 | 393 <!-- ********** --> |
9675 | 394 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
395 <sect2 id="swac3"> |
24036 | 396 <title>Software AC-3 decoding</title> |
9675 | 397 |
398 <para> | |
24036 | 399 This is the default decoder used for files with AC-3 audio. |
9675 | 400 </para> |
401 | |
402 <para> | |
24036 | 403 The AC-3 decoder can create audio output mixes for 2, 4, or 6 speakers. |
9675 | 404 When configured for 6 speakers, this decoder provides separate output of |
24036 | 405 all the AC-3 channels to the sound driver, allowing for full "surround |
406 sound" experience without the external AC-3 decoder required to use the | |
9675 | 407 hwac3 codec. |
408 </para> | |
409 | |
410 <para> | |
411 Use the <option>-channels</option> option to select the number of output | |
412 channels. Use <option>-channels 2</option> for a stereo downmix. For a 4 | |
413 channel downmix (Left Front, Right Front, Left Surround and Right Surround | |
414 outputs), use <option>-channels 4</option>. In this case, any center | |
21521 | 415 channel will be mixed equally to the front channels. |
24036 | 416 <option>-channels 6</option> will output all the AC-3 channels as they are |
21521 | 417 encoded - in the order Left, Right, Left Surround, Right Surround, Center and |
418 LFE. | |
9675 | 419 </para> |
420 | |
421 <para> | |
422 The default number of output channels is 2. | |
423 </para> | |
424 | |
425 <para> | |
426 To use more than 2 output channels, you will need to use OSS, and have a | |
427 sound card that supports the appropriate number of output channels via the | |
428 SNDCTL_DSP_CHANNELS ioctl. An example of a suitable driver is emu10k1 | |
429 (used by Soundblaster Live! cards) from August 2001 or newer (ALSA CVS is | |
430 also supposed to work). | |
431 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
432 </sect2> |
9675 | 433 |
21521 | 434 <!-- ********** --> |
9675 | 435 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
436 <sect2 id="hwac3"> |
24036 | 437 <title>Hardware AC-3 decoding</title> |
21521 | 438 |
9675 | 439 <para> |
24036 | 440 You need an AC-3 capable sound card, with digital out (S/PDIF). The card's |
9675 | 441 driver must properly support the AFMT_AC3 format (C-Media does). Connect |
24036 | 442 your AC-3 decoder to the S/PDIF output, and use the <option>-ac |
9675 | 443 hwac3</option> option. It is experimental but known to work with C-Media |
444 cards and Soundblaster Live! + ALSA (but not OSS) drivers and DXR3/Hollywood+ | |
445 MPEG decoder cards. | |
446 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
447 </sect2> |
9675 | 448 |
21521 | 449 <!-- ********** --> |
9675 | 450 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
451 <sect2 id="libmad"> |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
452 <title><systemitem class="library">libmad</systemitem> support</title> |
9675 | 453 |
454 <para> | |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
455 <ulink url="http://www.underbit.com/products/mad/"><systemitem class="library">libmad</systemitem></ulink> |
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
456 is a multiplatform, integer (internally 24bit PCM) only |
9675 | 457 MPEG audio decoding library. It does not handle broken files well, and it |
11342 | 458 sometimes has problems with seeking, but it may perform better on FPU-less |
21521 | 459 (such as <link linkend="arm">ARM</link>) |
460 platform than <systemitem class="library">mp3lib</systemitem>. | |
9675 | 461 </para> |
462 | |
463 <para> | |
21521 | 464 If you have a proper installation of |
465 <systemitem class="library">libmad</systemitem>, | |
466 <filename>./configure</filename> will notice and support for MPEG audio | |
467 decoding via <systemitem class="library">libmad</systemitem> will be built | |
468 automatically. | |
9675 | 469 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
470 </sect2> |
9675 | 471 |
21521 | 472 <!-- ********** --> |
473 | |
17432 | 474 <sect2 id="hwmpa"> |
475 <title>Hardware MPEG audio codec</title> | |
476 | |
477 <para> | |
21521 | 478 This codec (selected by <option>-ac hwmpa</option>) passes through MPEG audio |
479 packets to hardware decoders, such as the ones found in full-featured DVB cards | |
17432 | 480 and DXR2 adapters. |
481 Don't use it in combination with any other audio output device | |
482 (such as OSS and ALSA) that isn't able to decode it (you will hear | |
483 only white noise). | |
484 </para> | |
485 </sect2> | |
486 | |
21521 | 487 <!-- ********** --> |
9675 | 488 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
489 <sect2 id="aac"> |
9802 | 490 <title>AAC codec</title> |
21521 | 491 |
9802 | 492 <para> |
493 AAC (Advanced Audio Coding) is an audio codec sometimes found in MOV and MP4 | |
494 files. An open source decoder called FAAD is available from | |
10766 | 495 <ulink url="http://www.audiocoding.com"/>. |
14658 | 496 <application>MPlayer</application> includes a CVS snapshot of libfaad 2.1 |
497 beta, so you do not need to get it separately. | |
9802 | 498 </para> |
11031 | 499 |
500 <para> | |
501 If you use gcc 3.2 which fails to compile our internal FAAD or want to use | |
502 the external library for some other reason, download the library from the | |
14113 | 503 <ulink url="http://www.audiocoding.com/modules/mydownloads/">download page</ulink> |
21521 | 504 and pass <option>--enable-faad-external</option> |
505 to <filename>./configure</filename>. | |
11031 | 506 You do not need all of faad2 to decode AAC files, libfaad is enough. Build |
507 it like this: | |
508 <screen> | |
509 cd faad2/ | |
14700 | 510 sh bootstrap |
11031 | 511 ./configure |
512 cd libfaad | |
513 make | |
514 make install | |
515 </screen> | |
516 Binaries are not available from audiocoding.com, but you can (apt-)get Debian | |
21521 | 517 packages from |
518 <ulink url="http://www.debian-multimedia.org/">Christian Marillat's homepage</ulink>, | |
519 Mandrake/Mandriva RPMs from the <ulink url="http://plf.zarb.org">P.L.F</ulink> | |
21608
d64b282f8e2f
RedHat RPMs are long gone. Greysector repository is going away, and I've
rathann
parents:
21596
diff
changeset
|
520 and Fedora RPMs from <ulink url="http://rpm.livna.org/">Livna</ulink>. |
11031 | 521 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
522 </sect2> |
9802 | 523 |
21521 | 524 <!-- ********** --> |
525 | |
18060
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
526 <sect2 id="amr"> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
527 <title>AMR codecs</title> |
21521 | 528 |
18060
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
529 <para> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
530 Adaptive Multi-Rate speech codec is used in third generation (3G) mobile |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
531 phones. |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
532 Reference implementation is available from |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
533 <ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
534 (free for private use). |
23082 | 535 To enable support, download and install support libraries for |
536 <ulink url="http://www.penguin.cz/~utx/amr">AMR-NB and AMR-WB</ulink> | |
24062
b7f34336c879
Explicitly mention the need to rebuild MPlayer after installing AMR libs.
rathann
parents:
24036
diff
changeset
|
537 following the instructions on that page. Recompile MPlayer afterwards. |
18060
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
538 </para> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
539 </sect2> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
540 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
541 </sect1> |
9675 | 542 |
21521 | 543 |
544 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
545 | |
9675 | 546 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
547 <sect1 id="codec-importing"> |
9675 | 548 <title>Win32 codecs importing HOWTO</title> |
549 | |
550 <!-- TODO: a short paragraph of text would be nice here... --> | |
551 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
552 <sect2 id="vfw-codecs"> |
9675 | 553 <title>VFW codecs</title> |
554 | |
555 <para> | |
556 VFW (Video for Windows) is the old Video API for Windows. Its codecs have | |
557 the <filename>.DLL</filename> or (rarely) <filename>.DRV</filename> | |
558 extension. If <application>MPlayer</application> fails at playing your AVI | |
559 with this kind of message: | |
560 <screen>UNKNOWN video codec: HFYU (0x55594648)</screen> | |
561 It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU = | |
562 HuffYUV codec, DIV3 = DivX Low Motion, etc.). Now that you know this, you | |
563 have to find out which DLL Windows loads in order to play this file. In our | |
564 case, the <filename>system.ini</filename> contains this information in a | |
565 line that reads: | |
566 <programlisting>VIDC.HFYU=huffyuv.dll</programlisting> | |
567 </para> | |
568 | |
569 <para> | |
570 So you need the <filename>huffyuv.dll</filename> file. Note that the audio | |
571 codecs are specified by the MSACM prefix: | |
572 <programlisting>msacm.l3acm=L3codeca.acm</programlisting> | |
573 </para> | |
574 | |
575 <para> | |
576 This is the MP3 codec. Now that you have all the necessary information | |
577 (fourcc, codec file, sample AVI), submit your codec support request by | |
578 mail, and upload these files to the FTP site: | |
21521 | 579 <systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable><codecname></replaceable>/</systemitem> |
9675 | 580 </para> |
581 | |
23517 | 582 <note><para> |
583 On Windows NT/2000/XP search for this info in the registry, | |
21596 | 584 e.g. search for "VIDC.HFYU". To find out how to do this, look at |
9675 | 585 the old DirectShow method below. |
586 </para></note> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
587 </sect2> |
9675 | 588 |
21521 | 589 <!-- ********** --> |
9675 | 590 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
591 <sect2 id="dshow-codecs"> |
9675 | 592 <title>DirectShow codecs</title> |
593 | |
594 <para> | |
595 DirectShow is the newer Video API, which is even worse than its predecessor. | |
596 Things are harder with DirectShow, since | |
597 <itemizedlist> | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
598 <listitem><para> |
9675 | 599 <filename>system.ini</filename> does not contain the needed information, |
600 instead it is stored in the registry and | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
601 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
602 <listitem><para> |
9675 | 603 we need the GUID of the codec. |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
604 </para></listitem> |
9675 | 605 </itemizedlist> |
606 </para> | |
607 | |
608 <procedure> | |
609 <title>New Method:</title> | |
610 <para> | |
611 Using <application>Microsoft GraphEdit</application> (fast) | |
612 </para> | |
613 <step><para> | |
614 Get <application>GraphEdit</application> from either DirectX SDK or | |
20322 | 615 <ulink url="http://doom9.net">doom9</ulink>. |
21521 | 616 </para></step> |
9675 | 617 <step><para> |
618 Start <command>graphedit.exe</command>. | |
21521 | 619 </para></step> |
9675 | 620 <step><para> |
21721
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
621 From the menu select |
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
622 <menuchoice><guimenu>Graph</guimenu> |
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
623 <guisubmenu>Insert Filters</guisubmenu></menuchoice>. |
21521 | 624 </para></step> |
9675 | 625 <step><para> |
20322 | 626 Expand item <systemitem>DirectShow Filters</systemitem>. |
21521 | 627 </para></step> |
9675 | 628 <step><para> |
629 Select the right codec name and expand item. | |
21521 | 630 </para></step> |
9675 | 631 <step><para> |
632 In the entry <systemitem>DisplayName</systemitem> look at the text in | |
633 winged brackets after the backslash and write it down (five dash-delimited | |
634 blocks, the GUID). | |
21521 | 635 </para></step> |
9675 | 636 <step><para> |
21521 | 637 The codec binary is the file specified in the |
638 <systemitem>Filename</systemitem> entry. | |
639 </para></step> | |
9675 | 640 </procedure> |
641 | |
21521 | 642 <note><para> |
9675 | 643 If there is no <systemitem>Filename</systemitem> and |
644 <systemitem>DisplayName</systemitem> contains something like | |
645 <systemitem>device:dmo</systemitem>, then it is a DMO-Codec. | |
21521 | 646 </para></note> |
9675 | 647 |
648 <procedure> | |
649 <title>Old Method:</title> | |
650 <para> | |
651 Take a deep breath and start searching the registry... | |
652 </para> | |
653 <step><para> | |
654 Start <command>regedit</command>. | |
21521 | 655 </para></step> |
9675 | 656 <step><para> |
21732 | 657 Press <keycombo><keycap>Ctrl</keycap><keycap>F</keycap></keycombo>, disable |
658 the first two checkboxes, and enable the third. Type in the fourcc of the | |
659 codec (e.g. <userinput>TM20</userinput>). | |
21521 | 660 </para></step> |
9675 | 661 <step><para> |
662 You should see a field which contains the path and the filename (e.g. | |
663 <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>). | |
21521 | 664 </para></step> |
9675 | 665 <step><para> |
666 Now that you have the file, we need the GUID. Try searching again, but | |
667 now search for the codec's name, not the fourcc. Its name can be acquired | |
668 when Media Player is playing the file, by checking | |
21721
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
669 <menuchoice><guimenu>File</guimenu> <guisubmenu>Properties</guisubmenu> |
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
670 <guimenuitem>Advanced</guimenuitem></menuchoice>. |
9675 | 671 If not, you are out of luck. Try guessing (e.g. search for TrueMotion). |
21521 | 672 </para></step> |
9675 | 673 <step><para> |
674 If the GUID is found you should see a <guilabel>FriendlyName</guilabel> | |
675 and a <guilabel>CLSID</guilabel> field. Write down the 16 byte CLSID, | |
676 this is the GUID we need. | |
21521 | 677 </para></step> |
9675 | 678 </procedure> |
679 | |
21521 | 680 <note><para> |
9675 | 681 If searching fails, try enabling all the checkboxes. You may have |
682 false hits, but you may get lucky... | |
21521 | 683 </para></note> |
9675 | 684 |
685 <para> | |
686 Now that you have all the necessary information (fourcc, GUID, codec file, | |
687 sample AVI), submit your codec support request by mail, and upload these files | |
688 to the FTP site: | |
21521 | 689 <systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable><codecname></replaceable>/</systemitem> |
9675 | 690 </para> |
14004
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
691 |
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
692 <para> |
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
693 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
|
694 <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
|
695 </para> |
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
696 |
9675 | 697 </sect2> |
698 </sect1> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
699 |
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
700 </chapter> |