annotate DOCS/xml/cs/codecs.xml @ 20298:3c469a2030e7

What is the meaning of the numbers on the status line during the encoding process? Taken after Nico's explanation on MEncoder-users ML
author gpoirier
date Thu, 19 Oct 2006 08:20:32 +0000
parents 410311d56c8d
children 90b3178b8c16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-2"?>
20029
410311d56c8d Make sync tags consistent.
diego
parents: 19929
diff changeset
2 <!-- synced with r19687 -->
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
3 <chapter id="codecs">
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
4 <title>Kodeky</title>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
5
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
6 <sect1 id="video-codecs">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
7 <title>Video kodeky</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
8
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
9 <para>
19929
4b7e50d82bb7 synced to 14.9.2006
jheryan
parents: 19581
diff changeset
10 Kompletní denně aktualizovaný seznam naleznete v naší
4b7e50d82bb7 synced to 14.9.2006
jheryan
parents: 19581
diff changeset
11 <ulink url="../../codecs-status.html">tabulce statusů kodeků</ulink>.
4b7e50d82bb7 synced to 14.9.2006
jheryan
parents: 19581
diff changeset
12 Některé binární kodeky pro použití MPlayerem jsou dostupné
4b7e50d82bb7 synced to 14.9.2006
jheryan
parents: 19581
diff changeset
13 <ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_codecs">sekci download</ulink>
4b7e50d82bb7 synced to 14.9.2006
jheryan
parents: 19581
diff changeset
14 naší domácí stránky.
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
15 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
16
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
17 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
18 Nejdůležitější ze všech jsou:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
19 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
20
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
21 <itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
22 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
23 <emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
24 <emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) video
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
25 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
26 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
27 nativní dekodéry pro <emphasis role="bold">DivX ;-), OpenDivX (DivX4),
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
28 DivX 5 (Pro), 3ivX, MS MPEG-4</emphasis> v1, v2 a ostatní MPEG-4 varianty
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
29 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
30 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
31 nativní dekodér pro <emphasis role="bold">Windows Media Video 7/8</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
32 (<emphasis role="bold">WMV1/WMV2</emphasis>), a Win32 DLL dekodér
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
33 pro <emphasis role="bold">Windows Media Video 9</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
34 (<emphasis role="bold">WMV3</emphasis>), obojí používané ve <filename>.wmv</filename>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
35 souborech
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
36 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
37 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
38 nativní <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> dekodér
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
39 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
40 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
41 nativní <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> dekodér
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
42 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
43 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
44 <emphasis role="bold">3ivx</emphasis> v1, v2 dekodér
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
45 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
46 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
47 Cinepak a <emphasis role="bold">Intel Indeo</emphasis> kodeky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
48 (3.1,3.2,4.1,5.0)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
49 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
50 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
51 <emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 a další hardwarové
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
52 formáty
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
53 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
54 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
55 VIVO 1.0, 2.0, I263 a další <emphasis role="bold">H.263(+)</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
56 varianty
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
57 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
58 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
59 FLI/FLC
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
60 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
61 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
62 <emphasis role="bold">RealVideo 1.0 &amp; 2.0</emphasis> z
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
63 <systemitem class="library">libavcodec</systemitem>, a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
64 <emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> kodeky používající
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
65 knihovny z RealPlayeru
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
66 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
67 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
68 nativní dekodér pro HuffYUV
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
69 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
70 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
71 Různé staré a jednoduché formáty podobné RLE
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
72 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
73 </itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
74
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
75 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
76 Pokud máte Win32 kodek, který zde není uveden a který není zatím podporován,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
77 přečtěte si
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
78 <link linkend="codec-importing">codec importing HOWTO</link>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
79 a pomozte nám přidat pro něj podporu.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
80 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
81
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
82
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
83 <sect2 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
84 <title>FFmpeg/libavcodec</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
85
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
86 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
87 <ulink url="http://ffmpeg.org">FFmpeg</ulink> obsahuje balík
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
88 <emphasis role="bold">open source</emphasis> kodeků, které jsou schopny
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
89 dekódovat datové proudy enkódované různými audio a video kodeky.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
90 Rovněž nabízí úctyhodný enkódovací potenciál a vyšší rychlost než Win32 kodeky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
91 nebo DivX.com DivX4/5 knihovny!
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
92 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
93
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
94 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
95 Obsahuje mnoho hezkých kodeků, zvláště důležité jsou MPEG-4 varianty:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
96 DivX3, DivX4, DivX5, Windows Media Video 7/8 (WMV1/WMV2). Rovněž velmi
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
97 zajímavý je WMA dekodér.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
98 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
99
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
100 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
101 Nejnovějším kodekem zasluhujícím uznání je kodek
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
102 <emphasis role="bold">Sorenson 3</emphasis> (SVQ3). Toto je jeho první, plně
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
103 Open Source implementace. Je dokonce rychlejší než originál.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
104 Ujistěte se že preferujete tuto verzi před binárním kodekem!
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
105 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
106
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
107 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
108 Úplný seznam podporovaných kodeků naleznete na domácí stránce FFmpeg.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
109 Podporované <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC19">video</ulink>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
110 a <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC20">audio</ulink> kodeky.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
111 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
112
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
113 <para>
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
114 Jak ostré verze <application>MPlayer</application>u, tak
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
115 <application>MPlayer</application> ze Subversion obsahují
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
116 <systemitem class="library">libavcodec</systemitem>, takže jej nemusíte
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
117 stahovat zvlášť.
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
118 Jen spusťte <filename>configure</filename> a kompilujte.
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
119 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
120
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
121 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
122 S pomocí FFmpeg a mé Matrox G400, mohu sledovat DivX dokonce i v tom nejvyšším
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
123 rozlišení bez zahazování snímků na své K6-2 500.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
124 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
125 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
126
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
127
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
128 <sect2 id="xanim">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
129 <title>XAnim kodeky</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
130
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
131 <note>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
132 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
133 Upozorňujeme, že binární XAnim kodeky jsou baleny spolu s textem, který se
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
134 tváří jako softwarová licence, která, kromě jiného, zakazuje uživateli použití
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
135 kodeků ve spojení s jiným programem než <application>XAnim</application>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
136 Nicméně autor XAnim dosud nepodnikl žádné právní kroky proti komukoli v
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
137 souvislosti s kodeky.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
138 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
139 </note>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
140
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
141 <formalpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
142 <title>INSTALACE A POUŽITÍ</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
143 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
144 <application>MPlayer</application> je schopen používat XAnim kodeky pro
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
145 dekódování. Následující postup vám to umožní:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
146 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
147 </formalpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
148
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
149 <procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
150 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
151 Stáhněte si kodeky, které chcete použít, ze stránek
19562
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
152 <ulink url="http://xanim.polter.net/">XAnim</ulink>.
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
153 Kodek <emphasis role="bold">3ivx</emphasis> není zde, ale na stránce
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
154 <ulink url="http://www.3ivx.com">3ivx</ulink>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
155 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
156 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
157 <emphasis role="bold">NEBO</emphasis> si stáhněte balík kodeků z naší
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
158 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">kodekové stránky</ulink>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
159 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
160 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
161 Použijte volbu <option>--with-xanimlibdir</option> pro oznámení
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
162 <filename>configure</filename> kde může nalézt XAnim kodeky.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
163 Ve výchozím stavu je hledá v
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
164 <filename class="directory">/usr/local/lib/codecs</filename>,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
165 <filename class="directory">/usr/local/lib/xanim/mods</filename>,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
166 <filename class="directory">/usr/lib/xanim/mods</filename> and
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
167 <filename class="directory">/usr/lib/xanim</filename>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
168 Alternativně můžete nastavit systémovou proměnnou
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
169 <envar>XANIM_MOD_DIR</envar> na adresář s XAnim kodeky.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
170 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
171 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
172 Přejmenujte/nalinkujte soubory tak, abyste odstranili část názvu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
173 s architekturou, takže dostanet názvy podobné těmto:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
174 <filename>vid_cvid.xa</filename>,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
175 <filename>vid_h263.xa</filename>, <filename>vid_iv50.xa</filename>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
176 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
177 </procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
178
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
179 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
180 XAnim tvoří rodinu video kodeků <systemitem>xanim</systemitem>, takže byste
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
181 měli použít volbu <option>-vfm xanim</option>, aby je
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
182 <application>MPlayer</application> použil kdykoli je to možné.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
183 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
184
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
185 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
186 Mezi testované kodeky patří: <emphasis role="bold">Indeo 3.2, 4.1, 5.0, CVID,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
187 3ivX, H.263.</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
188 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
189 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
190
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
191
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
192 <sect2 id="vivo-video">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
193 <title>VIVO video</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
194 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
195 <application>MPlayer</application> umí přehrávat Vivo (1.0 a 2.0) videa.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
196 Nejpoužitelnějším kodekem pro soubory verze 1.0 je H.263 dekodér z FFmpegu.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
197 Můžete jej použít pomocí volby <option>-vc ffh263</option>. Soubory verze 2.0
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
198 přehrávejte pomocí Win32 DLL, pomocí volby <option>-vc vivo</option>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
199 Pokud nezadáte volby na příkazovém řádku, <application>MPlayer</application>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
200 zvolí nejlepší kodek automaticky.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
201 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
202 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
203
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
204
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
205 <sect2 id="mpeg12">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
206 <title>MPEG-1/2 video</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
207 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
208 MPEG-1 a MPEG-2 jsou dekódovány multiplatformní nativní knihovnou <systemitem
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
209 class="library">libmpeg2</systemitem>, jejíž zdrojový kód je zahrnut
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
210 v <application>MPlayer</application>u. Chyby v MPEG-1/2 video souborech řešíme
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
211 odchytáváním <systemitem>Signal 11</systemitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
212 (<systemitem>segmentation fault</systemitem>), a rychlou reinicializací
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
213 kodeku tak, aby pokračoval tam, kde skončil.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
214 Tato opravná technika nemá měřitelný vliv na rychlost.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
215 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
216 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
217
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
218
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
219 <sect2 id="avicodecs">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
220 <title>MS Video1, Cinepak CVID a jiné starší kodeky</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
221 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
222 <application>MPlayer</application> umí přehrát většinu starších kodeků
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
223 používaných v AVI a MOV souborech.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
224 V minulosti byly dekódovány binárními Win32 kodeky, nyní však máme pro většinu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
225 z nich <emphasis role="bold">nativní kodeky</emphasis> zahrnuté v kolekci
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
226 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
227 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
228 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
229
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
230
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
231 <sect2 id="realvideo">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
232 <title>RealVideo</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
233
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
234 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
235 <application>MPlayer</application> podporuje dekódování všech verzí
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
236 RealVidea:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
237
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
238 <itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
239 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
240 RealVideo 1.0, 2.0 (fourcc RV10, RV20) - en/dekódování je podporováno
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
241 <systemitem class="library">libavcodec</systemitem> kodeky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
242 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
243 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
244 RealVideo 3.0, 4.0 (fourcc RV30, RV40) - dekódování je podporováno
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
245 <emphasis role="bold">RealPlayer knihovnami</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
246 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
247 </itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
248 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
249
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
250 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
251 Stáhněte si Real kodeky z
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
252 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</ulink>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
253 a rozbalte je do adrsáře
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
254 <filename class="directory">/usr/local/lib/codecs</filename>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
255 Pokud je chcete mít na jiném místě, zadejte skriptu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
256 <command>configure</command> volbu <option>--with-reallibdir</option>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
257 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
258
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
259 <note><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
260 <application>RealPlayer</application> knihovny v současnosti
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
261 <emphasis role="bold"> pracují pouze v Linuxu, FreeBSD, NetBSD a Cygwin
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
262 na platformách x86, Alpha a PowerPC (Linux/Alpha a Linux/PowerPC byly
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
263 testovány) a v Mac OS X</emphasis>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
264 </para></note>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
265 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
266
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
267
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
268 <sect2 id="xvid">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
269 <title>XviD</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
270
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
271 <para>
15841
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
272 <ulink url="http://www.xvid.org">XviD</ulink> je free software MPEG-4 ASP
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
273 kompatibilní video kodec, jenž má podporu pro dvouprůchodové enkódování a
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
274 plně podporuje MPEG-4 ASP, což jej činí mnohem efektivnějším, než je
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
275 dobře známý DivX kodek.
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
276 Dosahuje velmi dobré kvality videa a dobrý vákon díky CPU optimalizacím
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
277 pro většinu moderních procesorů.
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
278 </para>
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
279 <para>
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
280 Jeho vývoj je odvozen od OpenDivX kodeku.
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
281 To se stalo poté co ProjectMayo uzavřel zdrojový kód kodeku,
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
282 vydal jej jako DivX4 (nyní DivX5) a lidé mimo ProjectMayo pracující na kodeku
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
283 se naštvali a založili XviD. Oba projekty tedy mají stejný základ.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
284 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
285
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
286 <procedure>
15841
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
287 <title>Instalace <systemitem class="library">XviD</systemitem></title>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
288 <para>
15841
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
289 Stejně jako většina svobodného software je dostupný ve dvou verzích:
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
290 <ulink url="http://www.xvid.org/downloads.html">oficiálně uvolněné verzi</ulink>
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
291 a verzi CVS.
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
292 V současnosti je CVS verze obvykle dostatečně stabilní pro použití, jelikož
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
293 většinou obsahuje opravy chyb, které zůstaly po vydání.
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
294 Zde uvádíme postup pro zprovoznění <systemitem class="library">XviD</systemitem>
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
295 CVS v <application>MEncoder</application>u (budete potřebovat alespoň
d78b20a4e113 Synced with 1.66
jheryan
parents: 15673
diff changeset
296 autoconf 2.50, automake a libtool):
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
297 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
298 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
299 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
300 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
301 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
302 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
303 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
304 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
305 <screen>cd xvidcore/build/generic</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
306 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
307 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
308 <screen>./bootstrap.sh</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
309 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
310 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
311 <screen>./configure</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
312 Zde můžete přidat nějaké volby (prostudujte si výstup příkazu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
313 <command>./configure --help</command>).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
314 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
315 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
316 <screen>make &amp;&amp; make install</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
317 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
318 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
319 Pokud jste zadali <option>--enable-divxcompat</option>,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
320 zkopírujte <filename>../../src/divx4.h</filename> do adresáře
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
321 <filename class="directory">/usr/local/include/</filename>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
322 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
323 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
324 Znovu zkompilujte <application>MPlayer</application> s volbami
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
325 <option>--with-xvidlibdir=<replaceable>/path/to/</replaceable>libxvidcore.a</option>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
326 <option>--with-xvidincdir=<replaceable>/path/to/</replaceable>xvid.h</option>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
327 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
328 </procedure>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
329 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
330
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
331
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
332 <sect2 id="sorenson">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
333 <title>Sorenson</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
334
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
335 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
336 Sorenson je video kodek vyvinutý firmou Sorenson Media a licencovaný Aplu,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
337 který jej distribuuje se svým <application>QuickTime Player</application>em.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
338 V současnosti jsme schopni dekódovat všechny verze Sorenson video souborů
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
339 pomocí následujících dekodérů:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
340 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
341
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
342 <itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
343 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
344 Sorenson Video v1 (fourcc <emphasis>SVQ1</emphasis>) - dekódování
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
345 podporováno <emphasis role="bold">nativním kodekem</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
346 (<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
347 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
348 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
349 Sorenson Video v3 (fourcc <emphasis>SVQ3</emphasis>) - dekódování
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
350 podporováno <emphasis role="bold">nativním kodekem</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
351 (<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
352 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
353 </itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
354
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
355 <procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
356 <title>KOMPILACE MPLAYERU S PODPOROU QUICKTIME KNIHOVEN</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
357 <note><para>V současnosti jsou podporovány pouze 32-bitové Intel kompatibilní
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
358 platformy.</para></note>
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
359 <step><para>stáhněte si <application>MPlayer</application> ze Subversion</para></step>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
360 <step><para>stáhněte si balíček QuickTime DLL z
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
361 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
362 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
363 <step><para>rozbalte QuickTime DLL do adresáře s Win32 kodeky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
364 (výchozí: <filename class="directory">/usr/local/lib/codecs/</filename>)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
365 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
366 <step><para>zkomilujte <application>MPlayer</application></para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
367 </procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
368
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
369 </sect2>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
370
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
371 <sect2 id="codec-x264">
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
372 <title>x264</title>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
373
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
374 <sect3 id="codec-x264-whatis">
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
375 <title>Co je x264?</title>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
376 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
377 <systemitem class="library">x264</systemitem> je knihovna pro tvorbu
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
378 H.264 video proudů.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
379 Není 100% dokončena, ale již má alespoň určitou podporu většiny H.264
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
380 vlastností ovlivňujících kvalitu.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
381 Ve specifikaci H.264 je ovšem mnoho pokročilých funkcí, které nemají přímo
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
382 co do činění s kvalitou videa. Mnoho z těchto vlastností zatím není
16009
270e2e5f6b58 Synced with 1.69
jheryan
parents: 15846
diff changeset
383 v <systemitem class="library">x264</systemitem> implementováno.
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
384 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
385
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
386 <itemizedlist>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
387 <title>Vlastnosti enkodéru</title>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
388 <listitem><para>CAVLC/CABAC</para></listitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
389 <listitem><para>Multi-reference</para></listitem>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
390 <listitem><para>Intra: všechny typy makrobloků (16x16, 8x8 a 4x4 se všemi
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
391 predikcemi)</para></listitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
392 <listitem><para>Inter P: všechna rozdělení (partitiony) (od 16x16 níže až do
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
393 4x4)</para></listitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
394 <listitem><para>Inter B: rozdělení od 16x16 níže až do 8x8
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
395 (včetně SKIP/DIRECT)</para></listitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
396 <listitem><para>Řízení datového toku: konstantní kvantizér, konstantní datový
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
397 tok nebo jedno či víceprůchodový ABR</para></listitem>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
398 <listitem><para>Detekce změny scény</para></listitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
399 <listitem><para>Adaptivní umísťování B-snímků</para></listitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
400 <listitem><para>B-snímky jako referenční / libovolné řazení snímků
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
401 </para></listitem>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
402 <listitem><para>8x8 a 4x4 adaptivní prostorová transformace</para></listitem>
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
403 <listitem><para>Bezstrátový režim</para></listitem>
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
404 <listitem><para>Uživatelské kvantizační matice</para></listitem>
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
405 <listitem><para>Paralelní enkódování několika políček</para></listitem>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
406 </itemizedlist>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
407
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
408 </sect3>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
409
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
410 <sect3 id="codec-h264-whatis">
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
411 <title>Co je H.264?</title>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
412 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
413 H.264 je jeden z názvů nového kodeku digitálního videa vyvíjeného společně skupinami
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
414 ITU a MPEG.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
415 Rovněž může být zprávně nazýván těžkopádně jako
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
416 "ISO/IEC 14496-10" nebo "MPEG-4 Part 10".
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
417 Častěji je nazýván jako "MPEG-4 AVC" nebo jen "AVC".
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
418 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
419 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
420 Ať už mu říkáte jakkoli, H.264 stojí za vyzkoušení, protože obvykle
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
421 dosahuje kvality MPEG-4 ASP při datovém toku o 5%-30% nižším.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
422 Konkrétní výsledky závisí jak na zdrojovém videu, tak na enkodéru.
15673
c44cbb5cf09a Synced with 1.64
jheryan
parents: 15374
diff changeset
423 Prospěch z použití H.264 není zadarmo: Zdá se, že dekódování H.264 datových
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
424 proudů má přemrštěné nároky na CPU a paměť.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
425 Například na 1733 MHz Athlonu využije dekódování 1500kbps H.264 videa
16009
270e2e5f6b58 Synced with 1.69
jheryan
parents: 15846
diff changeset
426 v DVD rozlišení kolem 35% CPU.
270e2e5f6b58 Synced with 1.69
jheryan
parents: 15846
diff changeset
427 Pro porovnání, dekódování 1500kbps MPEG-4 ASP proudu ve stejném rozlišení
270e2e5f6b58 Synced with 1.69
jheryan
parents: 15846
diff changeset
428 vyžaduje okolo 10% CPU.
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
429 To znamená, že dekódování datových proudů je pro většinu uživatelů téměř
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
430 nemožné.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
431 Rovněž to znamená, že dokonce i rozumný DVD rip se může občas zakousnout
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
432 na procesorech slabších než cca 2.0 GHz.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
433 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
434 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
435 Alespoň s <systemitem class="library">x264</systemitem>,
15673
c44cbb5cf09a Synced with 1.64
jheryan
parents: 15374
diff changeset
436 nejsou požadavky ne enkódování o mnoho větší než ty, které vyžaduje MPEG-4 ASP.
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
437 Například na 1733 MHz Athlonu poběží typické DVD enkódování při 5-15 snímků
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
438 za sekundu.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
439 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
440 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
441 Tento dokument se nesnaží vysvětlit detaily H.264, ale pokud máte zájem
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
442 o stručný přehled, přečtěte si
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
443 <ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
444 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
445 </sect3>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
446
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
447 <sect3 id="codec-x264-playback">
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
448 <title>Jak mohu přehrávat H.264 videa <application>MPlayer</application>em?</title>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
449 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
450 <application>MPlayer</application> používá H.264 dekodér z
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
451 <systemitem class="library">libavcodec</systemitem>u.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
452 <systemitem class="library">libavcodec</systemitem> má alespoň
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
453 minimálně použitelný H.264 dekodér již asi od července 2004,
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
454 od té doby však byly provedeny velké změny a vylepšení jak v počtu funkčností,
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
455 tak ve vylepšení použití CPU.
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
456 Pro jistotu je vždy nejlepší používat aktuální Subversion verzi.
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
457 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
458 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
459 Chcete-li se snadno a rychle dozvědět o změnách v H.264 dekódování
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
460 <systemitem class="library">libavcodec</systemitem>u, sledujte
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
461 <ulink url="http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?view=log">webové FFmpeg Subversion rozhraní</ulink>.
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
462 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
463 </sect3>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
464
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
465 <sect3 id="codec-x264-encode">
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
466 <title>Jak mohu enkódovat video pomocí <application>MEncoder</application> a <systemitem class="library">x264</systemitem>?</title>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
467 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
468 Pokud máte nainstalován klient subversion, můžete si poslední x264
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
469 zdrojové kódy x264 opatřit tímto příkazem:
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
470 <screen>
16263
e68d2c0432e5 synced with 1.72
jheryan
parents: 16009
diff changeset
471 svn co svn://svn.videolan.org/x264/trunk x264<!--
e68d2c0432e5 synced with 1.72
jheryan
parents: 16009
diff changeset
472 --></screen>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
473 Zdrojové kódy <application>MPlayer</application>u jsou aktualizovány, kdykoli
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
474 nastane změna API v <systemitem class="library">x264</systemitem>, takže vždy
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
475 doporučujeme používat také Subversion verzi <application>MPlayer</application>u.
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
476 Tato situace se snad změní, až <systemitem class="library">x264</systemitem>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
477 dospěje k "vydání".
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
478 Mezi tím by měla být <systemitem class="library">x264</systemitem> považována
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
479 za velmi nestabilní v tom smyslu, že se její programové rozhraní neustále
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
480 mění.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
481 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
482 <para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
483 <systemitem class="library">x264</systemitem> je setavována a
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
484 instalována standardním postupem:
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
485 <screen>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
486 ./configure &amp;&amp; make &amp;&amp; sudo make install
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
487 </screen>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
488 To nainstaluje libx264.a do /usr/local/lib a x264.h je umístěn do
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
489 /usr/local/include.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
490
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
491 S knihovnou <systemitem class="library">x264</systemitem> a jejím hlavičkovým
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
492 souborem umístěnými na standardních místech je sestavení
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
493 <application>MPlayer</application>u s podporou
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
494 <systemitem class="library">x264</systemitem> snadné.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
495 Stačí spustir standardní:
16263
e68d2c0432e5 synced with 1.72
jheryan
parents: 16009
diff changeset
496 <screen>
e68d2c0432e5 synced with 1.72
jheryan
parents: 16009
diff changeset
497 ./configure &amp;&amp; make &amp;&amp; sudo make install<!--
e68d2c0432e5 synced with 1.72
jheryan
parents: 16009
diff changeset
498 --></screen>
15374
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
499 Skript configure automaticky detekuje, že jste splnili požadavky pro
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
500 <systemitem class="library">x264</systemitem>.
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
501 </para>
6311ad6e54e4 Synced with 1.63
jheryan
parents: 14999
diff changeset
502 </sect3>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
503 </sect2>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
504 </sect1>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
505
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
506 <!-- ********** -->
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
507
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
508 <sect1 id="audio-codecs">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
509 <title>Audio kodeky</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
510
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
511 <itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
512 <title>Nejdůležitější ze všech jsou audio kodeky:</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
513 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
514 MPEG layer 1/2/3 (MP1/2/3) audio (<emphasis role="bold">nativní</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
515 kód, s MMX/SSE/3DNow! optimalizací)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
516 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
517 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
518 Windows Media Audio 7 a 8 (ALIAS WMAv1 a WMAv2)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
519 (<emphasis role="bold">nativní</emphasis> kód, podpora v
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
520 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
521 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
522 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
523 Windows Media Audio 9 (WMAv3) (používá DMO DLL)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
524 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
525 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
526 AC3 Dolby audio (<emphasis role="bold">nativní</emphasis> kód, s
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
527 MMX/SSE/3DNow! optimalizací)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
528 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
529 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
530 AC3 tunelování přes hardware zvukové karty
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
531 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
532 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
533 AAC
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
534 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
535 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
536 Ogg Vorbis audio kodek (<emphasis role="bold">nativní</emphasis> knihovna)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
537 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
538 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
539 RealAudio: DNET (AC3 s nízkým datovým tokem), Cook, Sipro a ATRAC3
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
540 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
541 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
542 QuickTime: Qualcomm a QDesign audio kodeky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
543 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
544 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
545 VIVO audio (g723, Vivo Siren)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
546 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
547 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
548 Voxware audio (používá DirectShow DLL)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
549 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
550 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
551 alaw a ulaw, různé gsm, adpcm a pcm formáty a ostatní jednoduché starší
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
552 audio kodeky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
553 </simpara></listitem>
18270
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
554 <listitem><simpara>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
555 Adaptivní Multi-Rate (AMR) kodeky pro mluvené slovo
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
556 </simpara></listitem>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
557 </itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
558
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
559
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
560 <sect2 id="swac3">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
561 <title>Softwarové dekódování AC3</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
562
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
563 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
564 Toto je výchozí dekodér používaný pro soubory s AC3 zvukem.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
565 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
566
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
567 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
568 AC3 dekodér umí vytvořit zvukový výstup pro 2, 4, nebo 6 reproduktorů.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
569 Pokud je nakonfigurován na 6 kanálů, pak tento dekodér posílá všechny AC3
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
570 kanály odděleně na rozhraní ovladače zvukové karty, což umožňuje vychutnávat
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
571 plně prostorový zvuk bez nutnosti mít externí AC3 dekodér nutný k použití
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
572 hwac3 kodeku.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
573 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
574
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
575 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
576 Použijte volbu <option>-channels</option> pro výběr počtu výstupních kanálů.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
577 Zadejte volbu <option>-channels 2</option> pro mixování na stereo. Chcete-li
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
578 čtyřkanálový zvuk (Levý Čelní, Pravý Čelní, Levý Surround a Pravý Surround
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
579 výstup), zadejte volbu <option>-channels 4</option>. V tom případě bude
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
580 jakýkoli středový kanál odpovídajícím způsobem namixován do čelních kanálů.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
581 Volbou <option>-channels 6</option> dostanete plný počet AC3 kanálů tak jak
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
582 jsou enkódovány - v pořadí Levý, Pravý, Levý Surround, Pravý Surround, Střed a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
583 LFE.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
584 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
585
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
586 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
587 Výchozí počet výstupních kanálů jsou 2.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
588 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
589
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
590 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
591 Chcete-li více než 2 výstupní kanály, budete potřebovat OSS, a zvukovou kartu,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
592 která podporuje požadovaný počet výstupních kanálů přes
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
593 SNDCTL_DSP_CHANNELS ioctl. Příkladem použitelného ovladače je emu10k1
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
594 (používaný kartami Soundblaster Live!) ze Srpna 2001 nebo novější (ALSA z CVS
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
595 bude rovněž fungovat).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
596 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
597 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
598
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
599
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
600 <sect2 id="hwac3">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
601 <title>Hardwarové dekódování AC3</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
602 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
603 Potřebujete zvukovou kartu schopnou AC3, s digitálním výstupem(S/PDIF).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
604 Ovladač karty musí správně podporovat formát AFMT_AC3 (C-Media ano). Připojte
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
605 svůj AC3 dekodér na výstup S/PDIF a zadejte volbu <option>-ac hwac3</option>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
606 Je to experimentální, ale víme že pracuje s C-Media kartami a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
607 Soundblaster Live! + ALSA (ale ne OSS) ovladači a dekodérovými kartami
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
608 DXR3/Hollywood+ MPEG.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
609 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
610 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
611
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
612
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
613 <sect2 id="libmad">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
614 <title>podpora libmad</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
615
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
616 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
617 <ulink url="http://www.underbit.com/products/mad/">libmad</ulink> je
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
618 multiplatformní, pouze celočíselná (interně 24bitový PCM)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
619 MPEG audio dekódovací knihovna. Neumí si dobře poradit s poškozenými soubory a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
620 občas má problémy s převíjením, ale může být výkonnější na platformách bez
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
621 FPU (jako je <link linkend="arm">ARM</link>) než mp3lib.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
622 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
623
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
624 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
625 Pokud pro ni chcete podporu, předejte před kompilací skriptu configure volbu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
626 <option>--enable-mad</option>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
627 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
628 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
629
18270
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
630 <sect2 id="hwmpa">
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
631 <title>Hardwarový MPEG audio kodek</title>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
632
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
633 <para>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
634 Tento kodek (zvolený pomocí -ac hwmpa) posílá MPEG audio pakety do hardwarových
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
635 dekodérů dostupných např. v plně vybavených DVB kartách a
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
636 DXR2 adaptérech.
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
637 Nepoužívejte je v kombinaci s jinými výstupními audio rozhraními
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
638 (jako OSS a ALSA), které je nedokáží dekódovat (uslyšíte pouze rušení).
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
639 </para>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
640 </sect2>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
641
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
642
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
643 <sect2 id="vivo-audio">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
644 <title>VIVO audio</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
645 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
646 The audio kodek používaný ve VIVO souborech závisí na tom, jestli je to soubor
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
647 VIVO/1.0 nebo VIVO/2.0. Soubory VIVO/1.0 mají
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
648 <emphasis role="bold">g.723</emphasis> audio, zatímco soubory VIVO/2.0
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
649 mají <emphasis role="bold">Vivo Siren</emphasis> audio. Obojí je podporováno.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
650 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
651 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
652
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
653
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
654 <sect2 id="realaudio">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
655 <title>RealAudio</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
656
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
657 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
658 <application>MPlayer</application> podporuje dekódování téměř všech verzí
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
659 RealAudio:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
660 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
661
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
662 <itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
663 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
664 RealAudio DNET - dekódování podporováno pomocí
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
665 <systemitem class="library">liba52</systemitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
666 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
667 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
668 RealAudio Cook/Sipro/ATRAC3 - dekódování podporováno pomocí
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
669 <emphasis role="bold">RealPlayer knihoven</emphasis>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
670 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
671 </itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
672
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
673 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
674 Návod k instalaci knihoven RealPlayeru naleznete v sekci
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
675 <link linkend="realvideo">RealVideo</link>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
676 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
677 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
678
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
679 <sect2 id="qdesign">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
680 <title>Kodeky QDesign</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
681 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
682 Audio proudy QDesign (fourcc:<emphasis>QDMC, QDM2</emphasis>) lze nalézt
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
683 v MOV/QT souborech. Obě verze tohoto kodeku mohou být dekódovány pomocí
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
684 QuickTime knihoven. Návod k instalaci naleznete v sekci
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
685 <link linkend="sorenson">Sorenson video kodek</link>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
686 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
687 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
688
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
689 <sect2 id="qualcomm">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
690 <title>Kodeky Qualcomm</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
691 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
692 Audio proudy Qualcomm (fourcc:<emphasis>Qclp</emphasis>) lze nalézt
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
693 v MOV/QT souborech. Mohou být dekódovány pomocí QuickTime knihoven.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
694 Návod k instalaci naleznete v sekci
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
695 <link linkend="sorenson">Sorenson video kodek</link>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
696 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
697 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
698
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
699 <sect2 id="aac">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
700 <title>Kodek AAC</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
701 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
702 AAC (Advanced Audio Coding) je audio kodek, který lze občas nalézt v MOV a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
703 MP4 souborech. Open source dekodér jménem FAAD je k dispozici na
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
704 <ulink url="http://www.audiocoding.com"/>.
14674
997b57a6a52c Sync with 1.58
jheryan
parents: 14552
diff changeset
705 <application>MPlayer</application> obsahuje CVS obraz libfaad 2.1 beta,
997b57a6a52c Sync with 1.58
jheryan
parents: 14552
diff changeset
706 takže jej nemusíte stahovat dodatečně.
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
707 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
708
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
709 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
710 Pokud používáte gcc 3.2 které nedokáže zkompilovat naši zabudovanou FAAD,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
711 nebo chcete použít externí knihovnu z jiných důvodů, stáhněte si ji z
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
712 <ulink url="http://www.audiocoding.com/modules/mydownloads/">download stránky</ulink>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
713 a předejte volbu <option>--enable-external-faad</option> skriptu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
714 <filename>configure</filename>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
715 Pro dekódování AAC souborů nepotřebujete celou faad2, libfaad stačí.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
716 Zkompilujete ji takto:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
717 <screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
718 cd faad2/
14999
d80f86402013 Synced with 1.59
jheryan
parents: 14674
diff changeset
719 sh bootstrap
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
720 ./configure
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
721 cd libfaad
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
722 make
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
723 make install
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
724 </screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
725 Binárky na audiocoding.com nenajdete, ale můžete si je opatřit v balíčcích pro
18892
d851f1841bc8 Sync to svn up to 27.6.2006
jheryan
parents: 18270
diff changeset
726 Debian z <ulink url="http://www.debian-multimedia.org/">domácí stránky Christiana
16009
270e2e5f6b58 Synced with 1.69
jheryan
parents: 15846
diff changeset
727 Marillata</ulink>, Mandrake/Mandriva RPM z
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
728 <ulink url="http://plf.zarb.org">P.L.F</ulink> a RedHat RPM
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
729 ze stránek <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
730 </para>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
731 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
732
18270
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
733 <sect2 id="amr">
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
734 <title>AMR kodeky</title>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
735 <para>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
736 Adaptivní Multi-Rate kodek pro mluvené slovo je používán třetí generací (3G)
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
737 mobilních telefonů.
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
738 Referenční implementace je dostupná od
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
739 <ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
740 (zdarma pro osobní použití).
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
741 </para>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
742 <para>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
743 Pro zapnutí podpory si stáhněte zdrojový kód
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
744 <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
745 a
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
746 <ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
747 kodeků, umístěte je do adresáře, kde jste si rozbalili zdrojový kód
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
748 <application>MPlayer</application>u a spusťte následující příkazy:
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
749 <screen>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
750 unzip 26104-610.zip
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
751 unzip 26104-610_ANSI_C_source_code.zip
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
752 mv c-code libavcodec/amr_float
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
753 unzip 26204-600.zip
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
754 unzip 26204-600_ANSI-C_source_code.zip
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
755 mv c-code libavcodec/amrwb_float
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
756 </screen>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
757 Pak proveďte obvyklou <link linkend="features">kompilační proceduru</link>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
758 <application>MPlayer</application>u.
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
759 </para>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
760 </sect2>
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
761
b34ff8a32c03 Synced with 1.76
jheryan
parents: 17369
diff changeset
762
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
763 </sect1>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
764
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
765 <!-- ********** -->
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
766
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
767 <sect1 id="codec-importing">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
768 <title>HOWTO: Import Win32 kodeků</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
769
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
770 <!-- TODO: a short paragraph of text would be nice here... -->
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
771
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
772 <sect2 id="vfw-codecs">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
773 <title>Kodeky VFW</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
774
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
775 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
776 VFW (Video for Windows) je staré Video API pro Windows. Jeho kodeky mají
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
777 příponu <filename>.DLL</filename> nebo (zřídka) <filename>.DRV</filename>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
778 Pokud <application>MPlayer</application> selže při přehrávání vašeho AVI
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
779 s hláškou typu:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
780 <screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
781 nebo česky
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
782 <screen>NEZNÁMÝ video kodek: HFYU (0x55594648)</screen>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
783
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
784 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
785
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
786 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
787 Pak to znamená, že máte AVI enkódované kodekem, který má HFYU fourcc (HFYU =
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
788 HuffYUV kodek, DIV3 = DivX Low Motion, atd). Teď když to víte, měli byste
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
789 zjistit kterou DLL Windows nahrává pro přehrávání tohoto souboru. V našem
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
790 případě soubor <filename>system.ini</filename> obsahuje řádek s touto
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
791 informací:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
792 <programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
793 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
794
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
795 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
796 Potřebujete tedy soubor <filename>huffyuv.dll</filename>. Poznamenejme, že
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
797 audio kodeky jsou odlišeny předponou MSACM:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
798 <programlisting>msacm.l3acm=L3codeca.acm</programlisting>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
799 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
800
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
801 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
802 To je kodek MP3. Nyní již máte všechny potřebné informace
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
803 (fourcc, soubor kodeku, vzorek AVI). Pošlete požadavek na podporu vašeho
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
804 kodeku mailem a nahrajte tyto soubory na FTP server:
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
805 <systemitem role="url">
19581
4a5a0986fc17 ftp.mplayerhq.hu --> upload.mplayerhq.hu
diego
parents: 19562
diff changeset
806 ftp://upload.mplayerhq.hu/MPlayer/incoming/[codecname]/
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
807 </systemitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
808 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
809
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
810 <note><para>Ve Windows NT/2000/XP hledejte tyto informace v registrech,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
811 zde hledáte &quot;VIDC.HFYU&quot;. Jak to udělat se dozvíte níže v sekci
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
812 DirectShow Stará metoda.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
813 </para></note>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
814 </sect2>
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
815
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
816
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
817 <sect2 id="dshow-codecs">
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
818 <title>Kodeky DirectShow</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
819
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
820 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
821 DirectShow je novější Video API, které je ještě horší než jeho předchůdce.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
822 Pracuje se s ním hůře, protože
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
823 <itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
824 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
825 <filename>system.ini</filename> neobsahuje potřebné údaje,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
826 místo toho jsou uloženy v registrech a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
827 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
828 <listitem><simpara>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
829 potřebujeme GUID kodeku.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
830 </simpara></listitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
831 </itemizedlist>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
832 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
833
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
834 <procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
835 <title>Nová Metoda:</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
836 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
837 Using <application>Microsoft GraphEdit</application> (rychlý)
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
838 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
839 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
840 Opatřete si <application>GraphEdit</application> buď z DirectX SDK nebo
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
841 <ulink url="http://doom9.net">doom9</ulink>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
842 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
843 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
844 Spusťte <command>graphedit.exe</command>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
845 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
846 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
847 V menu vyberte Graph -> Insert Filters.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
848 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
849 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
850 Vyrolujte položku <systemitem>DirectShow Filters</systemitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
851 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
852
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
853
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
854
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
855
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
856 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
857 Vyberte správný název kodeku a vyrolujte položku.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
858 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
859 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
860 Ve vstupu <systemitem>DisplayName</systemitem> pohlédněte na text ve
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
861 dvojitých uvozovkách za zpětným lomítkem a opište si ho (pět lomítkem
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
862 oddělených bloků, GUID).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
863 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
864 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
865 Binárka kodeku je uvedena ve vstupu <systemitem>Filename</systemitem>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
866 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
867 </procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
868
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
869 <note>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
870 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
871 Pokud zde není <systemitem>Filename</systemitem> a
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
872 <systemitem>DisplayName</systemitem> obsahuje něco jako
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
873 <systemitem>device:dmo</systemitem>, pak se jedná o DMO-Kodek.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
874 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
875 </note>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
876
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
877 <procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
878 <title>Stará Metoda:</title>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
879 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
880 Zhluboka se nadechněte a začněte prohledávat registry...
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
881 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
882 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
883 Spusťte <command>regedit</command>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
884 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
885 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
886 Stiskněte <keycap>Ctrl</keycap>+<keycap>F</keycap>, vypněte první dvě
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
887 zaškrtávací políčka a zapněte to třetí. Napište fourcc kodeku (např.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
888 <userinput>TM20</userinput>).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
889 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
890 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
891 Měli byste uvidět pole obsahující cestu a jméno souboru (např.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
892 <filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
893 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
894 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
895 Teď když máme soubor, potřebujeme GUID. Zkuste hledat znovu, ale tentokrát
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
896 hledáme jméno kodeku, ne fourcc. Jeho jméno můžete zjistit během přehrávání
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
897 Media Playerem v menu
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
898 <guimenu>File</guimenu> -&gt; <guisubmenu>Properties</guisubmenu> -&gt;
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
899 <guimenuitem>Advanced</guimenuitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
900 (<guimenu>Soubor</guimenu> -&gt; <guisubmenu>Vlastnosti</guisubmenu> -&gt;
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
901 <guimenuitem>Pokročilé</guimenuitem>).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
902 Pokud ne, máte smůlu. Zkoušejte to dál (např. hledejte text TrueMotion).
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
903 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
904 <step><para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
905 Pokud naleznete GUID, měli byste vidět pole
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
906 <guilabel>FriendlyName</guilabel> a <guilabel>CLSID</guilabel>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
907 Opište si 16 bajtové CLSID, to je ono GUID, které potřebujeme.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
908 </para></step>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
909 </procedure>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
910
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
911 <note>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
912 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
913 Pokud vyhledávání selže, zkuste zapnout všechny zaškrtávátka. Nejspíš
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
914 dostanete nesprávné výsledky, ale můžete mít štěstí...
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
915 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
916 </note>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
917
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
918 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
919 Nyní když máte všechny potřebné informace (fourcc, GUID, soubor kodeku,
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
920 vzorek AVI), pošlete požadavek na podporu svého kodeku mailem a nahrajte
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
921 tyto soubory na FTP server:
19581
4a5a0986fc17 ftp.mplayerhq.hu --> upload.mplayerhq.hu
diego
parents: 19562
diff changeset
922 <systemitem role="url">ftp://upload.mplayerhq.hu/MPlayer/incoming/[codecname]/
14552
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
923 </systemitem>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
924 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
925
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
926 <para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
927 Pokud chcete přidat kodek sami, přečtěte si
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
928 <ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
929 </para>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
930
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
931 </sect2>
99b2c0b684b7 Next file done.
jheryan
parents:
diff changeset
932 </sect1>
17369
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
933
012dd60fa3fa Synced with 1.74
jheryan
parents: 16263
diff changeset
934 </chapter>