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