annotate DOCS/xml/ru/usage.xml @ 19712:19d5f64ec950

r19715: fix some more mailman links
author voroshil
date Wed, 06 Sep 2006 15:28:41 +0000
parents d0d4d0d44039
children a9d072fde78f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
1 <?xml version="1.0" encoding="koi8-r"?>
19712
19d5f64ec950 r19715: fix some more mailman links
voroshil
parents: 19705
diff changeset
2 <!-- synced with r19715 -->
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
3 <chapter id="usage">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
4 <title>Использование</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
5
8d2a004857ba New translated file.
lumag
parents:
diff changeset
6 <sect1 id="commandline">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
7 <title>Командная строка</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
8
8d2a004857ba New translated file.
lumag
parents:
diff changeset
9 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
10 <application>MPlayer</application> использует составное дерево проигрывания.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
11 Оно состоит из глобальных опций, идущих первыми, например
8d2a004857ba New translated file.
lumag
parents:
diff changeset
12
8d2a004857ba New translated file.
lumag
parents:
diff changeset
13 <screen>mplayer -vfm 5</screen>,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
14
8d2a004857ba New translated file.
lumag
parents:
diff changeset
15 и опций, идущих после имени файла, которые применяются только к данному
8d2a004857ba New translated file.
lumag
parents:
diff changeset
16 файлу/URL/и т.п., например:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
17
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
18 <screen>mplayer -vfm 5 <replaceable>movie1.avi</replaceable> <replaceable>movie2.avi</replaceable> -vfm 4</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
19 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
20
8d2a004857ba New translated file.
lumag
parents:
diff changeset
21 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
22 Вы можете группировать файлы/URL'ы вместе, используя <literal>{</literal> и
8d2a004857ba New translated file.
lumag
parents:
diff changeset
23 <literal>}</literal>. Это полезно, например, с опцией <option>-loop</option>:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
24
8d2a004857ba New translated file.
lumag
parents:
diff changeset
25 <screen>mplayer { 1.avi -loop 2 2.avi } -loop 3</screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
26
8d2a004857ba New translated file.
lumag
parents:
diff changeset
27 Эта команда проиграет файлы в таком порядке: 1, 1, 2, 1, 1, 2, 1, 1, 2.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
28 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
29
8d2a004857ba New translated file.
lumag
parents:
diff changeset
30 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
31 Воспроизведение файла:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
32 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
33 <command>mplayer</command><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
34 --> [<replaceable>опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
35 --> [<replaceable>путь</replaceable>/]<replaceable>имя_файла</replaceable>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
36 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
37 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
38
8d2a004857ba New translated file.
lumag
parents:
diff changeset
39 <para>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
40 Другой способ:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
41 <synopsis>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
42 <command>mplayer</command><!--
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
43 --> [<replaceable>опции</replaceable>]<!--
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
44 --> <replaceable>file:///uri-escaped-path</replaceable>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
45 </synopsis>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
46 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
47
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
48 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
49 Воспроизведение множества файлов:
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
50 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
51 <command>mplayer</command><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
52 --> [<replaceable>общие опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
53 --> [<replaceable>путь</replaceable>/]<replaceable>имя_файла1</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
54 --> [<replaceable>опции для имя_файла1</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
55 --> <replaceable>имя_файла2</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
56 --> [<replaceable>опции для имя_файла2</replaceable>] ...
8d2a004857ba New translated file.
lumag
parents:
diff changeset
57 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
58 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
59
8d2a004857ba New translated file.
lumag
parents:
diff changeset
60 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
61 Воспроизведение VCD:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
62 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
63 <command>mplayer</command> [<replaceable>опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
64 --> vcd://<replaceable>номер_дорожки</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
65 --> [-cdrom-device <replaceable>/dev/cdrom</replaceable>]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
66 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
67 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
68
8d2a004857ba New translated file.
lumag
parents:
diff changeset
69 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
70 Воспроизведение DVD:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
71 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
72 <command>mplayer</command> [<replaceable>опции</replaceable>]<!--
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
73 --> dvd://<replaceable>номер_ролика</replaceable><!--
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
74 --> [-dvd-device <replaceable>/dev/dvd</replaceable>]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
75 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
76 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
77
8d2a004857ba New translated file.
lumag
parents:
diff changeset
78 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
79 Воспроизведение из WWW:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
80 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
81 <command>mplayer</command> [<replaceable>опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
82 --> http://<replaceable>site.com/file.asf</replaceable>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
83 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
84 (так же можно использовать и списки проигрывания (плейлист[playlist]) )
8d2a004857ba New translated file.
lumag
parents:
diff changeset
85 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
86
8d2a004857ba New translated file.
lumag
parents:
diff changeset
87 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
88 Воспроизведение по RTSP:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
89 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
90 <command>mplayer</command> [<replaceable>опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
91 --> rtsp://<replaceable>server.example.com/streamName</replaceable>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
92 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
93 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
94
8d2a004857ba New translated file.
lumag
parents:
diff changeset
95 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
96 Примеры:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
97 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
98 mplayer -vo x11 <replaceable>/mnt/Films/Contact/contact2.mpg</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
99 mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
100 mplayer -afm 3 <replaceable>/mnt/DVDtrailers/alien4.vob</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
101 mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
102 mplayer -abs 65536 -delay -0.4 -nobps <replaceable>~/movies/test.avi</replaceable><!--
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
103 --></screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
104 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
105 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
106
8d2a004857ba New translated file.
lumag
parents:
diff changeset
107
8d2a004857ba New translated file.
lumag
parents:
diff changeset
108 <sect1 id="control">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
109 <title>Управление</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
110
8d2a004857ba New translated file.
lumag
parents:
diff changeset
111 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
112 <application>MPlayer</application> использует полностью конфигурируемый,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
113 основанный на понятии команды, уровень управления, позволяющий манипулировать
8d2a004857ba New translated file.
lumag
parents:
diff changeset
114 <application>MPlayer</application>'ом с клавиатуры, мышью, джойстиком или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
115 с пульта дистанционного управления (используя LIRC). Полный список кнопок
8d2a004857ba New translated file.
lumag
parents:
diff changeset
116 для управления с клавиатуры см. на man-странице.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
117 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
118
8d2a004857ba New translated file.
lumag
parents:
diff changeset
119
8d2a004857ba New translated file.
lumag
parents:
diff changeset
120 <sect2 id="ctrl-cfg">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
121 <title>Конфигурация управления</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
122
8d2a004857ba New translated file.
lumag
parents:
diff changeset
123 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
124 <application>MPlayer</application> позволяет повесить любую MPlayer'овскую
8d2a004857ba New translated file.
lumag
parents:
diff changeset
125 команду на любую кнопку, используя простой конфигурационный файл. Синтаксис
8d2a004857ba New translated file.
lumag
parents:
diff changeset
126 файла состоит из имени кнопки, сопровождающегося командой. По умолчанию
8d2a004857ba New translated file.
lumag
parents:
diff changeset
127 конфигурационный файл находится в <filename>$HOME/.mplayer/input.conf</filename>,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
128 но это можно изменить, указав опцию
8d2a004857ba New translated file.
lumag
parents:
diff changeset
129 <option>-input <replaceable>conf</replaceable></option>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
130 (относительный путь указывается относительно <filename>$HOME/.mplayer</filename>).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
131 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
132
8d2a004857ba New translated file.
lumag
parents:
diff changeset
133 <example>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
134 <title>Простой файл конфигурации ввода</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
135 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
136 ##
8d2a004857ba New translated file.
lumag
parents:
diff changeset
137 ## MPlayer input control file
8d2a004857ba New translated file.
lumag
parents:
diff changeset
138 ##
8d2a004857ba New translated file.
lumag
parents:
diff changeset
139
8d2a004857ba New translated file.
lumag
parents:
diff changeset
140 RIGHT seek +10
8d2a004857ba New translated file.
lumag
parents:
diff changeset
141 LEFT seek -10
8d2a004857ba New translated file.
lumag
parents:
diff changeset
142 - audio_delay 0.100
8d2a004857ba New translated file.
lumag
parents:
diff changeset
143 + audio_delay -0.100
8d2a004857ba New translated file.
lumag
parents:
diff changeset
144 q quit
8d2a004857ba New translated file.
lumag
parents:
diff changeset
145 &gt; pt_step 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
146 &lt; pt_step -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
147 ENTER pt_step 1 1<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
148 --></programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
149 </example>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
150
8d2a004857ba New translated file.
lumag
parents:
diff changeset
151 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
152
8d2a004857ba New translated file.
lumag
parents:
diff changeset
153
8d2a004857ba New translated file.
lumag
parents:
diff changeset
154 <sect2 id="lirc">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
155 <title>Управление через LIRC</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
156
8d2a004857ba New translated file.
lumag
parents:
diff changeset
157 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
158 Linux Infrared Remote Control[Инфракрасное Удалённое Управление Linux'ом]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
159 &mdash; используйте легко собираемый в домашних условиях IR-приёмник, (почти)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
160 любой пульт управления и управляйте с их помощью Вашей Linux машиной.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
161 Подробности на <ulink url="http://www.lirc.org">www.lirc.org</ulink>.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
162 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
163
8d2a004857ba New translated file.
lumag
parents:
diff changeset
164 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
165 Если у Вас установлен ракет lirc, configure само его обнаружит. Если Всё прошло
8d2a004857ba New translated file.
lumag
parents:
diff changeset
166 хорошо, <application>MPlayer</application> при старте напечатает сообщение,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
167 похожее на "<computeroutput>Setting up lirc support...</computeroutput>".
8d2a004857ba New translated file.
lumag
parents:
diff changeset
168 Если произошла ошибка, он Вам сообщит. Если он не говорит ничего про LIRC,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
169 то поддержка LIRC не была скомпилирована. Вот так :-)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
170 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
171
8d2a004857ba New translated file.
lumag
parents:
diff changeset
172 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
173 Имя приложения для <application>MPlayer</application> &mdash; угадайте &mdash;
8d2a004857ba New translated file.
lumag
parents:
diff changeset
174 <filename>mplayer</filename>. Вы можете использовать все команды mplayer'а и
8d2a004857ba New translated file.
lumag
parents:
diff changeset
175 даже можете использовать более одной команды, разделив их символами
8d2a004857ba New translated file.
lumag
parents:
diff changeset
176 <literal>\n</literal>. Не забудьте включить флаг repeat[повтор] в
8d2a004857ba New translated file.
lumag
parents:
diff changeset
177 <filename>.lircrc</filename>, когда это имеет смысл (перемещение, громкость
8d2a004857ba New translated file.
lumag
parents:
diff changeset
178 и т.п.). Вот выдержка из моего <filename>.lircrc</filename>:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
179 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
180
8d2a004857ba New translated file.
lumag
parents:
diff changeset
181 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
182 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
183 button = VOLUME_PLUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
184 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
185 config = volume 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
186 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
187 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
188
8d2a004857ba New translated file.
lumag
parents:
diff changeset
189 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
190 button = VOLUME_MINUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
191 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
192 config = volume -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
193 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
194 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
195
8d2a004857ba New translated file.
lumag
parents:
diff changeset
196 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
197 button = CD_PLAY
8d2a004857ba New translated file.
lumag
parents:
diff changeset
198 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
199 config = pause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
200 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
201
8d2a004857ba New translated file.
lumag
parents:
diff changeset
202 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
203 button = CD_STOP
8d2a004857ba New translated file.
lumag
parents:
diff changeset
204 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
205 config = seek 0 1\npause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
206 end<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
207 --></programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
208
8d2a004857ba New translated file.
lumag
parents:
diff changeset
209 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
210 Если Вам не нравится стандартное место Вашего конфигурационного файла lirc
8d2a004857ba New translated file.
lumag
parents:
diff changeset
211 (<filename>~/.lircrc</filename>), используйте опцию <option>-lircconf
8d2a004857ba New translated file.
lumag
parents:
diff changeset
212 <replaceable>filename</replaceable></option>, чтобы указать другой файл.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
213 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
214 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
215
8d2a004857ba New translated file.
lumag
parents:
diff changeset
216
8d2a004857ba New translated file.
lumag
parents:
diff changeset
217 <sect2 id="slave-mode">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
218 <title>Подчинённый (&quot;рабский&quot;) режим</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
219 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
220 Наличие подчинённого режима позволяет Вам создавать простые приложения к
8d2a004857ba New translated file.
lumag
parents:
diff changeset
221 <application>MPlayer</application>'у. Когда режим включён (опцией
8d2a004857ba New translated file.
lumag
parents:
diff changeset
222 <option>-slave</option>), <application>MPlayer</application> читает со
8d2a004857ba New translated file.
lumag
parents:
diff changeset
223 стандартного входа команды, разделяемые символом конца строки (\n).
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
224 Команды документированы в файле
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
225 <ulink url="../../tech/slave.txt">slave.txt</ulink>.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
226 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
227 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
228 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
229
8d2a004857ba New translated file.
lumag
parents:
diff changeset
230
8d2a004857ba New translated file.
lumag
parents:
diff changeset
231 <sect1 id="streaming">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
232 <title>Сетевые потоки и каналы</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
233
8d2a004857ba New translated file.
lumag
parents:
diff changeset
234 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
235 <application>MPlayer</application> может проигрывать файлы по сети, используя
8d2a004857ba New translated file.
lumag
parents:
diff changeset
236 HTTP, FTP, MMS или RTSP/RTP протокол.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
237 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
238
8d2a004857ba New translated file.
lumag
parents:
diff changeset
239 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
240 Проигрывание включается добавлением URL'а в командную строку.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
241 Также, <application>MPlayer</application> учитывает переменную среды
8d2a004857ba New translated file.
lumag
parents:
diff changeset
242 <envar>http_proxy</envar> и использует прокси[proxy], если это возможно.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
243 Также можно заставить использовать прокси:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
244 <screen>mplayer <replaceable>http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</replaceable></screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
245 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
246
8d2a004857ba New translated file.
lumag
parents:
diff changeset
247 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
248 <application>MPlayer</application> может считывать данные со стандартного входа
8d2a004857ba New translated file.
lumag
parents:
diff changeset
249 (а <emphasis>не</emphasis> из поименованных каналов). Это может, например,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
250 использоваться при проигрывании файлов по FTP:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
251 <screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
252 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
253
8d2a004857ba New translated file.
lumag
parents:
diff changeset
254 <note><para>
11148
lumag
parents: 11058
diff changeset
255 Мы рекомендуем включать <option>-cache</option> при проигрывании из сети:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
256 <screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -cache 8192 -</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
257 </para></note>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
258
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
259 <sect2 id="streaming-save">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
260 <title>Сохранение потоковых данных</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
261 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
262 Как только вам удалось воспроизвести любимый интернет-поток, вы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
263 можете воспользоваться опцией <option>-dumpstream</option>, чтобы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
264 сохранить его в файл.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
265 For example:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
266 <screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
267 mplayer <replaceable>http://217.71.208.37:8006</replaceable> -dumpstream -dumpfile <replaceable>stream.asf</replaceable>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
268 </screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
269 сохранит данные из потока
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
270 <replaceable>http://217.71.208.37:8006</replaceable> в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
271 <replaceable>stream.asf</replaceable>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
272 Это работает для всех протоколов, поддерживаемых
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
273 <application>MPlayer</application>, таких как MMS, RSTP, и других.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
274 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
275 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
276
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
277 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
278
8d2a004857ba New translated file.
lumag
parents:
diff changeset
279 <sect1 id="mpst" xreflabel="Удалённые потоки">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
280 <title>Удалённые потоки</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
281
8d2a004857ba New translated file.
lumag
parents:
diff changeset
282 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
283 Удалённые потоки позволяют получить доступ к большинству поддерживаемых
8d2a004857ba New translated file.
lumag
parents:
diff changeset
284 <application>MPlayer</application>'ом типам потоков с удалённой машины.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
285 Основное предназначение этой возможности &mdash; это прямой доступ
8d2a004857ba New translated file.
lumag
parents:
diff changeset
286 к CD или DVD приводу другого компьютера по сети (предполагается, что пропускной
8d2a004857ba New translated file.
lumag
parents:
diff changeset
287 способности сети будет достаточно). С другой стороны, некоторые типы потоков
8d2a004857ba New translated file.
lumag
parents:
diff changeset
288 (в настоящий момент это TV и MF) не могут использоваться удалённо, поскольку
8d2a004857ba New translated file.
lumag
parents:
diff changeset
289 они выполнены на уровне демуксера. Это печально для MF, а вот TV всё равно
8d2a004857ba New translated file.
lumag
parents:
diff changeset
290 потребовал бы ужасной пропускной способности сети.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
291 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
292
8d2a004857ba New translated file.
lumag
parents:
diff changeset
293 <sect2 id="compile_mpst_server">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
294 <title>Компиляция сервера</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
295 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
296 После компиляции <application>MPlayer</application>'а, перейдите в каталог
8d2a004857ba New translated file.
lumag
parents:
diff changeset
297 <filename>TOOLS/netstream</filename> и выполните
8d2a004857ba New translated file.
lumag
parents:
diff changeset
298 <application>make</application>, чтобы собрать сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
299 Затем Вы можете скопировать файл <application>netstream</application>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
300 в нужное место Вашей системы (обычно это
8d2a004857ba New translated file.
lumag
parents:
diff changeset
301 <filename class="directory">/usr/local/bin</filename> на Linux).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
302 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
303 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
304
8d2a004857ba New translated file.
lumag
parents:
diff changeset
305 <sect2 id="use_mpst">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
306 <title>Использование удалённых потоков</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
307 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
308 Сначала Вы должны запустить сервер на машине, к которой Вы хотите получить
8d2a004857ba New translated file.
lumag
parents:
diff changeset
309 удалённый доступ. В настоящий момент сервер чрезвычайно прост и не использует
8d2a004857ba New translated file.
lumag
parents:
diff changeset
310 никаких аргументов командной строки, поэтому просто запускайте
8d2a004857ba New translated file.
lumag
parents:
diff changeset
311 <filename>netstream</filename>. Теперь, например, Вы можете проиграть
8d2a004857ba New translated file.
lumag
parents:
diff changeset
312 вторую дорожку VCD'шника на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
313 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
314 mplayer -cache 5000 <replaceable>mpst://servername/vcd://2</replaceable>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
315 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
316 Вы можете получить доступ к файлам на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
317 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
318 mplayer -cache 5000 <replaceable>mpst://servername//usr/local/movies/lol.avi</replaceable>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
319 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
320 Обратите внимание, что пути не начинающиеся с / будут относительными к каталогу,
11148
lumag
parents: 11058
diff changeset
321 в котором запущен сервер. Использование <option>-cache</option> не требуется,
lumag
parents: 11058
diff changeset
322 но это будет очень полезно.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
323 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
324
8d2a004857ba New translated file.
lumag
parents:
diff changeset
325 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
326 Обратите внимание, что в настоящий момент сервер вообще не является безопасным.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
327 поэтому, не сообщайте о многочисленных эксплоитах[exploit], которые его
8d2a004857ba New translated file.
lumag
parents:
diff changeset
328 используют. Лучше пришлите несколько (хороших) патчей, чтобы сделать его лучше,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
329 или начните писать свой сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
330 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
331
8d2a004857ba New translated file.
lumag
parents:
diff changeset
332 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
333
8d2a004857ba New translated file.
lumag
parents:
diff changeset
334 </sect1>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
335
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
336 <sect1 id="edl" xreflabel="Редактируемые списки решений [Edit Decision Lists] (EDL)">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
337 <title>Редактируемые списки решений [Edit Decision Lists] (EDL)</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
338
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
339 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
340 Система редактируемых списков решений [edit decision list] (EDL) позволяет Вам
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
341 автоматически пропускать или заглушать части при воспроизведении, основываясь
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
342 на специфичном для каждого фильма конфигурационном файле.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
343 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
344
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
345 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
346 Это полезно для тех, кто может захотеть посмотреть фильм в "семейном" режиме.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
347 Вы можете исключить любые проявления насилия, ненормативной лексики,
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
348 Jar-Jar Binks, и т. п. из фильмов, сообразуясь с Вашими личными предпочтениями.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
349 Помимо этого, существуют другие применения, например автоматический пропуск рекламы
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
350 при просмотре фильмов.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
351 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
352
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
353 <para>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
354 Формат EDL файлов пока элементарен. в каждой строке находится одна команда, которая
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
355 указывает, что делать (пропустить/выключить звук) и когда (используя pts в секундах).
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
356 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
357
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
358 <sect2 id="edl_using">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
359 <title>Использование EDL файлов</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
360
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
361 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
362 Включите опцию <option>-edl &lt;имя_файла&gt;</option>, когда Вы запускаете
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
363 <application>MPlayer</application>, с именем EDL файла, который Вы хотите
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
364 использовать с видео.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
365 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
366 </sect2>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
367
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
368 <sect2 id="edl_making">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
369 <title>Создание EDL файлов</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
370 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
371 Текущий формат файлов EDL:
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
372 <programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
373 [начальная секунда] [конечная секунда] [действие]
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
374 </programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
375 Где секунды - это числа с плавающей точкой (вещественные числа), а действие -
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
376 это или <literal>0</literal> для пропуска или <literal>1</literal> для
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
377 заглушения звука. Пример:
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
378 <programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
379 5.3 7.1 0
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
380 15 16.7 1
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
381 420 422 0
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
382 </programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
383 Это вызовет пропуск видео с 5.3 секунды до 7.1 секунды, затем заглушит звук
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
384 на 15 секунде, включит обратно в 16.7 секунд и пропустит видео с 420 по 422
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
385 секунды. Эти действия будут происходить, когда таймер проигрывания достигнет
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
386 указанных в файле значений.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
387 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
388
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
389 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
390 Чтобы начать создать EDL файл, используйте опцию <option>-edlout
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
391 &lt;filename&gt;</option>. При проигрывании, когда Вы хотите отметить
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
392 предыдущие две секунды для пропуска, нажмите <keycap>i</keycap>.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
393 Соответствующая запись для этого времени будет добавлена в файл. Затем Вы
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
394 можете вернуться и подстроить сгенерированный EDL файл также как и
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
395 поправить действие по-умолчанию (пропуск блока, указанного в строке).
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
396 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
397 </sect2>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
398
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
399 </sect1>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
400 <sect1 id="advaudio" xreflabel="Advanced Audio">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
401 <title>Расширенные возможности аудио</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
402
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
403 <sect2 id="advaudio-surround">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
404 <title>Окружающее/Многоканальное[Surround/Multichannel] воспроизведение</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
405
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
406 <sect3 id="advaudio-surround-DVD">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
407 <title>DVD'шники</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
408 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
409 Большинство DVD и многие другие файлы содержат окружающий звук.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
410 <application>MPlayer</application> поддерживает воспроизведение такого звука, но
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
411 не задействует его по-умолчанию, поскольку стерео оборудование более распространено.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
412 Для воспроизведения файла с более чем двумя каналами звука, используйте опцию
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
413 <option>-channels</option>. Например, для воспроизведения DVD со звуком 5.1:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
414 <screen>mplayer dvd://1 -channels 6</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
415
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
416 Имейте ввиду, что несмотря на название "5.1" на самом деле присутствует
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
417 шесть независимых каналов. Если у вас есть соответствующее оборудование, вы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
418 спокойно можете добавить опцию <option>channels</option> в конфигурационный
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
419 файл <filename>~/.mplayer/config</filename> <application>MPlayer</application>'а.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
420 Например, для установки по умолчанию квадрофонического[quadraphonic] вопроизведения, добавьте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
421 такую строку:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
422 <programlisting>channels=4</programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
423
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
424 <application>MPlayer</application> будет выводить четырехканальный звук, если все четыре
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
425 есть в проигрываемом файле.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
426 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
427 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
428
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
429
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
430 <sect3 id="advaudio-surround-stereoinfour">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
431 <title>Воспроизведение стерео звука на четырех колонках</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
432
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
433 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
434 По-умолчанию, <application>MPlayer</application> не дублирует никакие каналы, как и
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
435 большинство звуковых драйверов. Если вы хотите, сделайте это самостоятельно:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
436
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
437 <screen>mplayer <replaceable>filename</replaceable> -af channels=2:2:0:1:0:0</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
438
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
439 Объяснения ищите в разделе
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
440 <link linkend="advaudio-channels-copying">копирование каналов</link>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
441 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
442
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
443 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
444
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
445
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
446 <sect3 id="advaudio-surround-passthrough">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
447 <title>Передача AC3/DTS</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
448
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
449 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
450 DVD, как правило, имеют окружающий звук, кодированный в AC3 (Dolby Digital) или DTS
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
451 (Digital Theater System[система цифрового кинотеатра]) формате. Некоторое
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
452 современное аудио оборудование способно самостоятельно декодировать эти форматы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
453 <application>MPlayer</application> может быть сконфигурирован, чтобы передавать
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
454 данные без их декодирования. Это работает только для наличие в вашей звуковой карте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
455 разъема S/PDIF (Sony/Philips Digital Interface[цифровой интерфейс Sony/Philips]).
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
456 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
457
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
458 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
459 Если ваше оборудование может вукодировать и AC3, и DTS, выможете спокойно
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
460 задействовать передачу для обоих форматов. В противном случае включайте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
461 передачу только того формата, который поддерживается оборудованием.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
462 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
463
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
464 <itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
465 <title>Чтобы включить передачу из командной строки:</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
466 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
467 для только AC3, используйте <option>-ac hwac3</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
468 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
469 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
470 для только DTS, используйте <option>-ac hwdts</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
471 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
472 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
473 для AC3 и DTS, используйте <option>-afm hwac3</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
474 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
475 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
476
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
477 <itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
478 <title>Чтобы включить передачу в файле настроек <application>MPlayer</application>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
479 </title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
480 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
481 для только AC3: <option>ac=hwac3,</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
482 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
483 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
484 для только DTS: <option>ac=hwdts,</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
485 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
486 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
487 для AC3 и DTS: <option>afm=hwac3</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
488 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
489 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
490
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
491 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
492 Заметьте, что в конце <option>ac=hwac3,</option> и <option>ac=hwdts,</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
493 присутствует запятая (","). В этом случае
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
494 <application>MPlayer</application> вернется к кодеку, который он обычно использует,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
495 при воспроизведении файла, не содержащего звука AC3 или DTS.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
496 <option>afm=hwac3</option> запятой не требует;
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
497 Когда указано семейство аудио, <application>MPlayer</application> вернется к нужному кодеку так
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
498 или иначе.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
499 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
500
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
501 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
502
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
503 <sect3 id="hwmpa-surround-passthrough">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
504 <title>Передача MPEG аудио</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
505
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
506 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
507 Передатчики цифрового ТВ (такие как DVB и ATSC) и некоторые DVD, обычно имеют
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
508 аудио потоки MPEG (в частности MP2). Некоторые аппаратные MPEG декодеры, такие как
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
509 полнофункциональные DVB карты и DXR2 адаптеры имеют встроенную возможность
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
510 декодирования этого формата.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
511 <application>MPlayer</application> может быть настроен для передачи аудио данных
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
512 без из декодирования.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
513 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
514
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
515 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
516 Для использования этого кодека:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
517 <screen> mplayer -ac hwmpa </screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
518 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
519 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
520
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
521 <sect3 id="advaudio-surround-matrix">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
522 <title>Matrix-кодированное[matrix-encoded] аудио</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
523
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
524 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
525 <emphasis>***TODO***</emphasis>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
526 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
527 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
528 Этот раздел пока не написан, и не может быть завершен, пока кто-нибудь не
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
529 предоставить нам образцы файлов для тестирования. Если у вас есть
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
530 matrix-кодированные файлы, знаете где их можно достать или имеете информацию,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
531 которая может быть полезна, отошлите сообщение в рассылку
19712
19d5f64ec950 r19715: fix some more mailman links
voroshil
parents: 19705
diff changeset
532 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-DOCS</ulink>.
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
533 Укажите в теме письма [matrix-encoded audio].
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
534 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
535 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
536 Если не появятся файлы или какая-нибудь информация, этот раздел будет удален.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
537 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
538
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
539 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
540 Полезные ссылки:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
541 <itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
542 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
543 <ulink url="http://electronics.howstuffworks.com/surround-sound5.htm">http://electronics.howstuffworks.com/surround-sound5.htm</ulink>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
544 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
545 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
546 <ulink url="http://www.extremetech.com/article2/0,1697,1016875,00.asp">http://www.extremetech.com/article2/0,1697,1016875,00.asp</ulink>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
547 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
548 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
549 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
550
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
551 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
552
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
553
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
554 <sect3 id="advaudio-surround-hrtf">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
555 <title>Эмуляция окружающего звука в наушниках</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
556
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
557 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
558 <application>MPlayer</application> содержит плагин HRTF (Head Related Transfer
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
559 Function), основанный на
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
560 <ulink url="http://sound.media.mit.edu/KEMAR.html">проекте MIT</ulink>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
561 откуда взяты измерения от микрофонов, вмонтированных в макет человеческой головы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
562 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
563
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
564 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
565 Хотя точная имитация системы окружающего звука[surround system] невозможна,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
566 <application>MPlayer</application>'овский плагин HRTF
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
567 <!-- FIXME need bette rtranslation
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
568 does provide more spatially immersive audio in 2-channel headphones
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
569 -->
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
570 производит более пространственный окружающий звук
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
571 на 2-х канальных наушниках. Обичное сведение, просто объединяет канали в два;
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
572 кроме объединения каналов, <option>hrtf</option> создает хитрое эхо, слегка
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
573 увеличивает разделение стерео, и меняет громкость некоторых частот.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
574 Лучше ли звучит HRTF, зависеть от исходного звука, и является делом
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
575 личного вкуса, но его определенного стоит попробовать.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
576 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
577
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
578 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
579 Для воспроизведения DVD с HRTF:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
580
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
581 <screen>mplayer dvd://1 -channels 6 -af hrtf</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
582
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
583 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
584
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
585 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
586 <option>hrtf</option> работает хорошо тоько с 5-ю или 6-ю каналами. Также,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
587 <option>hrtf</option> тербуется 48 kHz звук. DVD аудио уже kHz, но если у вас есть
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
588 файл, который вы хотите воспроизвести при помощи <option>hrtf</option> , с другой
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
589 частотой сэмплирования, необходимо его ресэмплировать[resample]:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
590
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
591 <screen>mplayer <replaceable>filename</replaceable> -channels 6 -af resample=48000,hrtf</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
592
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
593 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
594
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
595 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
596
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
597
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
598 <sect3 id="advaudio-surround-troubleshooting">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
599 <title>Решение проблем</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
600
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
601 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
602 Если вы ничего не слышите при использовании окружающего звука, проверьте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
603 настройки вашего микшера при помощи такой как <application>alsamixer</application>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
604 программы; очень часто по-умолчанию выходной звук выключен или его уровень
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
605 установлен в ноль.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
606 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
607
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
608 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
609
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
610 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
611
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
612
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
613 <sect2 id="advaudio-channels">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
614 <title>Манипуляции с каналами</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
615
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
616 <sect3 id="advaudio-channels-general">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
617 <title>Общая информация</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
618
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
619 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
620 К сожалению, нет стандарта, описывающего порядок следования каналов. Порядки, указанные ниже,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
621 таковые из AC3 и довольно типичны; попробуйте их и увидите совпадают ли они с вашим источником.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
622 Каналы нумеруются с нуля.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
623
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
624 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
625 <title>mono[моно]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
626 <listitem override="0"><simpara>center[центральный]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
627 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
628
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
629 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
630 <title>stereo[стерео]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
631 <listitem override="0"><simpara>left[левый]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
632 <listitem><simpara>right[правый]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
633 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
634
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
635 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
636 <title>quadraphonic[квадрофонический]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
637 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
638 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
639 <listitem><simpara>left rear[левый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
640 <listitem><simpara>right rear[правый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
641 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
642
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
643 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
644 <title>surround 4.0[окружение 4.0]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
645 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
646 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
647 <listitem><simpara>center rear[центральный задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
648 <listitem><simpara>center front[центральный передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
649 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
650
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
651 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
652 <title>surround 5.0[]окружение 5.0</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
653 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
654 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
655 <listitem><simpara>left rear[левый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
656 <listitem><simpara>right rear[правый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
657 <listitem><simpara>center front[центральный передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
658 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
659
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
660 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
661 <title>surround 5.1[окружение 5.1]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
662 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
663 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
664 <listitem><simpara>left rear[левый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
665 <listitem><simpara>right rear[правый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
666 <listitem><simpara>center front[центральный передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
667 <listitem><simpara>subwoofer[сабвуфер]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
668 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
669
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
670 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
671
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
672 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
673 Опция <option>-channels</option> используется для запроса количества каналов у
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
674 аудио декодера. Некоторые аудио кодеки используют указанное количество каналов
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
675 для определения необходимо ли сведение каналов. Заметьте, что это не всегда
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
676 отражается на количестве выходных каналов. Например, используя
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
677 <option>-channels 4</option> для проигрывания стерео MP3 файла будет по-прежнему
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
678 выводить звук на два канала, поскольку MP3 кодек не создает дополнительных каналов.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
679 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
680
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
681 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
682 Аудио плагин <option>channels</option> может использоваться для создания или
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
683 удаления каналов, и полезен для управления количеством каналов, отсылаемых на
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
684 звуковую карту. Смотрите следующие разделы для получения информации о манипуляции
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
685 каналами.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
686 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
687
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
688 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
689
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
690
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
691 <sect3 id="advaudio-channels-mono">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
692 <title>Воспроизведение моно на двух колонках</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
693
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
694 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
695 Моно звук намного лучше звучит, при воспроизведении на двух колонках - особенно
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
696 при использовании наушников. Аудиофайлы, реально имеющие один канал, автоматически
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
697 проигрываются через две колонки; к сожалению, множество файлов с моно звуком
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
698 кодированы как стерео с тишиной в одном из каналов. Простейший и безопасный
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
699 способ вопроизведения одинакового звука на обеих колонках состоит в использовании
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
700 плагина <option>extrastereo</option>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
701
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
702 <screen>mplayer <replaceable>filename</replaceable> -af extrastereo=0</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
703
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
704 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
706 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
707 Он усредняет оба канала, делая каждый в два раза тише изначального.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
708 В следующих разделах приводятся другие способы сделать то же самое
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
709 без уменьшения громкости, но они сложнееи требуют указания различных опций
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
710 в зависимоти от того, какой канал остается. Если вам действительно требуется
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
711 управлять громкостью, бутет проще пожкспериментировать с плагином
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
712 <option>volume</option> и определить верное значение. Например:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
713
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
714 <screen>mplayer <replaceable>filename</replaceable> -af extrastereo=0,volume=5</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
715
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
716 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
717
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
718 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
719
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
720
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
721 <sect3 id="advaudio-channels-copying">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
722 <title>Копирование/перемещение каналов</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
723
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
724 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
725 Плагин <option>channels</option> может переместить любой или все каналы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
726 Установка всех подопций плагина <option>channels</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
727 не так проста и требует определенной аккуратности.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
728
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
729 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
730 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
731 Определитесь, сколько выходных каналов вам необходимо. Это первая подопция.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
732 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
733 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
734 Посчитайте количество перемещаемых каналов. Это вторая подопция.Каждый канал может быть
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
735 перемещен в несколько отличных каналов одновременно, но учтите, что исходный канал
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
736 (даже при меремещении в одно место) будет пуст, пока в него не переместится
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
737 какой-либо другой. Для копирования канала, оставляя исходный неизменным, просто
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
738 переместите канал одновременно в требуемый и исходный. Например:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
739 <programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
740 канал 2 --> канал 3
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
741 канал 2 --> канал 2
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
742 </programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
743 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
744 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
745 Запишите копии каналов в виде пары подопций. Заметьте, что первый канал - это 0,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
746 второй - 1 и т.д. Порядок следования значений не имеет, пока они правильно сгрупиированы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
747 в пары <replaceable>исходный:результирующий</replaceable>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
748 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
749 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
750
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
751 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
752
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
753
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
754 <bridgehead>Пример: один канал на две колонки</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
755
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
756 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
757 Это пример другого способа воспроизвести один канал на обе колонки.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
758 В нем предполагается, что левый канал должен воспроизводиться, а правый надо отбросить.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
759 Выполняем шаги, описанные выше:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
760 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
761 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
762 Для создания по каналу на каждую из колонок, первая подопция должна быть 2.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
763 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
764 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
765 Левый канал надо переместить на правый и на себя, чтобы он не оставался пуст.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
766 Всего два перемещения, делаем вторую подопцию тоже равной "2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
767 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
768 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
769 Для перемещения левого канала (канал 0) в правый (канал 1) пара подопций имеет вид "0:1",
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
770 "0:0" перемещает левый канал на себя.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
771 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
772 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
773 Собираем все вместе:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
774
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
775 <screen>mplayer <replaceable>filename</replaceable> -af channels=2:2:0:1:0:0</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
776 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
777
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
778 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
779 Преимущество этого примере перед <option>extrastereo</option> состоит в том,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
780 что громкость каждого канала такая же как у исходного. Недостаток заключается в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
781 необходимости изменить подопции на "2:2:1:0:1:1", если желаемый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
782 канал - правый. К тому же его труднее запомнить и набрать.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
783 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
784
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
785 <bridgehead>Пример: левый канал на две колонки (сокращение)</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
786
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
787 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
788 На самом деле есть более простой способ использования плагина
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
789 <option>channels</option> для воспроизведения левого канала на обеих колонках:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
790
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
791 <screen>mplayer <replaceable>filename</replaceable> -af channels=1</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
792
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
793 Второй канал отбрасывается и, при отсутствии других подопций, остается
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
794 единственным. Драйвер звуковой карты автоматически воспроизводит одноканальный
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
795 звук на обеих колонках. Но это сработает только если желаемый канал - левый.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
796 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
797
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
798 <bridgehead>Пример: дублирование передних каналов на задние</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
799 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
800 Другая обычная операция - это дублирование передних каналов и воспроизведение
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
801 их на задних колонках при квадрофонической настройке.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
802 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
803 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
804 Выходных каналов должно быть четыре. Первая подопция равна "4".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
805 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
806 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
807 Каждый из передних каналов надо переместить на соответствующий задний и на себя.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
808 Это четыре перемещения, так что вторая подопция равна "4".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
809 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
810 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
811 Левый передний (канал 0) надо переместить на левый задний (канал 2): "0:2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
812 Левый передний также надо переместить на себя: "0:0". правый передний (канал 1)
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
813 перемещается на правый задний (канал 3): "1:3", и на себя: "1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
814 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
815 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
816 Собираем все и получаем:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
817
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
818 <screen>mplayer <replaceable>filename</replaceable> -af channels=4:4:0:2:0:0:1:3:1:1</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
819
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
820 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
821
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
822 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
823
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
824
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
825 <sect3 id="advaudio-channels-mixing">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
826 <title>Микширование каналов</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
827
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
828 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
829 Плагин <option>pan</option> пожет микщировать каналы в указанных пользователем
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
830 пропорциях. Он может делать все, что <option>channels</option>, и даже больше.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
831 К сожалению, подпоции намного сложнее.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
832 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
833 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
834 Определите со скольки каналами будете работать. Вам необходимо указать это
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
835 при помощи <option>-channels</option> и/или <option>-af channels</option>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
836 Дальнейшие примеры покажут когда какую использовать.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
837 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
838 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
839 Решите, сколько каналов скормить <option>pan</option> (дополнительные декодированные
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
840 каналы отбрасываются). Это первая подопция, она также определяет сколько каналов
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
841 готовится к выводу).
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
842 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
843 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
844 Оставшиеся подопции указывают какая часть каждого входного канала микшируется в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
845 в каждый выходной. Это самая сложная часть. Для решения задачи, разделите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
846 подопции на несколько наборов, по одному на каждый выходной канал. Каждая
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
847 подопция в наборе относится к входному каналу.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
848 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
849 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
850 <option>pan</option> принимает значения от 0 до 512, давая от 0% до 51200%
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
851 громкости исходного канала. Будьте осторожны, используя значения больше 1,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
852 если вы превыситы диапазон сэмплинга вашей звуковой карты, вы услышите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
853 противный треск и скрежет. Если хотите, можете вслед за
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
854 <option>pan</option> указать <option>,volume</option> для задействования обрезки,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
855 но лучше держать значения <option>pan</option> достаточно низкими, чтобы не
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
856 требовалось обрезание.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
857 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
858 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
859 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
860
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
861 <bridgehead>Пример: один канал на две колонки</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
862
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
863 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
864 Это еще один пример воспроизведения девого канала на двух колонках.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
865 Следуя инструкциям выше:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
866 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
867 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
868 <option>pan</option> должен выдать два канала, т.о. первая подопция равна "2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
869 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
870 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
871 Поскольку входных каналов два, будет два набора подопций.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
872 Так как выходных каналов тоже два, то будет по две подопции в каждом наборе.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
873 Левый канал из файла должен перейти с полной громкостью в новые левый и правый.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
874 Таким образом, первый набор подопций будет "1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
875 правый канал должен быть отброшен, поэтому второй набор равен "0:0".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
876 Любые значения 0 в конце могут быть опущены, но для более легкого понимания мы их оставим.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
877 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
878 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
879 Соединение опций дает:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
880
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
881 <screen>mplayer <replaceable>filename</replaceable> -af pan=2:1:1:0:0</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
882
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
883 Если вместо правого канала нужен левый, подопции для <option>pan</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
884 будут "2:0:0:1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
885 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
886
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
887
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
888 <bridgehead>Пример: левый канал на две колонки (сокращение)</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
889
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
890 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
891 Как и с <option>channels</option>, существует сокращенный вариант, который работает только
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
892 для левого канала:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
893
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
894 <screen>mplayer <replaceable>filename</replaceable> -af pan=1:1</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
895
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
896 Поскольку <option>pan</option> имеет только один входной канал (остальные отбрасываются),
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
897 будет только одна подопция, указывающая, что единственный канал получает 100% собственной
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
898 громкости.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
899 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
900
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
901 <bridgehead>Пример: сведение 6-канального PCM</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
902 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
903 Декодер <application>MPlayer</application>'а для 6-канального PCM не способен сводить каналы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
904 Здесь описан способ сведения PCM, используя <option>pan</option>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
905 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
906 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
907 Количество выходный каналов равно 2, значит первая подопция равна "2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
908 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
909 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
910 С шестью входными каналами будем иметь шесть наборов подопций. К счастью, поскольнку
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
911 мы беспокоимся о выводе только первых двух, достаточно создать два набора;
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
912 оставшиеся можно опустить. Имейте ввиду, что не все многоканальные имеют одинаковый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
913 порядок каналов. пример показывает как свести файл с порядком как у AC3 5.1:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
914 <programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
915 0 - передный левый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
916 1 - передний правый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
917 2 - задний левый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
918 3 - задний правый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
919 4 - сентральный передний
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
920 5 - сабвуфер
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
921 </programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
922 В первом наборе указаны проценты от исходной громкости, в соответствующем порядке,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
923 которую каждый выходной канал получит от переднего левого канала: "1:0".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
924 Правый передний должен перейти в правый: "0:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
925 То же для задних: "1:0" и "0:1"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
926 Центральный должен попасть в оба с половинной громкостью: "0.5:0.5", и
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
927 сабвуфер переходит в оба канала с полной громкостью: "1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
928 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
929 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
930 Все вместе:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
931
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
932 <screen>mplayer <replaceable>6-channel.wav</replaceable> -af pan=2:1:0:0:1:1:0:0:1:0.5:0.5:1:1</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
933
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
934 Проценты, указанные выше всего лишь пример. подстраивайте их как вам удобно.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
935 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
936
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
937 <bridgehead>Пример: Воспроизведение звука 5.1 на больших колонках без сабвуфера</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
938
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
939 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
940 Если у вас есть пара огромных передних колонок, нет надобности тратиться на
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
941 сабвуфер для поноценной системы 5.1. Если использовать <option>-channels 5</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
942 для запроса к liba52 на декодирование 5.1 аудио в 5.0, канал сабвуфера просто
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
943 отбрасывается. Если вы сотите самостоятельно распределить канал
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
944 сабвуфера, то потребуется ручное сведение при помощи <option>pan</option>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
945
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
946 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
947 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
948 Поскольку <option>pan</option> надо анализировать все шесть каналов, укажите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
949 <option>-channels 6</option>, чтобы liba52 декодировал их все.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
950 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
951 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
952 <option>pan</option> выводит только пять каналов, первая подопция равна 5.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
953 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
954 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
955 Шесть входных каналов означает шесть наборов по пять подопций в каждом.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
956 <itemizedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
957 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
958 Левый передний будлируется только на себя:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
959 "1:0:0:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
960 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
961 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
962 То же для правого переднего:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
963 "0:1:0:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
964 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
965 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
966 То же для левого заднего:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
967 "0:0:1:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
968 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
969 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
970 И то же для правого заднего:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
971 "0:0:0:1:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
972 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
973 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
974 Центральный передний, тоже:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
975 "0:0:0:0:1"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
976 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
977 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
978 И, наконец, мы должны решить что же делать с сабвуфером,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
979 например, половина на передний правый и половина на передний левый:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
980 "0.5:0.5:0:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
981 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
982 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
983 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
984 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
985 Собирая все подопции месте, получаем:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
986
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
987 <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>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
988
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
989 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
990
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
991 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
992
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
993 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
994
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
995
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
996 <sect2 id="advaudio-volume">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
997 <title>Программная подстройка звука</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
998
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
999 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1000 Некоторые звуковые дорожки без усиления слишком тихие для комфортного прослушивания.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1001 Это становится проблемой, если звуковое оборудование не способно усиливать сигнал.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1002 Опция <option>-softvol</option> указывает <application>MPlayer</application>'у
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1003 использовать встроенный микшер. После этого вы можете использовать клавиши
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1004 подстройки громкости (по-умолчанию <keycap>9</keycap> и <keycap>0</keycap>)
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1005 чтобы достичь значительно более громкого звучания. Заметьте, что это
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1006 не исключает использования микшера вашей карты; <application>MPlayer</application>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1007 всего лишь усиливает сигнал перед отправкой его на звуковую карту.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1008
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1009 Следующим пример может являться неплохим началом:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1010
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1011 <screen>mplayer <replaceable>quiet-file</replaceable> -softvol -softvol-max 300</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1012
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1013 Опция <option>-softvol-max</option> указывает максимально допустимый уровень звука в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1014 процентах от исходного. Например, <option>-softvol-max 200</option> позволит
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1015 увеличивать громкость вдвое по сравнению с оригинальным звуком.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1016 Использование больших значений с<option>-softvol-max</option>; высокий уровень
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1017 громкости не будет достигнуть без использования клавиш регулирования громкости.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1018 Единственный минус больших значений заключается в том, что, поскольку
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1019 <application>MPlayer</application> регулирует громкость в процентах от
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1020 максимума, вы не будете иметь той же точности при успользовании клавиш
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1021 решулирования громкости.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1022 Используйте меньшее значение <option>-softvol-max</option> и/или укажите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1023 <option>-volstep 1</option> если нужна повышенная точность.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1024 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1025
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1026 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1027 Опция <option>-softvol</option> работает, управляя аудио плагином
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1028 <option>volume</option>. Если вам надо воспроизвести файл с определенной
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1029 громкостью от начальной, можете указать <option>volume</option> вручную:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1030
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1031 <screen>mplayer <replaceable>quiet-file</replaceable> -af volume=10</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1032
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1033 Будет воспроизведен файл в усилением в 10 децибелл. Будьте осторожны,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1034 используя плагин <option>volume</option> - вы можете легко повредить
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1035 ваши уши слишком громким звуком. Начните с маленьких значений и постепенно
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1036 увеличивайте, пока не почуствуете, что достаточно. Также, если
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1037 указать черезчур высокие значения, <option>volume</option> может потребоваться
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1038 обрезать звук, чтобы извежать отправления на карту данных, превышающих
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1039 допустимые значение; это приведет к искажению звука.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1040 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1041
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1042 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1043
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1044 </sect1>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1045
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
1046
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
1047 </chapter>