mirror of https://github.com/mpv-player/mpv
492 lines
16 KiB
XML
492 lines
16 KiB
XML
<?xml version="1.0" encoding="koi8-r"?>
|
||
<!-- synced with 1.11 -->
|
||
<chapter id="usage">
|
||
<title>éÓÐÏÌØÚÏ×ÁÎÉÅ</title>
|
||
|
||
<sect1 id="commandline">
|
||
<title>ëÏÍÁÎÄÎÁÑ ÓÔÒÏËÁ</title>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÉÓÐÏÌØÚÕÅÔ ÓÏÓÔÁ×ÎÏÅ ÄÅÒÅ×Ï ÐÒÏÉÇÒÙ×ÁÎÉÑ.
|
||
ïÎÏ ÓÏÓÔÏÉÔ ÉÚ ÇÌÏÂÁÌØÎÙÈ ÏÐÃÉÊ, ÉÄÕÝÉÈ ÐÅÒ×ÙÍÉ, ÎÁÐÒÉÍÅÒ
|
||
|
||
<screen>mplayer -vfm 5</screen>,
|
||
|
||
É ÏÐÃÉÊ, ÉÄÕÝÉÈ ÐÏÓÌÅ ÉÍÅÎÉ ÆÁÊÌÁ, ËÏÔÏÒÙÅ ÐÒÉÍÅÎÑÀÔÓÑ ÔÏÌØËÏ Ë ÄÁÎÎÏÍÕ
|
||
ÆÁÊÌÕ/URL/É Ô.Ð., ÎÁÐÒÉÍÅÒ:
|
||
|
||
<screen>mplayer -vfm 5 movie1.avi movie2.avi -vfm 4</screen>
|
||
</para>
|
||
|
||
<para>
|
||
÷Ù ÍÏÖÅÔÅ ÇÒÕÐÐÉÒÏ×ÁÔØ ÆÁÊÌÙ/URL'Ù ×ÍÅÓÔÅ, ÉÓÐÏÌØÚÕÑ <literal>{</literal> É
|
||
<literal>}</literal>. üÔÏ ÐÏÌÅÚÎÏ, ÎÁÐÒÉÍÅÒ, Ó ÏÐÃÉÅÊ <option>-loop</option>:
|
||
|
||
<screen>mplayer { 1.avi -loop 2 2.avi } -loop 3</screen>
|
||
|
||
üÔÁ ËÏÍÁÎÄÁ ÐÒÏÉÇÒÁÅÔ ÆÁÊÌÙ × ÔÁËÏÍ ÐÏÒÑÄËÅ: 1, 1, 2, 1, 1, 2, 1, 1, 2.
|
||
</para>
|
||
|
||
<para>
|
||
÷ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ ÆÁÊÌÁ:
|
||
<synopsis>
|
||
<command>mplayer</command><!--
|
||
--> [<replaceable>ÏÐÃÉÉ</replaceable>]<!--
|
||
--> [<replaceable>ÐÕÔØ</replaceable>/]<replaceable>ÉÍÑ_ÆÁÊÌÁ</replaceable>
|
||
</synopsis>
|
||
</para>
|
||
|
||
<para>
|
||
÷ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ ÍÎÏÖÅÓÔ×Á ÆÁÌÏ×:
|
||
<synopsis>
|
||
<command>mplayer</command><!--
|
||
--> [<replaceable>ÏÂÝÉÅ ÏÐÃÉÉ</replaceable>]<!--
|
||
--> [<replaceable>ÐÕÔØ</replaceable>/]<replaceable>ÉÍÑ_ÆÁÊÌÁ1</replaceable><!--
|
||
--> [<replaceable>ÏÐÃÉÉ ÄÌÑ ÉÍÑ_ÆÁÊÌÁ1</replaceable>]<!--
|
||
--> <replaceable>ÉÍÑ_ÆÁÊÌÁ2</replaceable><!--
|
||
--> [<replaceable>ÏÐÃÉÉ ÄÌÑ ÉÍÑ_ÆÁÊÌÁ2</replaceable>] ...
|
||
</synopsis>
|
||
</para>
|
||
|
||
<para>
|
||
÷ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ VCD:
|
||
<synopsis>
|
||
<command>mplayer</command> [<replaceable>ÏÐÃÉÉ</replaceable>]<!--
|
||
--> vcd://<replaceable>ÎÏÍÅÒ_ÄÏÒÏÖËÉ</replaceable><!--
|
||
--> [-cdrom-device <replaceable>/dev/cdrom</replaceable>]
|
||
</synopsis>
|
||
</para>
|
||
|
||
<para>
|
||
÷ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ DVD:
|
||
<synopsis>
|
||
<command>mplayer</command> [<replaceable>ÏÐÃÉÉ</replaceable>]<!--
|
||
--> dvd://<replaceable>ÉÍÑ_ÒÏÌÉËÁ</replaceable><!--
|
||
--> [-dvd-device <replaceable>/dev/dvd</replaceable>]
|
||
</synopsis>
|
||
</para>
|
||
|
||
<para>
|
||
÷ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ ÉÚ WWW:
|
||
<synopsis>
|
||
<command>mplayer</command> [<replaceable>ÏÐÃÉÉ</replaceable>]<!--
|
||
--> http://<replaceable>site.com/file.asf</replaceable>
|
||
</synopsis>
|
||
(ÔÁË ÖÅ ÍÏÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ É ÓÐÉÓËÉ ÐÒÏÉÇÒÙ×ÁÎÉÑ (ÐÌÅÊÌÉÓÔ[playlist]) )
|
||
</para>
|
||
|
||
<para>
|
||
÷ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ ÐÏ RTSP:
|
||
<synopsis>
|
||
<command>mplayer</command> [<replaceable>ÏÐÃÉÉ</replaceable>]<!--
|
||
--> rtsp://<replaceable>server.example.com/streamName</replaceable>
|
||
</synopsis>
|
||
</para>
|
||
|
||
<para>
|
||
ðÒÉÍÅÒÙ:
|
||
<screen>
|
||
mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
||
mplayer vcd://2 -cd-rom-device /dev/hdc
|
||
mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
||
mplayer dvd://1 -dvd-device /dev/hdc
|
||
mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi<!--
|
||
--></screen>
|
||
</para>
|
||
</sect1>
|
||
|
||
|
||
<sect1 id="control">
|
||
<title>õÐÒÁ×ÌÅÎÉÅ</title>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÉÓÐÏÌØÚÕÅÔ ÐÏÌÎÏÓÔØÀ ËÏÎÆÉÇÕÒÉÒÕÅÍÙÊ,
|
||
ÏÓÎÏ×ÁÎÎÙÊ ÎÁ ÐÏÎÑÔÉÉ ËÏÍÁÎÄÙ, ÕÒÏ×ÅÎØ ÕÐÒÁ×ÌÅÎÉÑ, ÐÏÚ×ÏÌÑÀÝÉÊ ÍÁÎÉÐÕÌÉÒÏ×ÁÔØ
|
||
<application>MPlayer</application>'ÏÍ Ó ËÌÁ×ÉÁÔÕÒÙ, ÍÙÛØÀ, ÄÖÏÊÓÔÉËÏÍ ÉÌÉ
|
||
Ó ÐÕÌØÔÁ ÄÉÓÔÁÎÃÉÏÎÎÏÇÏ ÕÐÒÁ×ÌÅÎÉÑ (ÉÓÐÏÌØÚÕÑ LIRC). ðÏÌÎÙÊ ÓÐÉÓÏË ËÎÏÐÏË
|
||
ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ Ó ËÌÁ×ÉÁÔÕÒÙ ÓÍ. ÎÁ man-ÓÔÒÁÎÉÃÅ.
|
||
</para>
|
||
|
||
|
||
<sect2 id="ctrl-cfg">
|
||
<title>ëÏÎÆÉÇÕÒÁÃÉÑ ÕÐÒÁ×ÌÅÎÉÑ</title>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÐÏÚ×ÏÌÑÅÔ ÐÏ×ÅÓÉÔØ ÌÀÂÕÀ MPlayer'Ï×ÓËÕÀ
|
||
ËÏÍÁÎÄÕ ÎÁ ÌÀÂÕÀ ËÎÏÐËÕ, ÉÓÐÏÌØÚÕÑ ÐÒÏÓÔÏÊ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÊ ÆÁÊÌ. óÉÎÔÁËÓÉÓ
|
||
ÆÁÊÌÁ ÓÏÓÔÏÉÔ ÉÚ ÉÍÅÎÉ ËÎÏÐËÉ, ÓÏÐÒÏ×ÏÖÄÁÀÝÅÇÏÓÑ ËÏÍÁÎÄÏÊ. ðÏ ÕÍÏÌÞÁÎÉÀ
|
||
ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÊ ÆÁÊÌ ÎÁÈÏÄÉÔÓÑ × <filename>$HOME/.mplayer/input.conf</filename>,
|
||
ÎÏ ÜÔÏ ÍÏÖÎÏ ÉÚÍÅÎÉÔØ, ÕËÁÚÁ× ÏÐÃÉÀ
|
||
<option>-input <replaceable>conf</replaceable></option>
|
||
(ÏÔÎÏÓÉÔÅÌØÎÙÊ ÐÕÔØ ÕËÁÚÙ×ÁÅÔÓÑ ÏÔÎÏÓÉÔÅÌØÎÏ <filename>$HOME/.mplayer</filename>).
|
||
</para>
|
||
|
||
<example>
|
||
<title>ðÒÏÓÔÏÊ ÆÁÊÌ ËÏÎÆÉÇÕÒÁÃÉÉ ××ÏÄÁ</title>
|
||
<programlisting>
|
||
##
|
||
## MPlayer input control file
|
||
##
|
||
|
||
RIGHT seek +10
|
||
LEFT seek -10
|
||
- audio_delay 0.100
|
||
+ audio_delay -0.100
|
||
q quit
|
||
> pt_step 1
|
||
< pt_step -1
|
||
ENTER pt_step 1 1<!--
|
||
--></programlisting>
|
||
</example>
|
||
|
||
|
||
<sect3 id="ctrl-cfg-keys">
|
||
<title>îÁÚ×ÁÎÉÑ ËÎÏÐÏË</title>
|
||
|
||
<para>
|
||
÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÐÏÌÎÙÊ ÓÐÉÓÏË, ÚÁÐÕÓÔÉ×
|
||
<command>mplayer -input keylist</command>.
|
||
</para>
|
||
|
||
<itemizedlist>
|
||
<title>ëÌÁ×ÉÁÔÕÒÁ</title>
|
||
<listitem><simpara>÷ÓÅ ÐÅÞÁÔÎÙÅ ÓÉÍ×ÏÌÙ</simpara></listitem>
|
||
<listitem><simpara><literal>SPACE</literal></simpara></listitem>
|
||
<listitem><simpara><literal>ENTER</literal></simpara></listitem>
|
||
<listitem><simpara><literal>TAB</literal></simpara></listitem>
|
||
<listitem><simpara><literal>CTRL</literal></simpara></listitem>
|
||
<listitem><simpara><literal>BS</literal></simpara></listitem>
|
||
<listitem><simpara><literal>DEL</literal></simpara></listitem>
|
||
<listitem><simpara><literal>INS</literal></simpara></listitem>
|
||
<listitem><simpara><literal>HOME</literal></simpara></listitem>
|
||
<listitem><simpara><literal>END</literal></simpara></listitem>
|
||
<listitem><simpara><literal>PGUP</literal></simpara></listitem>
|
||
<listitem><simpara><literal>PGDWN</literal></simpara></listitem>
|
||
<listitem><simpara><literal>ESC</literal></simpara></listitem>
|
||
<listitem><simpara><literal>RIGHT</literal></simpara></listitem>
|
||
<listitem><simpara><literal>LEFT</literal></simpara></listitem>
|
||
<listitem><simpara><literal>UP</literal></simpara></listitem>
|
||
<listitem><simpara><literal>DOWN</literal></simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
<itemizedlist>
|
||
<title>íÙÛØ (ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÔÏÌØËÏ ÐÏÄ X'ÁÍÉ)</title>
|
||
<listitem><simpara>
|
||
<literal>MOUSE_BTN0</literal> (ìÅ×ÁÑ ËÎÏÐËÁ)</simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>MOUSE_BTN1</literal> (ðÒÁ×ÁÑ ËÎÏÐËÁ)</simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>MOUSE_BTN2</literal> (óÒÅÄÎÑÑ ËÎÏÐËÁ)</simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>MOUSE_BTN3</literal> (ëÏÌ£ÓÉËÏ)</simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>MOUSE_BTN4</literal> (ëÏÌ£ÓÉËÏ)</simpara></listitem>
|
||
<listitem><simpara>...</simpara></listitem>
|
||
<listitem><simpara><literal>MOUSE_BTN9</literal></simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
<itemizedlist>
|
||
<title>äÖÏÊÓÔÉË (ÐÏÄÄÅÒÖËÁ ÄÏÌÖÎÁ ÂÙÔØ ×ËÌÀÞÅÎÁ ÐÒÉ ËÏÍÐÉÌÑÃÉÉ)</title>
|
||
<listitem><simpara>
|
||
<literal>JOY_RIGHT</literal> ÉÌÉ
|
||
<literal>JOY_AXIS0_PLUS</literal></simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>JOY_LEFT</literal> ÉÌÉ
|
||
<literal>JOY_AXIS0_MINUS</literal></simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>JOY_UP</literal> ÉÌÉ
|
||
<literal>JOY_AXIS1_MINUS</literal></simpara></listitem>
|
||
<listitem><simpara>
|
||
<literal>JOY_DOWN</literal> ÉÌÉ
|
||
<literal>JOY_AXIS1_PLUS</literal></simpara></listitem>
|
||
<listitem><simpara><literal>JOY_AXIS2_PLUS</literal></simpara></listitem>
|
||
<listitem><simpara><literal>JOY_AXIS2_MINUS</literal></simpara></listitem>
|
||
<listitem><simpara>...</simpara></listitem>
|
||
<listitem><simpara><literal>JOY_AXIS9_PLUS</literal></simpara></listitem>
|
||
<listitem><simpara><literal>JOY_AXIS9_MINUS</literal></simpara></listitem>
|
||
</itemizedlist>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="ctrl-cfg-commands">
|
||
<title>ëÏÍÁÎÄÙ</title>
|
||
|
||
<para>
|
||
÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÐÏÌÎÙÊ ÓÐÉÓÏË ÉÚ×ÅÓÔÎÙÈ ËÏÍÁÎÄ, ÚÁÐÕÓÔÉ×
|
||
<command>mplayer -input cmdlist</command>.
|
||
</para>
|
||
|
||
<itemizedlist>
|
||
<listitem><para><literal>seek</literal> (int) val [(int) type=0]</para>
|
||
<para>
|
||
ðÅÒÅÍÅÓÔÉÔØÓÑ × ËÁËÏÅ-ÔÏ ÍÅÓÔÏ ÆÉÌØÍÁ.
|
||
Type <literal>0</literal> — ÜÔÏ ÏÔÎÏÓÉÔÅÌØÎÏÅ ÐÅÒÅÍÅÝÅÎÉÅ ÎÁ
|
||
+/- ×ÅÌÉÞÉÎÁ ÓÅËÕÎÄ.
|
||
Type <literal>1</literal> — ÜÔÏ ÐÅÒÅÍÅÝÅÎÉÅ Ë val, ×ÙÒÁÖÅÎÎÏÍÕ
|
||
× ÐÒÏÃÅÎÔÁÈ ÏÔ ÄÌÉÎÙ ÆÉÌØÍÁ.
|
||
</para></listitem>
|
||
<listitem><para><literal>audio_delay</literal> (float) val</para>
|
||
<para>
|
||
ðÏÄÓÔÒÏÉÔØ ÚÁÄÅÒÖËÕ Ú×ÕËÁ ÎÁ ÚÁÄÁÎÎÏÅ ËÏÌÉÞÅÓÔ×Ï ÓÅËÕÎÄ
|
||
</para></listitem>
|
||
<listitem><para><literal>quit</literal></para>
|
||
<para>
|
||
÷ÙÊÔÉ ÉÚ <application>MPlayer</application>'Á
|
||
</para></listitem>
|
||
<listitem><para><literal>pause</literal></para>
|
||
<para>
|
||
ÏÓÔÁÎÏ×ÉÔØ/ÐÒÏÄÏÌÖÉÔØ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ
|
||
</para></listitem>
|
||
<listitem><para><literal>grap_frames</literal></para>
|
||
<para>
|
||
ëÔÏ-ÎÉÂÕÄØ ÚÎÁÅÔ ?
|
||
</para></listitem>
|
||
<listitem><para><literal>pt_step</literal> (int) val [(int) force=0]</para>
|
||
<para>
|
||
ðÅÒÅÊÔÉ Ë ÓÌÅÄÕÀÝÅÍÕ/ÐÒÅÄÙÄÕÝÅÍÕ ÜÌÅÍÅÎÔÕ ÄÅÒÅ×Á. úÎÁË val ÕËÁÚÙ×ÁÅÔ
|
||
ÎÁÐÒÁ×ÌÅÎÉÅ. åÓÌÉ × ÜÔÏÍ ÎÁÐÒÁ×ÌÅÎÉÉ ÎÅÔ ÄÏÓÔÕÐÎÙÈ ÜÌÅÍÅÎÔÏ×, ÔÏ ÎÉÞÅÇÏ
|
||
ÎÅ ÐÒÏÉÚÏÊÄ£Ô, ÅÓÌÉ force ÒÁ×ÎÏ ÎÕÌÀ.
|
||
</para></listitem>
|
||
<listitem><para><literal>pt_up_step</literal> (int) val [(int) force=0]</para>
|
||
<para>
|
||
ðÏÞÔÉ ËÁË pt_step, ÎÏ ÐÅÒÅÍÅÝÁÅÔÓÑ ÎÁ ÓÌÅÄÕÀÝÉÊ/ÐÒÅÄÙÄÕÝÉÊ ÜÌÅÍÅÎÔ
|
||
× ÒÏÄÉÔÅÌØÓËÏÍ ÓÐÉÓËÅ. ðÏÌÅÚÎÏ, ÞÔÏÂÙ ×ÙÊÔÉ ÉÚ ×ÎÕÔÒÅÎÎÅÇÏ ÃÉËÌÁ × ÄÅÒÅ×Å.
|
||
</para></listitem>
|
||
<listitem><para><literal>alt_src_step</literal> (int) val</para>
|
||
<para>
|
||
åÓÌÉ ÄÏÓÔÕÐÎÏ ÂÏÌÅÅ ÏÄÎÏÇÏ ÉÓÔÏÞÎÉËÁ, ×ÙÂÉÒÁÅÔ ÓÌÅÄÕÀÝÉÊ/ÐÒÅÄÙÄÕÝÉÊ
|
||
(ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÔÏÌØËÏ × asx ÓÐÉÓËÁÈ ÐÒÏÉÇÒÙ×ÁÎÉÑ).
|
||
</para></listitem>
|
||
<listitem><para><literal>sub_delay</literal> (float) val [(int) abs=0]</para>
|
||
<para>
|
||
ðÏÄÓÔÒÏÊËÁ ÚÁÄÅÒÖËÉ ÓÕÂÔÉÔÒÏ× ÎÁ +/- val ÓÅËÕÎÄ ÉÌÉ ÕÓÔÁÎÏ×ÉÔØ × val ÓÅËÕÎÄ,
|
||
ÅÓÌÉ abs ÎÅ ÎÏÌØ.
|
||
</para></listitem>
|
||
<listitem><para><literal>osd</literal> [(int) level=-1]</para>
|
||
<para>
|
||
ðÅÒÅËÌÀÞÉÔØ osd ÒÅÖÉÍ ÉÌÉ ÕÓÔÁÎÏ×ÉÔØ ÅÇÏ × level, ÅÓÌÉ level > 0.
|
||
</para></listitem>
|
||
<listitem><para><literal>volume</literal> (int) dir</para>
|
||
<para>
|
||
õ×ÅÌÉÞÉÔØ/ÕÍÅÎØÛÉÔØ ÇÒÏÍËÏÓÔØ.
|
||
</para></listitem>
|
||
<listitem><simpara><literal>contrast</literal> (int) val [(int) abs=0]
|
||
</simpara></listitem>
|
||
<listitem><simpara><literal>brightness</literal> (int) val [(int) abs=0]
|
||
</simpara></listitem>
|
||
<listitem><simpara><literal>hue</literal> (int) val [(int) abs=0]
|
||
</simpara></listitem>
|
||
<listitem><para><literal>saturation</literal> (int) val [(int) abs=0]</para>
|
||
<para>
|
||
õÓÔÁÎÏ×ÉÔØ/ÐÏÄÓÔÒÏÉÔØ ÐÁÒÁÍÅÔÒÙ ×ÉÄÅÏ. Val ÉÚÍÅÎÑÅÔÓÑ ÏÔ -100 ÄÏ 100.
|
||
</para></listitem>
|
||
<listitem><para><literal>frame_drop</literal> [(int) type=-1]</para>
|
||
<para>
|
||
éÚÍÅÎÉÔØ/ÕÓÔÁÎÏ×ÉÔØ ÒÅÖÉÍ ÐÒÏÐÕÓËÁ ËÁÄÒÏ×.
|
||
</para></listitem>
|
||
<listitem><para><literal>sub_visibility</literal></para>
|
||
<para>
|
||
ïÔÒÅÇÕÌÉÒÏ×ÁÔØ ×ÉÄÉÍÏÓÔØ ÓÕÂÔÉÔÒÏ×.
|
||
</para></listitem>
|
||
<listitem><para><literal>sub_pos</literal> (int) val</para>
|
||
<para>
|
||
ðÏÄÓÔÒÏÉÔØ ÐÏÚÉÃÉÀ ÓÕÂÔÉÔÒÏ×.
|
||
</para></listitem>
|
||
<listitem><para><literal>vobsub_lang</literal></para>
|
||
<para>
|
||
éÚÍÅÎÉÔØ ÑÚÙË VobSub ÓÕÂÔÉÔÒÏ×.
|
||
</para></listitem>
|
||
<listitem><para><literal>vo_fullscreen</literal></para>
|
||
<para>
|
||
ðÅÒÅËÌÀÞÉÔØ ÐÏÌÎÏÜËÒÁÎÎÏÓÔØ ÒÅÖÉÍÁ.
|
||
</para></listitem>
|
||
<listitem><para><literal>tv_step_channel</literal> (int) dir</para>
|
||
<para>
|
||
÷ÙÂÒÁÔØ ÓÌÅÄÕÀÝÉÊ/ÐÒÅÄÙÄÕÝÉÊ ËÁÎÁÌ.
|
||
</para></listitem>
|
||
<listitem><para><literal>tv_step_norm</literal></para>
|
||
<para>
|
||
éÚÍÅÎÉÔØ ÓÔÁÎÄÁÒÔ TV.
|
||
</para></listitem>
|
||
<listitem><para><literal>tv_step_chanlist</literal></para>
|
||
<para>
|
||
éÚÍÅÎÉÔØ ÓÐÉÓÏË ËÁÎÁÌÏ×.
|
||
</para></listitem>
|
||
<listitem><simpara><literal>gui_loadfile</literal></simpara></listitem>
|
||
<listitem><simpara><literal>gui_loadsubtitle</literal></simpara></listitem>
|
||
<listitem><simpara><literal>gui_about</literal></simpara></listitem>
|
||
<listitem><simpara><literal>gui_play</literal></simpara></listitem>
|
||
<listitem><simpara><literal>gui_stop</literal></simpara></listitem>
|
||
<listitem><simpara><literal>gui_playlist</literal></simpara></listitem>
|
||
<listitem><simpara><literal>gui_preferences</literal></simpara></listitem>
|
||
<listitem><para><literal>gui_skinbrowser</literal></para>
|
||
<para>
|
||
äÅÊÓÔ×ÉÑ Ó GUI
|
||
</para></listitem>
|
||
</itemizedlist>
|
||
</sect3>
|
||
</sect2>
|
||
|
||
|
||
<sect2 id="lirc">
|
||
<title>õÐÒÁ×ÌÅÎÉÅ ÞÅÒÅÚ LIRC</title>
|
||
|
||
<para>
|
||
Linux Infrared Remote Control[éÎÆÒÁËÒÁÓÎÏÅ õÄÁÌ£ÎÎÏÅ õÐÒÁ×ÌÅÎÉÅ Linux'ÏÍ]
|
||
— ÉÓÐÏÌØÚÕÊÔÅ ÌÅÇËÏ ÓÏÂÉÒÁÅÍÙÊ × ÄÏÍÁÛÎÉÈ ÕÓÌÏ×ÉÑÈ IR-ÐÒÉ£ÍÎÉË, (ÐÏÞÔÉ)
|
||
ÌÀÂÏÊ ÐÕÌØÔ ÕÐÒÁ×ÌÅÎÉÑ É ÕÐÒÁ×ÌÑÊÔÅ Ó ÉÈ ÐÏÍÏÝØÀ ÷ÁÛÅÊ Linux ÍÁÛÉÎÏÊ.
|
||
ðÏÄÒÏÂÎÏÓÔÉ ÎÁ <ulink url="http://www.lirc.org">www.lirc.org</ulink>.
|
||
</para>
|
||
|
||
<para>
|
||
åÓÌÉ Õ ÷ÁÓ ÕÓÔÁÎÏ×ÌÅÎ ÒÁËÅÔ lirc, configure ÓÁÍÏ ÅÇÏ ÏÂÎÁÒÕÖÉÔ. åÓÌÉ ÷Ó£ ÐÒÏÛÌÏ
|
||
ÈÏÒÏÛÏ, <application>MPlayer</application> ÐÒÉ ÓÔÁÒÔÅ ÎÁÐÅÞÁÔÁÅÔ ÓÏÏÂÝÅÎÉÅ,
|
||
ÐÏÈÏÖÅÅ ÎÁ "<computeroutput>Setting up lirc support...</computeroutput>".
|
||
åÓÌÉ ÐÒÏÉÚÏÛÌÁ ÏÛÉÂËÁ, ÏÎ ÷ÁÍ ÓÏÏÂÝÉÔ. åÓÌÉ ÏÎ ÎÅ ÇÏ×ÏÒÉÔ ÎÉÞÅÇÏ ÐÒÏ LIRC,
|
||
ÔÏ ÐÏÄÄÅÒÖËÁ LIRC ÎÅ ÂÙÌÁ ÓËÏÍÐÉÌÉÒÏ×ÁÎÁ. ÷ÏÔ ÔÁË :-)
|
||
</para>
|
||
|
||
<para>
|
||
éÍÑ ÐÒÉÌÏÖÅÎÉÑ ÄÌÑ <application>MPlayer</application> — ÕÇÁÄÁÊÔÅ —
|
||
<filename>mplayer</filename>. ÷Ù ÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ×ÓÅ ËÏÍÁÎÄÙ mplayer'Á É
|
||
ÄÁÖÅ ÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÂÏÌÅÅ ÏÄÎÏÊ ËÏÍÁÎÄÙ, ÒÁÚÄÅÌÉ× ÉÈ ÓÉÍ×ÏÌÁÍÉ
|
||
<literal>\n</literal>. îÅ ÚÁÂÕÄØÔÅ ×ËÌÀÞÉÔØ ÆÌÁÇ repeat[ÐÏ×ÔÏÒ] ×
|
||
<filename>.lircrc</filename>, ËÏÇÄÁ ÜÔÏ ÉÍÅÅÔ ÓÍÙÓÌ (ÐÅÒÅÍÅÝÅÎÉÅ, ÇÒÏÍËÏÓÔØ
|
||
É Ô.Ð.). ÷ÏÔ ×ÙÄÅÒÖËÁ ÉÚ ÍÏÅÇÏ <filename>.lircrc</filename>:
|
||
</para>
|
||
|
||
<programlisting>
|
||
begin
|
||
button = VOLUME_PLUS
|
||
prog = mplayer
|
||
config = volume 1
|
||
repeat = 1
|
||
end
|
||
|
||
begin
|
||
button = VOLUME_MINUS
|
||
prog = mplayer
|
||
config = volume -1
|
||
repeat = 1
|
||
end
|
||
|
||
begin
|
||
button = CD_PLAY
|
||
prog = mplayer
|
||
config = pause
|
||
end
|
||
|
||
begin
|
||
button = CD_STOP
|
||
prog = mplayer
|
||
config = seek 0 1\npause
|
||
end<!--
|
||
--></programlisting>
|
||
|
||
<para>
|
||
åÓÌÉ ÷ÁÍ ÎÅ ÎÒÁ×ÉÔÓÑ ÓÔÁÎÄÁÒÔÎÏÅ ÍÅÓÔÏ ÷ÁÛÅÇÏ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÏÇÏ ÆÁÊÌÁ lirc
|
||
(<filename>~/.lircrc</filename>), ÉÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-lircconf
|
||
<replaceable>filename</replaceable></option>, ÞÔÏÂÙ ÕËÁÚÁÔØ ÄÒÕÇÏÊ ÆÁÊÌ.
|
||
</para>
|
||
</sect2>
|
||
|
||
|
||
<sect2 id="slave-mode">
|
||
<title>ðÏÄÞÉΣÎÎÙÊ ("ÒÁÂÓËÉÊ") ÒÅÖÉÍ</title>
|
||
<para>
|
||
îÁÌÉÞÉÅ ÐÏÄÞÉΣÎÎÏÇÏ ÒÅÖÉÍÁ ÐÏÚ×ÏÌÑÅÔ ÷ÁÍ ÓÏÚÄÁ×ÁÔØ ÐÒÏÓÔÙÅ ÐÒÉÌÏÖÅÎÉÑ Ë
|
||
<application>MPlayer</application>'Õ. ëÏÇÄÁ ÒÅÖÉÍ ×ËÌÀޣΠ(ÏÐÃÉÅÊ
|
||
<option>-slave</option>), <application>MPlayer</application> ÞÉÔÁÅÔ ÓÏ
|
||
ÓÔÁÎÄÁÒÔÎÏÇÏ ×ÈÏÄÁ ËÏÍÁÎÄÙ, ÒÁÚÄÅÌÑÅÍÙÅ ÓÉÍ×ÏÌÏÍ ËÏÎÃÁ ÓÔÒÏËÉ (\n).
|
||
</para>
|
||
</sect2>
|
||
</sect1>
|
||
|
||
|
||
<sect1 id="streaming">
|
||
<title>óÅÔÅ×ÙÅ ÐÏÔÏËÉ É ËÁÎÁÌÙ</title>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÍÏÖÅÔ ÐÒÏÉÇÒÙ×ÁÔØ ÆÁÊÌÙ ÐÏ ÓÅÔÉ, ÉÓÐÏÌØÚÕÑ
|
||
HTTP, FTP, MMS ÉÌÉ RTSP/RTP ÐÒÏÔÏËÏÌ.
|
||
</para>
|
||
|
||
<para>
|
||
ðÒÏÉÇÒÙ×ÁÎÉÅ ×ËÌÀÞÁÅÔÓÑ ÄÏÂÁ×ÌÅÎÉÅÍ URL'Á × ËÏÍÁÎÄÎÕÀ ÓÔÒÏËÕ.
|
||
ôÁËÖÅ, <application>MPlayer</application> ÕÞÉÔÙ×ÁÅÔ ÐÅÒÅÍÅÎÎÕÀ ÓÒÅÄÙ
|
||
<envar>http_proxy</envar> É ÉÓÐÏÌØÚÕÅÔ ÐÒÏËÓÉ[proxy], ÅÓÌÉ ÜÔÏ ×ÏÚÍÏÖÎÏ.
|
||
ôÁËÖÅ ÍÏÖÎÏ ÚÁÓÔÁ×ÉÔØ ÉÓÐÏÌØÚÏ×ÁÔØ ÐÒÏËÓÉ:
|
||
<screen>mplayer http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</screen>
|
||
</para>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÍÏÖÅÔ ÓÞÉÔÙ×ÁÔØ ÄÁÎÎÙÅ ÓÏ ÓÔÁÎÄÁÒÔÎÏÇÏ ×ÈÏÄÁ
|
||
(Á <emphasis>ÎÅ</emphasis> ÉÚ ÐÏÉÍÅÎÏ×ÁÎÎÙÈ ËÁÎÁÌÏ×). üÔÏ ÍÏÖÅÔ, ÎÁÐÒÉÍÅÒ,
|
||
ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÐÒÉ ÐÒÏÉÇÒÙ×ÁÎÉÉ ÆÁÊÌÏ× ÐÏ FTP:
|
||
<screen>wget ftp://micorsops.com/something.avi -O - | mplayer -</screen>
|
||
</para>
|
||
|
||
<note><para>
|
||
íÙ ÒÅËÏÍÅÎÄÕÅÍ ×ËÌÀÞÁÔØ <option>-cache</option> ÐÒÉ ÐÒÏÉÇÒÙ×ÁÎÉÉ ÉÚ ÓÅÔÉ:
|
||
<screen>wget ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 -</screen>
|
||
</para></note>
|
||
</sect1>
|
||
|
||
<sect1 id="mpst" xreflabel="õÄÁÌ£ÎÎÙÅ ÐÏÔÏËÉ">
|
||
<title>õÄÁÌ£ÎÎÙÅ ÐÏÔÏËÉ</title>
|
||
|
||
<para>
|
||
õÄÁÌ£ÎÎÙÅ ÐÏÔÏËÉ ÐÏÚ×ÏÌÑÀÔ ÐÏÌÕÞÉÔØ ÄÏÓÔÕÐ Ë ÂÏÌØÛÉÎÓÔ×Õ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ
|
||
<application>MPlayer</application>'ÏÍ ÔÉÐÁÍ ÐÏÔÏËÏ× Ó ÕÄÁÌ£ÎÎÏÊ ÍÁÛÉÎÙ.
|
||
ïÓÎÏ×ÎÏÅ ÐÒÅÄÎÁÚÎÁÞÅÎÉÅ ÜÔÏÊ ×ÏÚÍÏÖÎÏÓÔÉ — ÜÔÏ ÐÒÑÍÏÊ ÄÏÓÔÕÐ
|
||
Ë CD ÉÌÉ DVD ÐÒÉ×ÏÄÕ ÄÒÕÇÏÇÏ ËÏÍÐØÀÔÅÒÁ ÐÏ ÓÅÔÉ (ÐÒÅÄÐÏÌÁÇÁÅÔÓÑ, ÞÔÏ ÐÒÏÐÕÓËÎÏÊ
|
||
ÓÐÏÓÏÂÎÏÓÔÉ ÓÅÔÉ ÂÕÄÅÔ ÄÏÓÔÁÔÏÞÎÏ). ó ÄÒÕÇÏÊ ÓÔÏÒÏÎÙ, ÎÅËÏÔÏÒÙÅ ÔÉÐÙ ÐÏÔÏËÏ×
|
||
(× ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÜÔÏ TV É MF) ÎÅ ÍÏÇÕÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÕÄÁÌ£ÎÎÏ, ÐÏÓËÏÌØËÕ
|
||
ÏÎÉ ×ÙÐÏÌÎÅÎÙ ÎÁ ÕÒÏ×ÎÅ ÄÅÍÕËÓÅÒÁ. üÔÏ ÐÅÞÁÌØÎÏ ÄÌÑ MF, Á ×ÏÔ TV ×Ó£ ÒÁ×ÎÏ
|
||
ÐÏÔÒÅÂÏ×ÁÌ ÂÙ ÕÖÁÓÎÏÊ ÐÒÏÐÕÓËÎÏÊ ÓÐÏÓÏÂÎÏÓÔÉ ÓÅÔÉ.
|
||
</para>
|
||
|
||
<sect2 id="compile_mpst_server">
|
||
<title>ëÏÍÐÉÌÑÃÉÑ ÓÅÒ×ÅÒÁ</title>
|
||
<para>
|
||
ðÏÓÌÅ ËÏÍÐÉÌÑÃÉÉ <application>MPlayer</application>'Á, ÐÅÒÅÊÄÉÔÅ × ËÁÔÁÌÏÇ
|
||
<filename>TOOLS/netstream</filename> É ×ÙÐÏÌÎÉÔÅ
|
||
<application>make</application>, ÞÔÏÂÙ ÓÏÂÒÁÔØ ÓÅÒ×ÅÒ.
|
||
úÁÔÅÍ ÷Ù ÍÏÖÅÔÅ ÓËÏÐÉÒÏ×ÁÔØ ÆÁÊÌ <application>netstream</application>
|
||
× ÎÕÖÎÏÅ ÍÅÓÔÏ ÷ÁÛÅÊ ÓÉÓÔÅÍÙ (ÏÂÙÞÎÏ ÜÔÏ
|
||
<filename class="directory">/usr/local/bin</filename> ÎÁ Linux).
|
||
</para>
|
||
</sect2>
|
||
|
||
<sect2 id="use_mpst">
|
||
<title>éÓÐÏÌØÚÏ×ÁÎÉÅ ÕÄÁÌ£ÎÎÙÈ ÐÏÔÏËÏ×</title>
|
||
<para>
|
||
óÎÁÞÁÌÁ ÷Ù ÄÏÌÖÎÙ ÚÁÐÕÓÔÉÔØ ÓÅÒ×ÅÒ ÎÁ ÍÁÛÉÎÅ, Ë ËÏÔÏÒÏÊ ÷Ù ÈÏÔÉÔÅ ÐÏÌÕÞÉÔØ
|
||
ÕÄÁÌ£ÎÎÙÊ ÄÏÓÔÕÐ. ÷ ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÓÅÒ×ÅÒ ÞÒÅÚ×ÙÞÁÊÎÏ ÐÒÏÓÔ É ÎÅ ÉÓÐÏÌØÚÕÅÔ
|
||
ÎÉËÁËÉÈ ÁÒÇÕÍÅÎÔÏ× ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ, ÐÏÜÔÏÍÕ ÐÒÏÓÔÏ ÚÁÐÕÓËÁÊÔÅ
|
||
<filename>netstream</filename>. ôÅÐÅÒØ, ÎÁÐÒÉÍÅÒ, ÷Ù ÍÏÖÅÔÅ ÐÒÏÉÇÒÁÔØ
|
||
×ÔÏÒÕÀ ÄÏÒÏÖËÕ VCD'ÛÎÉËÁ ÎÁ ÓÅÒ×ÅÒÅ:
|
||
<screen>
|
||
mplayer -cache 5000 mpst://servername/vcd://2
|
||
</screen>
|
||
÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÄÏÓÔÕÐ Ë ÆÁÊÌÁÍ ÎÁ ÓÅÒ×ÅÒÅ:
|
||
<screen>
|
||
mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi
|
||
</screen>
|
||
ïÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ, ÞÔÏ ÐÕÔÉ ÎÅ ÎÁÞÉÎÁÀÝÉÅÓÑ Ó / ÂÕÄÕÔ ÏÔÎÏÓÉÔÅÌØÎÙÍÉ Ë ËÁÔÁÌÏÇÕ,
|
||
× ËÏÔÏÒÏÍ ÚÁÐÕÝÅÎ ÓÅÒ×ÅÒ. éÓÐÏÌØÚÏ×ÁÎÉÅ <option>-cache</option> ÎÅ ÔÒÅÂÕÅÔÓÑ,
|
||
ÎÏ ÜÔÏ ÂÕÄÅÔ ÏÞÅÎØ ÐÏÌÅÚÎÏ.
|
||
</para>
|
||
|
||
<para>
|
||
ïÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ, ÞÔÏ × ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÓÅÒ×ÅÒ ×ÏÏÂÝÅ ÎÅ Ñ×ÌÑÅÔÓÑ ÂÅÚÏÐÁÓÎÙÍ.
|
||
ÐÏÜÔÏÍÕ, ÎÅ ÓÏÏÂÝÁÊÔÅ Ï ÍÎÏÇÏÞÉÓÌÅÎÎÙÈ ÜËÓÐÌÏÉÔÁÈ[exploit], ËÏÔÏÒÙÅ ÅÇÏ
|
||
ÉÓÐÏÌØÚÕÀÔ. ìÕÞÛÅ ÐÒÉÛÌÉÔÅ ÎÅÓËÏÌØËÏ (ÈÏÒÏÛÉÈ) ÐÁÔÞÅÊ, ÞÔÏÂÙ ÓÄÅÌÁÔØ ÅÇÏ ÌÕÞÛÅ,
|
||
ÉÌÉ ÎÁÞÎÉÔÅ ÐÉÓÁÔØ Ó×ÏÊ ÓÅÒ×ÅÒ.
|
||
</para>
|
||
|
||
</sect2>
|
||
|
||
</sect1>
|
||
</chapter>
|