annotate DOCS/xml/ru/usage.xml @ 20298:3c469a2030e7

What is the meaning of the numbers on the status line during the encoding process? Taken after Nico's explanation on MEncoder-users ML
author gpoirier
date Thu, 19 Oct 2006 08:20:32 +0000
parents fa421226cfc7
children b78d2a74623b
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"?>
20040
fa421226cfc7 r20041: Add IDs to some examples/tables.
voroshil
parents: 19831
diff changeset
2 <!-- synced with r20041 -->
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
19831
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
107 <sect1 id="subosd">
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
108 <title>Субтитры и OSD</title>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
109
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
110 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
111 Вместе с фильмом <application>MPlayer</application> может показывать и субтитры. В настоящий момент
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
112 поддерживаются следующие форматы:
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
113 <itemizedlist>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
114 <listitem><para>VOBsub</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
115 <listitem><para>OGM</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
116 <listitem><para>CC (closed caption[скрытые титры])</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
117 <listitem><para>MicroDVD</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
118 <listitem><para>SubRip</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
119 <listitem><para>SubViewer</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
120 <listitem><para>Sami</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
121 <listitem><para>VPlayer</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
122 <listitem><para>RT</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
123 <listitem><para>SSA</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
124 <listitem><para>PJS (Phoenix Japanimation Society)</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
125 <listitem><para>>MPsub</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
126 <listitem><para>AQTitle</para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
127 <listitem><para><ulink url="http://unicorn.us.com/jacosub/">JACOsub</ulink></para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
128 </itemizedlist>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
129 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
130
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
131 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
132 <application>MPlayer</application> может конвертировать вышеперечисленные форматы субтитров (<emphasis role="bold">кроме первых
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
133 трёх</emphasis>) в следующие форматы с помощью соответствующих опций:
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
134 <itemizedlist>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
135 <listitem><para>MPsub: <option>-dumpmpsub</option></para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
136 <listitem><para>SubRip: <option>-dumpsrtsub</option></para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
137 <listitem><para>MicroDVD: <option>-dumpmicrodvdsub</option></para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
138 <listitem><para>JACOsub: <option>-dumpjacosub</option></para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
139 <listitem><para>Sami: <option>-dumpsami</option></para></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
140 </itemizedlist>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
141 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
142
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
143 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
144 <application>MEncoder</application> может выдавать DVD субтитры в <link linkend="menc-feat-extractsub">VOBsub</link> формате.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
145 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
146
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
147 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
148 Опции значительно различаются для различных форматов:
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
149 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
150
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
151 <formalpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
152 <title>VOBsub субтитры</title>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
153 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
154 VOBsub субтитры состоят из большого (несколько мегабайт) <filename>.SUB</filename> файла, и необязательных
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
155 <filename>.IDX</filename> и/или <filename>.IFO</filename> файлов.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
156 Использование: если у Вас, например, есть файлы
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
157 <filename><replaceable>sample.sub</replaceable></filename>,
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
158 <filename><replaceable>sample.ifo</replaceable></filename> (необязательно),
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
159 <filename><replaceable>sample.idx</replaceable></filename> - Вы должны указать
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
160 <application>MPlayer</application>'у опции <option>-vobsub sample [-vobsubid <replaceable>id</replaceable>]</option> (можно указать полный путь).
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
161 Опция <option>-vobsubid</option> похожа на <option>-sid</option>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
162 для DVD, с её помощью, Вы можете выбирать между дорожками субтитров (языками).
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
163 В случае, если <option>-vobsubid</option> пропущена, MPlayer попытается использовать
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
164 языки, полученные через опцию <option>-slang</option> и перейти к пункту
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
165 <systemitem>langidx</systemitem> в <filename>.IDX</filename> файле, чтобы выбрать язык субтитров. Если и это
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
166 не удаётся, то субтитров не будет.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
167 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
168 </formalpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
169
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
170 <formalpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
171 <title>Другие субтитры</title>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
172 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
173 Прочие форматы субтитров состоят из единого текстового файла, содержащего информацию
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
174 о синхронизации, местоположении и тексте субтитра.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
175 Использование: Если у Вас есть, например, файл
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
176 <filename><replaceable>sample.txt</replaceable></filename>,
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
177 Вы должны указать опцию <option>-sub <replaceable>sample.txt</replaceable></option>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
178 (можно указать полный путь).
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
179 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
180 </formalpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
181
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
182 <variablelist>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
183 <title>Регулировка синхронизации и местоположения субтитров:</title>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
184 <varlistentry>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
185 <term><option>-subdelay <replaceable>sec</replaceable></option></term>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
186 <listitem><simpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
187 Задерживает субтитры на <option><replaceable>sec</replaceable></option>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
188 секунд. Это значение может быть отрицательным.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
189 </simpara></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
190 </varlistentry>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
191 <varlistentry>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
192 <term><option>-subfps <replaceable>RATE</replaceable></option></term>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
193 <listitem><simpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
194 Указывает количество кадров/сек для файла субтитров (вещественное число)
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
195 </simpara></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
196 </varlistentry>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
197 <varlistentry>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
198 <term><option>-subpos <replaceable>0-100</replaceable></option></term>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
199 <listitem><simpara>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
200 Указывает позицию субтитров.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
201 </simpara></listitem>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
202 </varlistentry>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
203 </variablelist>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
204
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
205 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
206 Если Вы наблюдаете увеличивающуюся задержку между фильмом и субтитрами, используя
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
207 файл субтитров в формате MicroDVD, наиболее вероятно, что частота кадров у фильма и файла
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
208 субтитров не совпадают. Пожалуйста, обратите внимание, что формат MicroDVD
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
209 использует абсолютные номера кадров для синхронизации, но в нем нет информациио частоте кадров
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
210 и поэтому опция
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
211 <option>-subfps</option> не может использоваться с этим форматом.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
212 Вы должны, если хотите навсегда решить эту проблему, вручную конвертировать
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
213 частоту кадров файла субтитров.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
214 <application>MPlayer</application> может сделать для вас это преобразование:
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
215 <screen>mplayer -dumpmicrodvdsub -fps <replaceable>subtitles_fps</replaceable> -subfps <replaceable>avi_fps</replaceable> -sub <replaceable>subtitle_filename</replaceable> <replaceable>dummy.avi</replaceable></screen>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
216 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
217
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
218 <para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
219 О DVD субтитрах, читайте в секции <link linkend="dvd">DVD</link>.
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
220 </para>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
221 </sect1>
a9d072fde78f r19829: Improve TrueType font installation section
voroshil
parents: 19712
diff changeset
222
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
223
8d2a004857ba New translated file.
lumag
parents:
diff changeset
224 <sect1 id="control">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
225 <title>Управление</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
226
8d2a004857ba New translated file.
lumag
parents:
diff changeset
227 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
228 <application>MPlayer</application> использует полностью конфигурируемый,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
229 основанный на понятии команды, уровень управления, позволяющий манипулировать
8d2a004857ba New translated file.
lumag
parents:
diff changeset
230 <application>MPlayer</application>'ом с клавиатуры, мышью, джойстиком или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
231 с пульта дистанционного управления (используя LIRC). Полный список кнопок
8d2a004857ba New translated file.
lumag
parents:
diff changeset
232 для управления с клавиатуры см. на man-странице.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
233 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
234
8d2a004857ba New translated file.
lumag
parents:
diff changeset
235
8d2a004857ba New translated file.
lumag
parents:
diff changeset
236 <sect2 id="ctrl-cfg">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
237 <title>Конфигурация управления</title>
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 <application>MPlayer</application> позволяет повесить любую MPlayer'овскую
8d2a004857ba New translated file.
lumag
parents:
diff changeset
241 команду на любую кнопку, используя простой конфигурационный файл. Синтаксис
8d2a004857ba New translated file.
lumag
parents:
diff changeset
242 файла состоит из имени кнопки, сопровождающегося командой. По умолчанию
8d2a004857ba New translated file.
lumag
parents:
diff changeset
243 конфигурационный файл находится в <filename>$HOME/.mplayer/input.conf</filename>,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
244 но это можно изменить, указав опцию
8d2a004857ba New translated file.
lumag
parents:
diff changeset
245 <option>-input <replaceable>conf</replaceable></option>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
246 (относительный путь указывается относительно <filename>$HOME/.mplayer</filename>).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
247 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
248
20040
fa421226cfc7 r20041: Add IDs to some examples/tables.
voroshil
parents: 19831
diff changeset
249 <example id="input_control_file">
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
250 <title>Простой файл конфигурации ввода</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
251 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
252 ##
8d2a004857ba New translated file.
lumag
parents:
diff changeset
253 ## MPlayer input control file
8d2a004857ba New translated file.
lumag
parents:
diff changeset
254 ##
8d2a004857ba New translated file.
lumag
parents:
diff changeset
255
8d2a004857ba New translated file.
lumag
parents:
diff changeset
256 RIGHT seek +10
8d2a004857ba New translated file.
lumag
parents:
diff changeset
257 LEFT seek -10
8d2a004857ba New translated file.
lumag
parents:
diff changeset
258 - audio_delay 0.100
8d2a004857ba New translated file.
lumag
parents:
diff changeset
259 + audio_delay -0.100
8d2a004857ba New translated file.
lumag
parents:
diff changeset
260 q quit
8d2a004857ba New translated file.
lumag
parents:
diff changeset
261 &gt; pt_step 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
262 &lt; pt_step -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
263 ENTER pt_step 1 1<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
264 --></programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
265 </example>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
266
8d2a004857ba New translated file.
lumag
parents:
diff changeset
267 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
268
8d2a004857ba New translated file.
lumag
parents:
diff changeset
269
8d2a004857ba New translated file.
lumag
parents:
diff changeset
270 <sect2 id="lirc">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
271 <title>Управление через LIRC</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
272
8d2a004857ba New translated file.
lumag
parents:
diff changeset
273 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
274 Linux Infrared Remote Control[Инфракрасное Удалённое Управление Linux'ом]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
275 &mdash; используйте легко собираемый в домашних условиях IR-приёмник, (почти)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
276 любой пульт управления и управляйте с их помощью Вашей Linux машиной.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
277 Подробности на <ulink url="http://www.lirc.org">www.lirc.org</ulink>.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
278 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
279
8d2a004857ba New translated file.
lumag
parents:
diff changeset
280 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
281 Если у Вас установлен ракет lirc, configure само его обнаружит. Если Всё прошло
8d2a004857ba New translated file.
lumag
parents:
diff changeset
282 хорошо, <application>MPlayer</application> при старте напечатает сообщение,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
283 похожее на "<computeroutput>Setting up lirc support...</computeroutput>".
8d2a004857ba New translated file.
lumag
parents:
diff changeset
284 Если произошла ошибка, он Вам сообщит. Если он не говорит ничего про LIRC,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
285 то поддержка LIRC не была скомпилирована. Вот так :-)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
286 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
287
8d2a004857ba New translated file.
lumag
parents:
diff changeset
288 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
289 Имя приложения для <application>MPlayer</application> &mdash; угадайте &mdash;
8d2a004857ba New translated file.
lumag
parents:
diff changeset
290 <filename>mplayer</filename>. Вы можете использовать все команды mplayer'а и
8d2a004857ba New translated file.
lumag
parents:
diff changeset
291 даже можете использовать более одной команды, разделив их символами
8d2a004857ba New translated file.
lumag
parents:
diff changeset
292 <literal>\n</literal>. Не забудьте включить флаг repeat[повтор] в
8d2a004857ba New translated file.
lumag
parents:
diff changeset
293 <filename>.lircrc</filename>, когда это имеет смысл (перемещение, громкость
8d2a004857ba New translated file.
lumag
parents:
diff changeset
294 и т.п.). Вот выдержка из моего <filename>.lircrc</filename>:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
295 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
296
8d2a004857ba New translated file.
lumag
parents:
diff changeset
297 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
298 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
299 button = VOLUME_PLUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
300 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
301 config = volume 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
302 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
303 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
304
8d2a004857ba New translated file.
lumag
parents:
diff changeset
305 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
306 button = VOLUME_MINUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
307 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
308 config = volume -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
309 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
310 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
311
8d2a004857ba New translated file.
lumag
parents:
diff changeset
312 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
313 button = CD_PLAY
8d2a004857ba New translated file.
lumag
parents:
diff changeset
314 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
315 config = pause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
316 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
317
8d2a004857ba New translated file.
lumag
parents:
diff changeset
318 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
319 button = CD_STOP
8d2a004857ba New translated file.
lumag
parents:
diff changeset
320 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
321 config = seek 0 1\npause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
322 end<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
323 --></programlisting>
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 Если Вам не нравится стандартное место Вашего конфигурационного файла lirc
8d2a004857ba New translated file.
lumag
parents:
diff changeset
327 (<filename>~/.lircrc</filename>), используйте опцию <option>-lircconf
8d2a004857ba New translated file.
lumag
parents:
diff changeset
328 <replaceable>filename</replaceable></option>, чтобы указать другой файл.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
329 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
330 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
331
8d2a004857ba New translated file.
lumag
parents:
diff changeset
332
8d2a004857ba New translated file.
lumag
parents:
diff changeset
333 <sect2 id="slave-mode">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
334 <title>Подчинённый (&quot;рабский&quot;) режим</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
335 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
336 Наличие подчинённого режима позволяет Вам создавать простые приложения к
8d2a004857ba New translated file.
lumag
parents:
diff changeset
337 <application>MPlayer</application>'у. Когда режим включён (опцией
8d2a004857ba New translated file.
lumag
parents:
diff changeset
338 <option>-slave</option>), <application>MPlayer</application> читает со
8d2a004857ba New translated file.
lumag
parents:
diff changeset
339 стандартного входа команды, разделяемые символом конца строки (\n).
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
340 Команды документированы в файле
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
341 <ulink url="../../tech/slave.txt">slave.txt</ulink>.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
342 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
343 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
344 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
345
8d2a004857ba New translated file.
lumag
parents:
diff changeset
346
8d2a004857ba New translated file.
lumag
parents:
diff changeset
347 <sect1 id="streaming">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
348 <title>Сетевые потоки и каналы</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
349
8d2a004857ba New translated file.
lumag
parents:
diff changeset
350 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
351 <application>MPlayer</application> может проигрывать файлы по сети, используя
8d2a004857ba New translated file.
lumag
parents:
diff changeset
352 HTTP, FTP, MMS или RTSP/RTP протокол.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
353 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
354
8d2a004857ba New translated file.
lumag
parents:
diff changeset
355 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
356 Проигрывание включается добавлением URL'а в командную строку.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
357 Также, <application>MPlayer</application> учитывает переменную среды
8d2a004857ba New translated file.
lumag
parents:
diff changeset
358 <envar>http_proxy</envar> и использует прокси[proxy], если это возможно.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
359 Также можно заставить использовать прокси:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
360 <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
361 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
362
8d2a004857ba New translated file.
lumag
parents:
diff changeset
363 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
364 <application>MPlayer</application> может считывать данные со стандартного входа
8d2a004857ba New translated file.
lumag
parents:
diff changeset
365 (а <emphasis>не</emphasis> из поименованных каналов). Это может, например,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
366 использоваться при проигрывании файлов по FTP:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
367 <screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
368 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
369
8d2a004857ba New translated file.
lumag
parents:
diff changeset
370 <note><para>
11148
lumag
parents: 11058
diff changeset
371 Мы рекомендуем включать <option>-cache</option> при проигрывании из сети:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
372 <screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -cache 8192 -</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
373 </para></note>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
374
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
375 <sect2 id="streaming-save">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
376 <title>Сохранение потоковых данных</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
377 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
378 Как только вам удалось воспроизвести любимый интернет-поток, вы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
379 можете воспользоваться опцией <option>-dumpstream</option>, чтобы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
380 сохранить его в файл.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
381 For example:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
382 <screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
383 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
384 </screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
385 сохранит данные из потока
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
386 <replaceable>http://217.71.208.37:8006</replaceable> в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
387 <replaceable>stream.asf</replaceable>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
388 Это работает для всех протоколов, поддерживаемых
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
389 <application>MPlayer</application>, таких как MMS, RSTP, и других.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
390 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
391 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
392
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
393 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
394
8d2a004857ba New translated file.
lumag
parents:
diff changeset
395 <sect1 id="mpst" xreflabel="Удалённые потоки">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
396 <title>Удалённые потоки</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
397
8d2a004857ba New translated file.
lumag
parents:
diff changeset
398 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
399 Удалённые потоки позволяют получить доступ к большинству поддерживаемых
8d2a004857ba New translated file.
lumag
parents:
diff changeset
400 <application>MPlayer</application>'ом типам потоков с удалённой машины.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
401 Основное предназначение этой возможности &mdash; это прямой доступ
8d2a004857ba New translated file.
lumag
parents:
diff changeset
402 к CD или DVD приводу другого компьютера по сети (предполагается, что пропускной
8d2a004857ba New translated file.
lumag
parents:
diff changeset
403 способности сети будет достаточно). С другой стороны, некоторые типы потоков
8d2a004857ba New translated file.
lumag
parents:
diff changeset
404 (в настоящий момент это TV и MF) не могут использоваться удалённо, поскольку
8d2a004857ba New translated file.
lumag
parents:
diff changeset
405 они выполнены на уровне демуксера. Это печально для MF, а вот TV всё равно
8d2a004857ba New translated file.
lumag
parents:
diff changeset
406 потребовал бы ужасной пропускной способности сети.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
407 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
408
8d2a004857ba New translated file.
lumag
parents:
diff changeset
409 <sect2 id="compile_mpst_server">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
410 <title>Компиляция сервера</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
411 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
412 После компиляции <application>MPlayer</application>'а, перейдите в каталог
8d2a004857ba New translated file.
lumag
parents:
diff changeset
413 <filename>TOOLS/netstream</filename> и выполните
8d2a004857ba New translated file.
lumag
parents:
diff changeset
414 <application>make</application>, чтобы собрать сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
415 Затем Вы можете скопировать файл <application>netstream</application>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
416 в нужное место Вашей системы (обычно это
8d2a004857ba New translated file.
lumag
parents:
diff changeset
417 <filename class="directory">/usr/local/bin</filename> на Linux).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
418 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
419 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
420
8d2a004857ba New translated file.
lumag
parents:
diff changeset
421 <sect2 id="use_mpst">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
422 <title>Использование удалённых потоков</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
423 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
424 Сначала Вы должны запустить сервер на машине, к которой Вы хотите получить
8d2a004857ba New translated file.
lumag
parents:
diff changeset
425 удалённый доступ. В настоящий момент сервер чрезвычайно прост и не использует
8d2a004857ba New translated file.
lumag
parents:
diff changeset
426 никаких аргументов командной строки, поэтому просто запускайте
8d2a004857ba New translated file.
lumag
parents:
diff changeset
427 <filename>netstream</filename>. Теперь, например, Вы можете проиграть
8d2a004857ba New translated file.
lumag
parents:
diff changeset
428 вторую дорожку VCD'шника на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
429 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
430 mplayer -cache 5000 <replaceable>mpst://servername/vcd://2</replaceable>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
431 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
432 Вы можете получить доступ к файлам на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
433 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
434 mplayer -cache 5000 <replaceable>mpst://servername//usr/local/movies/lol.avi</replaceable>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
435 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
436 Обратите внимание, что пути не начинающиеся с / будут относительными к каталогу,
11148
lumag
parents: 11058
diff changeset
437 в котором запущен сервер. Использование <option>-cache</option> не требуется,
lumag
parents: 11058
diff changeset
438 но это будет очень полезно.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
439 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
440
8d2a004857ba New translated file.
lumag
parents:
diff changeset
441 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
442 Обратите внимание, что в настоящий момент сервер вообще не является безопасным.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
443 поэтому, не сообщайте о многочисленных эксплоитах[exploit], которые его
8d2a004857ba New translated file.
lumag
parents:
diff changeset
444 используют. Лучше пришлите несколько (хороших) патчей, чтобы сделать его лучше,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
445 или начните писать свой сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
446 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
447
8d2a004857ba New translated file.
lumag
parents:
diff changeset
448 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
449
8d2a004857ba New translated file.
lumag
parents:
diff changeset
450 </sect1>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
451
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
452 <sect1 id="edl" xreflabel="Редактируемые списки решений [Edit Decision Lists] (EDL)">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
453 <title>Редактируемые списки решений [Edit Decision Lists] (EDL)</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
454
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
455 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
456 Система редактируемых списков решений [edit decision list] (EDL) позволяет Вам
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
457 автоматически пропускать или заглушать части при воспроизведении, основываясь
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
458 на специфичном для каждого фильма конфигурационном файле.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
459 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
460
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
461 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
462 Это полезно для тех, кто может захотеть посмотреть фильм в "семейном" режиме.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
463 Вы можете исключить любые проявления насилия, ненормативной лексики,
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
464 Jar-Jar Binks, и т. п. из фильмов, сообразуясь с Вашими личными предпочтениями.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
465 Помимо этого, существуют другие применения, например автоматический пропуск рекламы
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
466 при просмотре фильмов.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
467 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
468
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
469 <para>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
470 Формат EDL файлов пока элементарен. в каждой строке находится одна команда, которая
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
471 указывает, что делать (пропустить/выключить звук) и когда (используя pts в секундах).
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
472 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
473
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
474 <sect2 id="edl_using">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
475 <title>Использование EDL файлов</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
476
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
477 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
478 Включите опцию <option>-edl &lt;имя_файла&gt;</option>, когда Вы запускаете
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
479 <application>MPlayer</application>, с именем EDL файла, который Вы хотите
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
480 использовать с видео.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
481 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
482 </sect2>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
483
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
484 <sect2 id="edl_making">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
485 <title>Создание EDL файлов</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
486 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
487 Текущий формат файлов EDL:
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
488 <programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
489 [начальная секунда] [конечная секунда] [действие]
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
490 </programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
491 Где секунды - это числа с плавающей точкой (вещественные числа), а действие -
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
492 это или <literal>0</literal> для пропуска или <literal>1</literal> для
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
493 заглушения звука. Пример:
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
494 <programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
495 5.3 7.1 0
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
496 15 16.7 1
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
497 420 422 0
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
498 </programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
499 Это вызовет пропуск видео с 5.3 секунды до 7.1 секунды, затем заглушит звук
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
500 на 15 секунде, включит обратно в 16.7 секунд и пропустит видео с 420 по 422
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
501 секунды. Эти действия будут происходить, когда таймер проигрывания достигнет
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
502 указанных в файле значений.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
503 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
504
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
505 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
506 Чтобы начать создать EDL файл, используйте опцию <option>-edlout
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
507 &lt;filename&gt;</option>. При проигрывании, когда Вы хотите отметить
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
508 предыдущие две секунды для пропуска, нажмите <keycap>i</keycap>.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
509 Соответствующая запись для этого времени будет добавлена в файл. Затем Вы
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
510 можете вернуться и подстроить сгенерированный EDL файл также как и
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
511 поправить действие по-умолчанию (пропуск блока, указанного в строке).
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
512 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
513 </sect2>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
514
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
515 </sect1>
19705
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
516 <sect1 id="advaudio" xreflabel="Advanced Audio">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
517 <title>Расширенные возможности аудио</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
518
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
519 <sect2 id="advaudio-surround">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
520 <title>Окружающее/Многоканальное[Surround/Multichannel] воспроизведение</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
521
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
522 <sect3 id="advaudio-surround-DVD">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
523 <title>DVD'шники</title>
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 Большинство DVD и многие другие файлы содержат окружающий звук.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
526 <application>MPlayer</application> поддерживает воспроизведение такого звука, но
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
527 не задействует его по-умолчанию, поскольку стерео оборудование более распространено.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
528 Для воспроизведения файла с более чем двумя каналами звука, используйте опцию
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
529 <option>-channels</option>. Например, для воспроизведения DVD со звуком 5.1:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
530 <screen>mplayer dvd://1 -channels 6</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
531
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
532 Имейте ввиду, что несмотря на название "5.1" на самом деле присутствует
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
533 шесть независимых каналов. Если у вас есть соответствующее оборудование, вы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
534 спокойно можете добавить опцию <option>channels</option> в конфигурационный
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
535 файл <filename>~/.mplayer/config</filename> <application>MPlayer</application>'а.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
536 Например, для установки по умолчанию квадрофонического[quadraphonic] вопроизведения, добавьте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
537 такую строку:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
538 <programlisting>channels=4</programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
539
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
540 <application>MPlayer</application> будет выводить четырехканальный звук, если все четыре
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
541 есть в проигрываемом файле.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
542 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
543 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
544
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
545
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
546 <sect3 id="advaudio-surround-stereoinfour">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
547 <title>Воспроизведение стерео звука на четырех колонках</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
548
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 По-умолчанию, <application>MPlayer</application> не дублирует никакие каналы, как и
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
551 большинство звуковых драйверов. Если вы хотите, сделайте это самостоятельно:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
552
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
553 <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
554
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
555 Объяснения ищите в разделе
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
556 <link linkend="advaudio-channels-copying">копирование каналов</link>.
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
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
559 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
560
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
561
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
562 <sect3 id="advaudio-surround-passthrough">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
563 <title>Передача AC3/DTS</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
564
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
565 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
566 DVD, как правило, имеют окружающий звук, кодированный в AC3 (Dolby Digital) или DTS
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
567 (Digital Theater System[система цифрового кинотеатра]) формате. Некоторое
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
568 современное аудио оборудование способно самостоятельно декодировать эти форматы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
569 <application>MPlayer</application> может быть сконфигурирован, чтобы передавать
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
570 данные без их декодирования. Это работает только для наличие в вашей звуковой карте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
571 разъема S/PDIF (Sony/Philips Digital Interface[цифровой интерфейс Sony/Philips]).
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
572 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
573
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
574 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
575 Если ваше оборудование может вукодировать и AC3, и DTS, выможете спокойно
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
576 задействовать передачу для обоих форматов. В противном случае включайте
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
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
580 <itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
581 <title>Чтобы включить передачу из командной строки:</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
582 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
583 для только AC3, используйте <option>-ac hwac3</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
584 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
585 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
586 для только DTS, используйте <option>-ac hwdts</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
587 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
588 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
589 для AC3 и DTS, используйте <option>-afm hwac3</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
590 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
591 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
592
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
593 <itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
594 <title>Чтобы включить передачу в файле настроек <application>MPlayer</application>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
595 </title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
596 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
597 для только AC3: <option>ac=hwac3,</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
598 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
599 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
600 для только DTS: <option>ac=hwdts,</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
601 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
602 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
603 для AC3 и DTS: <option>afm=hwac3</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
604 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
605 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
606
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
607 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
608 Заметьте, что в конце <option>ac=hwac3,</option> и <option>ac=hwdts,</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
609 присутствует запятая (","). В этом случае
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
610 <application>MPlayer</application> вернется к кодеку, который он обычно использует,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
611 при воспроизведении файла, не содержащего звука AC3 или DTS.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
612 <option>afm=hwac3</option> запятой не требует;
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
613 Когда указано семейство аудио, <application>MPlayer</application> вернется к нужному кодеку так
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
614 или иначе.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
615 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
616
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
617 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
618
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
619 <sect3 id="hwmpa-surround-passthrough">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
620 <title>Передача MPEG аудио</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
621
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
622 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
623 Передатчики цифрового ТВ (такие как DVB и ATSC) и некоторые DVD, обычно имеют
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
624 аудио потоки MPEG (в частности MP2). Некоторые аппаратные MPEG декодеры, такие как
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
625 полнофункциональные DVB карты и DXR2 адаптеры имеют встроенную возможность
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
626 декодирования этого формата.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
627 <application>MPlayer</application> может быть настроен для передачи аудио данных
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
628 без из декодирования.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
629 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
630
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
631 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
632 Для использования этого кодека:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
633 <screen> mplayer -ac hwmpa </screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
634 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
635 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
636
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
637 <sect3 id="advaudio-surround-matrix">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
638 <title>Matrix-кодированное[matrix-encoded] аудио</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
639
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
640 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
641 <emphasis>***TODO***</emphasis>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
642 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
643 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
644 Этот раздел пока не написан, и не может быть завершен, пока кто-нибудь не
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
645 предоставить нам образцы файлов для тестирования. Если у вас есть
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
646 matrix-кодированные файлы, знаете где их можно достать или имеете информацию,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
647 которая может быть полезна, отошлите сообщение в рассылку
19712
19d5f64ec950 r19715: fix some more mailman links
voroshil
parents: 19705
diff changeset
648 <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
649 Укажите в теме письма [matrix-encoded audio].
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
650 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
651 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
652 Если не появятся файлы или какая-нибудь информация, этот раздел будет удален.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
653 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
654
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
655 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
656 Полезные ссылки:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
657 <itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
658 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
659 <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
660 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
661 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
662 <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
663 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
664 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
665 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
666
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
667 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
668
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
669
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
670 <sect3 id="advaudio-surround-hrtf">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
671 <title>Эмуляция окружающего звука в наушниках</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
672
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
673 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
674 <application>MPlayer</application> содержит плагин HRTF (Head Related Transfer
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
675 Function), основанный на
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
676 <ulink url="http://sound.media.mit.edu/KEMAR.html">проекте MIT</ulink>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
677 откуда взяты измерения от микрофонов, вмонтированных в макет человеческой головы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
678 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
679
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
680 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
681 Хотя точная имитация системы окружающего звука[surround system] невозможна,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
682 <application>MPlayer</application>'овский плагин HRTF
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
683 <!-- FIXME need bette rtranslation
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
684 does provide more spatially immersive audio in 2-channel headphones
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
685 -->
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
686 производит более пространственный окружающий звук
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
687 на 2-х канальных наушниках. Обичное сведение, просто объединяет канали в два;
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
688 кроме объединения каналов, <option>hrtf</option> создает хитрое эхо, слегка
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
689 увеличивает разделение стерео, и меняет громкость некоторых частот.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
690 Лучше ли звучит HRTF, зависеть от исходного звука, и является делом
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
691 личного вкуса, но его определенного стоит попробовать.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
692 </para>
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 Для воспроизведения DVD с HRTF:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
696
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
697 <screen>mplayer dvd://1 -channels 6 -af hrtf</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
698
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
699 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
700
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
701 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
702 <option>hrtf</option> работает хорошо тоько с 5-ю или 6-ю каналами. Также,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
703 <option>hrtf</option> тербуется 48 kHz звук. DVD аудио уже kHz, но если у вас есть
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
704 файл, который вы хотите воспроизвести при помощи <option>hrtf</option> , с другой
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
705 частотой сэмплирования, необходимо его ресэмплировать[resample]:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
706
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
707 <screen>mplayer <replaceable>filename</replaceable> -channels 6 -af resample=48000,hrtf</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
708
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
709 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
710
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
711 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
712
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
713
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
714 <sect3 id="advaudio-surround-troubleshooting">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
715 <title>Решение проблем</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
716
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
717 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
718 Если вы ничего не слышите при использовании окружающего звука, проверьте
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
719 настройки вашего микшера при помощи такой как <application>alsamixer</application>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
720 программы; очень часто по-умолчанию выходной звук выключен или его уровень
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
721 установлен в ноль.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
722 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
723
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
724 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
725
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
726 </sect2>
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 <sect2 id="advaudio-channels">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
730 <title>Манипуляции с каналами</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
731
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
732 <sect3 id="advaudio-channels-general">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
733 <title>Общая информация</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
734
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
735 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
736 К сожалению, нет стандарта, описывающего порядок следования каналов. Порядки, указанные ниже,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
737 таковые из AC3 и довольно типичны; попробуйте их и увидите совпадают ли они с вашим источником.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
738 Каналы нумеруются с нуля.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
739
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
740 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
741 <title>mono[моно]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
742 <listitem override="0"><simpara>center[центральный]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
743 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
744
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
745 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
746 <title>stereo[стерео]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
747 <listitem override="0"><simpara>left[левый]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
748 <listitem><simpara>right[правый]</simpara></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 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
752 <title>quadraphonic[квадрофонический]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
753 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
754 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
755 <listitem><simpara>left rear[левый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
756 <listitem><simpara>right rear[правый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
757 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
758
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
759 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
760 <title>surround 4.0[окружение 4.0]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
761 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
762 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
763 <listitem><simpara>center rear[центральный задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
764 <listitem><simpara>center front[центральный передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
765 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
766
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
767 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
768 <title>surround 5.0[]окружение 5.0</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
769 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
770 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
771 <listitem><simpara>left rear[левый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
772 <listitem><simpara>right rear[правый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
773 <listitem><simpara>center front[центральный передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
774 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
775
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
776 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
777 <title>surround 5.1[окружение 5.1]</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
778 <listitem override="0"><simpara>left front[левый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
779 <listitem><simpara>right front[правый передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
780 <listitem><simpara>left rear[левый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
781 <listitem><simpara>right rear[правый задний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
782 <listitem><simpara>center front[центральный передний]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
783 <listitem><simpara>subwoofer[сабвуфер]</simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
784 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
785
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
786 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
787
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
788 <para>
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 для определения необходимо ли сведение каналов. Заметьте, что это не всегда
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
792 отражается на количестве выходных каналов. Например, используя
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
793 <option>-channels 4</option> для проигрывания стерео MP3 файла будет по-прежнему
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
794 выводить звук на два канала, поскольку MP3 кодек не создает дополнительных каналов.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
795 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
796
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
797 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
798 Аудио плагин <option>channels</option> может использоваться для создания или
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
799 удаления каналов, и полезен для управления количеством каналов, отсылаемых на
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 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
803
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
804 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
805
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
806
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
807 <sect3 id="advaudio-channels-mono">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
808 <title>Воспроизведение моно на двух колонках</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
809
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
810 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
811 Моно звук намного лучше звучит, при воспроизведении на двух колонках - особенно
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
812 при использовании наушников. Аудиофайлы, реально имеющие один канал, автоматически
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
813 проигрываются через две колонки; к сожалению, множество файлов с моно звуком
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
814 кодированы как стерео с тишиной в одном из каналов. Простейший и безопасный
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
815 способ вопроизведения одинакового звука на обеих колонках состоит в использовании
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
816 плагина <option>extrastereo</option>:
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 extrastereo=0</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 <para>
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 без уменьшения громкости, но они сложнееи требуют указания различных опций
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
826 в зависимоти от того, какой канал остается. Если вам действительно требуется
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
827 управлять громкостью, бутет проще пожкспериментировать с плагином
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
828 <option>volume</option> и определить верное значение. Например:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
829
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
830 <screen>mplayer <replaceable>filename</replaceable> -af extrastereo=0,volume=5</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
831
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
832 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
833
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
834 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
835
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
836
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
837 <sect3 id="advaudio-channels-copying">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
838 <title>Копирование/перемещение каналов</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
839
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
840 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
841 Плагин <option>channels</option> может переместить любой или все каналы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
842 Установка всех подопций плагина <option>channels</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
843 не так проста и требует определенной аккуратности.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
844
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
845 <orderedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
846 <listitem><para>
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></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
849 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
850 Посчитайте количество перемещаемых каналов. Это вторая подопция.Каждый канал может быть
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
851 перемещен в несколько отличных каналов одновременно, но учтите, что исходный канал
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 переместите канал одновременно в требуемый и исходный. Например:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
855 <programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
856 канал 2 --> канал 3
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
857 канал 2 --> канал 2
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
858 </programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
859 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
860 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
861 Запишите копии каналов в виде пары подопций. Заметьте, что первый канал - это 0,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
862 второй - 1 и т.д. Порядок следования значений не имеет, пока они правильно сгрупиированы
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
863 в пары <replaceable>исходный:результирующий</replaceable>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
864 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
865 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
866
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
867 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
868
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
869
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
870 <bridgehead>Пример: один канал на две колонки</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
871
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
872 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
873 Это пример другого способа воспроизвести один канал на обе колонки.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
874 В нем предполагается, что левый канал должен воспроизводиться, а правый надо отбросить.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
875 Выполняем шаги, описанные выше:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
876 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
877 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
878 Для создания по каналу на каждую из колонок, первая подопция должна быть 2.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
879 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
880 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
881 Левый канал надо переместить на правый и на себя, чтобы он не оставался пуст.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
882 Всего два перемещения, делаем вторую подопцию тоже равной "2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
883 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
884 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
885 Для перемещения левого канала (канал 0) в правый (канал 1) пара подопций имеет вид "0:1",
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
886 "0:0" перемещает левый канал на себя.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
887 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
888 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
889 Собираем все вместе:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
890
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
891 <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
892 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
893
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
894 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
895 Преимущество этого примере перед <option>extrastereo</option> состоит в том,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
896 что громкость каждого канала такая же как у исходного. Недостаток заключается в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
897 необходимости изменить подопции на "2:2:1:0:1:1", если желаемый
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>Пример: левый канал на две колонки (сокращение)</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
902
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
903 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
904 На самом деле есть более простой способ использования плагина
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
905 <option>channels</option> для воспроизведения левого канала на обеих колонках:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
906
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
907 <screen>mplayer <replaceable>filename</replaceable> -af channels=1</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
908
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
909 Второй канал отбрасывается и, при отсутствии других подопций, остается
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 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
913
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
914 <bridgehead>Пример: дублирование передних каналов на задние</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
915 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
916 Другая обычная операция - это дублирование передних каналов и воспроизведение
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
917 их на задних колонках при квадрофонической настройке.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
918 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
919 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
920 Выходных каналов должно быть четыре. Первая подопция равна "4".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
921 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
922 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
923 Каждый из передних каналов надо переместить на соответствующий задний и на себя.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
924 Это четыре перемещения, так что вторая подопция равна "4".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
925 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
926 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
927 Левый передний (канал 0) надо переместить на левый задний (канал 2): "0:2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
928 Левый передний также надо переместить на себя: "0:0". правый передний (канал 1)
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
929 перемещается на правый задний (канал 3): "1:3", и на себя: "1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
930 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
931 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
932 Собираем все и получаем:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
933
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
934 <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
935
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
936 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
937
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
938 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
939
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
940
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
941 <sect3 id="advaudio-channels-mixing">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
942 <title>Микширование каналов</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
943
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
944 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
945 Плагин <option>pan</option> пожет микщировать каналы в указанных пользователем
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
946 пропорциях. Он может делать все, что <option>channels</option>, и даже больше.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
947 К сожалению, подпоции намного сложнее.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
948 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
949 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
950 Определите со скольки каналами будете работать. Вам необходимо указать это
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
951 при помощи <option>-channels</option> и/или <option>-af channels</option>.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
952 Дальнейшие примеры покажут когда какую использовать.
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 Решите, сколько каналов скормить <option>pan</option> (дополнительные декодированные
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
956 каналы отбрасываются). Это первая подопция, она также определяет сколько каналов
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
957 готовится к выводу).
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
958 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
959 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
960 Оставшиеся подопции указывают какая часть каждого входного канала микшируется в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
961 в каждый выходной. Это самая сложная часть. Для решения задачи, разделите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
962 подопции на несколько наборов, по одному на каждый выходной канал. Каждая
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
963 подопция в наборе относится к входному каналу.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
964 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
965 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
966 <option>pan</option> принимает значения от 0 до 512, давая от 0% до 51200%
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
967 громкости исходного канала. Будьте осторожны, используя значения больше 1,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
968 если вы превыситы диапазон сэмплинга вашей звуковой карты, вы услышите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
969 противный треск и скрежет. Если хотите, можете вслед за
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
970 <option>pan</option> указать <option>,volume</option> для задействования обрезки,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
971 но лучше держать значения <option>pan</option> достаточно низкими, чтобы не
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
972 требовалось обрезание.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
973 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
974 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
975 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
976
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
977 <bridgehead>Пример: один канал на две колонки</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
978
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
979 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
980 Это еще один пример воспроизведения девого канала на двух колонках.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
981 Следуя инструкциям выше:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
982 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
983 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
984 <option>pan</option> должен выдать два канала, т.о. первая подопция равна "2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
985 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
986 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
987 Поскольку входных каналов два, будет два набора подопций.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
988 Так как выходных каналов тоже два, то будет по две подопции в каждом наборе.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
989 Левый канал из файла должен перейти с полной громкостью в новые левый и правый.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
990 Таким образом, первый набор подопций будет "1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
991 правый канал должен быть отброшен, поэтому второй набор равен "0:0".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
992 Любые значения 0 в конце могут быть опущены, но для более легкого понимания мы их оставим.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
993 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
994 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
995 Соединение опций дает:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
996
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
997 <screen>mplayer <replaceable>filename</replaceable> -af pan=2:1:1:0:0</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
998
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
999 Если вместо правого канала нужен левый, подопции для <option>pan</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1000 будут "2:0:0:1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1001 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1002
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1003
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1004 <bridgehead>Пример: левый канал на две колонки (сокращение)</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1005
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1006 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1007 Как и с <option>channels</option>, существует сокращенный вариант, который работает только
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 <screen>mplayer <replaceable>filename</replaceable> -af pan=1:1</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1011
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1012 Поскольку <option>pan</option> имеет только один входной канал (остальные отбрасываются),
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1013 будет только одна подопция, указывающая, что единственный канал получает 100% собственной
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1014 громкости.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1015 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1016
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1017 <bridgehead>Пример: сведение 6-канального PCM</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1018 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1019 Декодер <application>MPlayer</application>'а для 6-канального PCM не способен сводить каналы.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1020 Здесь описан способ сведения PCM, используя <option>pan</option>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1021 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1022 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1023 Количество выходный каналов равно 2, значит первая подопция равна "2".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1024 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1025 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1026 С шестью входными каналами будем иметь шесть наборов подопций. К счастью, поскольнку
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1027 мы беспокоимся о выводе только первых двух, достаточно создать два набора;
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1028 оставшиеся можно опустить. Имейте ввиду, что не все многоканальные имеют одинаковый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1029 порядок каналов. пример показывает как свести файл с порядком как у AC3 5.1:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1030 <programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1031 0 - передный левый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1032 1 - передний правый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1033 2 - задний левый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1034 3 - задний правый
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1035 4 - сентральный передний
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1036 5 - сабвуфер
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1037 </programlisting>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1038 В первом наборе указаны проценты от исходной громкости, в соответствующем порядке,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1039 которую каждый выходной канал получит от переднего левого канала: "1:0".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1040 Правый передний должен перейти в правый: "0:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1041 То же для задних: "1:0" и "0:1"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1042 Центральный должен попасть в оба с половинной громкостью: "0.5:0.5", и
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1043 сабвуфер переходит в оба канала с полной громкостью: "1:1".
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1044 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1045 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1046 Все вместе:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1047
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1048 <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
1049
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1050 Проценты, указанные выше всего лишь пример. подстраивайте их как вам удобно.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1051 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1052
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1053 <bridgehead>Пример: Воспроизведение звука 5.1 на больших колонках без сабвуфера</bridgehead>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1054
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1055 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1056 Если у вас есть пара огромных передних колонок, нет надобности тратиться на
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1057 сабвуфер для поноценной системы 5.1. Если использовать <option>-channels 5</option>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1058 для запроса к liba52 на декодирование 5.1 аудио в 5.0, канал сабвуфера просто
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1059 отбрасывается. Если вы сотите самостоятельно распределить канал
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1060 сабвуфера, то потребуется ручное сведение при помощи <option>pan</option>:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1061
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1062 <orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1063 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1064 Поскольку <option>pan</option> надо анализировать все шесть каналов, укажите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1065 <option>-channels 6</option>, чтобы liba52 декодировал их все.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1066 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1067 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1068 <option>pan</option> выводит только пять каналов, первая подопция равна 5.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1069 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1070 <listitem><para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1071 Шесть входных каналов означает шесть наборов по пять подопций в каждом.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1072 <itemizedlist spacing="compact">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1073 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1074 Левый передний будлируется только на себя:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1075 "1:0:0:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1076 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1077 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1078 То же для правого переднего:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1079 "0:1:0:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1080 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1081 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1082 То же для левого заднего:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1083 "0:0:1:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1084 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1085 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1086 И то же для правого заднего:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1087 "0:0:0:1:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1088 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1089 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1090 Центральный передний, тоже:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1091 "0:0:0:0:1"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1092 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1093 <listitem><simpara>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1094 И, наконец, мы должны решить что же делать с сабвуфером,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1095 например, половина на передний правый и половина на передний левый:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1096 "0.5:0.5:0:0:0"
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1097 </simpara></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1098 </itemizedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1099 </para></listitem>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1100 </orderedlist>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1101 Собирая все подопции месте, получаем:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1102
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1103 <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
1104
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1105 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1106
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1107 </sect3>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1108
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1109 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1110
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1111
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1112 <sect2 id="advaudio-volume">
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1113 <title>Программная подстройка звука</title>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1114
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1115 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1116 Некоторые звуковые дорожки без усиления слишком тихие для комфортного прослушивания.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1117 Это становится проблемой, если звуковое оборудование не способно усиливать сигнал.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1118 Опция <option>-softvol</option> указывает <application>MPlayer</application>'у
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1119 использовать встроенный микшер. После этого вы можете использовать клавиши
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1120 подстройки громкости (по-умолчанию <keycap>9</keycap> и <keycap>0</keycap>)
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1121 чтобы достичь значительно более громкого звучания. Заметьте, что это
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1122 не исключает использования микшера вашей карты; <application>MPlayer</application>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1123 всего лишь усиливает сигнал перед отправкой его на звуковую карту.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1124
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1125 Следующим пример может являться неплохим началом:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1126
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1127 <screen>mplayer <replaceable>quiet-file</replaceable> -softvol -softvol-max 300</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1128
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1129 Опция <option>-softvol-max</option> указывает максимально допустимый уровень звука в
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1130 процентах от исходного. Например, <option>-softvol-max 200</option> позволит
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1131 увеличивать громкость вдвое по сравнению с оригинальным звуком.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1132 Использование больших значений с<option>-softvol-max</option>; высокий уровень
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1133 громкости не будет достигнуть без использования клавиш регулирования громкости.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1134 Единственный минус больших значений заключается в том, что, поскольку
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1135 <application>MPlayer</application> регулирует громкость в процентах от
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1136 максимума, вы не будете иметь той же точности при успользовании клавиш
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1137 решулирования громкости.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1138 Используйте меньшее значение <option>-softvol-max</option> и/или укажите
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1139 <option>-volstep 1</option> если нужна повышенная точность.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1140 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1141
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1142 <para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1143 Опция <option>-softvol</option> работает, управляя аудио плагином
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1144 <option>volume</option>. Если вам надо воспроизвести файл с определенной
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1145 громкостью от начальной, можете указать <option>volume</option> вручную:
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1146
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1147 <screen>mplayer <replaceable>quiet-file</replaceable> -af volume=10</screen>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1148
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1149 Будет воспроизведен файл в усилением в 10 децибелл. Будьте осторожны,
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1150 используя плагин <option>volume</option> - вы можете легко повредить
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1151 ваши уши слишком громким звуком. Начните с маленьких значений и постепенно
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1152 увеличивайте, пока не почуствуете, что достаточно. Также, если
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1153 указать черезчур высокие значения, <option>volume</option> может потребоваться
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1154 обрезать звук, чтобы извежать отправления на карту данных, превышающих
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1155 допустимые значение; это приведет к искажению звука.
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1156 </para>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1157
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1158 </sect2>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1159
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1160 </sect1>
d0d4d0d44039 Outdated file synced with r18964
voroshil
parents: 14707
diff changeset
1161
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
1162
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
1163 </chapter>