annotate DOCS/xml/cs/usage.xml @ 20247:60af7c3dbac7

escape - (bobdeint)
author kraymer
date Sun, 15 Oct 2006 18:41:44 +0000
parents 7c7482d7a148
children 90b3178b8c16
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"?>
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
2 <!-- Synced with r19828 -->
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
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
108 <sect1 id="subosd">
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
109 <title>Titulky a OSD</title>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
110
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
111 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
112 <application>MPlayer</application> umí zobrazovat titulky spolu s filmem.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
113 V současnosti podporuje tyto formáty:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
114 <itemizedlist>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
115 <listitem><para>VOBsub</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
116 <listitem><para>OGM</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
117 <listitem><para>CC (closed caption)</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
118 <listitem><para>MicroDVD</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
119 <listitem><para>SubRip</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
120 <listitem><para>SubViewer</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
121 <listitem><para>Sami</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
122 <listitem><para>VPlayer</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
123 <listitem><para>RT</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
124 <listitem><para>SSA</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
125 <listitem><para>PJS (Phoenix Japanimation Society)</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
126 <listitem><para>MPsub</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
127 <listitem><para>AQTitle</para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
128 <listitem><para><ulink url="http://unicorn.us.com/jacosub/">JACOsub</ulink></para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
129 </itemizedlist>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
130 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
131
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
132 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
133 <application>MPlayer</application> umí vyextrahovat výše uvedené formáty titulků
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
134 (<emphasis role="bold">s výjimkou prvních třech</emphasis>) do následujících
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
135 cílových formátů zadáním příslušných voleb:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
136 <itemizedlist>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
137 <listitem><para>MPsub: <option>-dumpmpsub</option></para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
138 <listitem><para>SubRip: <option>-dumpsrtsub</option></para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
139 <listitem><para>MicroDVD: <option>-dumpmicrodvdsub</option></para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
140 <listitem><para>JACOsub: <option>-dumpjacosub</option></para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
141 <listitem><para>Sami: <option>-dumpsami</option></para></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
142 </itemizedlist>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
143 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
144
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
145 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
146 <application>MEncoder</application> umí vyextrahovat DVD titulky do formátu
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
147 <link linkend="menc-feat-extractsub">VOBsub</link>.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
148 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
149
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
150 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
151 Volby příkazového řádku se pro různé formáty mírně liší:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
152 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
153
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
154 <formalpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
155 <title>VOBsub titulky</title>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
156 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
157 VOBsub titulky se skládají z velkého (řádově megabajty) <filename>.SUB</filename>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
158 souboru a volitelného <filename>.IDX</filename> a/nebo <filename>.IFO</filename>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
159 souboru. Pokud máte soubory jako
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
160 <filename><replaceable>sample.sub</replaceable></filename>,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
161 <filename><replaceable>sample.ifo</replaceable></filename> (volitelný),
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
162 <filename><replaceable>sample.idx</replaceable></filename> &ndash; musíte předat
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
163 <application>MPlayer</application>u volby <option>-vobsub sample
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
164 [-vobsubid <replaceable>id</replaceable>]</option>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
165 (volitelně s plnou cestou). Volba <option>-vobsubid</option> je jako
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
166 <option>-sid</option> pro DVD, můžete jí vybírat mezi titulkovými stopami
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
167 (jazyky). Je-li <option>-vobsubid</option> vynechána, pak se
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
168 <application>MPLayer</application> pokusí použít jazyky zadané volbou
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
169 <option>-slang</option> a při selhání použije <systemitem>langidx</systemitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
170 v <filename>.IDX</filename> souboru. Pokud selže i zde, nebudou titulky.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
171 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
172 </formalpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
173
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
174 <formalpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
175 <title>Ostatní titulky</title>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
176 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
177 Ostatní formáty tvoří jediný textový soubor obsahující časování,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
178 umístění a textovou část. Použití: máte-li soubor jako
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
179 <filename><replaceable>sample.txt</replaceable></filename>,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
180 musíte předat volbu <option>-sub
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
181 <replaceable>sample.txt</replaceable></option> (volitelně s plnou cestou).
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
182 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
183 </formalpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
184
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
185 <variablelist>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
186 <title>Úpravy časování a umístění titulků:</title>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
187 <varlistentry>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
188 <term><option>-subdelay <replaceable>sec</replaceable></option></term>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
189 <listitem><simpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
190 Opozdí titulky o <option><replaceable>sec</replaceable></option> sekund.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
191 Může být i záporné. Hodnota je přidána k čítači pozice ve filmu.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
192 </simpara></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
193 </varlistentry>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
194 <varlistentry>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
195 <term><option>-subfps <replaceable>RYCHLOST</replaceable></option></term>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
196 <listitem><simpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
197 Nastavuje rychlost ve snímcích/sek titulkového souboru (desetinné číslo).
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
198 </simpara></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
199 </varlistentry>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
200 <varlistentry>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
201 <term><option>-subpos <replaceable>0-100</replaceable></option></term>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
202 <listitem><simpara>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
203 Nastavuje pozici titulků.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
204 </simpara></listitem>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
205 </varlistentry>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
206 </variablelist>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
207
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
208 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
209 Pokud se vám zvětšuje rozdíl mezi filmem a titulky, při použití
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
210 titulkového souboru formátu MicroDVD, nejspíš se snímková rychlost
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
211 titulků a filmu liší. Poznamenejme, že MicroDVD formát používá
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
212 pro časování absolutní čísla snímků, ale není v něm informace
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
213 o snímkové rychlosti, a proto byste měli s tímto formátem používat volbu
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
214 <option>-subfps</option>. Chcete-li tento problém vyřešit trvale,
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
215 musíte manuálně převést snímkovou rychlost souboru s titulky.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
216 <application>MPlayer</application> může převod udělat za
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
217 vás:
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
218
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
219 <screen>mplayer -dumpmicrodvdsub -fps <replaceable>fps_titulků</replaceable> -subfps <replaceable>avi_fps</replaceable> -sub <replaceable>soubor_titulků</replaceable> <replaceable>dummy.avi</replaceable></screen>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
220 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
221
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
222 <para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
223 O DVD titulcích si přečtěte v sekci <link linkend="dvd">DVD</link>.
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
224 </para>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
225 </sect1>
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
226
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
227
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
228 <sect1 id="control">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
229 <title>Ovládání</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
230
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
231 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
232 <application>MPlayer</application> má plně konfigurovatelnou, příkazy řízenou,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
233 ovládací vrstvu, která vám umožní ovládat <application>MPlayer</application>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
234 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
235 Ú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
236 </para>
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 <sect2 id="ctrl-cfg">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
240 <title>Konfigurace ovládání</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> umožňuje přiřadit jakoukoli klávesu jakémukoli
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
244 příkazu <application>MPlayer</application>u pomocí jednoduchého konfiguračního
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
245 souboru.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
246 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
247 konfiguračního souboru je
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
248 <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
249 volby <option>-input <replaceable>konfig</replaceable></option>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
250 (relativní cesty jsou vztaženy k <filename>$HOME/.mplayer</filename>).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
251 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
252
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
253 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
254 Úplný seznam podporovaných jmen kláves dostanete příkazem
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
255 <command>mplayer -input keylist</command>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
256 a úplný seznam dostupných příkazů příkazem
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
257 <command>mplayer -input cmdlist</command>.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
258 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
259
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
260 <example>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
261 <title>Jednoduchý vstupní ovládací soubor</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
262 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
263 ##
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
264 ## Vstupní soubor ovládání MPlayeru
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
265 ##
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
266
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
267 RIGHT seek +10
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
268 LEFT seek -10
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
269 - audio_delay 0.100
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
270 + audio_delay -0.100
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
271 q quit
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
272 &gt; pt_step 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
273 &lt; pt_step -1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
274 ENTER pt_step 1 1<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
275 --></programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
276 </example>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
277 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
278
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
279
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
280 <sect2 id="lirc">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
281 <title>Ovládání z LIRC</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
282
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
283 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
284 Linux Infrared Remote Control &ndash; použijte jednoduše vyrobitelný doma udělaný
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
285 IR-přijímač,
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
286 (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
287 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
288 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
289
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
290 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
291 Pokud máte nainstalován balíček LIRC, <filename>configure</filename> jej zdetekuje.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
292 Pokud vše dopadne dobře, <application>MPlayer</application> při startu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
293 vypíše &quot;<systemitem>Nastavuji podporu LIRC...</systemitem>&quot;.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
294 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
295 pak pro něj není podpora zakompilována. To je vše :-)
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
296 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
297
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
298 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
299 Jméno spustitelného souboru <application>MPlayer</application>u je - překvapení -
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
300 <filename>mplayer</filename>. Můžete použít jakýkoli příkaz
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
301 <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
302 znakem <literal>\n</literal>.
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
303 Nezapomeňte zapnout opakovací (repeat) příznak v <filename>.lircrc</filename> tam,
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
304 kde to dává smysl (vyhledávání, hlasitost, atd.).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
305 Zde je výňatek z demonstračního
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
306 <filename>.lircrc</filename>:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
307 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
308
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
309 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
310 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
311 button = VOLUME_PLUS
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
312 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
313 config = volume 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
314 repeat = 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
315 end
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
316
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
317 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
318 button = VOLUME_MINUS
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
319 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
320 config = volume -1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
321 repeat = 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
322 end
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
323
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
324 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
325 button = CD_PLAY
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
326 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
327 config = pause
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
328 end
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
329
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
330 begin
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
331 button = CD_STOP
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
332 prog = mplayer
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
333 config = seek 0 1\npause
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
334 end<!--
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
335 --></programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
336
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
337 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
338 Pokud se vám nelíbí standardní umístění lirc-config souboru
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
339 (<filename>~/.lircrc</filename>) použijte volbu <option>-lircconf
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
340 <replaceable>soubor</replaceable></option> k určení jiného souboru.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
341 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
342 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
343
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
344
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
345 <sect2 id="slave-mode">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
346 <title>Závislý režim</title>
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 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
349 <application>MPlayer</application>u. Pokud je <application>MPlayer</application>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
350 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
351 řádkem (\n) ze standardního vstupu.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
352 Příkazy jsou dokumentovány v souboru
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
353 <ulink url="../../tech/slave.txt">slave.txt</ulink>.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
354 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
355 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
356 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
357
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
358
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
359 <sect1 id="streaming">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
360 <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
361
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
362 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
363 <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
364 HTTP, FTP, MMS nebo RTSP/RTP.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
365 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
366
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
367 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
368 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
369 <application>MPlayer</application> ctí systémovou proměnnou <envar>http_proxy</envar>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
370 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
371 <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
372 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
373
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
374 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
375 <application>MPlayer</application> umí číst ze std. vstupu
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
376 (<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
377 pro přehrávání z FTP:
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
378 <screen>wget <replaceable>ftp://micorsops.com/cokoli.avi</replaceable> -O - | mplayer -</screen>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
379 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
380
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
381 <note><para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
382 Také doporučujeme zapnout <option>-cache</option> při přehrávání
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
383 ze sítě:
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
384 <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
385 </para></note>
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
386
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
387 <sect2 id="streaming-save">
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
388 <title>Uložení proudového obsahu</title>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
389 <para>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
390 Jakmile jste přiměli <application>MPlayer</application> přehrát
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
391 váš oblíbený internetový proud, můžete použít volbu
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
392 <option>-dumpstream</option> k uložení datového proudu do souboru.
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
393 For example:
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
394 <screen>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
395 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
396 </screen>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
397 uloží proudové video z
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
398 <replaceable>http://217.71.208.37:8006</replaceable> do
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
399 <replaceable>proud.asf</replaceable>.
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
400 Pracovat to bude se všemi <application>MPlayer</application>em podporovanými
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
401 protokoly, jako MMS, RTSP, a tak dále.
15676
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
402 Pokud chcete z proudu uložit pouze zvuk nebo video, použijte
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
403 <option>-dumpaudio</option> nebo <option>-dumpvideo</option>, ale pamatujte,
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
404 že <application>MPlayer</application> bude ignorovat všechny vyjma poslední
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
405 <option>-dump*</option> volby zadané na příkazovém řádku.
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
406 </para>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
407 </sect2>
edd2306e0da0 Synced with 1.27
jheryan
parents: 15003
diff changeset
408
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
409 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
410
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
411 <sect1 id="mpst" xreflabel="Remote streams">
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
412 <title>Vzdálené datové proudy</title>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
413
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
414 <para>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
415 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
416 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
417 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
418 ž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
419 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
420 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
421 vysokou rychlost
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
422 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
423
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
424 <sect2 id="compile_mpst_server">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
425 <title>Kompilace serveru</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
426 <para>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
427 Poté co zkompilujete <application>MPlayer</application> běžte do adresáře
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
428 <filename>TOOLS/netstream</filename> a proveďte
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
429 <application>make</application> pro sestavení serverové binárky.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
430 Potom můžete zkopírovat program <application>netstream</application>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
431 na správné místo v systému (v Linuxu obvykle
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
432 <filename class="directory">/usr/local/bin</filename>).
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
433 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
434 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
435
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
436 <sect2 id="use_mpst">
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
437 <title>Použití vzdálených datových proudů</title>
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
438 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
439 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
440 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
441 proto jen zadejte <filename>netstream</filename>. Teď můžete například
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
442 přehrát druhou stopu na VCD na serveru:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
443 <screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
444 mplayer -cache 5000 <replaceable>mpst://jméno_serveru/vcd://2</replaceable>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
445 </screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
446 Taky můžete přistupovat k souborům na tomto serveru:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
447 <screen>
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
448 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
449 </screen>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
450 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
451 Volba <option>-cache</option> není nutná, ale velmi ji doporučujeme.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
452 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
453
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
454 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
455 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
456 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
457 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
458 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
459
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
460 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
461
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
462 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
463
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
464 <sect1 id="edl" xreflabel="Seznamy editačních zásahů (EDL)">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
465 <title>Seznamy editačních zásahů (EDL)</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
466
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
467 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
468 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
469 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
470 EDL konfiguračním souborem.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
471 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
472
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
473 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
474 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
475 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
476 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
477 jako je automatické vystřihávání reklam z videa které sleduješ.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
478 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
479
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
480 <para>
19562
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
481 Formát EDL souboru je poměrně kostrbatý. Každý příkaz je na samostatném
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
482 řádku a označuje co dělat (vystřihnout/ztišit) a kdy to dělat
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
483 (pomocí ukazatelů v sekundách).
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
484 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
485
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
486 <sect2 id="edl_using">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
487 <title>Použití EDL souboru</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
488 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
489 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
490 <application>MPlayer</application>, se jménem EDL souboru, který chcete použít
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
491 na video.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
492 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
493 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
494
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
495 <sect2 id="edl_making">
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
496 <title>Vytvoření EDL souboru</title>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
497 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
498 Současný formát EDL souboru je:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
499 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
500 [počáteční sekunda] [koncová sekunda] [akce]
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
501 </programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
502 Kde jsou sekundy desetinnými čísly a akce je buď
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
503 <literal>0</literal> pro vynechání nebo <literal>1</literal> pro vypnutí zvuku.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
504 Příklad:
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
505 <programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
506 5.3 7.1 0
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
507 15 16.7 1
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
508 420 422 0
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
509 </programlisting>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
510 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
511 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
512 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
513 v souboru.
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
514 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
515
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
516 <para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
517 Pro vytvoření EDL souboru se kterým budete moci začít, použijte volbu
19562
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
518 <option>-edlout &lt;soubor&gt;</option>. Během přehrávání jen stiskněte
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
519 <keycap>i</keycap> pro označení začátku a konce bloku. Pro vyznačený čas
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
520 bude do souboru zapsán odpovídající záznam. Můžete se pak vrátit a doladit
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
521 vygenerovaný EDL soubor, stejně jako změnit výchozí akci, což je vystřižení
ccd7d48e0bab Synced to 25.8.2006
jheryan
parents: 18892
diff changeset
522 vyznačených bloků.
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
523 </para>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
524 </sect2>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
525
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
526 </sect1>
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
527
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
528
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
529 <sect1 id="advaudio" xreflabel="Advanced Audio">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
530 <title>Pokročilé audio</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
531
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
532 <sect2 id="advaudio-surround">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
533 <title>Surround/Vícekanálové přehrávání</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
534
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
535 <sect3 id="advaudio-surround-DVD">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
536 <title>DVD</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
537 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
538 Většina DVD a mnoho jiných souborů obsahuje surround zvuk.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
539 <application>MPlayer</application> podporuje přehrávání přehrávání surround,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
540 ale ve výchozím nastavení jej nezapíná, jelikož stereo vybavení je mnohem
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
541 č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
542 volbu <option>-channels</option>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
543 Například pro přehrání DVD s 5.1 zvukem:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
544
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
545 <screen>mplayer dvd://1 -channels 6</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
546
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
547 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
548 Pokud máte surround zvukové vybavení, můžete si přidat volbu
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
549 <option>channels</option> do svého konfiguračního souboru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
550 <application>MPlayer</application>u <filename>~/.mplayer/config</filename>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
551 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
552 následující řádek:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
553
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
554 <programlisting>channels=4</programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
555
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
556 <application>MPlayer</application> pak poskytuje zvuk ve čtyřech kanálech,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
557 pokud jsou všechny čtyři kanály k dispozici.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
558 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
559 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
560
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
561
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
562 <sect3 id="advaudio-surround-stereoinfour">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
563 <title>Přehrávání stereo souborů do čtyřech reproduktorů</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
564
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
565 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
566 <application>MPlayer</application> ve výchozím nastavení neduplikuje žádné
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
567 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
568 ručně:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
569
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
570 <screen>mplayer <replaceable>soubor</replaceable> -af channels=2:2:0:1:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
571
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
572 Vysvětlení naleznete v sekci
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
573 <link linkend="advaudio-channels-copying">kopírování kanálů</link>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
574 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
575
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
576 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
577
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
578
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
579 <sect3 id="advaudio-surround-passthrough">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
580 <title>AC3/DTS Passthrough</title>
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 DVD mají obvykle surround zvuk enkódovaný ve formátu AC3 (Dolby Digital) nebo
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
584 DTS (Digital Theater System). Některá moderní zařízení jsou schopna dekódovat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
585 tyto formáty interně. <application>MPlayer</application> lze nakonfigurovat
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
586 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
587 S/PDIF (Sony/Philips Digital Interface) jack ve zvukové kartě.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
588 </para>
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 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
592 passthrough pro oba formáty. Jinak zapněte passthrough pouze pro formát, který
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
593 vaše zařízení podporuje.
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 <itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
597 <title>Zapnutí passthrough z příkazového řádku:</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
598 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
599 Jen pro AC3 použijte <option>-ac hwac3</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
600 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
601 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
602 Jen pro DTS použijte <option>-ac hwdts</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
603 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
604 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
605 Pro oba (AC3 i DTS) použijte <option>-afm hwac3</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
606 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
607 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
608
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
609 <itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
610 <title>Zapnutí passthrough v konfiguračním souboru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
611 <application>MPlayer</application>u: </title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
612 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
613 Jen pro AC3 použijte <option>ac=hwac3,</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
614 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
615 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
616 Jen pro DTS použijte <option>ac=hwdts,</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
617 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
618 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
619 Pro oba (AC3 i DTS) použijte <option>afm=hwac3</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
620 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
621 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
622
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
623 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
624 Povšimněte si čárky (",") na konci
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
625 <option>ac=hwac3,</option> a <option>ac=hwdts,</option>. To umožní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
626 <application>MPlayer</application>u použít normální kodek, když přehrávaný
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
627 soubor nemá AC3 nebo DTS zvuk. Volba <option>afm=hwac3</option> nevyžaduje
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
628 čárku; <application>MPlayer</application> se zařídí podle potřeby automaticky,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
629 pokud je zvolena rodina audio kodeků.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
630 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
631
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
632 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
633
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
634
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
635 <sect3 id="advaudio-surround-matrix">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
636 <title>Maticově enkódovaný zvuk</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
637
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
638 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
639 <emphasis>***TODO***</emphasis>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
640 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
641 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
642 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
643 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
644 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
645 by mohla pomoci, pošlete prosím zprávu do konference
20062
7c7482d7a148 Synced with 2.10.2006
jheryan
parents: 20029
diff changeset
646 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-DOCS</ulink>.
16646
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
647 Do předmětu vložte "[matrix-encoded audio]".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
648 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
649 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
650 Pokud nepřijdou žádné soubory nebo informace, tato sekce bude odstraněna.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
651 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
652
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
653 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
654 Dobré odkazy:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
655 <itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
656 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
657 <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
658 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
659 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
660 <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
661 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
662 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
663 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
664
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
665 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
666
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
667
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
668 <sect3 id="advaudio-surround-hrtf">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
669 <title>Surround emulace ve sluchátkách</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
670
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
671 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
672 <application>MPlayer</application> obsahuje HRTF (Head Related Transfer
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
673 Function) filtr založený na
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
674 <ulink url="http://sound.media.mit.edu/KEMAR.html">projektu MIT</ulink>,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
675 kde jsou měření vzata z mikrofonů na umělé lidské hlavě.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
676 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
677
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
678 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
679 Ačkoli není možné přesně imitovat surround systém,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
680 <application>MPlayer</application>ův HRTF filtr produkuje prostorově mnohem
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
681 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
682 kombinuje všechny kanály do dvou; krom kombinace kanálů, <option>hrtf</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
683 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
684 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
685 osobním vkusu, ale určitě stojí za zkoušku.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
686 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
687
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
688 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
689 Pro přehrání DVD s HRTF:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
690
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
691 <screen>mplayer dvd://1 -channels 6 -af hrtf</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
692
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
693 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
694
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
695 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
696 <option>hrtf</option> pracuje dobře pouze s 5 nebo 6 kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
697 <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
698 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
699 pomocí <option>hrtf</option>, musíte jej převzorkovat:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
700
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
701 <screen>mplayer <replaceable>soubor</replaceable> -channels 6 -af resample=48000,hrtf</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
702
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
703 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
704
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
705 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
706
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
707
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
708 <sect3 id="advaudio-surround-troubleshooting">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
709 <title>Potíže</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
710
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
711 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
712 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
713 pomocí programu jako je <application>alsamixer</application>;
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
714 audio výstupy jsou často vypnuty a nastaveny na nulovou hlasitost jako výchozí.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
715 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
716
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
717 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
718
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
719 </sect2>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
720
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
721
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
722 <sect2 id="advaudio-channels">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
723 <title>Manipulace s kanály</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
724
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
725 <sect3 id="advaudio-channels-general">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
726 <title>Obecné informace</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
727
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
728 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
729 Naneštěstí neexistuje standard pro řazení kanálů. Následující řazení jsou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
730 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
731 odpovídá. Kanály jsou číslovány od 0.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
732
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
733 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
734 <title>mono</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
735 <listitem override="0"><simpara>střed</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
736 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
737
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
738 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
739 <title>stereo</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
740 <listitem override="0"><simpara>levý</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
741 <listitem><simpara>pravý</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
742 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
743
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
744 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
745 <title>kvadrofonní</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
746 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
747 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
748 <listitem><simpara>levý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
749 <listitem><simpara>pravý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
750 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
751
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
752 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
753 <title>surround 4.0</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
754 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
755 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
756 <listitem><simpara>středový zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
757 <listitem><simpara>středový čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
758 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
759
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
760 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
761 <title>surround 5.0</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
762 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
763 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
764 <listitem><simpara>levý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
765 <listitem><simpara>pravý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
766 <listitem><simpara>středový čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
767 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
768
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
769 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
770 <title>surround 5.1</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
771 <listitem override="0"><simpara>levý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
772 <listitem><simpara>pravý čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
773 <listitem><simpara>levý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
774 <listitem><simpara>pravý zadní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
775 <listitem><simpara>středový čelní</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
776 <listitem><simpara>subwoofer</simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
777 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
778
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
779 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
780
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
781 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
782 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
783 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
784 rozhodování, zda je nutné podmixovat zdroj. Poznamenejme, že to ne vždy
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
785 ovlivní počet výstupních kanálů. Například použití
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
786 <option>-channels 4</option> pro přehrání stereo MP3 souboru povede ke
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
787 2-kanálovému výstupu, jelikož MP3 kodek neprodukuje extra kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
788 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
789
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
790 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
791 Pro vytvoření nebo odstranění kanálů slouží zvukový filtr
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
792 <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
793 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
794 o manipulacích s kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
795 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
796
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
797 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
798
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
799
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
800 <sect3 id="advaudio-channels-mono">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
801 <title>Přehrávání mono na dvou reproduktorech</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
802
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
803 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
804 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
805 použití sluchátek. Audio soubory, které ve skutečnosti mají jeden kanál,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
806 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
807 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
808 Nejjednodušší a nejblbuvzdornější způsob, jak přinutit oba reproduktory
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
809 poskytovat stejný zvuk je filtr <option>extrastereo</option>:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
810
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
811 <screen>mplayer <replaceable>soubor</replaceable> -af extrastereo=0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
812
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
813 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
814
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
815 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
816 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
817 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
818 hlasitosti, ale ty jsou mnohem komplexnější a vyžadují odlišné volby
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
819 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
820 hlasitost, může být lehčí experimentovat s filtrem <option>volume</option>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
821 a najít vhodnou hodnotu. Například:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
822
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
823 <screen>mplayer <replaceable>soubor</replaceable> -af extrastereo=0,volume=5</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
824
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
825 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
826
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
827 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
828
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
829
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
830 <sect3 id="advaudio-channels-copying">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
831 <title>Kopírování/přesun kanálů</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
832
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
833 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
834 Filtr <option>channels</option> umí přesunout jakýkoli nebo všechny kanály.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
835 Nastavení všech parametrů filtru <option>channels</option> může být
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
836 komplikované a vyžaduje pozornost.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
837
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
838 <orderedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
839 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
840 Rozhodněte, kolik výstupních kanálů potřebujete. To je první parametr.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
841 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
842 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
843 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
844 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
845 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
846 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
847 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
848 Například:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
849 <programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
850 channel 2 --> channel 3
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
851 channel 2 --> channel 2
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
852 </programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
853 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
854 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
855 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
856 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
857 párů <replaceable>zdroj:cíl</replaceable>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
858 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
859 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
860
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
861 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
862
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
863
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
864 <bridgehead>Příklad: jeden kanál ve dvou reproduktorech</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
865
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
866 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
867 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
868 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
869 Následujeme výše uvedený postup:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
870 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
871 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
872 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
873 parametr "2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
874 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
875 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
876 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
877 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
878 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
879 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
880 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
881 parametrů "0:1" a "0:0" přesune levý kanál na sebe.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
882 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
883 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
884 Vše dohromady pak dá:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
885
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
886 <screen>mplayer <replaceable>soubor</replaceable> -af channels=2:2:0:1:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
887 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
888
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
889 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
890 Výhoda tohoto postupu před <option>extrastereo</option> je v tom, že
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
891 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
892 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
893 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
894 a napsat.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
895 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
896
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
897 <bridgehead>Příklad: levý kanál v obou reproduktorech &ndash; zkratka</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
898
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
899 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
900 Ve skutečnosti je mnohem jednodušší způsob použití filtru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
901 <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
902
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
903 <screen>mplayer <replaceable>soubor</replaceable> -af channels=1</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
904
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
905 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
906 kanál. Ovladače zvukových karet hrají jednokanálový zvuk automaticky v obou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
907 reproduktorech. To pracuje pouze pokud je požadovaný levý kanál.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
908 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
909
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
910 <bridgehead>Příklad: kopírování čelních kanálů do zadních</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
911 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
912 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
913 reproduktorech kvadrofonní sestavy.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
914 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
915 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
916 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
917 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
918 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
919 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
920 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
921 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
922 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
923 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
924 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
925 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
926 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
927 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
928 Po zkombinování všech nastavení dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
929
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
930 <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
931
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 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
935
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
936
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
937 <sect3 id="advaudio-channels-mixing">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
938 <title>Mixování kanálů</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
939
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
940 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
941 Filtr <option>pan</option> umí mixovat kanály podle požadavků uživatele.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
942 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
943 jeho parametry ještě komplikovanější.
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 Rozhodněte, s kolika kanály budeme pracovat. To můžete nastavit pomocí volby
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
947 <option>-channels</option> a/nebo <option>-af channels</option>. Později se
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
948 v příkladech dozvíte, kdy použít kterou.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
949 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
950 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
951 Rozhodněte, kolik kanálů propustíme do <option>pan</option> (ostatní dekódované
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
952 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
953 výstup.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
954 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
955 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
956 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
957 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
958 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
959 uvnitř skupiny odpovídá vstupnímu kanálu. Číslo, které nastavíte bude procento
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
960 vstupního kanálu, které bude namixováno do výstupního kanálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
961 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
962 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
963 <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
964 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
965 ž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
966 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
967 za <option>pan</option> přidat <option>,volume</option> pro zapnutí omezení,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
968 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
969 aby omezování nebylo potřeba.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
970 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
971 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
972 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
973
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
974 <bridgehead>Příklad: jeden kanál do dvou reproduktorů</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
975
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
976 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
977 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
978 Následujme výše uvedené kroky:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
979 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
980 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
981 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
982 je "2".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
983 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
984 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
985 Jelikož máme dva vstupní kanály, budeme mít dvě sady parametrů.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
986 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
987 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
988 i pravého kanálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
989 Takže první sada parametrů je "1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
990 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
991 Hodnoty 0 na konci je možné vynechat, ale pro snadnější pochopení
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
992 je zde necháváme.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
993 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
994 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
995 Dáme-li vše dohromady, dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
996
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
997 <screen>mplayer <replaceable>soubor</replaceable> -af pan=2:1:1:0:0</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
998
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
999 Pokud chceme místo levého kanálu pravý, budou parametry
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1000 <option>pan</option> tyto: "2:0:0:1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1001 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1002
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1003
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1004 <bridgehead>Příklad: levý kanál ve dvou reproduktorech zkráceně</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1005
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1006 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1007 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
1008 funguje pouze pro levý kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1009
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1010 <screen>mplayer <replaceable>soubor</replaceable> -af pan=1:1</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1011
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1012 Jelikož má <option>pan</option> pouze jeden vstupní kanál (druhý je zahozen),
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1013 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
1014 100% sám ze sebe.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1015 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1016
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1017 <bridgehead>Příklad: podmixování 6-kanálového PCM</bridgehead>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1018 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1019 <application>MPlayer</application>ův dekodér 6-kanálového PCM neumí podmixování.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1020 Máme však možnost k tomu použít <option>pan</option>:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1021 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1022 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1023 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
1024 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1025 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1026 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
1027 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
1028 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
1029 vícekanálové zvukové soubory mají stejné řazení kanálů! Tento příklad
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1030 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
1031 <programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1032 0 - levý přední
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1033 1 - pravý přední
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1034 2 - levý zadní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1035 3 - pravý zadní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1036 4 - středový přední
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1037 5 - subwoofer
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1038 </programlisting>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1039 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
1040 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
1041 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
1042 Stejně tak zadní kanály: "1:0" a "0:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1043 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
1044 "0.5:0.5" a subwoofer jde do obou s plnou hlasitostí: "1:1".
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1045 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1046 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1047 Dáme-li vše dohromady, dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1048
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1049 <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
1050
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1051 Uvedené procentní hodnoty jsou pouhým příkladem. Upravte si je podle vlastního
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1052 uvážení.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1053 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1054
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1055 <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
1056
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1057 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1058 Pokud máte robustní čelní reprobedny, nemusíte utrácet za nákup subwooferu
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1059 pro kompletní 5.1 zvukový systém. Použijete-li volbu
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1060 <option>-channels 5</option> pro požadavek, aby liba52 dekódovala 5.1 zvuk
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1061 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
1062 roznést do ostatních kanálů, musíte jej podmixovat ručně pomocí
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1063 <option>pan</option>:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1064
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1065 <orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1066 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1067 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
1068 <option>-channels 6</option>, takže je liba52 dekóduje všechny.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1069 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1070 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1071 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
1072 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1073 <listitem><para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1074 Š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
1075 <itemizedlist spacing="compact">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1076 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1077 Levý přední kanál půjde jen sám do sebe:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1078 "1:0:0:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1079 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1080 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1081 Stejně tak pravý přední kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1082 "0:1:0:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1083 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1084 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1085 Taktéž levý zadní kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1086 "0:0:1:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1087 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1088 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1089 Rovněž pravý zadní kanál:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1090 "0:0:0:1:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1091 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1092 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1093 Středový kanál jakbysmet:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1094 "0:0:0:0:1"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1095 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1096 <listitem><simpara>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1097 A nyní se musíme rozhodnout, co uděláme se subwooferem,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1098 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
1099 "0.5:0.5:0:0:0"
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1100 </simpara></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1101 </itemizedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1102 </para></listitem>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1103 </orderedlist>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1104 Zkombinujeme-li to dohromady, dostaneme:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1105
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1106 <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
1107
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1108 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1109
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1110 </sect3>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1111
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1112 </sect2>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1113
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1114
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1115 <sect2 id="advaudio-volume">
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1116 <title>Softwarové nastavení hlasitosti</title>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1117
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1118 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1119 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
1120 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
1121 potřebné zesílení. Volba <option>-softvol</option> poručí
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1122 <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
1123 použít klávesy pro nastavení hlasitosti (výchozí <keycap>9</keycap> a
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1124 <keycap>0</keycap>) pro dosažení mnohem vyšších úrovní hlasitosti.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1125 Takto neobejdete směšovač vaší zvukové karty; <application>MPlayer</application>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1126 pouze zesílí signál před jeho odesláním do zvukové karty.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1127
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1128 Následující příklad je dobrým startem:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1129
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1130 <screen>mplayer <replaceable>tichý-soubor</replaceable> -softvol -softvol-max 300</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1131
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1132 Volba <option>-softvol-max</option> nastavuje maximální povolenou výstupní
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1133 hlasitost v procentech původní hlasitosti. Například,
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1134 <option>-softvol-max 200</option> umožní nastavit hlasitost až na dvojnásobek
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1135 původní úrovně.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1136 Je bezpečné nastavit vysoké hodnoty volbou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1137 <option>-softvol-max</option>; vyšší hlasitost se nepoužije, dokud nepoužijete
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1138 tlačítka nastavení hlasitosti. Jedinou nevýhodou velkých hodnot je to, že
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1139 jelikož <application>MPlayer</application> nastavuje hlasitost o podíl
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1140 z maximální hlasitosti, nebudete mít tak jemný krok nastavení pomocí tlačítek.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1141 Pokud potřebujete přesnější nastavování, použijte nižší hodnotu pro
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1142 <option>-softvol-max</option> a/nebo nastavte
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1143 <option>-volstep 1</option>.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1144 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1145
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1146 <para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1147 Volba <option>-softvol</option> pracuje tak, že ovládá zvukový filtr
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1148 <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
1149 hlasitosti, můžete nastavit <option>volume</option> ručně:
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1150
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1151 <screen>mplayer <replaceable>tichý-soubor</replaceable> -af volume=10</screen>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1152
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1153 Takto přehrajete soubor se ziskem 10 decibelů. Při použití filtru
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1154 <option>volume</option> buďte velmi opatrní. Pokud použijete příliš vysokou
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1155 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
1156 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
1157 hodnot také hrozí, že <option>volume</option> bude nucen ořezat signál, aby
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1158 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
1159 zkreslení signálu.
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1160 </para>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1161
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1162 </sect2>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1163
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1164 </sect1>
6251926b386a Synced with 1.34
jheryan
parents: 15676
diff changeset
1165
14351
848178a651dc Adding new files to czech translation.
jheryan
parents:
diff changeset
1166 </chapter>