annotate DOCS/codecs.html @ 1668:a5cb1b1d47a8

*** empty log message ***
author gabucino
date Thu, 23 Aug 2001 17:08:46 +0000
parents 2eedc348e92a
children dba45a1aafad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1 <HTML>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
2
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
3 <BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
4
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
5 <PRE>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
6
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
7 <A NAME=2.1>2.1. Video Formats, Audio &amp; Video Codecs</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
8
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
9
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
10 <A NAME=2.1.1>2.1.1. Supported input formats</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
11
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
12 <B>MPlayer</B> can read/play from the following devices/formats:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
13 - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
14 - DVD, directly from your DVD disk, using optional libcss for decryption
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
15 - MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
16 formats
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
17 - RIFF AVI file format
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
18 - ASF 1.0 file format
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
19 - supports reading from file, stdin, DVD drive or network via HTTP
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
20
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
21 Note: about quicktime (.mov/.qt) and realmedia (.ra/.rm) support read the FAQ!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
22
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
23
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
24 <A NAME=2.1.2>2.1.2. Supported audio &amp; video codecs</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
25
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
26 See http://mplayerhq.hu/MPlayer/DOCS/codecs.html for the complete,
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
27 daily updated list!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
28
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
29 The most important video codecs:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
30 - MPEG1 (VCD) and MPEG2 (DVD) video
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
31 - DivX, FFmpeg, OpenDivX and other MPEG4 variants
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
32 - Windows Media Video 7 (WMV1) and Windows Media Video 8 used in .wmv files
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
33 - Intel Indeo codecs (3.1,3.2,4.1,5.0)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
34 - MJPEG, ASV2 and other hardware formats
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
35
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
36 The most important audio codecs:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
37 - MPEG layer 2, and layer 3 (MP3) audio (native code, with 3dnow optimization)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
38 - AC3 dolby audio (native code, with 3dnow optimization)
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
39 - AC3 passthrough to soundcard's decoder
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
40 - Voxware audio
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
41 - alaw, msgsm, pcm and other simple old audio formats
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
42
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
43 If you have a codec not listed here, and not supported yet, just
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
44 read http://mplayerhq.hu/MPlayer/DOCS/codecs.html
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
45 to get info about its status and about how to help us adding support for it!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
46
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
47
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
48 <A NAME=2.1.2.1>2.1.2.1. DivX4</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
49
1624
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
50 This section contains information about the DivX4 codec of
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
51 <A HREF="http://www.projectmayo.com">ProjectMayo</A>. Their first available alpha version was the OpenDivX 4.0
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
52 alpha 47 and 48. Support for this was/is included in <B>MPlayer</B>, and built by
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
53 default. We even used its postprocessing code to optionally enhance visual
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
54 quality of MPEG1/2 movies.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
55
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
56 The new generation of this codec can even decode movies made with the
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
57 infamous DivX codec! And it's not everything, it's MUCH faster than the
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
58 traditional Win32 DivX DLL's. See below for configuration. The only
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
59 disadvantage of this codec is that it's currently closed-source. :(
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
60
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
61 The codec can be downloaded from the following URL:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
62
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
63
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
64 http://download2.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
65
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
66
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
67 No automatic installing available at this time, so install it manually,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
68 EXACTLY as described here. Unpack it, and copy files to their place:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
69
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
70
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
71 cp libdivxdecore.so.0.0.0 /usr/local/lib/
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
72 ln -s /usr/local/lib/libdivxdecore.so.0.0.0 /usr/local/lib/libdivxdecore.so.0
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
73 ln -s /usr/local/lib/libdivxdecore.so.0 /usr/local/lib/libdivxdecore.so
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
74 ldconfig
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
75 cp decore.h /usr/local/include/
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
76
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
77
1624
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
78 <B>MPlayer</B> autodetects if DivX4 is (properly) installed, just compile
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
79 as usual. If it doesn't detect it, you didn't install it exactly as above,
1624
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
80 and/or has fucked up config (see last question of 5.1 section).
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
81
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
82 Using it is a bit tricky. As it conflicts with the old OpenDivX (it's API is
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
83 very similar to OpenDivX's), OpenDivX code is disabled, and the OpenDivX
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
84 driver calls this library too.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
85
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
86 Generally we can pinpoint this issue to that you have two options to use
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
87 this codec:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
88
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
89
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
90 -vc odivx : using divx4 codec as a new version of OpenDivX.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
91 in this case it produces YV12 image in its own buffer,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
92 and <B>MPlayer</B> (libvo) does colorspace conversion.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
93
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
94 -vc divx4 : using divx4 codec's colorspace conversion.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
95 in this mode, you can use YUY2/UYVY too.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
96
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
97 The 'odivx' method is usually faster, due to the fact that it transfers
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
98 image data in YV12 (planar YUV 4:2:0) format, thus requiring much less
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
99 bandwidth on the bus. For packed YUV modes (YUY2, UYVY) use the 'divx4'
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
100 method. For RGB modes you can choose freely, their speed is same, maybe
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
101 differ according to the current bpp.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
102
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
103 Note: it supports postprocessing too, but range of values is strange:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
104
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
105 0 no postproc
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
106 10 .. 20 postprocessing, normal
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
107 (like level 2 with divxds)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
108 30 .. 60 hard postprocessing, eats many CPU.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
109 (like level 4 with divxds)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
110
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
111
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
112 <A NAME=2.1.2.2>2.1.2.2. ffmpeg's DivX/libavcodec</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
113
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
114 Beginning with version 0.4.2 , <A HREF="http://ffmpeg.sourceforge.net">ffmpeg</A> contains an <B>opensource</B> DivX codec,
1624
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
115 which is compatible with the traditional DivX. <B>MPlayer</B> supports this codec,
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
116 and this makes it possible to <B>watch DivX movies on non-x86 platforms!</B>
1624
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
117 It was removed from <B>MPlayer</B>'s cvs tree, you have to download it
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
118 manually directly from <B>FFmpeg</B>'s tree :
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
119
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
120
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
121 cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
122 cvs -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co ffmpeg
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
123
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
124
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
125 Note: if you copy with CVS subdirs, next time it's enough to do
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
126 'cvs update'.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
127
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
128 Now, move the newly downloaded ffmpeg source's <B>libavcodec</B> directory,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
129 (with all it's subdirectories) to <B>MPlayer</B>'s tree, so it will look
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
130 like this :
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
131
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
132
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
133 main/libavcodec
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
134
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
135
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
136 Symlinking is NOT enough, you have to copy it.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
137
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
138 ./configure detects if it can be built. At the moment it doesn't support
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
139 postprocessing, and is under optimization (it's faster than the DS/VfW DivX
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
140 codec).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
141
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
142 In order to use it, refresh your codecs.conf file, and do as the manpage,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
143 or the example.conf says (the -vfm option).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
144
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
145 Note: libavcodec contains other codecs as well, but at the moment we mostly
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
146 focus on ffdivx, and it's unlikely that this will change.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
147
1624
2eedc348e92a *** empty log message ***
gabucino
parents: 1612
diff changeset
148
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
149   <A NAME=2.1.2.3>2.1.2.3. Hardware AC3 decoding</A>
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
150
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
151 You will need a soundcard with AC3 passthrough capability to digital out
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
152 (SP/DIF). Also, the its driver has to support AFMT_AC3 (SB Live! for example)
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
153 Connect the hardware AC3 decoder to your soundcard's SP/DIF, and use
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
154 -ac hwac3 . It may work.
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
155
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
156
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
157 <A NAME=2.1.4>2.1.4. Codec importing howto</A>
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
158
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
159
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
160 <A NAME=2.1.4.1>2.1.4.1. VFW codecs</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
161
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
162 VfW (Video for Windows) is the old Video API for Windows. Its codecs have
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
163 the .DLL or (rarely) .DRV extension.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
164 If <B>MPlayer</B> fails with your AVI:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
165
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
166
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
167 UNKNOWN video codec: HFYU (0x55594648)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
168
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
169
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
170 It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU =
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
171 HuffYUV codec, DIV3 = DivX Low Motion, etc...). Now that we know this, we'll
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
172 have to find out which DLL Windows loads in order to play this file. In our
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
173 case, the system.ini contains this (with many others):
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
174
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
175
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
176 VIDC.HFYU=huffyuv.dll
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
177
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
178
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
179 So we'll need the huffyuv.dll file. Note that the audio codecs are specified
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
180 with the MSACM prefix :
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
181
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
182
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
183 msacm.l3acm=L3codeca.acm
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
184
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
185
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
186 This is the MP3 codec.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
187 So, now we have all the info needed (fourcc, codec file, sample AVI), submit
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
188 your codec support request in mail, and upload these files to the FTP:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
189 ftp://mplayerhq.hu/MPlayer/incoming/[codecname]/
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
190
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
191
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1624
diff changeset
192 <A NAME=2.1.4.2>2.1.4.2. DirectShow codecs</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
193
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
194 DirectShow is the newer Video API, which is even worse than its predecessor.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
195 Things are harder with DirectShow, since
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
196 - system.ini doesn't contain the needed information, instead it's stored in
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
197 the registry :(
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
198 - we'll need the GUID of the codec.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
199
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
200 So let's search that goddamn registry..
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
201 - Start 'regedit'
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
202 - press ctrl-f, disable the first two checkbox, and enable the third. Type
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
203 the fourcc of the codec. (for ex.: TM20)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
204 - you should see a field which contains the path and filename
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
205 (for ex. : C:\WINDOWS\SYSTEM\TM20DEC.AX)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
206 - now that we have the file, we'll need the GUID. Try searching again, but
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
207 now we'll search for the codec's name, not the fourcc. Its name can be acquired
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
208 when Media Player is playing that file, by checking File/Properties/Advanced.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
209 If not, bad luck ;) Try guessing.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
210 (for ex. search for : TrueMotion)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
211 - if found (in registry), there should be a FriendlyName field, and a CLSID
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
212 field. Write down that 16 byte of CLSID, this is the GUID required by us.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
213
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
214
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
215 NOTE : if searching fails, try to enable all the checkboxes.. you may have
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
216 false hits, but maybe you'll have the right, too...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
217 NOTE : dump that M$ shit.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
218
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
219
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
220 So, now we have all the info needed (fourcc, GUID, codec file, sample AVI),
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
221 submit your codec support request in mail, and upload these files to the FTP:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
222 ftp://mplayerhq.hu/MPlayer/incoming/[codecname]/
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
223
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
224 </PRE>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
225
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
226 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
227
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
228 </HTML>