1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00
mpv/DOCS/xml/ru/usage.xml
reynaldo ac6826a4d4 outdated EDL limit reference
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14708 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-15 22:48:40 +00:00

563 lines
19 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="koi8-r"?>
<!-- synced with 1.19 -->
<chapter id="usage">
<title>éÓÐÏÌØÚÏ×ÁÎÉÅ</title>
<sect1 id="commandline">
<title>ëÏÍÁÎÄÎÁÑ ÓÔÒÏËÁ</title>
<para>
<application>MPlayer</application> ÉÓÐÏÌØÚÕÅÔ ÓÏÓÔÁ×ÎÏÅ ÄÅÒÅ×Ï ÐÒÏÉÇÒÙ×ÁÎÉÑ.
ïÎÏ ÓÏÓÔÏÉÔ ÉÚ ÇÌÏÂÁÌØÎÙÈ ÏÐÃÉÊ, ÉÄÕÝÉÈ ÐÅÒ×ÙÍÉ, ÎÁÐÒÉÍÅÒ
<screen>mplayer -vfm 5</screen>,
É ÏÐÃÉÊ, ÉÄÕÝÉÈ ÐÏÓÌÅ ÉÍÅÎÉ ÆÁÊÌÁ, ËÏÔÏÒÙÅ ÐÒÉÍÅÎÑÀÔÓÑ ÔÏÌØËÏ Ë ÄÁÎÎÏÍÕ
ÆÁÊÌÕ/URL/É Ô.Ð., ÎÁÐÒÉÍÅÒ:
<screen>mplayer -vfm 5 <replaceable>movie1.avi</replaceable> <replaceable>movie2.avi</replaceable> -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 <replaceable>/mnt/Films/Contact/contact2.mpg</replaceable>
mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable>
mplayer -afm 3 <replaceable>/mnt/DVDtrailers/alien4.vob</replaceable>
mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable>
mplayer -abs 65536 -delay -0.4 -nobps <replaceable>~/movies/test.avi</replaceable><!--
--></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
&gt; pt_step 1
&lt; 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> &mdash; ÜÔÏ ÏÔÎÏÓÉÔÅÌØÎÏÅ ÐÅÒÅÍÅÝÅÎÉÅ ÎÁ
+/- ×ÅÌÉÞÉÎÁ ÓÅËÕÎÄ.
Type <literal>1</literal> &mdash; ÜÔÏ ÐÅÒÅÍÅÝÅÎÉÅ Ë 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 &gt; 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>vo_ontop</literal></para>
<para>
ðÅÒÅËÌÀÞÁÅÔ stay-on-top(ÏÓÔÁ×ÁÔØÓÑ ÎÁ ÐÏ×ÅÒÈÎÏÓÔÉ). ðÏÄÄÅÒÖÉ×ÁÅÔÓÑ ×ÓÅÍÉ
ÄÒÁÊ×ÅÒÁÍÉ, ÉÓÐÏÌØÚÕÀÝÉÍÉ X11, ËÒÏÍÅ SDL, É directx, É gl2 ÐÏÄ Windows.
</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'ÏÍ]
&mdash; ÉÓÐÏÌØÚÕÊÔÅ ÌÅÇËÏ ÓÏÂÉÒÁÅÍÙÊ × ÄÏÍÁÛÎÉÈ ÕÓÌÏ×ÉÑÈ 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> &mdash; ÕÇÁÄÁÊÔÅ &mdash;
<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>ðÏÄÞÉΣÎÎÙÊ (&quot;ÒÁÂÓËÉÊ&quot;) ÒÅÖÉÍ</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 <replaceable>http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</replaceable></screen>
</para>
<para>
<application>MPlayer</application> ÍÏÖÅÔ ÓÞÉÔÙ×ÁÔØ ÄÁÎÎÙÅ ÓÏ ÓÔÁÎÄÁÒÔÎÏÇÏ ×ÈÏÄÁ
<emphasis>ÎÅ</emphasis> ÉÚ ÐÏÉÍÅÎÏ×ÁÎÎÙÈ ËÁÎÁÌÏ×). üÔÏ ÍÏÖÅÔ, ÎÁÐÒÉÍÅÒ,
ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÐÒÉ ÐÒÏÉÇÒÙ×ÁÎÉÉ ÆÁÊÌÏ× ÐÏ FTP:
<screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -</screen>
</para>
<note><para>
íÙ ÒÅËÏÍÅÎÄÕÅÍ ×ËÌÀÞÁÔØ <option>-cache</option> ÐÒÉ ÐÒÏÉÇÒÙ×ÁÎÉÉ ÉÚ ÓÅÔÉ:
<screen>wget <replaceable>ftp://micorsops.com/something.avi</replaceable> -O - | mplayer -cache 8192 -</screen>
</para></note>
</sect1>
<sect1 id="mpst" xreflabel="õÄÁÌ£ÎÎÙÅ ÐÏÔÏËÉ">
<title>õÄÁÌ£ÎÎÙÅ ÐÏÔÏËÉ</title>
<para>
õÄÁÌ£ÎÎÙÅ ÐÏÔÏËÉ ÐÏÚ×ÏÌÑÀÔ ÐÏÌÕÞÉÔØ ÄÏÓÔÕÐ Ë ÂÏÌØÛÉÎÓÔ×Õ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ
<application>MPlayer</application>'ÏÍ ÔÉÐÁÍ ÐÏÔÏËÏ× Ó ÕÄÁÌ£ÎÎÏÊ ÍÁÛÉÎÙ.
ïÓÎÏ×ÎÏÅ ÐÒÅÄÎÁÚÎÁÞÅÎÉÅ ÜÔÏÊ ×ÏÚÍÏÖÎÏÓÔÉ &mdash; ÜÔÏ ÐÒÑÍÏÊ ÄÏÓÔÕÐ
Ë 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 <replaceable>mpst://servername/vcd://2</replaceable>
</screen>
÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÄÏÓÔÕÐ Ë ÆÁÊÌÁÍ ÎÁ ÓÅÒ×ÅÒÅ:
<screen>
mplayer -cache 5000 <replaceable>mpst://servername//usr/local/movies/lol.avi</replaceable>
</screen>
ïÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ, ÞÔÏ ÐÕÔÉ ÎÅ ÎÁÞÉÎÁÀÝÉÅÓÑ Ó / ÂÕÄÕÔ ÏÔÎÏÓÉÔÅÌØÎÙÍÉ Ë ËÁÔÁÌÏÇÕ,
× ËÏÔÏÒÏÍ ÚÁÐÕÝÅÎ ÓÅÒ×ÅÒ. éÓÐÏÌØÚÏ×ÁÎÉÅ <option>-cache</option> ÎÅ ÔÒÅÂÕÅÔÓÑ,
ÎÏ ÜÔÏ ÂÕÄÅÔ ÏÞÅÎØ ÐÏÌÅÚÎÏ.
</para>
<para>
ïÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ, ÞÔÏ × ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÓÅÒ×ÅÒ ×ÏÏÂÝÅ ÎÅ Ñ×ÌÑÅÔÓÑ ÂÅÚÏÐÁÓÎÙÍ.
ÐÏÜÔÏÍÕ, ÎÅ ÓÏÏÂÝÁÊÔÅ Ï ÍÎÏÇÏÞÉÓÌÅÎÎÙÈ ÜËÓÐÌÏÉÔÁÈ[exploit], ËÏÔÏÒÙÅ ÅÇÏ
ÉÓÐÏÌØÚÕÀÔ. ìÕÞÛÅ ÐÒÉÛÌÉÔÅ ÎÅÓËÏÌØËÏ (ÈÏÒÏÛÉÈ) ÐÁÔÞÅÊ, ÞÔÏÂÙ ÓÄÅÌÁÔØ ÅÇÏ ÌÕÞÛÅ,
ÉÌÉ ÎÁÞÎÉÔÅ ÐÉÓÁÔØ Ó×ÏÊ ÓÅÒ×ÅÒ.
</para>
</sect2>
</sect1>
<sect1 id="edl" xreflabel="òÅÄÁËÔÉÒÕÅÍÙÅ ÓÐÉÓËÉ ÒÅÛÅÎÉÊ [Edit Decision Lists] (EDL)">
<title>òÅÄÁËÔÉÒÕÅÍÙÅ ÓÐÉÓËÉ ÒÅÛÅÎÉÊ [Edit Decision Lists] (EDL)</title>
<para>
óÉÓÔÅÍÁ ÒÅÄÁËÔÉÒÕÅÍÙÈ ÓÐÉÓËÏ× ÒÅÛÅÎÉÊ [edit decision list] (EDL) ÐÏÚ×ÏÌÑÅÔ ÷ÁÍ
Á×ÔÏÍÁÔÉÞÅÓËÉ ÐÒÏÐÕÓËÁÔØ ÉÌÉ ÚÁÇÌÕÛÁÔØ ÞÁÓÔÉ ÐÒÉ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÉ, ÏÓÎÏ×Ù×ÁÑÓØ
ÎÁ ÓÐÅÃÉÆÉÞÎÏÍ ÄÌÑ ËÁÖÄÏÇÏ ÆÉÌØÍÁ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÏÍ ÆÁÊÌÅ.
</para>
<para>
üÔÏ ÐÏÌÅÚÎÏ ÄÌÑ ÔÅÈ, ËÔÏ ÍÏÖÅÔ ÚÁÈÏÔÅÔØ ÐÏÓÍÏÔÒÅÔØ ÆÉÌØÍ × "ÓÅÍÅÊÎÏÍ" ÒÅÖÉÍÅ.
÷Ù ÍÏÖÅÔÅ ÉÓËÌÀÞÉÔØ ÌÀÂÙÅ ÐÒÏÑ×ÌÅÎÉÑ ÎÁÓÉÌÉÑ, ÎÅÎÏÒÍÁÔÉ×ÎÏÊ ÌÅËÓÉËÉ,
Jar-Jar Binks, É Ô. Ð. ÉÚ ÆÉÌØÍÏ×, ÓÏÏÂÒÁÚÕÑÓØ Ó ÷ÁÛÉÍÉ ÌÉÞÎÙÍÉ ÐÒÅÄÐÏÞÔÅÎÉÑÍÉ.
ðÏÍÉÍÏ ÜÔÏÇÏ, ÓÕÝÅÓÔ×ÕÀÔ ÄÒÕÇÉÅ ÐÒÉÍÅÎÅÎÉÑ, ÎÁÐÒÉÍÅÒ Á×ÔÏÍÁÔÉÞÅÓËÉÊ ÐÒÏÐÕÓË ÒÅËÌÁÍÙ
ÐÒÉ ÐÒÏÓÍÏÔÒÅ ÆÉÌØÍÏ×.
</para>
<para>
æÏÒÍÁÔ EDL ÆÁÊÌÏ× ÐÏËÁ ÜÌÅÍÅÎÔÁÒÅÎ. ëÏÇÄÁ ÓÉÓÔÅÍÁ EDL ÄÏÓÔÉÇÎÅÔ ÏÐÒÅÄÅÌ£ÎÎÏÊ
ÓÔÅÐÅÎÉ ÚÁ×ÅÒÛ£ÎÎÏÓÔÉ, ×ÅÒÏÑÔÎÏ ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÏÓÎÏ×ÁÎÎÙÊ ÎÁ XML ÆÏÒÍÁÔ
ÆÁÊÌÏ× (ÐÒÉ ÜÔÏÍ ÓÏÈÒÁÎÉÔÓÑ ÓÏ×ÍÅÓÔÉÍÏÓÔØ Ó ÐÒÅÄÙÄÕÝÉÍÉ ÆÏÒÍÁÔÁÍÉ EDL).
</para>
<sect2 id="edl_using">
<title>éÓÐÏÌØÚÏ×ÁÎÉÅ EDL ÆÁÊÌÏ×</title>
<para>
÷ËÌÀÞÉÔÅ ÏÐÃÉÀ <option>-edl &lt;ÉÍÑ_ÆÁÊÌÁ&gt;</option>, ËÏÇÄÁ ÷Ù ÚÁÐÕÓËÁÅÔÅ
<application>MPlayer</application>, Ó ÉÍÅÎÅÍ EDL ÆÁÊÌÁ, ËÏÔÏÒÙÊ ÷Ù ÈÏÔÉÔÅ
ÉÓÐÏÌØÚÏ×ÁÔØ Ó ×ÉÄÅÏ.
</para>
</sect2>
<sect2 id="edl_making">
<title>óÏÚÄÁÎÉÅ EDL ÆÁÊÌÏ×</title>
<para>
ôÅËÕÝÉÊ ÆÏÒÍÁÔ ÆÁÊÌÏ× EDL:
<programlisting>
[ÎÁÞÁÌØÎÁÑ ÓÅËÕÎÄÁ] [ËÏÎÅÞÎÁÑ ÓÅËÕÎÄÁ] [ÄÅÊÓÔ×ÉÅ]
</programlisting>
çÄÅ ÓÅËÕÎÄÙ - ÜÔÏ ÞÉÓÌÁ Ó ÐÌÁ×ÁÀÝÅÊ ÔÏÞËÏÊ (×ÅÝÅÓÔ×ÅÎÎÙÅ ÞÉÓÌÁ), Á ÄÅÊÓÔ×ÉÅ -
ÜÔÏ ÉÌÉ <literal>0</literal> ÄÌÑ ÐÒÏÐÕÓËÁ ÉÌÉ <literal>1</literal> ÄÌÑ
ÚÁÇÌÕÛÅÎÉÑ Ú×ÕËÁ. ðÒÉÍÅÒ:
<programlisting>
5.3 7.1 0
15 16.7 1
420 422 0
</programlisting>
üÔÏ ×ÙÚÏ×ÅÔ ÐÒÏÐÕÓË ×ÉÄÅÏ Ó 5.3 ÓÅËÕÎÄÙ ÄÏ 7.1 ÓÅËÕÎÄÙ, ÚÁÔÅÍ ÚÁÇÌÕÛÉÔ Ú×ÕË
ÎÁ 15 ÓÅËÕÎÄÅ, ×ËÌÀÞÉÔ ÏÂÒÁÔÎÏ × 16.7 ÓÅËÕÎÄ É ÐÒÏÐÕÓÔÉÔ ×ÉÄÅÏ Ó 420 ÐÏ 422
ÓÅËÕÎÄÙ. üÔÉ ÄÅÊÓÔ×ÉÑ ÂÕÄÕÔ ÐÒÏÉÓÈÏÄÉÔØ, ËÏÇÄÁ ÔÁÊÍÅÒ ÐÒÏÉÇÒÙ×ÁÎÉÑ ÄÏÓÔÉÇÎÅÔ
ÕËÁÚÁÎÎÙÈ × ÆÁÊÌÅ ÚÎÁÞÅÎÉÊ.
</para>
<para>
þÔÏÂÙ ÎÁÞÁÔØ ÓÏÚÄÁÔØ EDL ÆÁÊÌ, ÉÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-edlout
&lt;filename&gt;</option>. ðÒÉ ÐÒÏÉÇÒÙ×ÁÎÉÉ, ËÏÇÄÁ ÷Ù ÈÏÔÉÔÅ ÏÔÍÅÔÉÔØ
ÐÒÅÄÙÄÕÝÉÅ Ä×Å ÓÅËÕÎÄÙ ÄÌÑ ÐÒÏÐÕÓËÁ, ÎÁÖÍÉÔÅ <keycap>i</keycap>.
óÏÏÔ×ÅÔÓÔ×ÕÀÝÁÑ ÚÁÐÉÓØ ÄÌÑ ÜÔÏÇÏ ×ÒÅÍÅÎÉ ÂÕÄÅÔ ÄÏÂÁ×ÌÅÎÁ × ÆÁÊÌ. úÁÔÅÍ ÷Ù
ÍÏÖÅÔÅ ×ÅÒÎÕÔØÓÑ É ÐÏÄÓÔÒÏÉÔØ ÓÇÅÎÅÒÉÒÏ×ÁÎÎÙÊ EDL ÆÁÊÌ.
</para>
</sect2>
</sect1>
</chapter>