annotate DOCS/xml/en/codecs.xml @ 27742:2abac297b873

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