annotate DOCS/CODECS @ 1285:202d9e2dc202

-vcodec option (maybe some other name would be better though) to select between driver types without editing codecs.conf. mplayer will default to normal codec search loop if it does not find codec for the specified driver type. config range checking for the parameter (an integer) should be cleaned, IMHO
author lgb
date Fri, 06 Jul 2001 21:17:22 +0000
parents 6882ba6610c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
187
7115f8d40201 Status of codecs support
arpi_esp
parents:
diff changeset
1
7115f8d40201 Status of codecs support
arpi_esp
parents:
diff changeset
2 Status of codecs support:
7115f8d40201 Status of codecs support
arpi_esp
parents:
diff changeset
3 =========================
7115f8d40201 Status of codecs support
arpi_esp
parents:
diff changeset
4
745
c653430f0789 <sigh> links replaced again </sigh>
gabucino
parents: 744
diff changeset
5 See http://mplayer.sourceforge.net/DOCS/codecs.html
227
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
6
918
6882ba6610c3 added one line of text <- gabucino-style comment :)
arpi_esp
parents: 745
diff changeset
7 If your codecs isn't listed there then help us adding support for it:
238
d734e84b4eea small changes, corrections
arpi_esp
parents: 227
diff changeset
8
227
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
9 Extracting codecs from Win32
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
10 ============================
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
11
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
12 1. VfW
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
13 ~~~~~~
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
14 VfW (Video for Windows) is the old Video API for Windows. Its codecs have
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
15 the .DLL or (rarely) .DRV extension.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
16 If MPlayer fails with your AVI:
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
17
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
18 UNKNOWN video codec: HFYU (0x55594648)
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
19
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
20 It means your AVI is encoded with a codec which has the HFYU fourcc (HFYU =
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
21 HuffYUV codec, DIV3 = DivX Low Motion, etc...). Now that we know this, we'll
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
22 have to find out which DLL Windows loads in order to play this file. In our
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
23 case, the system.ini contains this (with many others):
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
24 VIDC.HFYU=huffyuv.dll
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
25 So we'll need the huffyuv.dll file. Note that the audio codecs are specified
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
26 with the MSACM prefix :
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
27 msacm.l3acm=L3codeca.acm
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
28 This is the MP3 codec.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
29
238
d734e84b4eea small changes, corrections
arpi_esp
parents: 227
diff changeset
30 So, now we have all the info needed (fourcc, codec file, sample AVI), submit
d734e84b4eea small changes, corrections
arpi_esp
parents: 227
diff changeset
31 your codec support request in mail, and upload these files to the FTP:
657
d1c971b94495 new dir on thot.. (yawn)
gabucino
parents: 588
diff changeset
32 ftp://thot.banki.hu/MPlayer/incoming/<codecname>/
238
d734e84b4eea small changes, corrections
arpi_esp
parents: 227
diff changeset
33
227
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
34
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
35 2. DirectShow
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
36 ~~~~~~~~~~~~~
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
37 DirectShow is the newer Video API, which is even worse than its predecessor.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
38 Things are harder with DirectShow, since
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
39 - system.ini doesn't contain the needed information, instead it's stored in
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
40 the registry :(
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
41 - we'll need the GUID of the codec.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
42
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
43 So let's search that goddamn registry..
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
44 - Start 'regedit'
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
45 - press ctrl-f, disable the first two checkbox, and enable the third. Type
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
46 the fourcc of the codec. (for ex.: TM20)
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
47 - you should see a field which contains the path and filename
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
48 (for ex. : C:\WINDOWS\SYSTEM\TM20DEC.AX)
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
49 - now that we have the file, we'll need the GUID. Try searching again, but
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
50 now we'll search for the codec's name, not the fourcc. Its name can be acquired
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
51 when Media Player is playing that file, by checking File/Properties/Advanced.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
52 If not, bad luck ;) Try guessing.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
53 (for ex. search for : TrueMotion)
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
54 - if found (in registry), there should be a FriendlyName field, and a CLSID
238
d734e84b4eea small changes, corrections
arpi_esp
parents: 227
diff changeset
55 field. Write down that 16 byte of CLSID, this is the GUID required by us.
227
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
56
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
57 NOTE : if searching fails, try to enable all the checkboxes.. you may have
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
58 false hits, but maybe you'll have the right, too...
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
59 NOTE : dump that M$ shit.
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
60
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
61 So, now we have all the info needed (fourcc, GUID, codec file, sample AVI),
238
d734e84b4eea small changes, corrections
arpi_esp
parents: 227
diff changeset
62 submit your codec support request in mail, and upload these files to the FTP:
657
d1c971b94495 new dir on thot.. (yawn)
gabucino
parents: 588
diff changeset
63 ftp://thot.banki.hu/MPlayer/incoming/<codecname>/
227
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
64
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
65
2a94614c1d51 new section...
gabucino
parents: 222
diff changeset
66 Gabucino & A'rpi