File: codec-importing.html

package info (click to toggle)
mplayer 1.0~rc1-12etch7
  • links: PTS
  • area: main
  • in suites: etch
  • size: 47,324 kB
  • ctags: 86,269
  • sloc: ansic: 580,415; xml: 107,529; sh: 7,643; makefile: 2,860; asm: 2,206; cpp: 1,034; objc: 865; awk: 234; perl: 82
file content (99 lines) | stat: -rw-r--r-- 9,561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>7.3. HOWTO: Import Win32 kodek&#367;</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimediln p&#345;ehrva&#269;"><link rel="up" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="prev" href="audio-codecs.html" title="7.2. Audio kodeky"><link rel="next" href="video.html" title="Kapitola 8. Vstupn video za&#345;zen/rozhran"><link rel="preface" href="howtoread.html" title="Jak &#269;st tuto  dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. P&#345;edstaven"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Pou&#382;it"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. &#268;asto Kladen Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn formty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. Vstupn video za&#345;zen/rozhran"><link rel="chapter" href="audio.html" title="Kapitola 9. Vstupn zvukov za&#345;zen"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="radio.html" title="Kapitola 11. Rdio"><link rel="chapter" href="ports.html" title="Kapitola 12. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 13. Zkladn pou&#382;it MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 14. Enkdovn s MEncoderem"><link rel="appendix" href="bugreports.html" title="P&#345;loha A. Jak hlsit chyby"><link rel="appendix" href="bugs.html" title="P&#345;loha B. Znm chyby"><link rel="appendix" href="skin.html" title="P&#345;loha C. Formt skin&#367; MPlayeru"><link rel="subsection" href="codec-importing.html#vfw-codecs" title="7.3.1. Kodeky VFW"><link rel="subsection" href="codec-importing.html#dshow-codecs" title="7.3.2. Kodeky DirectShow"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">7.3. HOWTO: Import Win32 kodek&#367;</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="audio-codecs.html">P&#345;edchzejc</a></td><th width="60%" align="center">Kapitola 7. Kodeky</th><td width="20%" align="right"><a accesskey="n" href="video.html">Dal&#353;</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="codec-importing"></a>7.3. HOWTO: Import Win32 kodek&#367;</h2></div></div></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="vfw-codecs"></a>7.3.1. Kodeky VFW</h3></div></div></div><p>
VFW (Video for Windows) je star Video API pro Windows. Jeho kodeky maj
p&#345;ponu <tt class="filename">.DLL</tt> nebo (z&#345;dka) <tt class="filename">.DRV</tt>.
Pokud <span class="application">MPlayer</span> sel&#382;e p&#345;i p&#345;ehrvn va&#353;eho AVI
s hl&#353;kou typu:
</p><pre class="screen">UNKNOWN video codec: HFYU (0x55594648)</pre><p>
nebo &#269;esky
</p><pre class="screen">NEZNM video kodek: HFYU (0x55594648)</pre><p>

</p><p>
Pak to znamen, &#382;e mte AVI enkdovan kodekem, kter m HFYU fourcc (HFYU =
HuffYUV kodek, DIV3 = DivX Low Motion, atd). Te&#271; kdy&#382; to vte, m&#283;li byste
zjistit kterou DLL Windows nahrv pro p&#345;ehrvn tohoto souboru. V na&#353;em
p&#345;pad&#283; soubor <tt class="filename">system.ini</tt> obsahuje &#345;dek s touto
informac:
</p><pre class="programlisting">VIDC.HFYU=huffyuv.dll</pre><p>
</p><p>
Pot&#345;ebujete tedy soubor <tt class="filename">huffyuv.dll</tt>. Poznamenejme, &#382;e
audio kodeky jsou odli&#353;eny p&#345;edponou MSACM:
</p><pre class="programlisting">msacm.l3acm=L3codeca.acm</pre><p>
</p><p>
To je kodek MP3. Nyn ji&#382; mte v&#353;echny pot&#345;ebn informace
(fourcc, soubor kodeku, vzorek AVI). Po&#353;lete po&#382;adavek na podporu va&#353;eho
kodeku mailem a nahrajte tyto soubory na FTP server:
<code class="systemitem">
ftp://upload.mplayerhq.hu/MPlayer/incoming/[codecname]/
</code>
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Poznmka</h3><p>Ve Windows NT/2000/XP hledejte tyto informace v registrech,
zde hledte "VIDC.HFYU". Jak to ud&#283;lat se dozvte n&#382;e v sekci
DirectShow Star metoda.
</p></div></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="dshow-codecs"></a>7.3.2. Kodeky DirectShow</h3></div></div></div><p>
DirectShow je nov&#283;j&#353; Video API, kter je je&#353;t&#283; hor&#353; ne&#382; jeho p&#345;edch&#367;dce.
Pracuje se s nm h&#367;&#345;e, proto&#382;e
</p><div class="itemizedlist"><ul type="disc"><li>
  <tt class="filename">system.ini</tt> neobsahuje pot&#345;ebn daje,
  msto toho jsou ulo&#382;eny v registrech a
  </li><li>
  pot&#345;ebujeme GUID kodeku.
  </li></ul></div><p>
