annotate DOCS/xml/ru/usage.xml @ 13294:b42668d9e697

sync
author paszczi
date Thu, 09 Sep 2004 13:33:40 +0000
parents c457b1e671a7
children 1fbfc19c5f75
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"?>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
2 <!-- synced with 1.19 -->
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>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
40 Воспроизведение множества фалов:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
41 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
42 <command>mplayer</command><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
43 --> [<replaceable>общие опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
44 --> [<replaceable>путь</replaceable>/]<replaceable>имя_файла1</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
45 --> [<replaceable>опции для имя_файла1</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
46 --> <replaceable>имя_файла2</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
47 --> [<replaceable>опции для имя_файла2</replaceable>] ...
8d2a004857ba New translated file.
lumag
parents:
diff changeset
48 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
49 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
50
8d2a004857ba New translated file.
lumag
parents:
diff changeset
51 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
52 Воспроизведение VCD:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
53 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
54 <command>mplayer</command> [<replaceable>опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
55 --> vcd://<replaceable>номер_дорожки</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
56 --> [-cdrom-device <replaceable>/dev/cdrom</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 Воспроизведение DVD:
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 --> dvd://<replaceable>имя_ролика</replaceable><!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
65 --> [-dvd-device <replaceable>/dev/dvd</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 Воспроизведение из WWW:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
71 <synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
72 <command>mplayer</command> [<replaceable>опции</replaceable>]<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
73 --> http://<replaceable>site.com/file.asf</replaceable>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
74 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
75 (так же можно использовать и списки проигрывания (плейлист[playlist]) )
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 Воспроизведение по RTSP:
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 --> rtsp://<replaceable>server.example.com/streamName</replaceable>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
83 </synopsis>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
84 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
85
8d2a004857ba New translated file.
lumag
parents:
diff changeset
86 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
87 Примеры:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
88 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
89 mplayer -vo x11 <replaceable>/mnt/Films/Contact/contact2.mpg</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
90 mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
91 mplayer -afm 3 <replaceable>/mnt/DVDtrailers/alien4.vob</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
92 mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
93 mplayer -abs 65536 -delay -0.4 -nobps <replaceable>~/movies/test.avi</replaceable><!--
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
94 --></screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
95 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
96 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
97
8d2a004857ba New translated file.
lumag
parents:
diff changeset
98
8d2a004857ba New translated file.
lumag
parents:
diff changeset
99 <sect1 id="control">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
100 <title>Управление</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
101
8d2a004857ba New translated file.
lumag
parents:
diff changeset
102 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
103 <application>MPlayer</application> использует полностью конфигурируемый,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
104 основанный на понятии команды, уровень управления, позволяющий манипулировать
8d2a004857ba New translated file.
lumag
parents:
diff changeset
105 <application>MPlayer</application>'ом с клавиатуры, мышью, джойстиком или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
106 с пульта дистанционного управления (используя LIRC). Полный список кнопок
8d2a004857ba New translated file.
lumag
parents:
diff changeset
107 для управления с клавиатуры см. на man-странице.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
108 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
109
8d2a004857ba New translated file.
lumag
parents:
diff changeset
110
8d2a004857ba New translated file.
lumag
parents:
diff changeset
111 <sect2 id="ctrl-cfg">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
112 <title>Конфигурация управления</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
113
8d2a004857ba New translated file.
lumag
parents:
diff changeset
114 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
115 <application>MPlayer</application> позволяет повесить любую MPlayer'овскую
8d2a004857ba New translated file.
lumag
parents:
diff changeset
116 команду на любую кнопку, используя простой конфигурационный файл. Синтаксис
8d2a004857ba New translated file.
lumag
parents:
diff changeset
117 файла состоит из имени кнопки, сопровождающегося командой. По умолчанию
8d2a004857ba New translated file.
lumag
parents:
diff changeset
118 конфигурационный файл находится в <filename>$HOME/.mplayer/input.conf</filename>,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
119 но это можно изменить, указав опцию
8d2a004857ba New translated file.
lumag
parents:
diff changeset
120 <option>-input <replaceable>conf</replaceable></option>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
121 (относительный путь указывается относительно <filename>$HOME/.mplayer</filename>).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
122 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
123
8d2a004857ba New translated file.
lumag
parents:
diff changeset
124 <example>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
125 <title>Простой файл конфигурации ввода</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
126 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
127 ##
8d2a004857ba New translated file.
lumag
parents:
diff changeset
128 ## MPlayer input control file
8d2a004857ba New translated file.
lumag
parents:
diff changeset
129 ##
8d2a004857ba New translated file.
lumag
parents:
diff changeset
130
8d2a004857ba New translated file.
lumag
parents:
diff changeset
131 RIGHT seek +10
8d2a004857ba New translated file.
lumag
parents:
diff changeset
132 LEFT seek -10
8d2a004857ba New translated file.
lumag
parents:
diff changeset
133 - audio_delay 0.100
8d2a004857ba New translated file.
lumag
parents:
diff changeset
134 + audio_delay -0.100
8d2a004857ba New translated file.
lumag
parents:
diff changeset
135 q quit
8d2a004857ba New translated file.
lumag
parents:
diff changeset
136 &gt; pt_step 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
137 &lt; pt_step -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
138 ENTER pt_step 1 1<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
139 --></programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
140 </example>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
141
8d2a004857ba New translated file.
lumag
parents:
diff changeset
142
8d2a004857ba New translated file.
lumag
parents:
diff changeset
143 <sect3 id="ctrl-cfg-keys">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
144 <title>Названия кнопок</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
145
8d2a004857ba New translated file.
lumag
parents:
diff changeset
146 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
147 Вы можете получить полный список, запустив
8d2a004857ba New translated file.
lumag
parents:
diff changeset
148 <command>mplayer -input keylist</command>.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
149 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
150
8d2a004857ba New translated file.
lumag
parents:
diff changeset
151 <itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
152 <title>Клавиатура</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
153 <listitem><simpara>Все печатные символы</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
154 <listitem><simpara><literal>SPACE</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
155 <listitem><simpara><literal>ENTER</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
156 <listitem><simpara><literal>TAB</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
157 <listitem><simpara><literal>CTRL</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
158 <listitem><simpara><literal>BS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
159 <listitem><simpara><literal>DEL</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
160 <listitem><simpara><literal>INS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
161 <listitem><simpara><literal>HOME</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
162 <listitem><simpara><literal>END</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
163 <listitem><simpara><literal>PGUP</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
164 <listitem><simpara><literal>PGDWN</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
165 <listitem><simpara><literal>ESC</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
166 <listitem><simpara><literal>RIGHT</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
167 <listitem><simpara><literal>LEFT</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
168 <listitem><simpara><literal>UP</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
169 <listitem><simpara><literal>DOWN</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
170 </itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
171
8d2a004857ba New translated file.
lumag
parents:
diff changeset
172 <itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
173 <title>Мышь (поддерживается только под X'ами)</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
174 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
175 <literal>MOUSE_BTN0</literal> (Левая кнопка)</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
176 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
177 <literal>MOUSE_BTN1</literal> (Правая кнопка)</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
178 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
179 <literal>MOUSE_BTN2</literal> (Средняя кнопка)</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
180 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
181 <literal>MOUSE_BTN3</literal> (Колёсико)</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
182 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
183 <literal>MOUSE_BTN4</literal> (Колёсико)</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
184 <listitem><simpara>...</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
185 <listitem><simpara><literal>MOUSE_BTN9</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
186 </itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
187
8d2a004857ba New translated file.
lumag
parents:
diff changeset
188 <itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
189 <title>Джойстик (поддержка должна быть включена при компиляции)</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
190 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
191 <literal>JOY_RIGHT</literal> или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
192 <literal>JOY_AXIS0_PLUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
193 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
194 <literal>JOY_LEFT</literal> или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
195 <literal>JOY_AXIS0_MINUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
196 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
197 <literal>JOY_UP</literal> или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
198 <literal>JOY_AXIS1_MINUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
199 <listitem><simpara>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
200 <literal>JOY_DOWN</literal> или
8d2a004857ba New translated file.
lumag
parents:
diff changeset
201 <literal>JOY_AXIS1_PLUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
202 <listitem><simpara><literal>JOY_AXIS2_PLUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
203 <listitem><simpara><literal>JOY_AXIS2_MINUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
204 <listitem><simpara>...</simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
205 <listitem><simpara><literal>JOY_AXIS9_PLUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
206 <listitem><simpara><literal>JOY_AXIS9_MINUS</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
207 </itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
208 </sect3>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
209
8d2a004857ba New translated file.
lumag
parents:
diff changeset
210
8d2a004857ba New translated file.
lumag
parents:
diff changeset
211 <sect3 id="ctrl-cfg-commands">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
212 <title>Команды</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
213
8d2a004857ba New translated file.
lumag
parents:
diff changeset
214 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
215 Вы можете получить полный список известных команд, запустив
8d2a004857ba New translated file.
lumag
parents:
diff changeset
216 <command>mplayer -input cmdlist</command>.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
217 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
218
8d2a004857ba New translated file.
lumag
parents:
diff changeset
219 <itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
220 <listitem><para><literal>seek</literal> (int) val [(int) type=0]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
221 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
222 Переместиться в какое-то место фильма.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
223 Type <literal>0</literal> &mdash; это относительное перемещение на
8d2a004857ba New translated file.
lumag
parents:
diff changeset
224 +/- величина секунд.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
225 Type <literal>1</literal> &mdash; это перемещение к val, выраженному
8d2a004857ba New translated file.
lumag
parents:
diff changeset
226 в процентах от длины фильма.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
227 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
228 <listitem><para><literal>audio_delay</literal> (float) val</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
229 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
230 Подстроить задержку звука на заданное количество секунд
8d2a004857ba New translated file.
lumag
parents:
diff changeset
231 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
232 <listitem><para><literal>quit</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
233 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
234 Выйти из <application>MPlayer</application>'а
8d2a004857ba New translated file.
lumag
parents:
diff changeset
235 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
236 <listitem><para><literal>pause</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
237 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
238 остановить/продолжить воспроизведение
8d2a004857ba New translated file.
lumag
parents:
diff changeset
239 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
240 <listitem><para><literal>grap_frames</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
241 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
242 Кто-нибудь знает ?
8d2a004857ba New translated file.
lumag
parents:
diff changeset
243 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
244 <listitem><para><literal>pt_step</literal> (int) val [(int) force=0]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
245 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
246 Перейти к следующему/предыдущему элементу дерева. Знак val указывает
8d2a004857ba New translated file.
lumag
parents:
diff changeset
247 направление. Если в этом направлении нет доступных элементов, то ничего
8d2a004857ba New translated file.
lumag
parents:
diff changeset
248 не произойдёт, если force равно нулю.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
249 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
250 <listitem><para><literal>pt_up_step</literal> (int) val [(int) force=0]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
251 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
252 Почти как pt_step, но перемещается на следующий/предыдущий элемент
8d2a004857ba New translated file.
lumag
parents:
diff changeset
253 в родительском списке. Полезно, чтобы выйти из внутреннего цикла в дереве.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
254 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
255 <listitem><para><literal>alt_src_step</literal> (int) val</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
256 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
257 Если доступно более одного источника, выбирает следующий/предыдущий
8d2a004857ba New translated file.
lumag
parents:
diff changeset
258 (поддерживается только в asx списках проигрывания).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
259 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
260 <listitem><para><literal>sub_delay</literal> (float) val [(int) abs=0]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
261 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
262 Подстройка задержки субтитров на +/- val секунд или установить в val секунд,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
263 если abs не ноль.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
264 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
265 <listitem><para><literal>osd</literal> [(int) level=-1]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
266 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
267 Переключить osd режим или установить его в level, если level &gt; 0.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
268 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
269 <listitem><para><literal>volume</literal> (int) dir</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
270 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
271 Увеличить/уменьшить громкость.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
272 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
273 <listitem><simpara><literal>contrast</literal> (int) val [(int) abs=0]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
274 </simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
275 <listitem><simpara><literal>brightness</literal> (int) val [(int) abs=0]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
276 </simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
277 <listitem><simpara><literal>hue</literal> (int) val [(int) abs=0]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
278 </simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
279 <listitem><para><literal>saturation</literal> (int) val [(int) abs=0]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
280 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
281 Установить/подстроить параметры видео. Val изменяется от -100 до 100.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
282 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
283 <listitem><para><literal>frame_drop</literal> [(int) type=-1]</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
284 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
285 Изменить/установить режим пропуска кадров.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
286 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
287 <listitem><para><literal>sub_visibility</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
288 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
289 Отрегулировать видимость субтитров.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
290 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
291 <listitem><para><literal>sub_pos</literal> (int) val</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
292 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
293 Подстроить позицию субтитров.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
294 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
295 <listitem><para><literal>vobsub_lang</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
296 <para>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
297 Изменить язык VOBsub субтитров.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
298 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
299 <listitem><para><literal>vo_fullscreen</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
300 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
301 Переключить полноэкранность режима.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
302 </para></listitem>
11634
lumag
parents: 11294
diff changeset
303 <listitem><para><literal>vo_ontop</literal></para>
lumag
parents: 11294
diff changeset
304 <para>
lumag
parents: 11294
diff changeset
305 Переключает stay-on-top(оставаться на поверхности). Поддерживается всеми
lumag
parents: 11294
diff changeset
306 драйверами, использующими X11, кроме SDL, и directx, и gl2 под Windows.
lumag
parents: 11294
diff changeset
307 </para></listitem>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
308 <listitem><para><literal>tv_step_channel</literal> (int) dir</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
309 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
310 Выбрать следующий/предыдущий канал.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
311 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
312 <listitem><para><literal>tv_step_norm</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
313 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
314 Изменить стандарт TV.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
315 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
316 <listitem><para><literal>tv_step_chanlist</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
317 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
318 Изменить список каналов.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
319 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
320 <listitem><simpara><literal>gui_loadfile</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
321 <listitem><simpara><literal>gui_loadsubtitle</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
322 <listitem><simpara><literal>gui_about</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
323 <listitem><simpara><literal>gui_play</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
324 <listitem><simpara><literal>gui_stop</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
325 <listitem><simpara><literal>gui_playlist</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
326 <listitem><simpara><literal>gui_preferences</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
327 <listitem><para><literal>gui_skinbrowser</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
328 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
329 Действия с GUI
8d2a004857ba New translated file.
lumag
parents:
diff changeset
330 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
331 </itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
332 </sect3>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
333 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
334
8d2a004857ba New translated file.
lumag
parents:
diff changeset
335
8d2a004857ba New translated file.
lumag
parents:
diff changeset
336 <sect2 id="lirc">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
337 <title>Управление через LIRC</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
338
8d2a004857ba New translated file.
lumag
parents:
diff changeset
339 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
340 Linux Infrared Remote Control[Инфракрасное Удалённое Управление Linux'ом]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
341 &mdash; используйте легко собираемый в домашних условиях IR-приёмник, (почти)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
342 любой пульт управления и управляйте с их помощью Вашей Linux машиной.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
343 Подробности на <ulink url="http://www.lirc.org">www.lirc.org</ulink>.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
344 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
345
8d2a004857ba New translated file.
lumag
parents:
diff changeset
346 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
347 Если у Вас установлен ракет lirc, configure само его обнаружит. Если Всё прошло
8d2a004857ba New translated file.
lumag
parents:
diff changeset
348 хорошо, <application>MPlayer</application> при старте напечатает сообщение,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
349 похожее на "<computeroutput>Setting up lirc support...</computeroutput>".
8d2a004857ba New translated file.
lumag
parents:
diff changeset
350 Если произошла ошибка, он Вам сообщит. Если он не говорит ничего про LIRC,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
351 то поддержка LIRC не была скомпилирована. Вот так :-)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
352 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
353
8d2a004857ba New translated file.
lumag
parents:
diff changeset
354 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
355 Имя приложения для <application>MPlayer</application> &mdash; угадайте &mdash;
8d2a004857ba New translated file.
lumag
parents:
diff changeset
356 <filename>mplayer</filename>. Вы можете использовать все команды mplayer'а и
8d2a004857ba New translated file.
lumag
parents:
diff changeset
357 даже можете использовать более одной команды, разделив их символами
8d2a004857ba New translated file.
lumag
parents:
diff changeset
358 <literal>\n</literal>. Не забудьте включить флаг repeat[повтор] в
8d2a004857ba New translated file.
lumag
parents:
diff changeset
359 <filename>.lircrc</filename>, когда это имеет смысл (перемещение, громкость
8d2a004857ba New translated file.
lumag
parents:
diff changeset
360 и т.п.). Вот выдержка из моего <filename>.lircrc</filename>:
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 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
364 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
365 button = VOLUME_PLUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
366 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
367 config = volume 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
368 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
369 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
370
8d2a004857ba New translated file.
lumag
parents:
diff changeset
371 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
372 button = VOLUME_MINUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
373 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
374 config = volume -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
375 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
376 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
377
8d2a004857ba New translated file.
lumag
parents:
diff changeset
378 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
379 button = CD_PLAY
8d2a004857ba New translated file.
lumag
parents:
diff changeset
380 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
381 config = pause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
382 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
383
8d2a004857ba New translated file.
lumag
parents:
diff changeset
384 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
385 button = CD_STOP
8d2a004857ba New translated file.
lumag
parents:
diff changeset
386 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
387 config = seek 0 1\npause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
388 end<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
389 --></programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
390
8d2a004857ba New translated file.
lumag
parents:
diff changeset
391 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
392 Если Вам не нравится стандартное место Вашего конфигурационного файла lirc
8d2a004857ba New translated file.
lumag
parents:
diff changeset
393 (<filename>~/.lircrc</filename>), используйте опцию <option>-lircconf
8d2a004857ba New translated file.
lumag
parents:
diff changeset
394 <replaceable>filename</replaceable></option>, чтобы указать другой файл.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
395 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
396 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
397
8d2a004857ba New translated file.
lumag
parents:
diff changeset
398
8d2a004857ba New translated file.
lumag
parents:
diff changeset
399 <sect2 id="slave-mode">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
400 <title>Подчинённый (&quot;рабский&quot;) режим</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
401 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
402 Наличие подчинённого режима позволяет Вам создавать простые приложения к
8d2a004857ba New translated file.
lumag
parents:
diff changeset
403 <application>MPlayer</application>'у. Когда режим включён (опцией
8d2a004857ba New translated file.
lumag
parents:
diff changeset
404 <option>-slave</option>), <application>MPlayer</application> читает со
8d2a004857ba New translated file.
lumag
parents:
diff changeset
405 стандартного входа команды, разделяемые символом конца строки (\n).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
406 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
407 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
408 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
409
8d2a004857ba New translated file.
lumag
parents:
diff changeset
410
8d2a004857ba New translated file.
lumag
parents:
diff changeset
411 <sect1 id="streaming">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
412 <title>Сетевые потоки и каналы</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
413
8d2a004857ba New translated file.
lumag
parents:
diff changeset
414 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
415 <application>MPlayer</application> может проигрывать файлы по сети, используя
8d2a004857ba New translated file.
lumag
parents:
diff changeset
416 HTTP, FTP, MMS или RTSP/RTP протокол.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
417 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
418
8d2a004857ba New translated file.
lumag
parents:
diff changeset
419 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
420 Проигрывание включается добавлением URL'а в командную строку.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
421 Также, <application>MPlayer</application> учитывает переменную среды
8d2a004857ba New translated file.
lumag
parents:
diff changeset
422 <envar>http_proxy</envar> и использует прокси[proxy], если это возможно.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
423 Также можно заставить использовать прокси:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
424 <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
425 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
426
8d2a004857ba New translated file.
lumag
parents:
diff changeset
427 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
428 <application>MPlayer</application> может считывать данные со стандартного входа
8d2a004857ba New translated file.
lumag
parents:
diff changeset
429 (а <emphasis>не</emphasis> из поименованных каналов). Это может, например,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
430 использоваться при проигрывании файлов по FTP:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
431 <screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
432 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
433
8d2a004857ba New translated file.
lumag
parents:
diff changeset
434 <note><para>
11148
lumag
parents: 11058
diff changeset
435 Мы рекомендуем включать <option>-cache</option> при проигрывании из сети:
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
436 <screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -cache 8192 -</screen>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
437 </para></note>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
438 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
439
8d2a004857ba New translated file.
lumag
parents:
diff changeset
440 <sect1 id="mpst" xreflabel="Удалённые потоки">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
441 <title>Удалённые потоки</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
442
8d2a004857ba New translated file.
lumag
parents:
diff changeset
443 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
444 Удалённые потоки позволяют получить доступ к большинству поддерживаемых
8d2a004857ba New translated file.
lumag
parents:
diff changeset
445 <application>MPlayer</application>'ом типам потоков с удалённой машины.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
446 Основное предназначение этой возможности &mdash; это прямой доступ
8d2a004857ba New translated file.
lumag
parents:
diff changeset
447 к CD или DVD приводу другого компьютера по сети (предполагается, что пропускной
8d2a004857ba New translated file.
lumag
parents:
diff changeset
448 способности сети будет достаточно). С другой стороны, некоторые типы потоков
8d2a004857ba New translated file.
lumag
parents:
diff changeset
449 (в настоящий момент это TV и MF) не могут использоваться удалённо, поскольку
8d2a004857ba New translated file.
lumag
parents:
diff changeset
450 они выполнены на уровне демуксера. Это печально для MF, а вот TV всё равно
8d2a004857ba New translated file.
lumag
parents:
diff changeset
451 потребовал бы ужасной пропускной способности сети.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
452 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
453
8d2a004857ba New translated file.
lumag
parents:
diff changeset
454 <sect2 id="compile_mpst_server">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
455 <title>Компиляция сервера</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
456 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
457 После компиляции <application>MPlayer</application>'а, перейдите в каталог
8d2a004857ba New translated file.
lumag
parents:
diff changeset
458 <filename>TOOLS/netstream</filename> и выполните
8d2a004857ba New translated file.
lumag
parents:
diff changeset
459 <application>make</application>, чтобы собрать сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
460 Затем Вы можете скопировать файл <application>netstream</application>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
461 в нужное место Вашей системы (обычно это
8d2a004857ba New translated file.
lumag
parents:
diff changeset
462 <filename class="directory">/usr/local/bin</filename> на Linux).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
463 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
464 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
465
8d2a004857ba New translated file.
lumag
parents:
diff changeset
466 <sect2 id="use_mpst">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
467 <title>Использование удалённых потоков</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
468 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
469 Сначала Вы должны запустить сервер на машине, к которой Вы хотите получить
8d2a004857ba New translated file.
lumag
parents:
diff changeset
470 удалённый доступ. В настоящий момент сервер чрезвычайно прост и не использует
8d2a004857ba New translated file.
lumag
parents:
diff changeset
471 никаких аргументов командной строки, поэтому просто запускайте
8d2a004857ba New translated file.
lumag
parents:
diff changeset
472 <filename>netstream</filename>. Теперь, например, Вы можете проиграть
8d2a004857ba New translated file.
lumag
parents:
diff changeset
473 вторую дорожку VCD'шника на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
474 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
475 mplayer -cache 5000 <replaceable>mpst://servername/vcd://2</replaceable>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
476 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
477 Вы можете получить доступ к файлам на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
478 <screen>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
479 mplayer -cache 5000 <replaceable>mpst://servername//usr/local/movies/lol.avi</replaceable>
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
480 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
481 Обратите внимание, что пути не начинающиеся с / будут относительными к каталогу,
11148
lumag
parents: 11058
diff changeset
482 в котором запущен сервер. Использование <option>-cache</option> не требуется,
lumag
parents: 11058
diff changeset
483 но это будет очень полезно.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
484 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
485
8d2a004857ba New translated file.
lumag
parents:
diff changeset
486 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
487 Обратите внимание, что в настоящий момент сервер вообще не является безопасным.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
488 поэтому, не сообщайте о многочисленных эксплоитах[exploit], которые его
8d2a004857ba New translated file.
lumag
parents:
diff changeset
489 используют. Лучше пришлите несколько (хороших) патчей, чтобы сделать его лучше,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
490 или начните писать свой сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
491 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
492
8d2a004857ba New translated file.
lumag
parents:
diff changeset
493 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
494
8d2a004857ba New translated file.
lumag
parents:
diff changeset
495 </sect1>
12834
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
496
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
497 <sect1 id="edl" xreflabel="Редактируемые списки решений [Edit Decision Lists] (EDL)">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
498 <title>Редактируемые списки решений [Edit Decision Lists] (EDL)</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
499
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
500 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
501 Система редактируемых списков решений [edit decision list] (EDL) позволяет Вам
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 на специфичном для каждого фильма конфигурационном файле.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
504 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
505
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
506 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
507 Это полезно для тех, кто может захотеть посмотреть фильм в "семейном" режиме.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
508 Вы можете исключить любые проявления насилия, ненормативной лексики,
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
509 Jar-Jar Binks, и т. п. из фильмов, сообразуясь с Вашими личными предпочтениями.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
510 Помимо этого, существуют другие применения, например автоматический пропуск рекламы
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
511 при просмотре фильмов.
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
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
514 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
515 Формат EDL файлов пока элементарен. Когда система EDL достигнет определённой
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
516 степени завершённости, вероятно будет использоваться основанный на XML формат
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
517 файлов (при этом сохранится совместимость с предыдущими форматами EDL).
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
518 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
519
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
520 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
521 В текущем исполнении, количество EDL записей ограниченно 1000. Если Вам
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
522 понадобится больше, измените <systemitem>#define MAX_EDL_ENTRIES</systemitem>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
523 в файле <filename>edl.h</filename>.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
524 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
525
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
526 <sect2 id="edl_using">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
527 <title>Использование EDL файлов</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
528
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
529 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
530 Включите опцию <option>-edl &lt;имя_файла&gt;</option>, когда Вы запускаете
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
531 <application>MPlayer</application>, с именем EDL файла, который Вы хотите
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
532 использовать с видео.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
533 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
534 </sect2>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
535
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
536 <sect2 id="edl_making">
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
537 <title>Создание EDL файлов</title>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
538 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
539 Текущий формат файлов EDL:
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
540 <programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
541 [начальная секунда] [конечная секунда] [действие]
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
542 </programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
543 Где секунды - это числа с плавающей точкой (вещественные числа), а действие -
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
544 это или <literal>0</literal> для пропуска или <literal>1</literal> для
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
545 заглушения звука. Пример:
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
546 <programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
547 5.3 7.1 0
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
548 15 16.7 1
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
549 420 422 0
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
550 </programlisting>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
551 Это вызовет пропуск видео с 5.3 секунды до 7.1 секунды, затем заглушит звук
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
552 на 15 секунде, включит обратно в 16.7 секунд и пропустит видео с 420 по 422
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
553 секунды. Эти действия будут происходить, когда таймер проигрывания достигнет
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
554 указанных в файле значений.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
555 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
556
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
557 <para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
558 Чтобы начать создать EDL файл, используйте опцию <option>-edlout
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
559 &lt;filename&gt;</option>. При проигрывании, когда Вы хотите отметить
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
560 предыдущие две секунды для пропуска, нажмите <keycap>i</keycap>.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
561 Соответствующая запись для этого времени будет добавлена в файл. Затем Вы
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
562 можете вернуться и подстроить сгенерированный EDL файл.
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
563 </para>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
564 </sect2>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
565
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
566 </sect1>
c457b1e671a7 Major translation update. Sync, some rewording, etc.
lumag
parents: 11634
diff changeset
567
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
568 </chapter>