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