</p><div class="procedure"><a name="id2558463"></a><p class="title"><b>Nov Metoda:</b></p><p>
Using <span class="application">Microsoft GraphEdit</span> (rychl)
</p><ol type="1"><li><p>
  Opat&#345;ete si <span class="application">GraphEdit</span> bu&#271; z DirectX SDK nebo
  <a href="http://doom9.net" target="_top">doom9</a>
  </p></li><li><p>
  Spus&#357;te <span><strong class="command">graphedit.exe</strong></span>.
  </p></li><li><p>
  V menu vyberte Graph -&gt; Insert Filters.
  </p></li><li><p>
  Vyrolujte polo&#382;ku <code class="systemitem">DirectShow Filters</code>
  </p></li><li><p>
  Vyberte sprvn nzev kodeku a vyrolujte polo&#382;ku.
  </p></li><li><p>
  Ve vstupu <code class="systemitem">DisplayName</code> pohldn&#283;te na text ve
  dvojitch uvozovkch za zp&#283;tnm lomtkem a opi&#353;te si ho (p&#283;t lomtkem
  odd&#283;lench blok&#367;, GUID).
  </p></li><li><p>
  Binrka kodeku je uvedena ve vstupu <code class="systemitem">Filename</code>.
  </p></li></ol></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Poznmka</h3><p>
Pokud zde nen <code class="systemitem">Filename</code> a
<code class="systemitem">DisplayName</code> obsahuje n&#283;co jako
<code class="systemitem">device:dmo</code>, pak se jedn o DMO-Kodek.
</p></div><div class="procedure"><a name="id2558600"></a><p class="title"><b>Star Metoda:</b></p><p>
Zhluboka se nadechn&#283;te a za&#269;n&#283;te prohledvat registry...
</p><ol type="1"><li><p>
  Spus&#357;te <span><strong class="command">regedit</strong></span>.
  </p></li><li><p>
  Stiskn&#283;te <span class="keycap"><b>Ctrl</b></span>+<span class="keycap"><b>F</b></span>, vypn&#283;te prvn dv&#283;
  za&#353;krtvac pol&#269;ka a zapn&#283;te to t&#345;et. Napi&#353;te fourcc kodeku (nap&#345;.
  <strong class="userinput"><code>TM20</code></strong>).
  </p></li><li><p>
  M&#283;li byste uvid&#283;t pole obsahujc cestu a jmno souboru (nap&#345;.
  <tt class="filename">C:\WINDOWS\SYSTEM\TM20DEC.AX</tt>).
  </p></li><li><p>
  Te&#271; kdy&#382; mme soubor, pot&#345;ebujeme GUID. Zkuste hledat znovu, ale tentokrt
  hledme jmno kodeku, ne fourcc. Jeho jmno m&#367;&#382;ete zjistit b&#283;hem p&#345;ehrvn
  Media Playerem v menu
  <span class="guimenu">File</span> -&gt; <span class="guisubmenu">Properties</span> -&gt;
  <span class="guimenuitem">Advanced</span>
  (<span class="guimenu">Soubor</span> -&gt; <span class="guisubmenu">Vlastnosti</span> -&gt;
  <span class="guimenuitem">Pokro&#269;il</span>).
  Pokud ne, mte sm&#367;lu. Zkou&#353;ejte to dl (nap&#345;. hledejte text TrueMotion).
  </p></li><li><p>
  Pokud naleznete GUID, m&#283;li byste vid&#283;t pole
  <span class="guilabel">FriendlyName</span> a <span class="guilabel">CLSID</span>.
  Opi&#353;te si 16 bajtov CLSID, to je ono GUID, kter pot&#345;ebujeme.
  </p></li></ol></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Poznmka</h3><p>
Pokud vyhledvn sel&#382;e, zkuste zapnout v&#353;echny za&#353;krtvtka. Nejsp&#353;
dostanete nesprvn vsledky, ale m&#367;&#382;ete mt &#353;t&#283;st...
</p></div><p>
Nyn kdy&#382; mte v&#353;echny pot&#345;ebn informace (fourcc, GUID, soubor kodeku,
vzorek AVI), po&#353;lete po&#382;adavek na podporu svho kodeku mailem a nahrajte
tyto soubory na FTP server:
<code class="systemitem">ftp://upload.mplayerhq.hu/MPlayer/incoming/[codecname]/
</code>
</p><p>
Pokud chcete p&#345;idat kodek sami, p&#345;e&#269;t&#283;te si
<a href="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt" target="_top">DOCS/tech/codecs.conf.txt</a>.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="audio-codecs.html">P&#345;edchzejc</a></td><td width="20%" align="center"><a accesskey="u" href="codecs.html">Nahoru</a></td><td width="40%" align="right"><a accesskey="n" href="video.html">Dal&#353;</a></td></tr><tr><td width="40%" align="left" valign="top">7.2. Audio kodeky</td><td width="20%" align="center"><a accesskey="h" href="index.html">Dom&#367;</a></td><td width="40%" align="right" valign="top">Kapitola 8. Vstupn video za&#345;zen/rozhran</td></tr></table></div></body></html>