2005-01-04 13:57:10 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2005-06-07 06:11:31 +00:00
|
|
|
|
<!-- Synced with: 1.27 -->
|
2005-01-04 13:57:10 +00:00
|
|
|
|
<chapter id="usage">
|
|
|
|
|
<title>Pou<EFBFBD>it<EFBFBD></title>
|
|
|
|
|
|
|
|
|
|
<sect1 id="commandline">
|
|
|
|
|
<title>P<EFBFBD><EFBFBD>kazov<EFBFBD> <20><>dek</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> vyu<79><75>v<EFBFBD> komplexn<78> strukturu voleb. Ta sest<73>v<EFBFBD>
|
|
|
|
|
z glob<6F>ln<6C>ch voleb uv<75>d<EFBFBD>n<EFBFBD>ch jako prvn<76>, nap<61><70>klad:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer -vfm 5</screen>
|
|
|
|
|
|
|
|
|
|
a voleb zapisovan<61>ch za jm<6A>nem souboru, kter<65> se projev<65> pouze u tohoto jm<6A>na
|
|
|
|
|
souboru/URL/<2F>ehokoli, nap<61><70>klad:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer -vfm 5 <replaceable>film1.avi</replaceable> <replaceable>film2.avi</replaceable> -vfm 4</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
M<EFBFBD><EFBFBD>ete seskupovat jm<6A>na soubor<6F>/adresy URL pomoc<6F> <literal>{</literal> a
|
|
|
|
|
<literal>}</literal>. Toho se d<> vyu<79><75>t s volbou <option>-loop</option>:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer { 1.avi -loop 2 2.avi } -loop 3</screen>
|
|
|
|
|
|
|
|
|
|
V<EFBFBD><EFBFBD>e uveden<65> p<><70>kaz p<>ehraje soubory v tomto po<70>ad<61>: 1, 1, 2, 1, 1, 2, 1, 1, 2.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> souboru:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command><!--
|
|
|
|
|
--> [<replaceable>volby</replaceable>]<!--
|
|
|
|
|
--> [<replaceable>cesta</replaceable>/]<replaceable>soubor</replaceable>
|
|
|
|
|
</synopsis>
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-06-07 06:11:31 +00:00
|
|
|
|
<para>
|
|
|
|
|
Jin<EFBFBD> zp<7A>sob p<>ehr<68>n<EFBFBD> souboru:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command><!--
|
|
|
|
|
--> [<replaceable>volby</replaceable>]<!--
|
|
|
|
|
--> <replaceable>file:///uri-eskejpovan<61>-cesta-k-souboru</replaceable>
|
|
|
|
|
</synopsis>
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-01-04 13:57:10 +00:00
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> v<>ce soubor<6F>:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command><!--
|
|
|
|
|
--> [<replaceable>v<EFBFBD>choz<EFBFBD> volby</replaceable>]<!--
|
|
|
|
|
--> [<replaceable>cesta</replaceable>/]<replaceable>soubor1</replaceable><!--
|
|
|
|
|
--> [<replaceable>volby pro soubor1</replaceable>]<!--
|
|
|
|
|
--> <replaceable>soubor2</replaceable><!--
|
|
|
|
|
--> [<replaceable>volby pro soubor2</replaceable>] ...
|
|
|
|
|
</synopsis>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> VCD:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command> [<replaceable>volby</replaceable>]<!--
|
|
|
|
|
--> vcd://<replaceable><EFBFBD><EFBFBD>slo_stopy</replaceable><!--
|
|
|
|
|
--> [-cdrom-device <replaceable>/dev/cdrom</replaceable>]
|
|
|
|
|
</synopsis>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> DVD:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command> [<replaceable>volby</replaceable>]<!--
|
|
|
|
|
--> dvd://<replaceable><EFBFBD><EFBFBD>slo_titulu</replaceable><!--
|
|
|
|
|
--> [-dvd-device <replaceable>/dev/dvd</replaceable>]
|
|
|
|
|
</synopsis>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> z WWW:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command> [<replaceable>volby</replaceable>]<!--
|
|
|
|
|
--> http://<replaceable>dom<EFBFBD>na.com/soubor.asf</replaceable>
|
|
|
|
|
</synopsis>
|
|
|
|
|
(rovn<76><6E> lze pou<6F><75>t playlisty)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> z RTSP:
|
|
|
|
|
<synopsis>
|
|
|
|
|
<command>mplayer</command> [<replaceable>volby</replaceable>]<!--
|
|
|
|
|
--> rtsp://<replaceable>server.priklad.com/JmenoProudu</replaceable>
|
|
|
|
|
</synopsis>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD><EFBFBD>klady:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -vo x11 <replaceable>/mnt/Filmy/Kontakt/kontakt2.mpg</replaceable>
|
|
|
|
|
mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable>
|
|
|
|
|
mplayer -afm 3 <replaceable>/mnt/DVDtrailery/alien4.vob</replaceable>
|
|
|
|
|
mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable>
|
|
|
|
|
mplayer -abs 65536 -delay -0.4 -nobps <replaceable>~/filmy/test.avi</replaceable><!--
|
|
|
|
|
--></screen>
|
|
|
|
|
</para>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1 id="control">
|
|
|
|
|
<title>Ovl<EFBFBD>d<EFBFBD>n<EFBFBD></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> m<> pln<6C> konfigurovatelnou, p<><70>kazy <20><>zenou,
|
|
|
|
|
ovl<EFBFBD>dac<EFBFBD> vrstvu, kter<65> v<>m umo<6D>n<EFBFBD> ovl<76>dat <application>MPlayer</application>
|
|
|
|
|
pomoc<EFBFBD> kl<6B>vesnice, my<6D>i, joysticku nebo d<>lkov<6F>ho ovl<76>da<64>e (pou<6F><75>vaj<61>c<EFBFBD> LIRC).
|
|
|
|
|
<EFBFBD>pln<EFBFBD> seznam ovl<76>dac<61>ch prvk<76> na kl<6B>vesnici naleznete v man str<74>nce.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="ctrl-cfg">
|
|
|
|
|
<title>Konfigurace ovl<76>d<EFBFBD>n<EFBFBD></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> umo<6D><6F>uje p<>i<EFBFBD>adit jakoukoli kl<6B>vesu jak<61>mukoli
|
|
|
|
|
p<EFBFBD><EFBFBD>kazu <application>MPlayer</application>u pomoc<6F> jednoduch<63>ho konfigura<72>n<EFBFBD>ho
|
|
|
|
|
souboru.
|
|
|
|
|
Syntaxe sest<73>v<EFBFBD> z n<>zvu kl<6B>vesy n<>sledovan<61>ho p<><70>kazem. V<>choz<6F> um<75>st<73>n<EFBFBD>
|
|
|
|
|
konfigura<EFBFBD>n<EFBFBD>ho souboru je
|
|
|
|
|
<filename>$HOME/.mplayer/input.conf</filename> ale m<><6D>ete jej potla<6C>it pou<6F>it<69>m
|
|
|
|
|
volby <option>-input <replaceable>konfig</replaceable></option>
|
|
|
|
|
(relativn<76> cesty jsou vzta<74>eny k <filename>$HOME/.mplayer</filename>).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<EFBFBD>pln<EFBFBD> seznam podporovan<61>ch jmen kl<6B>ves dostanete p<><70>kazem
|
|
|
|
|
<command>mplayer -input keylist</command>
|
|
|
|
|
a <20>pln<6C> seznam dostupn<70>ch p<><70>kaz<61> p<><70>kazem
|
|
|
|
|
<command>mplayer -input cmdlist</command>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<example>
|
|
|
|
|
<title>Jednoduch<EFBFBD> vstupn<70> ovl<76>dac<61> soubor</title>
|
|
|
|
|
<programlisting>
|
|
|
|
|
##
|
|
|
|
|
## Vstupn<70> soubor ovl<76>d<EFBFBD>n<EFBFBD> MPlayeru
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="lirc">
|
|
|
|
|
<title>Ovl<EFBFBD>d<EFBFBD>n<EFBFBD> z LIRC</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Linux Infrared Remote Control – pou<6F>ijte jednodu<64>e vyrobiteln<6C> doma ud<75>lan<61>
|
|
|
|
|
IR-p<>ij<69>ma<6D>,
|
|
|
|
|
(t<>m<EFBFBD><6D>) libovoln<6C> d<>lkov<6F> ovl<76>da<64> a ovl<76>dejte j<>m sv<73>j Linux!
|
|
|
|
|
V<EFBFBD>ce se o tom dov<6F>te na <ulink url="http://www.lirc.org">dom<EFBFBD>c<EFBFBD> st<73>nce LIRC</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud m<>te nainstalov<6F>n bal<61><6C>ek LIRC, <filename>configure</filename> jej zdetekuje.
|
|
|
|
|
Pokud v<>e dopadne dob<6F>e, <application>MPlayer</application> p<>i startu
|
|
|
|
|
vyp<EFBFBD><EFBFBD>e "<systemitem>Nastavuji podporu LIRC...</systemitem>".
|
|
|
|
|
Pokud dojde k chyb<79>, ozn<7A>m<EFBFBD> v<>m to. Pokud nevyp<79><70>e <20><>dnou zpr<70>vu o LIRC,
|
|
|
|
|
pak pro n<>j nen<65> podpora zakompilov<6F>na. To je v<>e :-)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jm<EFBFBD>no spustiteln<6C>ho souboru <application>MPlayer</application>u je - p<>ekvapen<65> -
|
|
|
|
|
<filename>mplayer</filename>. M<><4D>ete pou<6F><75>t jak<61>koli p<><70>kaz
|
|
|
|
|
<application>MPlayer</application>u a dokonce i v<>ce ne<6E> jeden, pokud je odd<64>l<EFBFBD>te
|
|
|
|
|
znakem <literal>\n</literal>.
|
|
|
|
|
Nezapom<EFBFBD><EFBFBD>te zapnout opakovac<61> (repeat) p<><70>znak v <filename>.lircrc</filename> tam,
|
|
|
|
|
kde to d<>v<EFBFBD> smysl (vyhled<65>v<EFBFBD>n<EFBFBD>, hlasitost, atd.).
|
|
|
|
|
Zde je v<><76>atek z demonstra<72>n<EFBFBD>ho
|
|
|
|
|
<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>
|
|
|
|
|
Pokud se v<>m nel<65>b<EFBFBD> standardn<64> um<75>st<73>n<EFBFBD> lirc-config souboru
|
|
|
|
|
(<filename>~/.lircrc</filename>) pou<6F>ijte volbu <option>-lircconf
|
|
|
|
|
<replaceable>soubor</replaceable></option> k ur<75>en<65> jin<69>ho souboru.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="slave-mode">
|
|
|
|
|
<title>Z<EFBFBD>visl<EFBFBD> re<72>im</title>
|
|
|
|
|
<para>
|
|
|
|
|
Z<EFBFBD>visl<EFBFBD> re<72>im v<>m umo<6D><6F>uje vytvo<76>it jednoduch<63> ovl<76>dac<61> panely (frontendy)
|
|
|
|
|
<application>MPlayer</application>u. Pokud je <application>MPlayer</application>
|
|
|
|
|
spu<EFBFBD>t<EFBFBD>n s volbou <option>-slave</option>, pak bude <20><>st p<><70>kazy odd<64>len<65> nov<6F>m
|
|
|
|
|
<EFBFBD><EFBFBD>dkem (\n) ze standardn<64>ho vstupu.
|
|
|
|
|
P<EFBFBD><EFBFBD>kazy jsou dokumentov<6F>ny v souboru
|
|
|
|
|
<ulink url="../../tech/slave.txt">slave.txt</ulink>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1 id="streaming">
|
|
|
|
|
<title>P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> datov<6F>ch proud<75> ze s<>t<EFBFBD> nebo rour</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> um<75> p<>ehr<68>vat soubory ze s<>t<EFBFBD> s pou<6F>it<69>m protokolu
|
|
|
|
|
HTTP, FTP, MMS nebo RTSP/RTP.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> pracuje jednodu<64>e tak, <20>e uvedete URL na p<><70>kazov<6F>m <20><>dku.
|
|
|
|
|
<application>MPlayer</application> ct<63> syst<73>movou prom<6F>nnou <envar>http_proxy</envar>
|
|
|
|
|
a pou<6F>ije proxy pokud je k dispozici. Proxi m<><6D>e b<>t rovn<76><6E> vynucena:
|
|
|
|
|
<screen>mplayer <replaceable>http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</replaceable></screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> um<75> <20><>st ze std. vstupu
|
|
|
|
|
(<emphasis>ne</emphasis> z pojmenovan<61>ch rour). To m<><6D>e b<>t nap<61><70>klad pou<6F>ito
|
|
|
|
|
pro p<>ehr<68>v<EFBFBD>n<EFBFBD> z FTP:
|
2005-06-07 06:11:31 +00:00
|
|
|
|
<screen>wget <replaceable>ftp://micorsops.com/cokoli.avi</replaceable> -O - | mplayer -</screen>
|
2005-01-04 13:57:10 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
Tak<EFBFBD> doporu<72>ujeme zapnout <option>-cache</option> p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD>
|
|
|
|
|
ze s<><73>e:
|
|
|
|
|
<screen>wget <replaceable>ftp://micorsops.com/cokoli.avi</replaceable> -O - | mplayer -cache 8192 -</screen>
|
|
|
|
|
</para></note>
|
2005-06-07 06:11:31 +00:00
|
|
|
|
|
|
|
|
|
<sect2 id="streaming-save">
|
|
|
|
|
<title>Ulo<EFBFBD>en<EFBFBD> proudov<6F>ho obsahu</title>
|
|
|
|
|
<para>
|
|
|
|
|
Jakmile jste p<>im<69>li <application>MPlayer</application> p<>ehr<68>t
|
|
|
|
|
v<><76> obl<62>ben<65> internetov<6F> proud, m<><6D>ete pou<6F><75>t volbu
|
|
|
|
|
<option>-dumpstream</option> k ulo<6C>en<65> datov<6F>ho proudu do souboru.
|
|
|
|
|
For example:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer <replaceable>http://217.71.208.37:8006</replaceable> -dumpstream -dumpfile <replaceable>proud.asf</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
ulo<6C><6F> proudov<6F> video z
|
|
|
|
|
<replaceable>http://217.71.208.37:8006</replaceable> do
|
|
|
|
|
<replaceable>proud.asf</replaceable>.
|
|
|
|
|
Pracovat to bude se v<>emi <application>MPlayer</application>em podporovan<61>mi
|
|
|
|
|
protokoly, jako MMS, RSTP, a tak d<>le.
|
|
|
|
|
Pokud chcete z proudu ulo<6C>it pouze zvuk nebo video, pou<6F>ijte
|
|
|
|
|
<option>-dumpaudio</option> nebo <option>-dumpvideo</option>, ale pamatujte,
|
|
|
|
|
<20>e <application>MPlayer</application> bude ignorovat v<>echny vyjma posledn<64>
|
|
|
|
|
<option>-dump*</option> volby zadan<61> na p<><70>kazov<6F>m <20><>dku.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
2005-01-04 13:57:10 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="mpst" xreflabel="Remote streams">
|
|
|
|
|
<title>Vz<EFBFBD>len<EFBFBD> datov<6F> proudy</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Vz<EFBFBD>len<EFBFBD> datov<6F> proudy umo<6D><6F>uj<75> p<><70>stup k v<>t<EFBFBD>in<69> <application>MPlayer</application>em
|
|
|
|
|
podporovan<EFBFBD>ch proud<75> ze vzd<7A>len<65>ho po<70><6F>te<74>e. Hlavn<76> ur<75>en<65> t<>to funkce je umo<6D>nit
|
|
|
|
|
p<EFBFBD><EFBFBD>mo pou<6F><75>t CD nebo DVD mechaniku jin<69>ho po<70><6F>ta<74>e na s<>ti (p<>edpokladem je,
|
|
|
|
|
<EFBFBD>e m<>te dostate<74>n<EFBFBD> rychl<68> p<>ipojen<65>). Na spodn<64> hranici nejsou n<>kter<65> typy datov<6F>ch
|
|
|
|
|
proud<EFBFBD> (v sou<6F>asnosti TV a MF) pou<6F>iteln<6C> p<>es s<><73> proto<74>e jsou implementov<6F>ny na <20>rovni
|
|
|
|
|
demuxeru. Je to <20>koda pro MF ale TV proudy by tak jako tak vy<76>adovaly <20><>len<65>
|
|
|
|
|
vysokou rychlost
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="compile_mpst_server">
|
|
|
|
|
<title>Kompilace serveru</title>
|
|
|
|
|
<para>
|
|
|
|
|
Pot<EFBFBD> co skompilujete <application>MPlayer</application> b<><62>te do adres<65><73>e
|
|
|
|
|
<filename>TOOLS/netstream</filename> a prove<76>te
|
|
|
|
|
<application>make</application> pro sestaven<65> serverov<6F> bin<69>rky.
|
|
|
|
|
Potom m<><6D>ete zkop<6F>rovat program <application>netstream</application>
|
|
|
|
|
na spr<70>vn<76> m<>sto v syst<73>mu (v Linuxu obvykle
|
|
|
|
|
<filename class="directory">/usr/local/bin</filename>).
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="use_mpst">
|
|
|
|
|
<title>Pou<EFBFBD>it<EFBFBD> vz<76>len<65>ch datov<6F>ch proud<75></title>
|
|
|
|
|
<para>
|
|
|
|
|
Nejprve spus<75>te server na po<70><6F>ta<74>i na kter<65> se chcete p<>ipojit ze s<>t<EFBFBD>.
|
|
|
|
|
Server je zat<61>m velmi jednoduch<63> a nem<65> <20><>dn<64> volby p<><70>kazov<6F>ho <20><>dku,
|
|
|
|
|
proto jen zadejte <filename>netstream</filename>. Te<54> m<><6D>ete nap<61><70>klad
|
|
|
|
|
p<EFBFBD>ehr<EFBFBD>t druhou stopu na VCD na serveru:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -cache 5000 <replaceable>mpst://jm<6A>no_serveru/vcd://2</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
Taky m<><6D>ete p<>istupovat k soubor<6F>m na tomto serveru:
|
|
|
|
|
<screen>
|
|
|
|
|
mplayer -cache 5000 <replaceable>mpst://servername//usr/local/movies/lol.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
Poznamenejme, <20>e cesty neza<7A><61>naj<61>c<EFBFBD> / jsou relativn<76> k adres<65><73>i kde byl spu<70>t<EFBFBD>n server.
|
|
|
|
|
Volba <option>-cache</option> nen<65> nutn<74>, ale velmi ji doporu<72>ujeme.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Berte na v<>dom<6F> <20>e v sou<6F>asnosti nen<65> tento server v<>bec bezpe<70>n<EFBFBD>. Nenad<61>vejte
|
|
|
|
|
tedy na mno<6E>stv<74> pr<70>nik<69> do syst<73>mu, kter<65> je s n<>m mo<6D>n<EFBFBD>. M<>sto toho rad<61>ji
|
|
|
|
|
za<EFBFBD>lete (dobr<62>) patch kter<65> by jej vylep<65>il, nebo napi<70>te sv<73>j vlastn<74> server.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="edl" xreflabel="Seznamy edita<74>n<EFBFBD>ch z<>sah<61> (EDL)">
|
|
|
|
|
<title>Seznamy edita<74>n<EFBFBD>ch z<>sah<61> (EDL)</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Syst<EFBFBD>m seznam<61> edita<74>n<EFBFBD>ch z<>sah<61> (EDL) umo<6D><6F>uje automaticky vynechat nebo vypnout
|
|
|
|
|
zvuk v <20><>stech videa p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD>, co<63> je zaji<6A>ov<6F>no pro ka<6B>d<EFBFBD> film zvl<76><6C>tn<74>m
|
|
|
|
|
EDL konfigura<72>n<EFBFBD>m souborem.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Toho se d<> vyu<79><75>t pro ty, kdo cht<68>j<EFBFBD> sledovat film v "rodinn<6E>m" re<72>imu.
|
|
|
|
|
M<EFBFBD><EFBFBD>ete vyst<73><74>hat ve<76>ker<65> n<>sil<69>, nechutnosti, Jar-Jar Binkse .. z filmu
|
|
|
|
|
podle sv<73>ch vlastn<74>ch osobn<62>ch preferenc<6E>. Mimoto jsou zde i jin<69> vyu<79>it<69>,
|
|
|
|
|
jako je automatick<63> vyst<73>ih<69>v<EFBFBD>n<EFBFBD> reklam z videa kter<65> sleduje<6A>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Form<EFBFBD>t EDL souboru je pom<6F>rn<72> kostrbat<61>. Jakmile dosp<73>je EDL syst<73>m do ur<75>it<69>
|
|
|
|
|
<EFBFBD>rovn<EFBFBD>, pravd<76>podobn<62> bude implementov<6F>n form<72>t zalo<6C>en<65> na XML
|
|
|
|
|
(ponech<63>me zp<7A>tnou kompatibilitu s p<>edchoz<6F>mi EDL form<72>ty).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="edl_using">
|
|
|
|
|
<title>Pou<EFBFBD>it<EFBFBD> EDL souboru</title>
|
|
|
|
|
<para>
|
|
|
|
|
Vlo<EFBFBD>te volbu <option>-edl <soubor></option> p<>i spou<6F>t<EFBFBD>n<EFBFBD>
|
|
|
|
|
<application>MPlayer</application>, se jm<6A>nem EDL souboru, kter<65> chcete pou<6F><75>t
|
|
|
|
|
na video.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="edl_making">
|
|
|
|
|
<title>Vytvo<EFBFBD>en<EFBFBD> EDL souboru</title>
|
|
|
|
|
<para>
|
|
|
|
|
Sou<EFBFBD>asn<EFBFBD> form<72>t EDL souboru je:
|
|
|
|
|
<programlisting>
|
|
|
|
|
[po<70><6F>te<74>n<EFBFBD> sekunda] [koncov<6F> sekunda] [akce]
|
|
|
|
|
</programlisting>
|
|
|
|
|
Kde jsou sekundy desetinn<6E>mi <20><>sly a akce je bu<62>
|
|
|
|
|
<literal>0</literal> pro vynech<63>n<EFBFBD> nebo <literal>1</literal> pro vypnut<75> zvuku.
|
|
|
|
|
P<EFBFBD><EFBFBD>klad:
|
|
|
|
|
<programlisting>
|
|
|
|
|
5.3 7.1 0
|
|
|
|
|
15 16.7 1
|
|
|
|
|
420 422 0
|
|
|
|
|
</programlisting>
|
|
|
|
|
To vynech<63> <20><>st videa mezi sekundami 5.3 a 7.1, pak vypne zvuk na
|
|
|
|
|
15 sekund<6E>, zapne jej na 16.7 sekundy a vynech<63> <20><>st videa mezi sekundami 420 a 422.
|
|
|
|
|
Tyto akce budou provedeny jakmile <20>asova<76> p<>ehr<68>v<EFBFBD>n<EFBFBD> dos<6F>hne hodnoty zadan<61>
|
|
|
|
|
v souboru.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pro vytvo<76>en<65> EDL souboru se kter<65>m budete moci za<7A><61>t, pou<6F>ijte volbu
|
|
|
|
|
<option>-edlout <soubor></option>. B<>hem p<>ehr<68>v<EFBFBD>n<EFBFBD>, kdy<64> budete cht<68>t
|
|
|
|
|
ozna<EFBFBD>it p<>edchoz<6F> 2 sekundy pro vynech<63>n<EFBFBD>, stiskn<6B>te <keycap>i</keycap>.
|
|
|
|
|
Odpov<EFBFBD>daj<EFBFBD>c<EFBFBD> zna<6E>ka bude zaps<70>na do souboru pro tento <20>as. M<><4D>ete se k n<>mu pak
|
|
|
|
|
vr<EFBFBD>tit a doladit vytvo<76>en<65> EDL soubor.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
</chapter>
|