Mercurial > mplayer.hg
annotate DOCS/xml/en/codecs.xml @ 27797:9f71a5b0fa94
Remove notice about necessary tool versions in Xvid section, the info is
most likely outdated.
author | diego |
---|---|
date | Sun, 26 Oct 2008 09:06:16 +0000 |
parents | 8b13197f77af |
children | 898b89a6dab1 |
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> | |
27742 | 18 If you have a Win32 codec which is not supported yet, |
14061 | 19 please read the <link linkend="codec-importing">codec importing HOWTO</link> |
9675 | 20 and help us add support for it. |
21 </para> | |
22 | |
21521 | 23 <!-- ********** --> |
9675 | 24 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
25 <sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec"> |
11107 | 26 <title>FFmpeg/libavcodec</title> |
9675 | 27 |
28 <para> | |
20335 | 29 <ulink url="http://ffmpeg.org">FFmpeg</ulink> contains |
30 <systemitem class="library">libavcodec</systemitem>, the leading | |
31 open source video and audio codec library. It is capable | |
32 of decoding most multimedia formats, usually at higher speeds | |
20666 | 33 than the alternatives, and aims to add support for |
20335 | 34 the rest of them eventually. It is the default decoder for |
35 the majority of codecs that <application>MPlayer</application> | |
36 supports. Encoding is also possible for some formats and | |
37 supported in <application>MEncoder</application>. | |
11089 | 38 </para> |
39 | |
40 <para> | |
20687
558608ebde11
Better wording, especially if hyperlinks are not visible
torinthiel
parents:
20686
diff
changeset
|
41 For a complete list of supported |
27070 | 42 <ulink url="http://ffmpeg.mplayerhq.hu/general.html#SEC6">video</ulink> |
43 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
|
44 codecs please visit the FFmpeg homepage. |
10132 | 45 </para> |
46 | |
47 <para> | |
20335 | 48 <application>MPlayer</application> contains |
49 <systemitem class="library">libavcodec</systemitem>. | |
20689 | 50 Just run <filename>./configure</filename> and compile. |
18601
802ec5d54662
</para> tag was accidently deleted and caused compile error
kraymer
parents:
18599
diff
changeset
|
51 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
52 </sect2> |
9675 | 53 |
21521 | 54 <!-- ********** --> |
9675 | 55 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
56 <sect2 id="xvid"> |
20860 | 57 <title>Xvid</title> |
9675 | 58 |
59 <para> | |
20860 | 60 <ulink url="http://www.xvid.org">Xvid</ulink> is a free software MPEG-4 ASP |
27742 | 61 compliant video codec. Note that Xvid is not necessary to decode Xvid-encoded |
62 video. <systemitem class="library">libavcodec</systemitem> is used by | |
20335 | 63 default as it offers better speed. |
64 </para> | |
65 | |
9675 | 66 <procedure> |
20860 | 67 <title>Installing <systemitem class="library">Xvid</systemitem></title> |
9675 | 68 <para> |
15709 | 69 Like most open source software, it is available in two flavors: |
70 <ulink url="http://www.xvid.org/downloads.html">official releases</ulink> | |
71 and the CVS version. | |
72 The CVS version is usually stable enough to use, as most of the time it | |
73 features fixes for bugs that exist in releases. | |
20860 | 74 Here is what to do to make <systemitem class="library">Xvid</systemitem> |
27797
9f71a5b0fa94
Remove notice about necessary tool versions in Xvid section, the info is
diego
parents:
27796
diff
changeset
|
75 CVS work with <application>MEncoder</application>: |
9675 | 76 </para> |
77 <step><para> | |
78 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen> | |
21521 | 79 </para></step> |
9675 | 80 <step><para> |
81 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen> | |
82 </para></step> | |
83 <step><para> | |
84 <screen>cd xvidcore/build/generic</screen> | |
21521 | 85 </para></step> |
9675 | 86 <step><para> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
87 <screen>./bootstrap.sh</screen> |
21521 | 88 </para></step> |
9675 | 89 <step><para> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
90 <screen>./configure</screen> |
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
91 You may have to add some options (examine the output of |
13223
4d3536e69177
- <screen> -> <command>, improves readibility and sense.
wight
parents:
13222
diff
changeset
|
92 <command>./configure --help</command>). |
21521 | 93 </para></step> |
9675 | 94 <step><para> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
95 <screen>make && make install</screen> |
21521 | 96 </para></step> |
9720
5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
diego
parents:
9683
diff
changeset
|
97 <step><para> |
26956 | 98 Recompile <application>MPlayer</application>. |
21521 | 99 </para></step> |
9675 | 100 </procedure> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
101 </sect2> |
9675 | 102 |
21521 | 103 <!-- ********** --> |
9675 | 104 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
105 <sect2 id="codec-x264"> |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
106 <title><systemitem class="library">x264</systemitem></title> |
15326 | 107 |
108 <para> | |
21521 | 109 <ulink url="http://developers.videolan.org/x264.html"><systemitem class="library">x264</systemitem></ulink> |
27742 | 110 is a library for creating H.264 video. |
21521 | 111 <application>MPlayer</application> sources are updated whenever |
112 an <systemitem class="library">x264</systemitem> API change | |
113 occurs, so it is always suggested to use | |
27742 | 114 <application>MPlayer</application> from Subversion. |
15326 | 115 </para> |
21521 | 116 |
15326 | 117 <para> |
27742 | 118 If you have a GIT client installed, the latest x264 |
119 sources can be gotten with this command: | |
120 <screen>git clone git://git.videolan.org/x264.git</screen> | |
15326 | 121 |
27742 | 122 Then build and install in the standard way: |
123 <screen>./configure && make && make install</screen> | |
124 | |
125 Now rerun <filename>./configure</filename> for | |
126 <application>MPlayer</application> to pick up | |
127 <systemitem class="library">x264</systemitem> support. | |
15326 | 128 </para> |
9675 | 129 </sect2> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
130 </sect1> |
9675 | 131 |
21521 | 132 |
133 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
134 | |
9675 | 135 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
136 <sect1 id="audio-codecs"> |
9675 | 137 <title>Audio codecs</title> |
138 | |
139 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
140 <sect2 id="swac3"> |
24036 | 141 <title>Software AC-3 decoding</title> |
9675 | 142 |
143 <para> | |
24036 | 144 This is the default decoder used for files with AC-3 audio. |
9675 | 145 </para> |
146 | |
147 <para> | |
24036 | 148 The AC-3 decoder can create audio output mixes for 2, 4, or 6 speakers. |
9675 | 149 When configured for 6 speakers, this decoder provides separate output of |
24036 | 150 all the AC-3 channels to the sound driver, allowing for full "surround |
151 sound" experience without the external AC-3 decoder required to use the | |
9675 | 152 hwac3 codec. |
153 </para> | |
154 | |
155 <para> | |
156 Use the <option>-channels</option> option to select the number of output | |
157 channels. Use <option>-channels 2</option> for a stereo downmix. For a 4 | |
158 channel downmix (Left Front, Right Front, Left Surround and Right Surround | |
159 outputs), use <option>-channels 4</option>. In this case, any center | |
21521 | 160 channel will be mixed equally to the front channels. |
24036 | 161 <option>-channels 6</option> will output all the AC-3 channels as they are |
21521 | 162 encoded - in the order Left, Right, Left Surround, Right Surround, Center and |
163 LFE. | |
9675 | 164 </para> |
165 | |
166 <para> | |
167 The default number of output channels is 2. | |
168 </para> | |
169 | |
170 <para> | |
171 To use more than 2 output channels, you will need to use OSS, and have a | |
172 sound card that supports the appropriate number of output channels via the | |
173 SNDCTL_DSP_CHANNELS ioctl. An example of a suitable driver is emu10k1 | |
174 (used by Soundblaster Live! cards) from August 2001 or newer (ALSA CVS is | |
175 also supposed to work). | |
176 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
177 </sect2> |
9675 | 178 |
21521 | 179 <!-- ********** --> |
9675 | 180 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
181 <sect2 id="hwac3"> |
24036 | 182 <title>Hardware AC-3 decoding</title> |
21521 | 183 |
9675 | 184 <para> |
24036 | 185 You need an AC-3 capable sound card, with digital out (S/PDIF). The card's |
9675 | 186 driver must properly support the AFMT_AC3 format (C-Media does). Connect |
24036 | 187 your AC-3 decoder to the S/PDIF output, and use the <option>-ac |
9675 | 188 hwac3</option> option. It is experimental but known to work with C-Media |
189 cards and Soundblaster Live! + ALSA (but not OSS) drivers and DXR3/Hollywood+ | |
190 MPEG decoder cards. | |
191 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
192 </sect2> |
9675 | 193 |
21521 | 194 <!-- ********** --> |
9675 | 195 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
196 <sect2 id="libmad"> |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
197 <title><systemitem class="library">libmad</systemitem> support</title> |
9675 | 198 |
199 <para> | |
20684
9076064494eb
A bunch of missing <systemitem class="library"> tags
torinthiel
parents:
20683
diff
changeset
|
200 <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
|
201 is a multiplatform, integer (internally 24bit PCM) only |
9675 | 202 MPEG audio decoding library. It does not handle broken files well, and it |
11342 | 203 sometimes has problems with seeking, but it may perform better on FPU-less |
21521 | 204 (such as <link linkend="arm">ARM</link>) |
205 platform than <systemitem class="library">mp3lib</systemitem>. | |
9675 | 206 </para> |
207 | |
208 <para> | |
21521 | 209 If you have a proper installation of |
210 <systemitem class="library">libmad</systemitem>, | |
211 <filename>./configure</filename> will notice and support for MPEG audio | |
212 decoding via <systemitem class="library">libmad</systemitem> will be built | |
213 automatically. | |
9675 | 214 </para> |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
215 </sect2> |
9675 | 216 |
21521 | 217 <!-- ********** --> |
218 | |
17432 | 219 <sect2 id="hwmpa"> |
220 <title>Hardware MPEG audio codec</title> | |
221 | |
222 <para> | |
21521 | 223 This codec (selected by <option>-ac hwmpa</option>) passes through MPEG audio |
224 packets to hardware decoders, such as the ones found in full-featured DVB cards | |
17432 | 225 and DXR2 adapters. |
226 Don't use it in combination with any other audio output device | |
227 (such as OSS and ALSA) that isn't able to decode it (you will hear | |
228 only white noise). | |
229 </para> | |
230 </sect2> | |
231 | |
21521 | 232 <!-- ********** --> |
9675 | 233 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
234 <sect2 id="aac"> |
9802 | 235 <title>AAC codec</title> |
21521 | 236 |
9802 | 237 <para> |
27742 | 238 An open source AAC decoder called FAAD2 is available from |
239 <ulink url="http://www.audiocoding.com/downloads.html"/>. | |
240 <application>MPlayer</application> includes a copy of it in its source tree. | |
241 If you want to use the external library instead, install it and pass | |
242 <option>--enable-faad-external</option> to <filename>./configure</filename>. | |
9802 | 243 </para> |
11031 | 244 |
245 <para> | |
27742 | 246 FAAD2 binaries are not available from audiocoding.com, but you can (apt-)get |
247 Debian packages from | |
248 <ulink url="http://www.debian-multimedia.org/">Christian Marillat</ulink>, | |
249 Mandrake/Mandriva RPMs from the <ulink url="http://plf.zarb.org">P.L.F</ulink> | |
250 and Fedora RPMs from <ulink url="http://rpm.livna.org/">Livna</ulink>. | |
251 </para> | |
252 <para> | |
253 If you choose to build from source, you do not need all of FAAD2 to decode | |
254 AAC files, libfaad is enough. Build it like this: | |
11031 | 255 <screen> |
256 cd faad2/ | |
14700 | 257 sh bootstrap |
11031 | 258 ./configure |
259 cd libfaad | |
260 make | |
261 make install | |
262 </screen> | |
263 </para> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
264 </sect2> |
9802 | 265 |
21521 | 266 <!-- ********** --> |
267 | |
18060
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
268 <sect2 id="amr"> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
269 <title>AMR codecs</title> |
21521 | 270 |
18060
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
271 <para> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
272 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
|
273 phones. |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
274 Reference implementation is available from |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
275 <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
|
276 (free for private use). |
23082 | 277 To enable support, download and install support libraries for |
278 <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
|
279 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
|
280 </para> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
281 </sect2> |
cbc29633fbee
AMR codecs support info, patch by Rathann, with slight alteration by me.
gpoirier
parents:
17432
diff
changeset
|
282 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
283 </sect1> |
9675 | 284 |
21521 | 285 |
286 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
287 | |
9675 | 288 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
289 <sect1 id="codec-importing"> |
9675 | 290 <title>Win32 codecs importing HOWTO</title> |
291 | |
292 <!-- TODO: a short paragraph of text would be nice here... --> | |
293 | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
294 <sect2 id="vfw-codecs"> |
9675 | 295 <title>VFW codecs</title> |
296 | |
297 <para> | |
298 VFW (Video for Windows) is the old Video API for Windows. Its codecs have | |
299 the <filename>.DLL</filename> or (rarely) <filename>.DRV</filename> | |
300 extension. If <application>MPlayer</application> fails at playing your AVI | |
301 with this kind of message: | |
302 <screen>UNKNOWN video codec: HFYU (0x55594648)</screen> | |
303 It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU = | |
304 HuffYUV codec, DIV3 = DivX Low Motion, etc.). Now that you know this, you | |
305 have to find out which DLL Windows loads in order to play this file. In our | |
306 case, the <filename>system.ini</filename> contains this information in a | |
307 line that reads: | |
308 <programlisting>VIDC.HFYU=huffyuv.dll</programlisting> | |
309 </para> | |
310 | |
311 <para> | |
312 So you need the <filename>huffyuv.dll</filename> file. Note that the audio | |
313 codecs are specified by the MSACM prefix: | |
314 <programlisting>msacm.l3acm=L3codeca.acm</programlisting> | |
315 </para> | |
316 | |
317 <para> | |
318 This is the MP3 codec. Now that you have all the necessary information | |
319 (fourcc, codec file, sample AVI), submit your codec support request by | |
320 mail, and upload these files to the FTP site: | |
21521 | 321 <systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable><codecname></replaceable>/</systemitem> |
9675 | 322 </para> |
323 | |
23517 | 324 <note><para> |
325 On Windows NT/2000/XP search for this info in the registry, | |
21596 | 326 e.g. search for "VIDC.HFYU". To find out how to do this, look at |
9675 | 327 the old DirectShow method below. |
328 </para></note> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
329 </sect2> |
9675 | 330 |
21521 | 331 <!-- ********** --> |
9675 | 332 |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
333 <sect2 id="dshow-codecs"> |
9675 | 334 <title>DirectShow codecs</title> |
335 | |
336 <para> | |
337 DirectShow is the newer Video API, which is even worse than its predecessor. | |
338 Things are harder with DirectShow, since | |
339 <itemizedlist> | |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
340 <listitem><para> |
9675 | 341 <filename>system.ini</filename> does not contain the needed information, |
342 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
|
343 </para></listitem> |
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
344 <listitem><para> |
9675 | 345 we need the GUID of the codec. |
21725
e4cd9d683286
Massive <simpara> -> <para>, as no <simpara>'s are actually needed.
torinthiel
parents:
21721
diff
changeset
|
346 </para></listitem> |
9675 | 347 </itemizedlist> |
348 </para> | |
349 | |
350 <procedure> | |
351 <title>New Method:</title> | |
352 <para> | |
353 Using <application>Microsoft GraphEdit</application> (fast) | |
354 </para> | |
355 <step><para> | |
356 Get <application>GraphEdit</application> from either DirectX SDK or | |
20322 | 357 <ulink url="http://doom9.net">doom9</ulink>. |
21521 | 358 </para></step> |
9675 | 359 <step><para> |
360 Start <command>graphedit.exe</command>. | |
21521 | 361 </para></step> |
9675 | 362 <step><para> |
21721
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
363 From the menu select |
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
364 <menuchoice><guimenu>Graph</guimenu> |
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
365 <guisubmenu>Insert Filters</guisubmenu></menuchoice>. |
21521 | 366 </para></step> |
9675 | 367 <step><para> |
20322 | 368 Expand item <systemitem>DirectShow Filters</systemitem>. |
21521 | 369 </para></step> |
9675 | 370 <step><para> |
371 Select the right codec name and expand item. | |
21521 | 372 </para></step> |
9675 | 373 <step><para> |
374 In the entry <systemitem>DisplayName</systemitem> look at the text in | |
375 winged brackets after the backslash and write it down (five dash-delimited | |
376 blocks, the GUID). | |
21521 | 377 </para></step> |
9675 | 378 <step><para> |
21521 | 379 The codec binary is the file specified in the |
380 <systemitem>Filename</systemitem> entry. | |
381 </para></step> | |
9675 | 382 </procedure> |
383 | |
21521 | 384 <note><para> |
9675 | 385 If there is no <systemitem>Filename</systemitem> and |
386 <systemitem>DisplayName</systemitem> contains something like | |
387 <systemitem>device:dmo</systemitem>, then it is a DMO-Codec. | |
21521 | 388 </para></note> |
9675 | 389 |
390 <procedure> | |
391 <title>Old Method:</title> | |
392 <para> | |
393 Take a deep breath and start searching the registry... | |
394 </para> | |
395 <step><para> | |
396 Start <command>regedit</command>. | |
21521 | 397 </para></step> |
9675 | 398 <step><para> |
21732 | 399 Press <keycombo><keycap>Ctrl</keycap><keycap>F</keycap></keycombo>, disable |
400 the first two checkboxes, and enable the third. Type in the fourcc of the | |
401 codec (e.g. <userinput>TM20</userinput>). | |
21521 | 402 </para></step> |
9675 | 403 <step><para> |
404 You should see a field which contains the path and the filename (e.g. | |
405 <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>). | |
21521 | 406 </para></step> |
9675 | 407 <step><para> |
408 Now that you have the file, we need the GUID. Try searching again, but | |
409 now search for the codec's name, not the fourcc. Its name can be acquired | |
410 when Media Player is playing the file, by checking | |
21721
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
411 <menuchoice><guimenu>File</guimenu> <guisubmenu>Properties</guisubmenu> |
6be31bc59a0e
Add <menuchoice> <guimenu> <guisubmenu> <guimenuitem> markup for menus.
torinthiel
parents:
21720
diff
changeset
|
412 <guimenuitem>Advanced</guimenuitem></menuchoice>. |
9675 | 413 If not, you are out of luck. Try guessing (e.g. search for TrueMotion). |
21521 | 414 </para></step> |
9675 | 415 <step><para> |
416 If the GUID is found you should see a <guilabel>FriendlyName</guilabel> | |
417 and a <guilabel>CLSID</guilabel> field. Write down the 16 byte CLSID, | |
418 this is the GUID we need. | |
21521 | 419 </para></step> |
9675 | 420 </procedure> |
421 | |
21521 | 422 <note><para> |
9675 | 423 If searching fails, try enabling all the checkboxes. You may have |
424 false hits, but you may get lucky... | |
21521 | 425 </para></note> |
9675 | 426 |
427 <para> | |
428 Now that you have all the necessary information (fourcc, GUID, codec file, | |
429 sample AVI), submit your codec support request by mail, and upload these files | |
430 to the FTP site: | |
21521 | 431 <systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/<replaceable><codecname></replaceable>/</systemitem> |
9675 | 432 </para> |
14004
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
433 |
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
434 <para> |
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
435 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
|
436 <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
|
437 </para> |
3d698ac7ec9a
Explain what you need to read to add a codec yourself, patch by
diego
parents:
13977
diff
changeset
|
438 |
9675 | 439 </sect2> |
440 </sect1> | |
17321
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
441 |
7f9fcf5245a0
Improve overall structure by adding a few top-level chapters so that
diego
parents:
17273
diff
changeset
|
442 </chapter> |