2005-01-04 13:57:10 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2005-10-03 11:09:35 +00:00
|
|
|
|
<!-- Synced with: 1.34 -->
|
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!
|
2005-10-03 11:09:35 +00:00
|
|
|
|
V<EFBFBD>ce se o tom dov<6F>te na <ulink url="http://www.lirc.org">dom<EFBFBD>c<EFBFBD> str<74>nce LIRC</ulink>.
|
2005-01-04 13:57:10 +00:00
|
|
|
|
</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>.
|
2005-10-03 11:09:35 +00:00
|
|
|
|
Nezapome<EFBFBD>te zapnout opakovac<61> (repeat) p<><70>znak v <filename>.lircrc</filename> tam,
|
2005-01-04 13:57:10 +00:00
|
|
|
|
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>
|
2005-10-03 11:09:35 +00:00
|
|
|
|
a pou<6F>ije proxy pokud je k dispozici. Proxy m<><6D>e b<>t rovn<76><6E> vynucena:
|
2005-01-04 13:57:10 +00:00
|
|
|
|
<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>
|
2005-10-03 11:09:35 +00:00
|
|
|
|
ze s<>t<EFBFBD>:
|
2005-01-04 13:57:10 +00:00
|
|
|
|
<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
|
2005-10-03 11:09:35 +00:00
|
|
|
|
protokoly, jako MMS, RTSP, a tak d<>le.
|
2005-06-07 06:11:31 +00:00
|
|
|
|
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">
|
2005-10-03 11:09:35 +00:00
|
|
|
|
<title>Vzd<EFBFBD>len<EFBFBD> datov<6F> proudy</title>
|
2005-01-04 13:57:10 +00:00
|
|
|
|
|
|
|
|
|
<para>
|
2005-10-03 11:09:35 +00:00
|
|
|
|
Vzd<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>ta<74>e. Hlavn<76> ur<75>en<65> t<>to funkce je umo<6D>nit
|
2005-01-04 13:57:10 +00:00
|
|
|
|
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>
|
2005-10-03 11:09:35 +00:00
|
|
|
|
Pot<EFBFBD> co zkompilujete <application>MPlayer</application> b<><62>te do adres<65><73>e
|
2005-01-04 13:57:10 +00:00
|
|
|
|
<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">
|
2005-10-03 11:09:35 +00:00
|
|
|
|
<title>Pou<EFBFBD>it<EFBFBD> vzd<7A>len<65>ch datov<6F>ch proud<75></title>
|
2005-01-04 13:57:10 +00:00
|
|
|
|
<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>
|
2005-10-03 11:09:35 +00:00
|
|
|
|
mplayer -cache 5000 <replaceable>mpst://jmeno_serveru//usr/local/filmy/lol.avi</replaceable>
|
2005-01-04 13:57:10 +00:00
|
|
|
|
</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
|
2005-10-03 11:09:35 +00:00
|
|
|
|
zvuk v <20><>stech videa p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD>, co<63> je zaji<6A><69>ov<6F>no pro ka<6B>d<EFBFBD> film zvl<76><6C>tn<74>m
|
2005-01-04 13:57:10 +00:00
|
|
|
|
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>
|
|
|
|
|
|
2005-10-03 11:09:35 +00:00
|
|
|
|
|
|
|
|
|
<sect1 id="advaudio" xreflabel="Advanced Audio">
|
|
|
|
|
<title>Pokro<EFBFBD>il<EFBFBD> audio</title>
|
|
|
|
|
|
|
|
|
|
<sect2 id="advaudio-surround">
|
|
|
|
|
<title>Surround/V<>cekan<61>lov<6F> p<>ehr<68>v<EFBFBD>n<EFBFBD></title>
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-surround-DVD">
|
|
|
|
|
<title>DVD</title>
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>t<EFBFBD>ina DVD a mnoho jin<69>ch soubor<6F> obsahuje surround zvuk.
|
|
|
|
|
<application>MPlayer</application> podporuje p<>ehr<68>v<EFBFBD>n<EFBFBD> p<>ehr<68>v<EFBFBD>n<EFBFBD> surround,
|
|
|
|
|
ale ve v<>choz<6F>m nastaven<65> jej nezap<61>n<EFBFBD>, jeliko<6B> stereo vybaven<65> je mnohem
|
|
|
|
|
<EFBFBD>ast<EFBFBD>j<EFBFBD><EFBFBD>. Pro p<>ehr<68>v<EFBFBD>n<EFBFBD> souboru, kter<65> m<> v<>ce ne<6E> dvoukan<61>lov<6F> zvuk pou<6F>ijte
|
|
|
|
|
volbu <option>-channels</option>.
|
|
|
|
|
Nap<EFBFBD><EFBFBD>klad pro p<>ehr<68>n<EFBFBD> DVD s 5.1 zvukem:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer dvd://1 -channels 6</screen>
|
|
|
|
|
|
|
|
|
|
Poznamenejme, <20>e a<>koli se jmenuje "5.1", ve skute<74>nosti m<> <20>est kan<61>l<EFBFBD>.
|
|
|
|
|
Pokud m<>te surround zvukov<6F> vybaven<65>, m<><6D>ete si p<>idat volbu
|
|
|
|
|
<option>channels</option> do sv<73>ho konfigura<72>n<EFBFBD>ho souboru
|
|
|
|
|
<application>MPlayer</application>u <filename>~/.mplayer/config</filename>.
|
|
|
|
|
Nap<EFBFBD><EFBFBD>klad pro pou<6F>it<69> <20>ty<74>kan<61>lov<6F>ho p<>ehr<68>v<EFBFBD>n<EFBFBD> zvuku jako v<>choz<6F>, p<>idejte
|
|
|
|
|
n<EFBFBD>sleduj<EFBFBD>c<EFBFBD> <20><>dek:
|
|
|
|
|
|
|
|
|
|
<programlisting>channels=4</programlisting>
|
|
|
|
|
|
|
|
|
|
<application>MPlayer</application> pak poskytuje zvuk ve <20>ty<74>ech kan<61>lech,
|
|
|
|
|
pokud jsou v<>echny <20>ty<74>i kan<61>ly k dispozici.
|
|
|
|
|
</para>
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-surround-stereoinfour">
|
|
|
|
|
<title>P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> stereo soubor<6F> do <20>ty<74>ech reproduktor<6F></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> ve v<>choz<6F>m nastaven<65> neduplikuje <20><>dn<64>
|
|
|
|
|
kan<EFBFBD>ly a ned<65>l<EFBFBD> to ani v<>t<EFBFBD>ina audio ovlada<64><61>. Pokud to chcete ud<75>lat
|
|
|
|
|
ru<EFBFBD>n<EFBFBD>:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af channels=2:2:0:1:0:0</screen>
|
|
|
|
|
|
|
|
|
|
Vysv<EFBFBD>tlen<EFBFBD> naleznete v sekci
|
|
|
|
|
<link linkend="advaudio-channels-copying">kop<EFBFBD>rov<EFBFBD>n<EFBFBD> kan<61>l<EFBFBD></link>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-surround-passthrough">
|
|
|
|
|
<title>AC3/DTS Passthrough</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
DVD maj<61> obvykle surround zvuk enk<6E>dovan<61> ve form<72>tu AC3 (Dolby Digital) nebo
|
|
|
|
|
DTS (Digital Theater System). N<>kter<65> modern<72> za<7A><61>zen<65> jsou schopna dek<65>dovat
|
|
|
|
|
tyto form<72>ty intern<72>. <application>MPlayer</application> lze nakonfigurovat
|
|
|
|
|
tak, aby p<>enesl zvukov<6F> data bez dek<65>dov<6F>n<EFBFBD>. To bude fungovat pouze pokud m<>te
|
|
|
|
|
S/PDIF (Sony/Philips Digital Interface) jack ve zvukov<6F> kart<72>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud va<76>e za<7A><61>zen<65> um<75> dek<65>dovat jak AC3, tak DTS, m<><6D>ete bezpe<70>n<EFBFBD> zapnout
|
|
|
|
|
passthrough pro oba form<72>ty. Jinak zapn<70>te passthrough pouze pro form<72>t, kter<65>
|
|
|
|
|
va<EFBFBD>e za<7A><61>zen<65> podporuje.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<title>Zapnut<EFBFBD> passthrough z p<><70>kazov<6F>ho <20><>dku:</title>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Jen pro AC3 pou<6F>ijte <option>-ac hwac3</option>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Jen pro DTS pou<6F>ijte <option>-ac hwdts</option>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pro oba (AC3 i DTS) pou<6F>ijte <option>-afm hwac3</option>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<title>Zapnut<EFBFBD> passthrough v konfigura<72>n<EFBFBD>m souboru
|
|
|
|
|
<application>MPlayer</application>u: </title>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Jen pro AC3 pou<6F>ijte <option>ac=hwac3,</option>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Jen pro DTS pou<6F>ijte <option>ac=hwdts,</option>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pro oba (AC3 i DTS) pou<6F>ijte <option>afm=hwac3</option>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pov<EFBFBD>imn<EFBFBD>te si <20><>rky (",") na konci
|
|
|
|
|
<option>ac=hwac3,</option> a <option>ac=hwdts,</option>. To umo<6D>n<EFBFBD>
|
|
|
|
|
<application>MPlayer</application>u pou<6F><75>t norm<72>ln<6C> kodek, kdy<64> p<>ehr<68>van<61>
|
|
|
|
|
soubor nem<65> AC3 nebo DTS zvuk. Volba <option>afm=hwac3</option> nevy<76>aduje
|
|
|
|
|
<EFBFBD><EFBFBD>rku; <application>MPlayer</application> se za<7A><61>d<EFBFBD> podle pot<6F>eby automaticky,
|
|
|
|
|
pokud je zvolena rodina audio kodek<65>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-surround-matrix">
|
|
|
|
|
<title>Maticov<EFBFBD> enk<6E>dovan<61> zvuk</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<emphasis>***TODO***</emphasis>
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Tato sekce mus<75> b<>t teprve napsan<61> a nem<65><6D>e b<>t dokon<6F>ena dokud n<>m n<>kdo
|
|
|
|
|
nepo<EFBFBD>le vzorkov<6F> soubory pro testov<6F>n<EFBFBD>. Pokud m<>te n<>jak<61> maticov<6F> enk<6E>dovan<61>
|
|
|
|
|
zvukov<EFBFBD> soubory, v<>te, kde je lze naj<61>t, nebo m<>te jakoukoli informaci, kter<65>
|
|
|
|
|
by mohla pomoci, po<70>lete pros<6F>m zpr<70>vu do konference
|
|
|
|
|
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-DOCS</ulink>.
|
|
|
|
|
Do p<>edm<64>tu vlo<6C>te "[matrix-encoded audio]".
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Pokud nep<65>ijdou <20><>dn<64> soubory nebo informace, tato sekce bude odstran<61>na.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Dobr<EFBFBD> odkazy:
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<ulink url="http://electronics.howstuffworks.com/surround-sound5.htm">http://electronics.howstuffworks.com/surround-sound5.htm</ulink>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<ulink url="http://www.extremetech.com/article2/0,1697,1016875,00.asp">http://www.extremetech.com/article2/0,1697,1016875,00.asp</ulink>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-surround-hrtf">
|
|
|
|
|
<title>Surround emulace ve sluch<63>tk<74>ch</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application> obsahuje HRTF (Head Related Transfer
|
|
|
|
|
Function) filtr zalo<6C>en<65> na
|
|
|
|
|
<ulink url="http://sound.media.mit.edu/KEMAR.html">projektu MIT</ulink>,
|
|
|
|
|
kde jsou m<><6D>en<65> vzata z mikrofon<6F> na um<75>l<EFBFBD> lidsk<73> hlav<61>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A<EFBFBD>koli nen<65> mo<6D>n<EFBFBD> p<>esn<73> imitovat surround syst<73>m,
|
|
|
|
|
<application>MPlayer</application><EFBFBD>v HRTF filtr produkuje prostorov<6F> mnohem
|
|
|
|
|
prokreslen<EFBFBD>j<EFBFBD><EFBFBD> zvuk ve 2-kan<61>lov<6F>ch sluch<63>tk<74>ch. Obvykl<6B> m<>ch<63>n<EFBFBD> jednodu<64>e
|
|
|
|
|
kombinuje v<>echny kan<61>ly do dvou; krom kombinace kan<61>l<EFBFBD>, <option>hrtf</option>
|
|
|
|
|
generuje slab<61> echa, pon<6F>kud zv<7A>t<EFBFBD>uje odd<64>len<65> stereo kan<61>l<EFBFBD> a m<>n<EFBFBD> hlasitost
|
|
|
|
|
n<EFBFBD>kter<EFBFBD>ch kmito<74>t<EFBFBD>. Jestli HRTF zn<7A> l<>pe m<><6D>e z<>viset na zdrojov<6F>m zvuku a
|
|
|
|
|
osobn<EFBFBD>m vkusu, ale ur<75>it<69> stoj<6F> za zkou<6F>ku.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pro p<>ehr<68>n<EFBFBD> DVD s HRTF:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer dvd://1 -channels 6 -af hrtf</screen>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<option>hrtf</option> pracuje dob<6F>e pouze s 5 nebo 6 kan<61>ly.
|
|
|
|
|
<option>hrtf</option> tak<61> vy<76>aduje zvuk 48 kHz. DVD audio ji<6A> je 48 kHz, ale
|
|
|
|
|
pokud m<>te soubor s odli<6C>n<EFBFBD>m vzorkovac<61>m kmito<74>tem, kter<65> chcete p<>ehr<68>vat
|
|
|
|
|
pomoc<EFBFBD> <option>hrtf</option>, mus<75>te jej p<>evzorkovat:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -channels 6 -af resample=48000,hrtf</screen>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-surround-troubleshooting">
|
|
|
|
|
<title>Pot<EFBFBD><EFBFBD>e</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud nesly<6C><79>te ze surround kan<61>l<EFBFBD> <20><>dn<64> zvuk, ov<6F><76>te si nastaven<65> sm<73><6D>ova<76>e
|
|
|
|
|
pomoc<EFBFBD> programu jako je <application>alsamixer</application>;
|
|
|
|
|
audio v<>stupy jsou <20>asto vypnuty a nastaveny na nulovou hlasitost jako v<>choz<6F>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="advaudio-channels">
|
|
|
|
|
<title>Manipulace s kan<61>ly</title>
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-channels-general">
|
|
|
|
|
<title>Obecn<EFBFBD> informace</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nane<EFBFBD>t<EFBFBD>st<EFBFBD> neexistuje standard pro <20>azen<65> kan<61>l<EFBFBD>. N<>sleduj<75>c<EFBFBD> <20>azen<65> jsou
|
|
|
|
|
pou<EFBFBD><EFBFBD>van<EFBFBD> v AC3 a jsou pom<6F>rn<72> typick<63>; zkuste je a uvid<69>te, zda tomu v<><76> zdroj
|
|
|
|
|
odpov<EFBFBD>d<EFBFBD>. Kan<61>ly jsou <20><>slov<6F>ny od 0.
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<title>mono</title>
|
|
|
|
|
<listitem override="0"><simpara>st<EFBFBD>ed</simpara></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<title>stereo</title>
|
|
|
|
|
<listitem override="0"><simpara>lev<EFBFBD></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD></simpara></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<title>kvadrofonn<EFBFBD></title>
|
|
|
|
|
<listitem override="0"><simpara>lev<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>lev<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<title>surround 4.0</title>
|
|
|
|
|
<listitem override="0"><simpara>lev<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>st<EFBFBD>edov<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
<listitem><simpara>st<EFBFBD>edov<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<title>surround 5.0</title>
|
|
|
|
|
<listitem override="0"><simpara>lev<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>lev<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
<listitem><simpara>st<EFBFBD>edov<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<title>surround 5.1</title>
|
|
|
|
|
<listitem override="0"><simpara>lev<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>lev<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
<listitem><simpara>prav<EFBFBD> zadn<64></simpara></listitem>
|
|
|
|
|
<listitem><simpara>st<EFBFBD>edov<EFBFBD> <20>eln<6C></simpara></listitem>
|
|
|
|
|
<listitem><simpara>subwoofer</simpara></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Volba <option>-channels</option> se pou<6F><75>v<EFBFBD> pro po<70>adavek na po<70>et kan<61>l<EFBFBD> z
|
|
|
|
|
dekod<EFBFBD>ru zvuku. N<>kter<65> audio kodeky pou<6F><75>vaj<61> po<70>et zadan<61>ch kan<61>l<EFBFBD> pro
|
|
|
|
|
rozhodov<EFBFBD>n<EFBFBD>, zda je nutn<74> podmixovat zdroj. Poznamenejme, <20>e to ne v<>dy
|
|
|
|
|
ovlivn<EFBFBD> po<70>et v<>stupn<70>ch kan<61>l<EFBFBD>. Nap<61><70>klad pou<6F>it<69>
|
|
|
|
|
<option>-channels 4</option> pro p<>ehr<68>n<EFBFBD> stereo MP3 souboru povede ke
|
|
|
|
|
2-kan<61>lov<6F>mu v<>stupu, jeliko<6B> MP3 kodek neprodukuje extra kan<61>ly.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pro vytvo<76>en<65> nebo odstran<61>n<EFBFBD> kan<61>l<EFBFBD> slou<6F><75> zvukov<6F> filtr
|
|
|
|
|
<option>channels</option>, kter<65> je rovn<76><6E> vhodn<64> k ovl<76>d<EFBFBD>n<EFBFBD> po<70>tu zvukov<6F>ch
|
|
|
|
|
kan<EFBFBD>l<EFBFBD> pos<6F>lan<61>ch do zvukov<6F> karty. Viz n<>sleduj<75>c<EFBFBD> sekce pro v<>ce informac<61>
|
|
|
|
|
o manipulac<61>ch s kan<61>ly.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-channels-mono">
|
|
|
|
|
<title>P<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> mono na dvou reproduktorech</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Mono zn<7A> mnohem l<>pe, kdy<64> je p<>ehr<68>v<EFBFBD>n dv<64>ma reproduktory – zvlṻ p<>i
|
|
|
|
|
pou<EFBFBD>it<EFBFBD> sluch<63>tek. Audio soubory, kter<65> ve skute<74>nosti maj<61> jeden kan<61>l,
|
|
|
|
|
jsou automaticky p<>ehr<68>v<EFBFBD>ny dv<64>ma reproduktory; nane<6E>t<EFBFBD>st<73> je v<>t<EFBFBD>ina
|
|
|
|
|
mono soubor<6F> ve skute<74>nosti enk<6E>dov<6F>na jako stereo s jedn<64>m kan<61>lem utlumen<65>m.
|
|
|
|
|
Nejjednodu<EFBFBD><EFBFBD><EFBFBD> a nejblbuvzdorn<72>j<EFBFBD><6A> zp<7A>sob, jak p<>inutit oba reproduktory
|
|
|
|
|
poskytovat stejn<6A> zvuk je filtr <option>extrastereo</option>:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af extrastereo=0</screen>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
To zpr<70>m<EFBFBD>ruje oba kan<61>ly, tak<61>e budou m<>t polovi<76>n<EFBFBD> hlasitost origin<69>lu.
|
|
|
|
|
Dal<EFBFBD><EFBFBD> sekce p<>in<69><6E>ej<65> p<><70>klady dal<61><6C>ch mo<6D>nost<73>, jak to ud<75>lat bez sn<73><6E>en<65>
|
|
|
|
|
hlasitosti, ale ty jsou mnohem komplexn<78>j<EFBFBD><6A> a vy<76>aduj<75> odli<6C>n<EFBFBD> volby
|
|
|
|
|
v z<>vislosti na tom, kter<65> kan<61>l ponech<63>te. Pokud pot<6F>ebujete jen upravit
|
|
|
|
|
hlasitost, m<><6D>e b<>t leh<65><68> experimentovat s filtrem <option>volume</option>
|
|
|
|
|
a naj<61>t vhodnou hodnotu. Nap<61><70>klad:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af extrastereo=0,volume=5</screen>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-channels-copying">
|
|
|
|
|
<title>Kop<EFBFBD>rov<EFBFBD>n<EFBFBD>/p<>esun kan<61>l<EFBFBD></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Filtr <option>channels</option> um<75> p<>esunout jak<61>koli nebo v<>echny kan<61>ly.
|
|
|
|
|
Nastaven<EFBFBD> v<>ech parametr<74> filtru <option>channels</option> m<><6D>e b<>t
|
|
|
|
|
komplikovan<EFBFBD> a vy<76>aduje pozornost.
|
|
|
|
|
|
|
|
|
|
<orderedlist spacing="compact">
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Rozhodn<EFBFBD>te, kolik v<>stupn<70>ch kan<61>l<EFBFBD> pot<6F>ebujete. To je prvn<76> parametr.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Spo<EFBFBD><EFBFBD>tejte, kolik p<>esun<75> kan<61>l<EFBFBD> budete d<>lat. To je druh<75> parametr. Ka<4B>d<EFBFBD>
|
|
|
|
|
kan<EFBFBD>l m<><6D>e b<>t p<>esunut nar<61>z do n<>kolika r<>zn<7A>ch kan<61>l<EFBFBD>, ale pamatujte, <20>e
|
|
|
|
|
pokud je kan<61>l p<>esunut (dokonce i jen do jednoho c<>le), bude zdrojov<6F> kan<61>l
|
|
|
|
|
pr<EFBFBD>zdn<EFBFBD> dokud do n<>j nep<65>esunete jin<69> kan<61>l. Chcete-li kan<61>l zkop<6F>rovat,
|
|
|
|
|
aby zdroj z<>stal stejn<6A>, jednodu<64>e p<>esu<73>te kan<61>l do obou, c<>le i zdroje.
|
|
|
|
|
Nap<EFBFBD><EFBFBD>klad:
|
|
|
|
|
<programlisting>
|
|
|
|
|
channel 2 --> channel 3
|
|
|
|
|
channel 2 --> channel 2
|
|
|
|
|
</programlisting>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zapi<EFBFBD>te kopie kan<61>l<EFBFBD> jako dvojici parametr<74>. Pamatujte, <20>e prvn<76> kan<61>l je 0,
|
|
|
|
|
druh<EFBFBD> 1 atd. Na po<70>ad<61> parametr<74> nez<65>le<6C><65>, pokud jsou spr<70>vn<76> sdru<72>eny do
|
|
|
|
|
p<EFBFBD>r<EFBFBD> <replaceable>zdroj:c<>l</replaceable>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: jeden kan<61>l ve dvou reproduktorech</bridgehead>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Zde m<>te p<><70>klad jin<69>ho zp<7A>sobu, jak hr<68>t jeden kan<61>l v obou reproduktorech.
|
|
|
|
|
Pro n<><6E> <20><>el p<>edpokl<6B>dejme, <20>e by m<>l b<>t p<>ehr<68>v<EFBFBD>n lev<65> kan<61>l a zahozen prav<61>.
|
|
|
|
|
N<EFBFBD>sledujeme v<><76>e uveden<65> postup:
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Abychom m<>li v<>stupn<70> kan<61>l pro ka<6B>d<EFBFBD> z obou reproduktor<6F>, mus<75> b<>t prvn<76>
|
|
|
|
|
parametr "2".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Lev<EFBFBD> kan<61>l mus<75> b<>t p<>esunut do prav<61>ho a tak<61> s<>m do sebe, aby nez<65>stal
|
|
|
|
|
pr<EFBFBD>zdn<EFBFBD>. To jsou celkem dva p<>esuny, tak<61>e druh<75> parametr bude tak<61> "2".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Pro p<>esun lev<65>ho kan<61>lu (channel 0) do prav<61>ho kan<61>lu (channel 1) bude dvojice
|
|
|
|
|
parametr<EFBFBD> "0:1" a "0:0" p<>esune lev<65> kan<61>l na sebe.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
V<EFBFBD>e dohromady pak d<>:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af channels=2:2:0:1:0:0</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V<EFBFBD>hoda tohoto postupu p<>ed <option>extrastereo</option> je v tom, <20>e
|
|
|
|
|
je hlasitost ka<6B>d<EFBFBD>ho v<>stupn<70>ho kan<61>lu stejn<6A> jako hlasitost zdrojov<6F>ho
|
|
|
|
|
kan<EFBFBD>lu. Nev<65>hodou je to, <20>e parametry mus<75> b<>t zm<7A>n<EFBFBD>ny na "2:2:1:0:1:1",
|
|
|
|
|
pokud je po<70>adovan<61> zvuk v prav<61>m kan<61>lu. Tak<61> je t쾹<74> si je pamatovat
|
|
|
|
|
a napsat.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: lev<65> kan<61>l v obou reproduktorech – zkratka</bridgehead>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ve skute<74>nosti je mnohem jednodu<64><75><EFBFBD> zp<7A>sob pou<6F>it<69> filtru
|
|
|
|
|
<option>channels</option> pro p<>ehr<68>v<EFBFBD>n<EFBFBD> lev<65>ho kan<61>lu v obou reproduktorech:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af channels=1</screen>
|
|
|
|
|
|
|
|
|
|
Druh<EFBFBD> kan<61>l je zahozen a bez dal<61><6C>ch parametr<74> je ponech<63>n jedin<69> zb<7A>vaj<61>c<EFBFBD>
|
|
|
|
|
kan<EFBFBD>l. Ovlada<64>e zvukov<6F>ch karet hraj<61> jednokan<61>lov<6F> zvuk automaticky v obou
|
|
|
|
|
reproduktorech. To pracuje pouze pokud je po<70>adovan<61> lev<65> kan<61>l.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: kop<6F>rov<6F>n<EFBFBD> <20>eln<6C>ch kan<61>l<EFBFBD> do zadn<64>ch</bridgehead>
|
|
|
|
|
<para>
|
|
|
|
|
Dal<EFBFBD><EFBFBD>m b<><62>n<EFBFBD>m <20>konem je duplikace <20>eln<6C>ch kan<61>l<EFBFBD> a jejich p<>ehr<68>v<EFBFBD>n<EFBFBD> v zadn<64>ch
|
|
|
|
|
reproduktorech kvadrofonn<6E> sestavy.
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zde by mely b<>t <20>ty<74>i v<>stupn<70> kan<61>ly. Prvn<76> parametr je "4".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Oba p<>edn<64> kan<61>ly mus<75> b<>t p<>esunuty do odpov<6F>daj<61>c<EFBFBD>ch zadn<64>ch kan<61>l<EFBFBD> a
|
|
|
|
|
tak<EFBFBD> na sebe. To jsou <20>ty<74>i p<>esuny, tak<61>e druh<75> parametr bude "4".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Lev<EFBFBD> <20>eln<6C> (channel 0) p<>esuneme do lev<65>ho zadn<64>ho (channel 2): "0:2".
|
|
|
|
|
Lev<EFBFBD> <20>eln<6C> mus<75>me rovn<76><6E> p<>esunout do sama sebe: "0:0". Prav<61> p<>edn<64> (channel
|
|
|
|
|
1) je p<>esunut do prav<61>ho zadn<64>ho (channel 3): "1:3" a tak<61> do sebe: "1:1".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
Po zkombinov<6F>n<EFBFBD> v<>ech nastaven<65> dostaneme:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af channels=4:4:0:2:0:0:1:3:1:1</screen>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect3 id="advaudio-channels-mixing">
|
|
|
|
|
<title>Mixov<EFBFBD>n<EFBFBD> kan<61>l<EFBFBD></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Filtr <option>pan</option> um<75> mixovat kan<61>ly podle po<70>adavk<76> u<>ivatele.
|
|
|
|
|
Umo<EFBFBD><EFBFBD>uje v<>e co filtr <option>channels</option> a je<6A>t<EFBFBD> v<>c. Nane<6E>t<EFBFBD>st<73> jsou
|
|
|
|
|
jeho parametry je<6A>t<EFBFBD> komplikovan<61>j<EFBFBD><6A>.
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Rozhodn<EFBFBD>te, s kolika kan<61>ly budeme pracovat. To m<><6D>ete nastavit pomoc<6F> volby
|
|
|
|
|
<option>-channels</option> a/nebo <option>-af channels</option>. Pozd<7A>ji se
|
|
|
|
|
v p<><70>kladech dozv<7A>te, kdy pou<6F><75>t kterou.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Rozhodn<EFBFBD>te, kolik kan<61>l<EFBFBD> propust<73>me do <option>pan</option> (ostatn<74> dek<65>dovan<61>
|
|
|
|
|
kan<EFBFBD>ly jsou zahozeny). To je prvn<76> parametr a tak<61> ovl<76>d<EFBFBD>, kolik kan<61>l<EFBFBD> bude m<>t
|
|
|
|
|
v<EFBFBD>stup.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zb<EFBFBD>vaj<EFBFBD>c<EFBFBD> parametry nastavuj<75>, kolik z dan<61>ho kan<61>lu bude namixov<6F>no do ka<6B>d<EFBFBD>ho
|
|
|
|
|
dal<EFBFBD><EFBFBD>ho kan<61>lu. Toto je ta komplikovan<61> <20><>st. Pro usnadn<64>n<EFBFBD> si rozd<7A>lte
|
|
|
|
|
parametry do n<>kolika skupin, jednu pro ka<6B>d<EFBFBD> v<>stupn<70> kan<61>l. Ka<4B>d<EFBFBD> parametr
|
|
|
|
|
uvnit<EFBFBD> skupiny odpov<6F>d<EFBFBD> vstupn<70>mu kan<61>lu. <20><>slo, kter<65> nastav<61>te bude procento
|
|
|
|
|
vstupn<EFBFBD>ho kan<61>lu, kter<65> bude namixov<6F>no do v<>stupn<70>ho kan<61>lu.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
<option>pan</option> akceptuje hodnoty od 0 do 512, co<63> odpov<6F>d<EFBFBD> 0% a<> 51200%
|
|
|
|
|
p<EFBFBD>vodn<EFBFBD> hlasitosti. Bu<42>te opatrn<72>, pokud pou<6F><75>v<EFBFBD>te hodnoty v<>t<EFBFBD><74> ne<6E> 1. Nejen,
|
|
|
|
|
<EFBFBD>e v<>m to d<> velmi vysokou hlasitost, ale pokud p<>ekro<72><6F>te dynamick<63> rozsah
|
|
|
|
|
sv<EFBFBD> zvukov<6F> karty, m<><6D>ete usly<6C>et r<>ny a prask<73>n<EFBFBD>. Pokud chcete, m<><6D>ete
|
|
|
|
|
za <option>pan</option> p<>idat <option>,volume</option> pro zapnut<75> omezen<65>,
|
|
|
|
|
ale i tak je nejlep<65><70> udr<64>et hodnoty <option>pan</option> dostate<74>n<EFBFBD> n<>zko,
|
|
|
|
|
aby omezov<6F>n<EFBFBD> nebylo pot<6F>eba.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: jeden kan<61>l do dvou reproduktor<6F></bridgehead>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Zde m<>te dal<61><6C> p<><70>klad pro p<>ehr<68>v<EFBFBD>n<EFBFBD> lev<65>ho kan<61>lu ve dvou reproduktorech.
|
|
|
|
|
N<EFBFBD>sledujme v<><76>e uveden<65> kroky:
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Na v<>stupu <option>pan</option> by m<>ly b<>t dva kan<61>ly, tak<61>e prvn<76> parametr
|
|
|
|
|
je "2".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Jeliko<EFBFBD> m<>me dva vstupn<70> kan<61>ly, budeme m<>t dv<64> sady parametr<74>.
|
|
|
|
|
Jeliko<EFBFBD> m<>me rovn<76><6E> dva v<>stupn<70> kan<61>ly, budeme m<>t dva parametry v ka<6B>d<EFBFBD>
|
|
|
|
|
sad<EFBFBD>. Lev<65> kan<61>l ze souboru by m<>l j<>t s plnou hlasitost<73> do nov<6F>ho lev<65>ho
|
|
|
|
|
i prav<61>ho kan<61>lu.
|
|
|
|
|
Tak<EFBFBD>e prvn<76> sada parametr<74> je "1:1".
|
|
|
|
|
Prav<EFBFBD> kan<61>l by m<>l b<>t zahozen, tak<61>e druh<75> sada bude "0:0".
|
|
|
|
|
Hodnoty 0 na konci je mo<6D>n<EFBFBD> vynechat, ale pro snadn<64>j<EFBFBD><6A> pochopen<65>
|
|
|
|
|
je zde nech<63>v<EFBFBD>me.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
D<EFBFBD>me-li v<>e dohromady, dostaneme:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af pan=2:1:1:0:0</screen>
|
|
|
|
|
|
|
|
|
|
Pokud chceme m<>sto lev<65>ho kan<61>lu prav<61>, budou parametry
|
|
|
|
|
<option>pan</option> tyto: "2:0:0:1:1".
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: lev<65> kan<61>l ve dvou reproduktorech zkr<6B>cen<65></bridgehead>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Stejn<EFBFBD> jako s <option>channels</option> m<><6D>eme pou<6F><75>t zkr<6B>cen<65> z<>pis, kter<65>
|
|
|
|
|
funguje pouze pro lev<65> kan<61>l:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>soubor</replaceable> -af pan=1:1</screen>
|
|
|
|
|
|
|
|
|
|
Jeliko<EFBFBD> m<> <option>pan</option> pouze jeden vstupn<70> kan<61>l (druh<75> je zahozen),
|
|
|
|
|
m<EFBFBD>me pouze jednu sadu s jedn<64>m parametrem, tak<61>e tento jedin<69> kan<61>l d<>v<EFBFBD>
|
|
|
|
|
100% s<>m ze sebe.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: podmixov<6F>n<EFBFBD> 6-kan<61>lov<6F>ho PCM</bridgehead>
|
|
|
|
|
<para>
|
|
|
|
|
<application>MPlayer</application><EFBFBD>v dekod<6F>r 6-kan<61>lov<6F>ho PCM neum<75> podmixov<6F>n<EFBFBD>.
|
|
|
|
|
M<EFBFBD>me v<>ak mo<6D>nost k tomu pou<6F><75>t <option>pan</option>:
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Po<EFBFBD>et v<>stupn<70>ch kan<61>l<EFBFBD> je 2, tak<61>e prvn<76> parametr je "2".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>i <20>esti vstupn<70>ch kan<61>lech budeme m<>t <20>est sad parametr<74>. Jeliko<6B> n<>s
|
|
|
|
|
v<EFBFBD>ak zaj<61>m<EFBFBD> pouze v<>stup z prvn<76>ch dvou kan<61>l<EFBFBD>, vysta<74><61>me s pouh<75>mi dv<64>ma
|
|
|
|
|
sadami; zb<7A>vaj<61>c<EFBFBD> <20>ty<74>i sady m<><6D>eme vynechat. Pozor na to, <20>e ne v<>echny
|
|
|
|
|
v<EFBFBD>cekan<EFBFBD>lov<EFBFBD> zvukov<6F> soubory maj<61> stejn<6A> <20>azen<65> kan<61>l<EFBFBD>! Tento p<><70>klad
|
|
|
|
|
demonstruje podmixov<6F>n<EFBFBD> souboru se stejn<6A>m <20>azen<65>m kan<61>l<EFBFBD> jako m<> AC3 5.1:
|
|
|
|
|
<programlisting>
|
|
|
|
|
0 - lev<65> p<>edn<64>
|
|
|
|
|
1 - prav<61> p<>edn<64>
|
|
|
|
|
2 - lev<65> zadn<64>
|
|
|
|
|
3 - prav<61> zadn<64>
|
|
|
|
|
4 - st<73>edov<6F> p<>edn<64>
|
|
|
|
|
5 - subwoofer
|
|
|
|
|
</programlisting>
|
|
|
|
|
Prvn<EFBFBD> sada parametr<74> je v<><76>tem procentn<74>ch hodnot hlasitost<73> v dan<61>m po<70>ad<61>,
|
|
|
|
|
kterou by m<>l dostat ka<6B>d<EFBFBD> v<>stupn<70> kan<61>l z lev<65>ho p<>edn<64>ho kan<61>lu: "1:0".
|
|
|
|
|
Prav<EFBFBD> p<>edn<64> kan<61>l by m<>l j<>t do prav<61>ho v<>stupu: "0:1".
|
|
|
|
|
Stejn<EFBFBD> tak zadn<64> kan<61>ly: "1:0" a "0:1".
|
|
|
|
|
St<EFBFBD>edov<EFBFBD> kan<61>l jde do obou v<>stupn<70>ch kan<61>l<EFBFBD> s polovi<76>n<EFBFBD> hlasitost<73>:
|
|
|
|
|
"0.5:0.5" a subwoofer jde do obou s plnou hlasitost<73>: "1:1".
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
D<EFBFBD>me-li v<>e dohromady, dostaneme:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>6-kan<61>lov<6F>.wav</replaceable> -af pan=2:1:0:0:1:1:0:0:1:0.5:0.5:1:1</screen>
|
|
|
|
|
|
|
|
|
|
Uveden<EFBFBD> procentn<74> hodnoty jsou pouh<75>m p<><70>kladem. Upravte si je podle vlastn<74>ho
|
|
|
|
|
uv<EFBFBD><EFBFBD>en<EFBFBD>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead>P<EFBFBD><EFBFBD>klad: P<>ehr<68>v<EFBFBD>n<EFBFBD> 5.1 zvuku na velk<6C>ch reprobedn<64>ch bez subwooferu</bridgehead>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Pokud m<>te robustn<74> <20>eln<6C> reprobedny, nemus<75>te utr<74>cet za n<>kup subwooferu
|
|
|
|
|
pro kompletn<74> 5.1 zvukov<6F> syst<73>m. Pou<6F>ijete-li volbu
|
|
|
|
|
<option>-channels 5</option> pro po<70>adavek, aby liba52 dek<65>dovala 5.1 zvuk
|
|
|
|
|
do 5.0, bude zkr<6B>tka kan<61>l pro subwoofer zahozen. Pokud jeho obsah chcete
|
|
|
|
|
rozn<EFBFBD>st do ostatn<74>ch kan<61>l<EFBFBD>, mus<75>te jej podmixovat ru<72>n<EFBFBD> pomoc<6F>
|
|
|
|
|
<option>pan</option>:
|
|
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Jeliko<EFBFBD> se <option>pan</option> pot<6F>ebuje dostat ke v<>em <20>esti kan<61>l<EFBFBD>m, nastavte
|
|
|
|
|
<option>-channels 6</option>, tak<61>e je liba52 dek<65>duje v<>echny.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Filtr <option>pan</option> produkuje pouze p<>t kan<61>l<EFBFBD>, tak<61>e prvn<76> parametr je 5.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<EFBFBD>est vstupn<70>ch a p<>t v<>stupn<70>ch kan<61>l<EFBFBD> znamen<65> <20>est sad po p<>ti parametrech.
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Lev<65> p<>edn<64> kan<61>l p<>jde jen s<>m do sebe:
|
|
|
|
|
"1:0:0:0:0"
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Stejn<6A> tak prav<61> p<>edn<64> kan<61>l:
|
|
|
|
|
"0:1:0:0:0"
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Takt<6B><74> lev<65> zadn<64> kan<61>l:
|
|
|
|
|
"0:0:1:0:0"
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
Rovn<76><6E> prav<61> zadn<64> kan<61>l:
|
|
|
|
|
"0:0:0:1:0"
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
St<53>edov<6F> kan<61>l jakbysmet:
|
|
|
|
|
"0:0:0:0:1"
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
<listitem><simpara>
|
|
|
|
|
A nyn<79> se mus<75>me rozhodnout, co ud<75>l<EFBFBD>me se subwooferem,
|
|
|
|
|
nap<61><70>klad p<>lku do p<>edn<64>ho lev<65>ho a p<>lku do p<>edn<64>ho prav<61>ho:
|
|
|
|
|
"0.5:0.5:0:0:0"
|
|
|
|
|
</simpara></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
Zkombinujeme-li to dohromady, dostaneme:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>dvd://1</replaceable> -channels 6 -af pan=5:1:0:0:0:0:0:1:0:0:0:0:0:1:0:0:0:0:0:1:0:0:0:0:0:1:0.5:0.5:0:0:0</screen>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="advaudio-volume">
|
|
|
|
|
<title>Softwarov<EFBFBD> nastaven<65> hlasitosti</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>kter<EFBFBD> zvukov<6F> stopy jsou p<><70>li<6C> tich<63> na to, aby mohly b<>t pohodln<6C>
|
|
|
|
|
poslouch<EFBFBD>ny bez zes<65>len<65>. To je probl<62>m, pokud v<><76> zvukov<6F> syst<73>m neumo<6D><6F>uje
|
|
|
|
|
pot<EFBFBD>ebn<EFBFBD> zes<65>len<65>. Volba <option>-softvol</option> poru<72><75>
|
|
|
|
|
<application>MPlayer</application>u pou<6F>it<69> vestav<61>n<EFBFBD>ho sm<73><6D>ova<76>e. Pak m<><6D>ete
|
|
|
|
|
pou<EFBFBD><EFBFBD>t kl<6B>vesy pro nastaven<65> hlasitosti (v<>choz<6F> <keycap>9</keycap> a
|
|
|
|
|
<keycap>0</keycap>) pro dosa<73>en<65> mnohem vy<76><79><EFBFBD>ch <20>rovn<76> hlasitosti.
|
|
|
|
|
Takto neobejdete sm<73><6D>ova<76> va<76><61> zvukov<6F> karty; <application>MPlayer</application>
|
|
|
|
|
pouze zes<65>l<EFBFBD> sign<67>l p<>ed jeho odesl<73>n<EFBFBD>m do zvukov<6F> karty.
|
|
|
|
|
|
|
|
|
|
N<EFBFBD>sleduj<EFBFBD>c<EFBFBD> p<><70>klad je dobr<62>m startem:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>tich<EFBFBD>-soubor</replaceable> -softvol -softvol-max 300</screen>
|
|
|
|
|
|
|
|
|
|
Volba <option>-softvol-max</option> nastavuje maxim<69>ln<6C> povolenou v<>stupn<70>
|
|
|
|
|
hlasitost v procentech p<>vodn<64> hlasitosti. Nap<61><70>klad,
|
|
|
|
|
<option>-softvol-max 200</option> umo<6D>n<EFBFBD> nastavit hlasitost a<> na dvojn<6A>sobek
|
|
|
|
|
p<EFBFBD>vodn<EFBFBD> <20>rovn<76>.
|
|
|
|
|
Je bezpe<70>n<EFBFBD> nastavit vysok<6F> hodnoty volbou
|
|
|
|
|
<option>-softvol-max</option>; vy<76><79><EFBFBD> hlasitost se nepou<6F>ije, dokud nepou<6F>ijete
|
|
|
|
|
tla<EFBFBD><EFBFBD>tka nastaven<65> hlasitosti. Jedinou nev<65>hodou velk<6C>ch hodnot je to, <20>e
|
|
|
|
|
jeliko<EFBFBD> <application>MPlayer</application> nastavuje hlasitost o pod<6F>l
|
|
|
|
|
z maxim<69>ln<6C> hlasitosti, nebudete m<>t tak jemn<6D> krok nastaven<65> pomoc<6F> tla<6C><61>tek.
|
|
|
|
|
Pokud pot<6F>ebujete p<>esn<73>j<EFBFBD><6A> nastavov<6F>n<EFBFBD>, pou<6F>ijte ni<6E><69><EFBFBD> hodnotu pro
|
|
|
|
|
<option>-softvol-max</option> a/nebo nastavte
|
|
|
|
|
<option>-volstep 1</option>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Volba <option>-softvol</option> pracuje tak, <20>e ovl<76>d<EFBFBD> zvukov<6F> filtr
|
|
|
|
|
<option>volume</option>. Chcete-li p<>ehr<68>vat soubor od za<7A><61>tku p<>i ur<75>it<69>
|
|
|
|
|
hlasitosti, m<><6D>ete nastavit <option>volume</option> ru<72>n<EFBFBD>:
|
|
|
|
|
|
|
|
|
|
<screen>mplayer <replaceable>tich<EFBFBD>-soubor</replaceable> -af volume=10</screen>
|
|
|
|
|
|
|
|
|
|
Takto p<>ehrajete soubor se ziskem 10 decibel<65>. P<>i pou<6F>it<69> filtru
|
|
|
|
|
<option>volume</option> bu<62>te velmi opatrn<72>. Pokud pou<6F>ijete p<><70>li<6C> vysokou
|
|
|
|
|
hodnotu, m<><6D>ete si po<70>kodit sluch. Za<5A>n<EFBFBD>te s n<>zkou hodnotou a postupn<70>
|
|
|
|
|
zvy<EFBFBD>ujte, a<> doc<6F>l<EFBFBD>te po<70>adovan<61> hlasitosti. P<>i nastaven<65> p<><70>li<6C> vysok<6F>ch
|
|
|
|
|
hodnot tak<61> hroz<6F>, <20>e <option>volume</option> bude nucen o<>ezat sign<67>l, aby
|
|
|
|
|
p<EFBFBD>ede<EFBFBD>el odesl<73>n<EFBFBD> dat mimo dovolen<65> rozsah do zvukov<6F> karty; to povede ke
|
|
|
|
|
zkreslen<EFBFBD> sign<67>lu.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
2005-01-04 13:57:10 +00:00
|
|
|
|
</chapter>
|