annotate DOCS/xml/cs/usage.xml @ 17464:6770c410f4f3

support libavcodec's new sc_factor parameter Original idea from Michael; patch by me.
author corey
date Sun, 22 Jan 2006 21:02:14 +0000
parents 6251926b386a
children d851f1841bc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-2"?>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
2 <!-- Synced with: 1.34 -->
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
3 <chapter id="usage">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
4 <title>Použití</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
5
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
6 <sect1 id="commandline">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
7 <title>Příkazový řádek</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
8
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
9 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
10 <application>MPlayer</application> využívá komplexní strukturu voleb. Ta sestává
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
11 z globálních voleb uváděných jako první, například:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
12
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
13 <screen>mplayer -vfm 5</screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
14
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
15 a voleb zapisovaných za jménem souboru, které se projeví pouze u tohoto jména
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
16 souboru/URL/čehokoli, například:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
17
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
18 <screen>mplayer -vfm 5 <replaceable>film1.avi</replaceable> <replaceable>film2.avi</replaceable> -vfm 4</screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
19 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
20
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
21 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
22 Můžete seskupovat jména souborů/adresy URL pomocí <literal>{</literal> a
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
23 <literal>}</literal>. Toho se dá využít s volbou <option>-loop</option>:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
24
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
25 <screen>mplayer { 1.avi -loop 2 2.avi } -loop 3</screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
26
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
27 Výše uvedený příkaz přehraje soubory v tomto pořadí: 1, 1, 2, 1, 1, 2, 1, 1, 2.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
28 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
29
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
30 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
31 Přehrávání souboru:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
32 <synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
33 <command>mplayer</command><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
34 --> [<replaceable>volby</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
35 --> [<replaceable>cesta</replaceable>/]<replaceable>soubor</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
36 </synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
37 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
38
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
39 <para>
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
40 Jiný způsob přehrání souboru:
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
41 <synopsis>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
42 <command>mplayer</command><!--
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
43 --> [<replaceable>volby</replaceable>]<!--
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
44 --> <replaceable>file:///uri-eskejpovaná-cesta-k-souboru</replaceable>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
45 </synopsis>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
46 </para>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
47
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
48 <para>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
49 Přehrávání více souborů:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
50 <synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
51 <command>mplayer</command><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
52 --> [<replaceable>výchozí volby</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
53 --> [<replaceable>cesta</replaceable>/]<replaceable>soubor1</replaceable><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
54 --> [<replaceable>volby pro soubor1</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
55 --> <replaceable>soubor2</replaceable><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
56 --> [<replaceable>volby pro soubor2</replaceable>] ...
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
57 </synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
58 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
59
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
60 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
61 Přehrávání VCD:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
62 <synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
63 <command>mplayer</command> [<replaceable>volby</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
64 --> vcd://<replaceable>číslo_stopy</replaceable><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
65 --> [-cdrom-device <replaceable>/dev/cdrom</replaceable>]
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
66 </synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
67 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
68
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
69 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
70 Přehrávání DVD:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
71 <synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
72 <command>mplayer</command> [<replaceable>volby</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
73 --> dvd://<replaceable>číslo_titulu</replaceable><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
74 --> [-dvd-device <replaceable>/dev/dvd</replaceable>]
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
75 </synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
76 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
77
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
78 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
79 Přehrávání z WWW:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
80 <synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
81 <command>mplayer</command> [<replaceable>volby</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
82 --> http://<replaceable>doména.com/soubor.asf</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
83 </synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
84 (rovněž lze použít playlisty)
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
85 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
86
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
87 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
88 Přehrávání z RTSP:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
89 <synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
90 <command>mplayer</command> [<replaceable>volby</replaceable>]<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
91 --> rtsp://<replaceable>server.priklad.com/JmenoProudu</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
92 </synopsis>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
93 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
94
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
95 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
96 Příklady:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
97 <screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
98 mplayer -vo x11 <replaceable>/mnt/Filmy/Kontakt/kontakt2.mpg</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
99 mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
100 mplayer -afm 3 <replaceable>/mnt/DVDtrailery/alien4.vob</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
101 mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
102 mplayer -abs 65536 -delay -0.4 -nobps <replaceable>~/filmy/test.avi</replaceable><!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
103 --></screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
104 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
105 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
106
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
107
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
108 <sect1 id="control">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
109 <title>Ovládání</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
110
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
111 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
112 <application>MPlayer</application> má plně konfigurovatelnou, příkazy řízenou,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
113 ovládací vrstvu, která vám umožní ovládat <application>MPlayer</application>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
114 pomocí klávesnice, myši, joysticku nebo dálkového ovládače (používající LIRC).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
115 Úplný seznam ovládacích prvků na klávesnici naleznete v man stránce.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
116 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
117
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
118
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
119 <sect2 id="ctrl-cfg">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
120 <title>Konfigurace ovládání</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
121
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
122 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
123 <application>MPlayer</application> umožňuje přiřadit jakoukoli klávesu jakémukoli
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
124 příkazu <application>MPlayer</application>u pomocí jednoduchého konfiguračního
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
125 souboru.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
126 Syntaxe sestává z názvu klávesy následovaného příkazem. Výchozí umístění
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
127 konfiguračního souboru je
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
128 <filename>$HOME/.mplayer/input.conf</filename> ale můžete jej potlačit použitím
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
129 volby <option>-input <replaceable>konfig</replaceable></option>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
130 (relativní cesty jsou vztaženy k <filename>$HOME/.mplayer</filename>).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
131 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
132
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
133 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
134 Úplný seznam podporovaných jmen kláves dostanete příkazem
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
135 <command>mplayer -input keylist</command>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
136 a úplný seznam dostupných příkazů příkazem
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
137 <command>mplayer -input cmdlist</command>.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
138 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
139
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
140 <example>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
141 <title>Jednoduchý vstupní ovládací soubor</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
142 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
143 ##
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
144 ## Vstupní soubor ovládání MPlayeru
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
145 ##
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
146
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
147 RIGHT seek +10
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
148 LEFT seek -10
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
149 - audio_delay 0.100
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
150 + audio_delay -0.100
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
151 q quit
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
152 &gt; pt_step 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
153 &lt; pt_step -1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
154 ENTER pt_step 1 1<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
155 --></programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
156 </example>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
157 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
158
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
159
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
160 <sect2 id="lirc">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
161 <title>Ovládání z LIRC</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
162
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
163 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
164 Linux Infrared Remote Control &ndash; použijte jednoduše vyrobitelný doma udělaný
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
165 IR-přijímač,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
166 (téměř) libovolný dálkový ovládač a ovládejte jím svůj Linux!
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
167 Více se o tom dovíte na <ulink url="http://www.lirc.org">domácí stránce LIRC</ulink>.
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
168 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
169
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
170 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
171 Pokud máte nainstalován balíček LIRC, <filename>configure</filename> jej zdetekuje.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
172 Pokud vše dopadne dobře, <application>MPlayer</application> při startu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
173 vypíše &quot;<systemitem>Nastavuji podporu LIRC...</systemitem>&quot;.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
174 Pokud dojde k chybě, oznámí vám to. Pokud nevypíše žádnou zprávu o LIRC,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
175 pak pro něj není podpora zakompilována. To je vše :-)
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
176 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
177
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
178 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
179 Jméno spustitelného souboru <application>MPlayer</application>u je - překvapení -
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
180 <filename>mplayer</filename>. Můžete použít jakýkoli příkaz
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
181 <application>MPlayer</application>u a dokonce i více než jeden, pokud je oddělíte
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
182 znakem <literal>\n</literal>.
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
183 Nezapomeňte zapnout opakovací (repeat) příznak v <filename>.lircrc</filename> tam,
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
184 kde to dává smysl (vyhledávání, hlasitost, atd.).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
185 Zde je výňatek z demonstračního
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
186 <filename>.lircrc</filename>:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
187 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
188
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
189 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
190 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
191 button = VOLUME_PLUS
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
192 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
193 config = volume 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
194 repeat = 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
195 end
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
196
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
197 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
198 button = VOLUME_MINUS
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
199 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
200 config = volume -1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
201 repeat = 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
202 end
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
203
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
204 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
205 button = CD_PLAY
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
206 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
207 config = pause
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
208 end
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
209
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
210 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
211 button = CD_STOP
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
212 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
213 config = seek 0 1\npause
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
214 end<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
215 --></programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
216
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
217 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
218 Pokud se vám nelíbí standardní umístění lirc-config souboru
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
219 (<filename>~/.lircrc</filename>) použijte volbu <option>-lircconf
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
220 <replaceable>soubor</replaceable></option> k určení jiného souboru.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
221 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
222 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
223
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
224
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
225 <sect2 id="slave-mode">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
226 <title>Závislý režim</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
227 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
228 Závislý režim vám umožňuje vytvořit jednoduché ovládací panely (frontendy)
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
229 <application>MPlayer</application>u. Pokud je <application>MPlayer</application>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
230 spuštěn s volbou <option>-slave</option>, pak bude číst příkazy oddělené novým
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
231 řádkem (\n) ze standardního vstupu.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
232 Příkazy jsou dokumentovány v souboru
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
233 <ulink url="../../tech/slave.txt">slave.txt</ulink>.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
234 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
235 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
236 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
237
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
238
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
239 <sect1 id="streaming">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
240 <title>Přehrávání datových proudů ze sítě nebo rour</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
241
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
242 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
243 <application>MPlayer</application> umí přehrávat soubory ze sítě s použitím protokolu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
244 HTTP, FTP, MMS nebo RTSP/RTP.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
245 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
246
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
247 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
248 Přehrávání pracuje jednoduše tak, že uvedete URL na příkazovém řádku.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
249 <application>MPlayer</application> ctí systémovou proměnnou <envar>http_proxy</envar>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
250 a použije proxy pokud je k dispozici. Proxy může být rovněž vynucena:
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
251 <screen>mplayer <replaceable>http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</replaceable></screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
252 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
253
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
254 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
255 <application>MPlayer</application> umí číst ze std. vstupu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
256 (<emphasis>ne</emphasis> z pojmenovaných rour). To může být například použito
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
257 pro přehrávání z FTP:
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
258 <screen>wget <replaceable>ftp://micorsops.com/cokoli.avi</replaceable> -O - | mplayer -</screen>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
259 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
260
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
261 <note><para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
262 Také doporučujeme zapnout <option>-cache</option> při přehrávání
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
263 ze sítě:
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
264 <screen>wget <replaceable>ftp://micorsops.com/cokoli.avi</replaceable> -O - | mplayer -cache 8192 -</screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
265 </para></note>
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
266
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
267 <sect2 id="streaming-save">
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
268 <title>Uložení proudového obsahu</title>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
269 <para>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
270 Jakmile jste přiměli <application>MPlayer</application> přehrát
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
271 váš oblíbený internetový proud, můžete použít volbu
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
272 <option>-dumpstream</option> k uložení datového proudu do souboru.
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
273 For example:
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
274 <screen>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
275 mplayer <replaceable>http://217.71.208.37:8006</replaceable> -dumpstream -dumpfile <replaceable>proud.asf</replaceable>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
276 </screen>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
277 uloží proudové video z
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
278 <replaceable>http://217.71.208.37:8006</replaceable> do
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
279 <replaceable>proud.asf</replaceable>.
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
280 Pracovat to bude se všemi <application>MPlayer</application>em podporovanými
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
281 protokoly, jako MMS, RTSP, a tak dále.
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
282 Pokud chcete z proudu uložit pouze zvuk nebo video, použijte
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
283 <option>-dumpaudio</option> nebo <option>-dumpvideo</option>, ale pamatujte,
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
284 že <application>MPlayer</application> bude ignorovat všechny vyjma poslední
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
285 <option>-dump*</option> volby zadané na příkazovém řádku.
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
286 </para>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
287 </sect2>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
288
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
289 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
290
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
291 <sect1 id="mpst" xreflabel="Remote streams">
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
292 <title>Vzdálené datové proudy</title>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
293
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
294 <para>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
295 Vzdálené datové proudy umožňují přístup k většině <application>MPlayer</application>em
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
296 podporovaných proudů ze vzdáleného počítače. Hlavní určení této funkce je umožnit
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
297 přímo použít CD nebo DVD mechaniku jiného počítače na síti (předpokladem je,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
298 že máte dostatečně rychlé připojení). Na spodní hranici nejsou některé typy datových
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
299 proudů (v současnosti TV a MF) použitelné přes síť protože jsou implementovány na úrovni
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
300 demuxeru. Je to škoda pro MF ale TV proudy by tak jako tak vyžadovaly šíleně
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
301 vysokou rychlost
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
302 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
303
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
304 <sect2 id="compile_mpst_server">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
305 <title>Kompilace serveru</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
306 <para>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
307 Poté co zkompilujete <application>MPlayer</application> běžte do adresáře
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
308 <filename>TOOLS/netstream</filename> a proveďte
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
309 <application>make</application> pro sestavení serverové binárky.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
310 Potom můžete zkopírovat program <application>netstream</application>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
311 na správné místo v systému (v Linuxu obvykle
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
312 <filename class="directory">/usr/local/bin</filename>).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
313 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
314 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
315
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
316 <sect2 id="use_mpst">
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
317 <title>Použití vzdálených datových proudů</title>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
318 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
319 Nejprve spusťte server na počítači na který se chcete připojit ze sítě.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
320 Server je zatím velmi jednoduchý a nemá žádné volby příkazového řádku,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
321 proto jen zadejte <filename>netstream</filename>. Teď můžete například
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
322 přehrát druhou stopu na VCD na serveru:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
323 <screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
324 mplayer -cache 5000 <replaceable>mpst://jméno_serveru/vcd://2</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
325 </screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
326 Taky můžete přistupovat k souborům na tomto serveru:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
327 <screen>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
328 mplayer -cache 5000 <replaceable>mpst://jmeno_serveru//usr/local/filmy/lol.avi</replaceable>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
329 </screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
330 Poznamenejme, že cesty nezačínající / jsou relativní k adresáři kde byl spuštěn server.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
331 Volba <option>-cache</option> není nutná, ale velmi ji doporučujeme.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
332 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
333
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
334 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
335 Berte na vědomí že v současnosti není tento server vůbec bezpečný. Nenadávejte
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
336 tedy na množství průniků do systému, které je s ním možné. Místo toho raději
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
337 zašlete (dobrý) patch který by jej vylepšil, nebo napište svůj vlastní server.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
338 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
339
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
340 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
341
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
342 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
343
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
344 <sect1 id="edl" xreflabel="Seznamy editačních zásahů (EDL)">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
345 <title>Seznamy editačních zásahů (EDL)</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
346
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
347 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
348 Systém seznamů editačních zásahů (EDL) umožňuje automaticky vynechat nebo vypnout
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
349 zvuk v částech videa při přehrávání, což je zajišťováno pro každý film zvláštním
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
350 EDL konfiguračním souborem.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
351 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
352
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
353 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
354 Toho se dá využít pro ty, kdo chtějí sledovat film v "rodinném" režimu.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
355 Můžete vystříhat veškeré násilí, nechutnosti, Jar-Jar Binkse .. z filmu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
356 podle svých vlastních osobních preferencí. Mimoto jsou zde i jiná využití,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
357 jako je automatické vystřihávání reklam z videa které sleduješ.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
358 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
359
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
360 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
361 Formát EDL souboru je poměrně kostrbatý. Jakmile dospěje EDL systém do určité
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
362 úrovně, pravděpodobně bude implementován formát založený na XML
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
363 (ponecháme zpětnou kompatibilitu s předchozími EDL formáty).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
364 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
365
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
366 <sect2 id="edl_using">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
367 <title>Použití EDL souboru</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
368 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
369 Vložte volbu <option>-edl &lt;soubor&gt;</option> při spouštění
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
370 <application>MPlayer</application>, se jménem EDL souboru, který chcete použít
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
371 na video.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
372 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
373 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
374
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
375 <sect2 id="edl_making">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
376 <title>Vytvoření EDL souboru</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
377 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
378 Současný formát EDL souboru je:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
379 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
380 [počáteční sekunda] [koncová sekunda] [akce]
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
381 </programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
382 Kde jsou sekundy desetinnými čísly a akce je buď
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
383 <literal>0</literal> pro vynechání nebo <literal>1</literal> pro vypnutí zvuku.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
384 Příklad:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
385 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
386 5.3 7.1 0
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
387 15 16.7 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
388 420 422 0
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
389 </programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
390 To vynechá část videa mezi sekundami 5.3 a 7.1, pak vypne zvuk na
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
391 15 sekundě, zapne jej na 16.7 sekundy a vynechá část videa mezi sekundami 420 a 422.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
392 Tyto akce budou provedeny jakmile časovač přehrávání dosáhne hodnoty zadané
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
393 v souboru.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
394 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
395
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
396 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
397 Pro vytvoření EDL souboru se kterým budete moci začít, použijte volbu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
398 <option>-edlout &lt;soubor&gt;</option>. Během přehrávání, když budete chtít
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
399 označit předchozí 2 sekundy pro vynechání, stiskněte <keycap>i</keycap>.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
400 Odpovídající značka bude zapsána do souboru pro tento čas. Můžete se k němu pak
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
401 vrátit a doladit vytvořený EDL soubor.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
402 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
403 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
404
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
405 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
406
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
407
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
408 <sect1 id="advaudio" xreflabel="Advanced Audio">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
409 <title>Pokročilé audio</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
410
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
411 <sect2 id="advaudio-surround">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
412 <title>Surround/Vícekanálové přehrávání</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
413
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
414 <sect3 id="advaudio-surround-DVD">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
415 <title>DVD</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
416 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
417 Většina DVD a mnoho jiných souborů obsahuje surround zvuk.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
418 <application>MPlayer</application> podporuje přehrávání přehrávání surround,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
419 ale ve výchozím nastavení jej nezapíná, jelikož stereo vybavení je mnohem
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
420 častější. Pro přehrávání souboru, který má více než dvoukanálový zvuk použijte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
421 volbu <option>-channels</option>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
422 Například pro přehrání DVD s 5.1 zvukem:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
423
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
424 <screen>mplayer dvd://1 -channels 6</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
425
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
426 Poznamenejme, že ačkoli se jmenuje "5.1", ve skutečnosti má šest kanálů.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
427 Pokud máte surround zvukové vybavení, můžete si přidat volbu
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
428 <option>channels</option> do svého konfiguračního souboru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
429 <application>MPlayer</application>u <filename>~/.mplayer/config</filename>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
430 Například pro použití čtyřkanálového přehrávání zvuku jako výchozí, přidejte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
431 následující řádek:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
432
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
433 <programlisting>channels=4</programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
434
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
435 <application>MPlayer</application> pak poskytuje zvuk ve čtyřech kanálech,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
436 pokud jsou všechny čtyři kanály k dispozici.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
437 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
438 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
439
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
440
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
441 <sect3 id="advaudio-surround-stereoinfour">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
442 <title>Přehrávání stereo souborů do čtyřech reproduktorů</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
443
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
444 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
445 <application>MPlayer</application> ve výchozím nastavení neduplikuje žádné
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
446 kanály a nedělá to ani většina audio ovladačů. Pokud to chcete udělat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
447 ručně:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
448
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
449 <screen>mplayer <replaceable>soubor</replaceable> -af channels=2:2:0:1:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
450
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
451 Vysvětlení naleznete v sekci
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
452 <link linkend="advaudio-channels-copying">kopírování kanálů</link>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
453 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
454
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
455 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
456
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
457
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
458 <sect3 id="advaudio-surround-passthrough">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
459 <title>AC3/DTS Passthrough</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
460
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
461 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
462 DVD mají obvykle surround zvuk enkódovaný ve formátu AC3 (Dolby Digital) nebo
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
463 DTS (Digital Theater System). Některá moderní zařízení jsou schopna dekódovat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
464 tyto formáty interně. <application>MPlayer</application> lze nakonfigurovat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
465 tak, aby přenesl zvuková data bez dekódování. To bude fungovat pouze pokud máte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
466 S/PDIF (Sony/Philips Digital Interface) jack ve zvukové kartě.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
467 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
468
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
469 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
470 Pokud vaše zařízení umí dekódovat jak AC3, tak DTS, můžete bezpečně zapnout
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
471 passthrough pro oba formáty. Jinak zapněte passthrough pouze pro formát, který
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
472 vaše zařízení podporuje.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
473 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
474
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
475 <itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
476 <title>Zapnutí passthrough z příkazového řádku:</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
477 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
478 Jen pro AC3 použijte <option>-ac hwac3</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
479 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
480 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
481 Jen pro DTS použijte <option>-ac hwdts</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
482 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
483 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
484 Pro oba (AC3 i DTS) použijte <option>-afm hwac3</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
485 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
486 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
487
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
488 <itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
489 <title>Zapnutí passthrough v konfiguračním souboru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
490 <application>MPlayer</application>u: </title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
491 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
492 Jen pro AC3 použijte <option>ac=hwac3,</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
493 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
494 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
495 Jen pro DTS použijte <option>ac=hwdts,</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
496 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
497 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
498 Pro oba (AC3 i DTS) použijte <option>afm=hwac3</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
499 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
500 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
501
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
502 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
503 Povšimněte si čárky (",") na konci
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
504 <option>ac=hwac3,</option> a <option>ac=hwdts,</option>. To umožní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
505 <application>MPlayer</application>u použít normální kodek, když přehrávaný
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
506 soubor nemá AC3 nebo DTS zvuk. Volba <option>afm=hwac3</option> nevyžaduje
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
507 čárku; <application>MPlayer</application> se zařídí podle potřeby automaticky,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
508 pokud je zvolena rodina audio kodeků.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
509 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
510
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
511 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
512
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
513
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
514 <sect3 id="advaudio-surround-matrix">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
515 <title>Maticově enkódovaný zvuk</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
516
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
517 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
518 <emphasis>***TODO***</emphasis>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
519 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
520 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
521 Tato sekce musí být teprve napsaná a nemůže být dokončena dokud nám někdo
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
522 nepošle vzorkové soubory pro testování. Pokud máte nějaké maticově enkódované
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
523 zvukové soubory, víte, kde je lze najít, nebo máte jakoukoli informaci, která
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
524 by mohla pomoci, pošlete prosím zprávu do konference
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
525 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-DOCS</ulink>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
526 Do předmětu vložte "[matrix-encoded audio]".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
527 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
528 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
529 Pokud nepřijdou žádné soubory nebo informace, tato sekce bude odstraněna.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
530 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
531
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
532 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
533 Dobré odkazy:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
534 <itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
535 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
536 <ulink url="http://electronics.howstuffworks.com/surround-sound5.htm">http://electronics.howstuffworks.com/surround-sound5.htm</ulink>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
537 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
538 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
539 <ulink url="http://www.extremetech.com/article2/0,1697,1016875,00.asp">http://www.extremetech.com/article2/0,1697,1016875,00.asp</ulink>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
540 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
541 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
542 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
543
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
544 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
545
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
546
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
547 <sect3 id="advaudio-surround-hrtf">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
548 <title>Surround emulace ve sluchátkách</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
549
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
550 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
551 <application>MPlayer</application> obsahuje HRTF (Head Related Transfer
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
552 Function) filtr založený na
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
553 <ulink url="http://sound.media.mit.edu/KEMAR.html">projektu MIT</ulink>,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
554 kde jsou měření vzata z mikrofonů na umělé lidské hlavě.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
555 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
556
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
557 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
558 Ačkoli není možné přesně imitovat surround systém,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
559 <application>MPlayer</application>ův HRTF filtr produkuje prostorově mnohem
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
560 prokreslenější zvuk ve 2-kanálových sluchátkách. Obvyklé míchání jednoduše
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
561 kombinuje všechny kanály do dvou; krom kombinace kanálů, <option>hrtf</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
562 generuje slabá echa, poněkud zvětšuje oddělení stereo kanálů a mění hlasitost
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
563 některých kmitočtů. Jestli HRTF zní lépe může záviset na zdrojovém zvuku a
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
564 osobním vkusu, ale určitě stojí za zkoušku.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
565 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
566
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
567 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
568 Pro přehrání DVD s HRTF:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
569
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
570 <screen>mplayer dvd://1 -channels 6 -af hrtf</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
571
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
572 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
573
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
574 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
575 <option>hrtf</option> pracuje dobře pouze s 5 nebo 6 kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
576 <option>hrtf</option> také vyžaduje zvuk 48 kHz. DVD audio již je 48 kHz, ale
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
577 pokud máte soubor s odlišným vzorkovacím kmitočtem, který chcete přehrávat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
578 pomocí <option>hrtf</option>, musíte jej převzorkovat:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
579
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
580 <screen>mplayer <replaceable>soubor</replaceable> -channels 6 -af resample=48000,hrtf</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
581
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
582 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
583
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
584 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
585
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
586
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
587 <sect3 id="advaudio-surround-troubleshooting">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
588 <title>Potíže</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
589
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
590 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
591 Pokud neslyšíte ze surround kanálů žádný zvuk, ověřte si nastavení směšovače
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
592 pomocí programu jako je <application>alsamixer</application>;
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
593 audio výstupy jsou často vypnuty a nastaveny na nulovou hlasitost jako výchozí.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
594 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
595
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
596 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
597
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
598 </sect2>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
599
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
600
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
601 <sect2 id="advaudio-channels">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
602 <title>Manipulace s kanály</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
603
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
604 <sect3 id="advaudio-channels-general">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
605 <title>Obecné informace</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
606
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
607 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
608 Naneštěstí neexistuje standard pro řazení kanálů. Následující řazení jsou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
609 používaná v AC3 a jsou poměrně typická; zkuste je a uvidíte, zda tomu váš zdroj
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
610 odpovídá. Kanály jsou číslovány od 0.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
611
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
612 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
613 <title>mono</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
614 <listitem override="0"><simpara>střed</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
615 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
616
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
617 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
618 <title>stereo</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
619 <listitem override="0"><simpara>levý</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
620 <listitem><simpara>pravý</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
621 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
622
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
623 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
624 <title>kvadrofonní</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
625 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
626 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
627 <listitem><simpara>levý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
628 <listitem><simpara>pravý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
629 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
630
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
631 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
632 <title>surround 4.0</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
633 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
634 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
635 <listitem><simpara>středový zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
636 <listitem><simpara>středový čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
637 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
638
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
639 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
640 <title>surround 5.0</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
641 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
642 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
643 <listitem><simpara>levý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
644 <listitem><simpara>pravý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
645 <listitem><simpara>středový čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
646 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
647
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
648 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
649 <title>surround 5.1</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
650 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
651 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
652 <listitem><simpara>levý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
653 <listitem><simpara>pravý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
654 <listitem><simpara>středový čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
655 <listitem><simpara>subwoofer</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
656 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
657
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
658 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
659
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
660 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
661 Volba <option>-channels</option> se používá pro požadavek na počet kanálů z
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
662 dekodéru zvuku. Některé audio kodeky používají počet zadaných kanálů pro
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
663 rozhodování, zda je nutné podmixovat zdroj. Poznamenejme, že to ne vždy
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
664 ovlivní počet výstupních kanálů. Například použití
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
665 <option>-channels 4</option> pro přehrání stereo MP3 souboru povede ke
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
666 2-kanálovému výstupu, jelikož MP3 kodek neprodukuje extra kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
667 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
668
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
669 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
670 Pro vytvoření nebo odstranění kanálů slouží zvukový filtr
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
671 <option>channels</option>, který je rovněž vhodný k ovládání počtu zvukových
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
672 kanálů posílaných do zvukové karty. Viz následující sekce pro více informací
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
673 o manipulacích s kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
674 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
675
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
676 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
677
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
678
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
679 <sect3 id="advaudio-channels-mono">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
680 <title>Přehrávání mono na dvou reproduktorech</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
681
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
682 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
683 Mono zní mnohem lépe, když je přehráván dvěma reproduktory &ndash; zvlášť při
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
684 použití sluchátek. Audio soubory, které ve skutečnosti mají jeden kanál,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
685 jsou automaticky přehrávány dvěma reproduktory; naneštěstí je většina
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
686 mono souborů ve skutečnosti enkódována jako stereo s jedním kanálem utlumeným.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
687 Nejjednodušší a nejblbuvzdornější způsob, jak přinutit oba reproduktory
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
688 poskytovat stejný zvuk je filtr <option>extrastereo</option>:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
689
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
690 <screen>mplayer <replaceable>soubor</replaceable> -af extrastereo=0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
691
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
692 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
693
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
694 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
695 To zprůměruje oba kanály, takže budou mít poloviční hlasitost originálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
696 Další sekce přinášejí příklady dalších možností, jak to udělat bez snížení
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
697 hlasitosti, ale ty jsou mnohem komplexnější a vyžadují odlišné volby
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
698 v závislosti na tom, který kanál ponecháte. Pokud potřebujete jen upravit
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
699 hlasitost, může být lehčí experimentovat s filtrem <option>volume</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
700 a najít vhodnou hodnotu. Například:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
701
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
702 <screen>mplayer <replaceable>soubor</replaceable> -af extrastereo=0,volume=5</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
703
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
704 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
705
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
706 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
707
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
708
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
709 <sect3 id="advaudio-channels-copying">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
710 <title>Kopírování/přesun kanálů</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
711
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
712 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
713 Filtr <option>channels</option> umí přesunout jakýkoli nebo všechny kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
714 Nastavení všech parametrů filtru <option>channels</option> může být
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
715 komplikované a vyžaduje pozornost.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
716
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
717 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
718 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
719 Rozhodněte, kolik výstupních kanálů potřebujete. To je první parametr.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
720 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
721 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
722 Spočítejte, kolik přesunů kanálů budete dělat. To je druhý parametr. Každý
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
723 kanál může být přesunut naráz do několika různých kanálů, ale pamatujte, že
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
724 pokud je kanál přesunut (dokonce i jen do jednoho cíle), bude zdrojový kanál
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
725 prázdný dokud do něj nepřesunete jiný kanál. Chcete-li kanál zkopírovat,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
726 aby zdroj zůstal stejný, jednoduše přesuňte kanál do obou, cíle i zdroje.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
727 Například:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
728 <programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
729 channel 2 --> channel 3
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
730 channel 2 --> channel 2
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
731 </programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
732 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
733 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
734 Zapište kopie kanálů jako dvojici parametrů. Pamatujte, že první kanál je 0,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
735 druhý 1 atd. Na pořadí parametrů nezáleží, pokud jsou správně sdruženy do
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
736 párů <replaceable>zdroj:cíl</replaceable>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
737 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
738 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
739
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
740 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
741
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
742
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
743 <bridgehead>Příklad: jeden kanál ve dvou reproduktorech</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
744
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
745 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
746 Zde máte příklad jiného způsobu, jak hrát jeden kanál v obou reproduktorech.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
747 Pro náš účel předpokládejme, že by měl být přehráván levý kanál a zahozen pravý.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
748 Následujeme výše uvedený postup:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
749 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
750 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
751 Abychom měli výstupní kanál pro každý z obou reproduktorů, musí být první
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
752 parametr "2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
753 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
754 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
755 Levý kanál musí být přesunut do pravého a také sám do sebe, aby nezůstal
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
756 prázdný. To jsou celkem dva přesuny, takže druhý parametr bude také "2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
757 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
758 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
759 Pro přesun levého kanálu (channel 0) do pravého kanálu (channel 1) bude dvojice
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
760 parametrů "0:1" a "0:0" přesune levý kanál na sebe.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
761 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
762 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
763 Vše dohromady pak dá:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
764
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
765 <screen>mplayer <replaceable>soubor</replaceable> -af channels=2:2:0:1:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
766 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
767
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
768 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
769 Výhoda tohoto postupu před <option>extrastereo</option> je v tom, že
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
770 je hlasitost každého výstupního kanálu stejná jako hlasitost zdrojového
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
771 kanálu. Nevýhodou je to, že parametry musí být změněny na "2:2:1:0:1:1",
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
772 pokud je požadovaný zvuk v pravém kanálu. Také je těžší si je pamatovat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
773 a napsat.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
774 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
775
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
776 <bridgehead>Příklad: levý kanál v obou reproduktorech &ndash; zkratka</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
777
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
778 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
779 Ve skutečnosti je mnohem jednodušší způsob použití filtru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
780 <option>channels</option> pro přehrávání levého kanálu v obou reproduktorech:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
781
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
782 <screen>mplayer <replaceable>soubor</replaceable> -af channels=1</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
783
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
784 Druhý kanál je zahozen a bez dalších parametrů je ponechán jediný zbývající
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
785 kanál. Ovladače zvukových karet hrají jednokanálový zvuk automaticky v obou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
786 reproduktorech. To pracuje pouze pokud je požadovaný levý kanál.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
787 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
788
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
789 <bridgehead>Příklad: kopírování čelních kanálů do zadních</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
790 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
791 Dalším běžným úkonem je duplikace čelních kanálů a jejich přehrávání v zadních
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
792 reproduktorech kvadrofonní sestavy.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
793 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
794 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
795 Zde by mely být čtyři výstupní kanály. První parametr je "4".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
796 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
797 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
798 Oba přední kanály musí být přesunuty do odpovídajících zadních kanálů a
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
799 také na sebe. To jsou čtyři přesuny, takže druhý parametr bude "4".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
800 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
801 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
802 Levý čelní (channel 0) přesuneme do levého zadního (channel 2): "0:2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
803 Levý čelní musíme rovněž přesunout do sama sebe: "0:0". Pravý přední (channel
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
804 1) je přesunut do pravého zadního (channel 3): "1:3" a také do sebe: "1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
805 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
806 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
807 Po zkombinování všech nastavení dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
808
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
809 <screen>mplayer <replaceable>soubor</replaceable> -af channels=4:4:0:2:0:0:1:3:1:1</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
810
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
811 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
812
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
813 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
814
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
815
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
816 <sect3 id="advaudio-channels-mixing">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
817 <title>Mixování kanálů</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
818
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
819 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
820 Filtr <option>pan</option> umí mixovat kanály podle požadavků uživatele.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
821 Umožňuje vše co filtr <option>channels</option> a ještě víc. Naneštěstí jsou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
822 jeho parametry ještě komplikovanější.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
823 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
824 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
825 Rozhodněte, s kolika kanály budeme pracovat. To můžete nastavit pomocí volby
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
826 <option>-channels</option> a/nebo <option>-af channels</option>. Později se
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
827 v příkladech dozvíte, kdy použít kterou.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
828 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
829 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
830 Rozhodněte, kolik kanálů propustíme do <option>pan</option> (ostatní dekódované
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
831 kanály jsou zahozeny). To je první parametr a také ovládá, kolik kanálů bude mít
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
832 výstup.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
833 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
834 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
835 Zbývající parametry nastavují, kolik z daného kanálu bude namixováno do každého
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
836 dalšího kanálu. Toto je ta komplikovaná část. Pro usnadnění si rozdělte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
837 parametry do několika skupin, jednu pro každý výstupní kanál. Každý parametr
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
838 uvnitř skupiny odpovídá vstupnímu kanálu. Číslo, které nastavíte bude procento
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
839 vstupního kanálu, které bude namixováno do výstupního kanálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
840 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
841 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
842 <option>pan</option> akceptuje hodnoty od 0 do 512, což odpovídá 0% až 51200%
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
843 původní hlasitosti. Buďte opatrní, pokud používáte hodnoty větší než 1. Nejen,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
844 že vám to dá velmi vysokou hlasitost, ale pokud překročíte dynamický rozsah
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
845 své zvukové karty, můžete uslyšet rány a praskání. Pokud chcete, můžete
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
846 za <option>pan</option> přidat <option>,volume</option> pro zapnutí omezení,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
847 ale i tak je nejlepší udržet hodnoty <option>pan</option> dostatečně nízko,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
848 aby omezování nebylo potřeba.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
849 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
850 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
851 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
852
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
853 <bridgehead>Příklad: jeden kanál do dvou reproduktorů</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
854
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
855 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
856 Zde máte další příklad pro přehrávání levého kanálu ve dvou reproduktorech.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
857 Následujme výše uvedené kroky:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
858 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
859 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
860 Na výstupu <option>pan</option> by měly být dva kanály, takže první parametr
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
861 je "2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
862 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
863 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
864 Jelikož máme dva vstupní kanály, budeme mít dvě sady parametrů.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
865 Jelikož máme rovněž dva výstupní kanály, budeme mít dva parametry v každé
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
866 sadě. Levý kanál ze souboru by měl jít s plnou hlasitostí do nového levého
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
867 i pravého kanálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
868 Takže první sada parametrů je "1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
869 Pravý kanál by měl být zahozen, takže druhá sada bude "0:0".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
870 Hodnoty 0 na konci je možné vynechat, ale pro snadnější pochopení
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
871 je zde necháváme.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
872 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
873 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
874 Dáme-li vše dohromady, dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
875
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
876 <screen>mplayer <replaceable>soubor</replaceable> -af pan=2:1:1:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
877
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
878 Pokud chceme místo levého kanálu pravý, budou parametry
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
879 <option>pan</option> tyto: "2:0:0:1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
880 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
881
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
882
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
883 <bridgehead>Příklad: levý kanál ve dvou reproduktorech zkráceně</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
884
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
885 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
886 Stejně jako s <option>channels</option> můžeme použít zkrácený zápis, který
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
887 funguje pouze pro levý kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
888
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
889 <screen>mplayer <replaceable>soubor</replaceable> -af pan=1:1</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
890
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
891 Jelikož má <option>pan</option> pouze jeden vstupní kanál (druhý je zahozen),
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
892 máme pouze jednu sadu s jedním parametrem, takže tento jediný kanál dává
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
893 100% sám ze sebe.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
894 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
895
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
896 <bridgehead>Příklad: podmixování 6-kanálového PCM</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
897 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
898 <application>MPlayer</application>ův dekodér 6-kanálového PCM neumí podmixování.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
899 Máme však možnost k tomu použít <option>pan</option>:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
900 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
901 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
902 Počet výstupních kanálů je 2, takže první parametr je "2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
903 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
904 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
905 Při šesti vstupních kanálech budeme mít šest sad parametrů. Jelikož nás
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
906 však zajímá pouze výstup z prvních dvou kanálů, vystačíme s pouhými dvěma
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
907 sadami; zbývající čtyři sady můžeme vynechat. Pozor na to, že ne všechny
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
908 vícekanálové zvukové soubory mají stejné řazení kanálů! Tento příklad
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
909 demonstruje podmixování souboru se stejným řazením kanálů jako má AC3 5.1:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
910 <programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
911 0 - levý přední
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
912 1 - pravý přední
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
913 2 - levý zadní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
914 3 - pravý zadní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
915 4 - středový přední
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
916 5 - subwoofer
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
917 </programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
918 První sada parametrů je výčtem procentních hodnot hlasitostí v daném pořadí,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
919 kterou by měl dostat každý výstupní kanál z levého předního kanálu: "1:0".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
920 Pravý přední kanál by měl jít do pravého výstupu: "0:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
921 Stejně tak zadní kanály: "1:0" a "0:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
922 Středový kanál jde do obou výstupních kanálů s poloviční hlasitostí:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
923 "0.5:0.5" a subwoofer jde do obou s plnou hlasitostí: "1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
924 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
925 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
926 Dáme-li vše dohromady, dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
927
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
928 <screen>mplayer <replaceable>6-kanálové.wav</replaceable> -af pan=2:1:0:0:1:1:0:0:1:0.5:0.5:1:1</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
929
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
930 Uvedené procentní hodnoty jsou pouhým příkladem. Upravte si je podle vlastního
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
931 uvážení.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
932 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
933
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
934 <bridgehead>Příklad: Přehrávání 5.1 zvuku na velkých reprobednách bez subwooferu</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
935
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
936 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
937 Pokud máte robustní čelní reprobedny, nemusíte utrácet za nákup subwooferu
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
938 pro kompletní 5.1 zvukový systém. Použijete-li volbu
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
939 <option>-channels 5</option> pro požadavek, aby liba52 dekódovala 5.1 zvuk
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
940 do 5.0, bude zkrátka kanál pro subwoofer zahozen. Pokud jeho obsah chcete
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
941 roznést do ostatních kanálů, musíte jej podmixovat ručně pomocí
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
942 <option>pan</option>:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
943
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
944 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
945 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
946 Jelikož se <option>pan</option> potřebuje dostat ke všem šesti kanálům, nastavte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
947 <option>-channels 6</option>, takže je liba52 dekóduje všechny.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
948 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
949 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
950 Filtr <option>pan</option> produkuje pouze pět kanálů, takže první parametr je 5.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
951 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
952 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
953 Šest vstupních a pět výstupních kanálů znamená šest sad po pěti parametrech.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
954 <itemizedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
955 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
956 Levý přední kanál půjde jen sám do sebe:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
957 "1:0:0:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
958 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
959 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
960 Stejně tak pravý přední kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
961 "0:1:0:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
962 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
963 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
964 Taktéž levý zadní kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
965 "0:0:1:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
966 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
967 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
968 Rovněž pravý zadní kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
969 "0:0:0:1:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
970 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
971 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
972 Středový kanál jakbysmet:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
973 "0:0:0:0:1"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
974 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
975 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
976 A nyní se musíme rozhodnout, co uděláme se subwooferem,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
977 například půlku do předního levého a půlku do předního pravého:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
978 "0.5:0.5:0:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
979 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
980 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
981 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
982 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
983 Zkombinujeme-li to dohromady, dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
984
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
985 <screen>mplayer <replaceable>dvd://1</replaceable> -channels 6 -af pan=5:1:0:0:0:0:0:1:0:0:0:0:0:1:0:0:0:0:0:1:0:0:0:0:0:1:0.5:0.5:0:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
986
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
987 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
988
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
989 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
990
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
991 </sect2>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
992
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
993
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
994 <sect2 id="advaudio-volume">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
995 <title>Softwarové nastavení hlasitosti</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
996
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
997 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
998 Některé zvukové stopy jsou příliš tiché na to, aby mohly být pohodlně
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
999 poslouchány bez zesílení. To je problém, pokud váš zvukový systém neumožňuje
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1000 potřebné zesílení. Volba <option>-softvol</option> poručí
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1001 <application>MPlayer</application>u použití vestavěného směšovače. Pak můžete
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1002 použít klávesy pro nastavení hlasitosti (výchozí <keycap>9</keycap> a
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1003 <keycap>0</keycap>) pro dosažení mnohem vyšších úrovní hlasitosti.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1004 Takto neobejdete směšovač vaší zvukové karty; <application>MPlayer</application>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1005 pouze zesílí signál před jeho odesláním do zvukové karty.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1006
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1007 Následující příklad je dobrým startem:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1008
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1009 <screen>mplayer <replaceable>tichý-soubor</replaceable> -softvol -softvol-max 300</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1010
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1011 Volba <option>-softvol-max</option> nastavuje maximální povolenou výstupní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1012 hlasitost v procentech původní hlasitosti. Například,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1013 <option>-softvol-max 200</option> umožní nastavit hlasitost až na dvojnásobek
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1014 původní úrovně.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1015 Je bezpečné nastavit vysoké hodnoty volbou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1016 <option>-softvol-max</option>; vyšší hlasitost se nepoužije, dokud nepoužijete
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1017 tlačítka nastavení hlasitosti. Jedinou nevýhodou velkých hodnot je to, že
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1018 jelikož <application>MPlayer</application> nastavuje hlasitost o podíl
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1019 z maximální hlasitosti, nebudete mít tak jemný krok nastavení pomocí tlačítek.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1020 Pokud potřebujete přesnější nastavování, použijte nižší hodnotu pro
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1021 <option>-softvol-max</option> a/nebo nastavte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1022 <option>-volstep 1</option>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1023 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1024
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1025 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1026 Volba <option>-softvol</option> pracuje tak, že ovládá zvukový filtr
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1027 <option>volume</option>. Chcete-li přehrávat soubor od začátku při určité
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1028 hlasitosti, můžete nastavit <option>volume</option> ručně:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1029
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1030 <screen>mplayer <replaceable>tichý-soubor</replaceable> -af volume=10</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1031
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1032 Takto přehrajete soubor se ziskem 10 decibelů. Při použití filtru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1033 <option>volume</option> buďte velmi opatrní. Pokud použijete příliš vysokou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1034 hodnotu, můžete si poškodit sluch. Začněte s nízkou hodnotou a postupně
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1035 zvyšujte, až docílíte požadované hlasitosti. Při nastavení příliš vysokých
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1036 hodnot také hrozí, že <option>volume</option> bude nucen ořezat signál, aby
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1037 předešel odeslání dat mimo dovolený rozsah do zvukové karty; to povede ke
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1038 zkreslení signálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1039 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1040
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1041 </sect2>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1042
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1043 </sect1>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1044
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
1045 </chapter>