annotate DOCS/xml/ru/usage.xml @ 11339:0c14b21d631e

Sync
author lumag
date Fri, 31 Oct 2003 18:41:03 +0000
parents e5f08b2e05e6
children bd39ac3b2ce1
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"?>
11294
lumag
parents: 11148
diff changeset
2 <!-- synced with 1.12 -->
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
8d2a004857ba New translated file.
lumag
parents:
diff changeset
18 <screen>mplayer -vfm 5 movie1.avi movie2.avi -vfm 4</screen>
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>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
89 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
8d2a004857ba New translated file.
lumag
parents:
diff changeset
90 mplayer vcd://2 -cd-rom-device /dev/hdc
8d2a004857ba New translated file.
lumag
parents:
diff changeset
91 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
8d2a004857ba New translated file.
lumag
parents:
diff changeset
92 mplayer dvd://1 -dvd-device /dev/hdc
8d2a004857ba New translated file.
lumag
parents:
diff changeset
93 mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi<!--
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>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
297 Изменить язык VobSub субтитров.
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>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
303 <listitem><para><literal>tv_step_channel</literal> (int) dir</para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
304 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
305 Выбрать следующий/предыдущий канал.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
306 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
307 <listitem><para><literal>tv_step_norm</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
308 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
309 Изменить стандарт TV.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
310 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
311 <listitem><para><literal>tv_step_chanlist</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
312 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
313 Изменить список каналов.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
314 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
315 <listitem><simpara><literal>gui_loadfile</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
316 <listitem><simpara><literal>gui_loadsubtitle</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
317 <listitem><simpara><literal>gui_about</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
318 <listitem><simpara><literal>gui_play</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
319 <listitem><simpara><literal>gui_stop</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
320 <listitem><simpara><literal>gui_playlist</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
321 <listitem><simpara><literal>gui_preferences</literal></simpara></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
322 <listitem><para><literal>gui_skinbrowser</literal></para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
323 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
324 Действия с GUI
8d2a004857ba New translated file.
lumag
parents:
diff changeset
325 </para></listitem>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
326 </itemizedlist>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
327 </sect3>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
328 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
329
8d2a004857ba New translated file.
lumag
parents:
diff changeset
330
8d2a004857ba New translated file.
lumag
parents:
diff changeset
331 <sect2 id="lirc">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
332 <title>Управление через LIRC</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
333
8d2a004857ba New translated file.
lumag
parents:
diff changeset
334 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
335 Linux Infrared Remote Control[Инфракрасное Удалённое Управление Linux'ом]
8d2a004857ba New translated file.
lumag
parents:
diff changeset
336 &mdash; используйте легко собираемый в домашних условиях IR-приёмник, (почти)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
337 любой пульт управления и управляйте с их помощью Вашей Linux машиной.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
338 Подробности на <ulink url="http://www.lirc.org">www.lirc.org</ulink>.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
339 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
340
8d2a004857ba New translated file.
lumag
parents:
diff changeset
341 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
342 Если у Вас установлен ракет lirc, configure само его обнаружит. Если Всё прошло
8d2a004857ba New translated file.
lumag
parents:
diff changeset
343 хорошо, <application>MPlayer</application> при старте напечатает сообщение,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
344 похожее на "<computeroutput>Setting up lirc support...</computeroutput>".
8d2a004857ba New translated file.
lumag
parents:
diff changeset
345 Если произошла ошибка, он Вам сообщит. Если он не говорит ничего про LIRC,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
346 то поддержка LIRC не была скомпилирована. Вот так :-)
8d2a004857ba New translated file.
lumag
parents:
diff changeset
347 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
348
8d2a004857ba New translated file.
lumag
parents:
diff changeset
349 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
350 Имя приложения для <application>MPlayer</application> &mdash; угадайте &mdash;
8d2a004857ba New translated file.
lumag
parents:
diff changeset
351 <filename>mplayer</filename>. Вы можете использовать все команды mplayer'а и
8d2a004857ba New translated file.
lumag
parents:
diff changeset
352 даже можете использовать более одной команды, разделив их символами
8d2a004857ba New translated file.
lumag
parents:
diff changeset
353 <literal>\n</literal>. Не забудьте включить флаг repeat[повтор] в
8d2a004857ba New translated file.
lumag
parents:
diff changeset
354 <filename>.lircrc</filename>, когда это имеет смысл (перемещение, громкость
8d2a004857ba New translated file.
lumag
parents:
diff changeset
355 и т.п.). Вот выдержка из моего <filename>.lircrc</filename>:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
356 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
357
8d2a004857ba New translated file.
lumag
parents:
diff changeset
358 <programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
359 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
360 button = VOLUME_PLUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
361 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
362 config = volume 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
363 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
364 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
365
8d2a004857ba New translated file.
lumag
parents:
diff changeset
366 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
367 button = VOLUME_MINUS
8d2a004857ba New translated file.
lumag
parents:
diff changeset
368 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
369 config = volume -1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
370 repeat = 1
8d2a004857ba New translated file.
lumag
parents:
diff changeset
371 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
372
8d2a004857ba New translated file.
lumag
parents:
diff changeset
373 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
374 button = CD_PLAY
8d2a004857ba New translated file.
lumag
parents:
diff changeset
375 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
376 config = pause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
377 end
8d2a004857ba New translated file.
lumag
parents:
diff changeset
378
8d2a004857ba New translated file.
lumag
parents:
diff changeset
379 begin
8d2a004857ba New translated file.
lumag
parents:
diff changeset
380 button = CD_STOP
8d2a004857ba New translated file.
lumag
parents:
diff changeset
381 prog = mplayer
8d2a004857ba New translated file.
lumag
parents:
diff changeset
382 config = seek 0 1\npause
8d2a004857ba New translated file.
lumag
parents:
diff changeset
383 end<!--
8d2a004857ba New translated file.
lumag
parents:
diff changeset
384 --></programlisting>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
385
8d2a004857ba New translated file.
lumag
parents:
diff changeset
386 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
387 Если Вам не нравится стандартное место Вашего конфигурационного файла lirc
8d2a004857ba New translated file.
lumag
parents:
diff changeset
388 (<filename>~/.lircrc</filename>), используйте опцию <option>-lircconf
8d2a004857ba New translated file.
lumag
parents:
diff changeset
389 <replaceable>filename</replaceable></option>, чтобы указать другой файл.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
390 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
391 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
392
8d2a004857ba New translated file.
lumag
parents:
diff changeset
393
8d2a004857ba New translated file.
lumag
parents:
diff changeset
394 <sect2 id="slave-mode">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
395 <title>Подчинённый (&quot;рабский&quot;) режим</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
396 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
397 Наличие подчинённого режима позволяет Вам создавать простые приложения к
8d2a004857ba New translated file.
lumag
parents:
diff changeset
398 <application>MPlayer</application>'у. Когда режим включён (опцией
8d2a004857ba New translated file.
lumag
parents:
diff changeset
399 <option>-slave</option>), <application>MPlayer</application> читает со
8d2a004857ba New translated file.
lumag
parents:
diff changeset
400 стандартного входа команды, разделяемые символом конца строки (\n).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
401 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
402 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
403 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
404
8d2a004857ba New translated file.
lumag
parents:
diff changeset
405
8d2a004857ba New translated file.
lumag
parents:
diff changeset
406 <sect1 id="streaming">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
407 <title>Сетевые потоки и каналы</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
408
8d2a004857ba New translated file.
lumag
parents:
diff changeset
409 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
410 <application>MPlayer</application> может проигрывать файлы по сети, используя
8d2a004857ba New translated file.
lumag
parents:
diff changeset
411 HTTP, FTP, MMS или RTSP/RTP протокол.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
412 </para>
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 Проигрывание включается добавлением URL'а в командную строку.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
416 Также, <application>MPlayer</application> учитывает переменную среды
8d2a004857ba New translated file.
lumag
parents:
diff changeset
417 <envar>http_proxy</envar> и использует прокси[proxy], если это возможно.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
418 Также можно заставить использовать прокси:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
419 <screen>mplayer http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
420 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
421
8d2a004857ba New translated file.
lumag
parents:
diff changeset
422 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
423 <application>MPlayer</application> может считывать данные со стандартного входа
8d2a004857ba New translated file.
lumag
parents:
diff changeset
424 (а <emphasis>не</emphasis> из поименованных каналов). Это может, например,
8d2a004857ba New translated file.
lumag
parents:
diff changeset
425 использоваться при проигрывании файлов по FTP:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
426 <screen>wget ftp://micorsops.com/something.avi -O - | mplayer -</screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
427 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
428
8d2a004857ba New translated file.
lumag
parents:
diff changeset
429 <note><para>
11148
lumag
parents: 11058
diff changeset
430 Мы рекомендуем включать <option>-cache</option> при проигрывании из сети:
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
431 <screen>wget ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 -</screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
432 </para></note>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
433 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
434
8d2a004857ba New translated file.
lumag
parents:
diff changeset
435 <sect1 id="mpst" xreflabel="Удалённые потоки">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
436 <title>Удалённые потоки</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
437
8d2a004857ba New translated file.
lumag
parents:
diff changeset
438 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
439 Удалённые потоки позволяют получить доступ к большинству поддерживаемых
8d2a004857ba New translated file.
lumag
parents:
diff changeset
440 <application>MPlayer</application>'ом типам потоков с удалённой машины.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
441 Основное предназначение этой возможности &mdash; это прямой доступ
8d2a004857ba New translated file.
lumag
parents:
diff changeset
442 к CD или DVD приводу другого компьютера по сети (предполагается, что пропускной
8d2a004857ba New translated file.
lumag
parents:
diff changeset
443 способности сети будет достаточно). С другой стороны, некоторые типы потоков
8d2a004857ba New translated file.
lumag
parents:
diff changeset
444 (в настоящий момент это TV и MF) не могут использоваться удалённо, поскольку
8d2a004857ba New translated file.
lumag
parents:
diff changeset
445 они выполнены на уровне демуксера. Это печально для MF, а вот TV всё равно
8d2a004857ba New translated file.
lumag
parents:
diff changeset
446 потребовал бы ужасной пропускной способности сети.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
447 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
448
8d2a004857ba New translated file.
lumag
parents:
diff changeset
449 <sect2 id="compile_mpst_server">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
450 <title>Компиляция сервера</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
451 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
452 После компиляции <application>MPlayer</application>'а, перейдите в каталог
8d2a004857ba New translated file.
lumag
parents:
diff changeset
453 <filename>TOOLS/netstream</filename> и выполните
8d2a004857ba New translated file.
lumag
parents:
diff changeset
454 <application>make</application>, чтобы собрать сервер.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
455 Затем Вы можете скопировать файл <application>netstream</application>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
456 в нужное место Вашей системы (обычно это
8d2a004857ba New translated file.
lumag
parents:
diff changeset
457 <filename class="directory">/usr/local/bin</filename> на Linux).
8d2a004857ba New translated file.
lumag
parents:
diff changeset
458 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
459 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
460
8d2a004857ba New translated file.
lumag
parents:
diff changeset
461 <sect2 id="use_mpst">
8d2a004857ba New translated file.
lumag
parents:
diff changeset
462 <title>Использование удалённых потоков</title>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
463 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
464 Сначала Вы должны запустить сервер на машине, к которой Вы хотите получить
8d2a004857ba New translated file.
lumag
parents:
diff changeset
465 удалённый доступ. В настоящий момент сервер чрезвычайно прост и не использует
8d2a004857ba New translated file.
lumag
parents:
diff changeset
466 никаких аргументов командной строки, поэтому просто запускайте
8d2a004857ba New translated file.
lumag
parents:
diff changeset
467 <filename>netstream</filename>. Теперь, например, Вы можете проиграть
8d2a004857ba New translated file.
lumag
parents:
diff changeset
468 вторую дорожку VCD'шника на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
469 <screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
470 mplayer -cache 5000 mpst://servername/vcd://2
8d2a004857ba New translated file.
lumag
parents:
diff changeset
471 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
472 Вы можете получить доступ к файлам на сервере:
8d2a004857ba New translated file.
lumag
parents:
diff changeset
473 <screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
474 mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi
8d2a004857ba New translated file.
lumag
parents:
diff changeset
475 </screen>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
476 Обратите внимание, что пути не начинающиеся с / будут относительными к каталогу,
11148
lumag
parents: 11058
diff changeset
477 в котором запущен сервер. Использование <option>-cache</option> не требуется,
lumag
parents: 11058
diff changeset
478 но это будет очень полезно.
11058
8d2a004857ba New translated file.
lumag
parents:
diff changeset
479 </para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
480
8d2a004857ba New translated file.
lumag
parents:
diff changeset
481 <para>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
482 Обратите внимание, что в настоящий момент сервер вообще не является безопасным.
8d2a004857ba New translated file.
lumag
parents:
diff changeset
483 поэтому, не сообщайте о многочисленных эксплоитах[exploit], которые его
8d2a004857ba New translated file.
lumag
parents:
diff changeset
484 используют. Лучше пришлите несколько (хороших) патчей, чтобы сделать его лучше,
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 </sect2>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
489
8d2a004857ba New translated file.
lumag
parents:
diff changeset
490 </sect1>
8d2a004857ba New translated file.
lumag
parents:
diff changeset
491 </chapter>