mirror of
https://github.com/mpv-player/mpv
synced 2025-01-07 07:30:09 +00:00
929 lines
30 KiB
XML
929 lines
30 KiB
XML
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
|||
|
<!-- Synced with 1.57 -->
|
|||
|
<sect1 id="codecs">
|
|||
|
<title>Podporovan<EFBFBD> kodeky</title>
|
|||
|
|
|||
|
<sect2 id="video-codecs">
|
|||
|
<title>Video kodeky</title>
|
|||
|
|
|||
|
<para>
|
|||
|
Kompletn<EFBFBD> denn<6E> aktualizovan<61> seznam naleznete v na<6E><61> str<74>nce
|
|||
|
<ulink url="http://www.mplayerhq.hu/homepage/codecs-status.html">tabulce statutu kodeku</ulink>.
|
|||
|
Docela dost kodek<65> si m<><6D>ete st<73>hnout z na<6E><61> domovsk<73> str<74>nky.
|
|||
|
Odkaz najdete na
|
|||
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">str<EFBFBD>nce kodek<65></ulink>.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Nejd<EFBFBD>le<EFBFBD>it<EFBFBD>j<EFBFBD><EFBFBD> ze v<>ech jsou:
|
|||
|
</para>
|
|||
|
|
|||
|
<itemizedlist>
|
|||
|
<listitem><simpara>
|
|||
|
<emphasis role="bold">MPEG-1</emphasis> (<emphasis role="bold">VCD</emphasis>) a
|
|||
|
<emphasis role="bold">MPEG-2</emphasis> (<emphasis role="bold">DVD</emphasis>) video
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
nativn<76> dekod<6F>ry pro <emphasis role="bold">DivX ;-), OpenDivX (DivX4),
|
|||
|
DivX 5 (Pro), 3ivX, MS MPEG-4</emphasis> v1, v2 a ostatn<74> MPEG-4 varianty
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
nativn<76> dekod<6F>r pro <emphasis role="bold">Windows Media Video 7/8</emphasis>
|
|||
|
(<emphasis role="bold">WMV1/WMV2</emphasis>), a Win32 DLL dekod<6F>r
|
|||
|
pro <emphasis role="bold">Windows Media Video 9</emphasis>
|
|||
|
(<emphasis role="bold">WMV3</emphasis>), oboj<6F> pou<6F><75>van<61> ve <filename>.wmv</filename>
|
|||
|
souborech
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
nativn<76> <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> dekod<6F>r
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
nativn<76> <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> dekod<6F>r
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
<emphasis role="bold">3ivx</emphasis> v1, v2 dekod<6F>r
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
Cinepak a <emphasis role="bold">Intel Indeo</emphasis> kodeky
|
|||
|
(3.1,3.2,4.1,5.0)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
<emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 a dal<61><6C> hardwarov<6F>
|
|||
|
form<72>ty
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
VIVO 1.0, 2.0, I263 a dal<61><6C> <emphasis role="bold">H.263(+)</emphasis>
|
|||
|
varianty
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
FLI/FLC
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
<emphasis role="bold">RealVideo 1.0 & 2.0</emphasis> z
|
|||
|
<systemitem class="library">libavcodec</systemitem>, a
|
|||
|
<emphasis role="bold">RealVideo 3.0 & 4.0</emphasis> kodeky pou<6F><75>vaj<61>c<EFBFBD>
|
|||
|
knihovny z RealPlayeru
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
nativn<76> dekod<6F>r pro HuffYUV
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
R<>zn<7A> star<61> a jednoduch<63> form<72>ty podobn<62> RLE
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
|
|||
|
<para>
|
|||
|
Pokud m<>te Win32 kodek, kter<65> zde nen<65> uveden a kter<65> nen<65> zat<61>m podporov<6F>n,
|
|||
|
p<EFBFBD>e<EFBFBD>t<EFBFBD>te si
|
|||
|
<link linkend="codec-importing">codec importing HOWTO</link>
|
|||
|
a pomozte n<>m p<>idat pro n<>j podporu.
|
|||
|
</para>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="divx4-5">
|
|||
|
<title>DivX4/DivX5</title>
|
|||
|
|
|||
|
<para>
|
|||
|
Tato sekce obsahuje informace o kodec<65>ch DivX4 a DivX5 z
|
|||
|
<ulink url="http://www.projectmayo.com">Projektu Mayo</ulink>.
|
|||
|
Jejich prvn<76> dostupn<70> alfa verze byl OpenDivX 4.0 alpha 47 a 48.
|
|||
|
Jejich podpora byla v minulosti p<>id<69>na do
|
|||
|
<application>MPlayer</application>u a zakompilov<6F>v<EFBFBD> se automaticky.
|
|||
|
Rovn<EFBFBD><EFBFBD> jsme pou<6F><75>vali jejich postprocesn<73> k<>d pro voliteln<6C> vylep<65>ov<6F>n<EFBFBD>
|
|||
|
kvality MPEG-1/2 film<6C>. Nyn<79> ji<6A> pou<6F><75>v<EFBFBD>me na<6E>e vlastn<74> pro v<>echny typy
|
|||
|
soubor<EFBFBD>.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Nov<EFBFBD> generace tohoto kodeku se naz<61>vala DivX4 a byla schopna dokonce dek<65>dovat
|
|||
|
filmy vytvo<76>en<65> pomoc<6F> nechvaln<6C> zn<7A>m<EFBFBD>ho DivX kodeku!
|
|||
|
Nav<EFBFBD>c je mnohem rychlej<65><6A> ne<6E> nativn<76> Win32 DivX DLL, ale pomalej<65><6A> ne<6E>
|
|||
|
<systemitem class="library">libavcodec</systemitem>.
|
|||
|
Proto jeho pou<6F>it<69> jako dekod<6F>ru
|
|||
|
<emphasis role="bold">nedoporu<EFBFBD>ujeme</emphasis>. Nicm<63>n<EFBFBD> jej lze s <20>sp<73>chem
|
|||
|
pou<EFBFBD><EFBFBD>vat pro enk<6E>dov<6F>n<EFBFBD>. Jedin<69> nev<65>hoda tohoto kodeku je, <20>e nen<65> k dispozici
|
|||
|
pod Open Source licenc<6E>.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
DivX4 pracuje ve dvou re<72>imech:
|
|||
|
<variablelist>
|
|||
|
<varlistentry><term><option>-vc odivx</option></term>
|
|||
|
<listitem><simpara>
|
|||
|
Pou<6F><75>v<EFBFBD> kodek ve stylu OpenDivX. V tomto re<72>imu vytv<74><76><EFBFBD> kodek YV12 obr<62>zky
|
|||
|
ve vlastn<74> vyrovn<76>vac<61> pam<61>ti a <application>MPlayer</application> prov<6F>d<EFBFBD>
|
|||
|
konverzi barevn<76>ho prostoru p<>es libvo.
|
|||
|
(<emphasis role="bold">Rychl<EFBFBD>, doporu<72>ujeme!</emphasis>)
|
|||
|
</simpara></listitem>
|
|||
|
</varlistentry>
|
|||
|
<varlistentry><term><option>-vc divx4</option></term>
|
|||
|
<listitem><simpara>
|
|||
|
Pou<6F><75>v<EFBFBD> konverzi barevn<76>ho prostoru zabudovanou v kodeku. V tomto re<72>imu
|
|||
|
m<><6D>ete rovn<76><6E> pou<6F><75>t YUY2/UYVY. (<emphasis role="bold">POMAL<EFBFBD></emphasis>)
|
|||
|
</simpara></listitem>
|
|||
|
</varlistentry>
|
|||
|
</variablelist>
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Re<EFBFBD>im <option>-vc odivx</option> b<>v<EFBFBD> rychlej<65><6A>, proto<74>e p<>en<65><6E><EFBFBD> obrazov<6F> data
|
|||
|
ve form<72>tu YV12 (rovinn<6E> YUV 4:2:0), kter<65> vy<76>aduje mnohem men<65><6E> propustnost
|
|||
|
sb<EFBFBD>rnice. Pro re<72>imy zhu<68>t<EFBFBD>n<EFBFBD>ho YUV (YUY2, UYVY) pou<6F>ijte re<72>im
|
|||
|
<option>-vc divx4</option>. Rychlost RGB re<72>im<69> je stejn<6A>, m<>rn<72> se odli<6C>uje
|
|||
|
v z<>vislosti na va<76><61> aku<6B>ln<6C> barevn<76> hloubce.
|
|||
|
<note>
|
|||
|
<para>
|
|||
|
Pokud va<76>e <option>-vo</option> rozhran<61> podporuje direct rendering, pak m<><6D>e
|
|||
|
b<EFBFBD>t <option>-vc divx4</option> rychlej<65><6A>, nebo dokonce nejrychlej<65><6A> volbou.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Bin<EFBFBD>rn<EFBFBD> knihovny kodek<65> DivX4/5 si m<><6D>ete st<73>hnout z
|
|||
|
<ulink url="http://avifile.sf.net">avifile</ulink> nebo
|
|||
|
<ulink url="http://www.divx.com">divx.com</ulink>
|
|||
|
Rozbalte je, spus<75>te <filename>./install.sh</filename> jako root a nezapome<6D>te
|
|||
|
p<EFBFBD>idat <filename class="directory">/usr/local/lib</filename> do sv<73>ho
|
|||
|
<filename>/etc/ld.so.conf</filename> a spu<70><75>te <command>ldconfig</command>.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
CVS verzi STAR<41> core OpenDivX knihovny z<>sk<73>te n<>sledovn<76>:
|
|||
|
</para>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<step><para>
|
|||
|
<screen>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot login</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot co divxcore</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Tato core knihovna je rozd<7A>lena na decore a encore knihovnu, kter<65> by se m<>ly
|
|||
|
kompilovat odd<64>len<65>. Pro kompilaci decore knihovny zadejte
|
|||
|
<screen>
|
|||
|
cd divxcore/decore/build/linux
|
|||
|
make
|
|||
|
cp libdivxdecore.so /usr/local/lib
|
|||
|
ln -s libdivxdecore.so /usr/local/lib/libdivxdecore.so.0
|
|||
|
cp ../../src/decore.h /usr/local/include
|
|||
|
</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Bohu<EFBFBD>el encore knihovna neobsahuje Makefile pro Linux a MMX optimalizovan<61>
|
|||
|
k<EFBFBD>d pracuje pouze ve Windows. I p<>esto ji m<><6D>ete skompilovat pomoc<6F> tohoto
|
|||
|
<ulink url="ftp://ftp.mplayerhq.hu/MPlayer/contrib/divx-mf/Makefile">Makefile</ulink>.
|
|||
|
<screen>
|
|||
|
cd ../../../encore/build
|
|||
|
mkdir linux
|
|||
|
cd linux
|
|||
|
cp path/Makefile .
|
|||
|
make
|
|||
|
cp libdivxencore.so /usr/local/lib
|
|||
|
ln -s libdivxencore.so /usr/local/lib/libdivxencore.so.0
|
|||
|
cp ../../src/encore.h /usr/local/include
|
|||
|
</screen>
|
|||
|
</para></step>
|
|||
|
</procedure>
|
|||
|
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> automaticky detekuje DivX4/DivX5, pokud
|
|||
|
jsou zpr<70>vn<76> nainstalov<6F>ny, sta<74><61> jej jen zkompilovat jako obvykle.
|
|||
|
Pokud je nedetekuje, pak jste je nenainstalovali nebo nenakonfigurovali
|
|||
|
spr<EFBFBD>vn<EFBFBD>.
|
|||
|
</para>
|
|||
|
|
|||
|
</note>
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
|
|||
|
<title>FFmpeg/libavcodec</title>
|
|||
|
|
|||
|
<para>
|
|||
|
<ulink url="http://ffmpeg.org">FFmpeg</ulink> obsahuje bal<61>k
|
|||
|
<emphasis role="bold">open source</emphasis> kodek<65>, kter<65> jsou schopny
|
|||
|
dek<EFBFBD>dovat datov<6F> proudy enk<6E>dovan<61> r<>zn<7A>mi audio a video kodeky.
|
|||
|
Rovn<EFBFBD><EFBFBD> nab<61>z<EFBFBD> <20>ctyhodn<64> enk<6E>dovac<61> potenci<63>l a vy<76><79><EFBFBD> rychlost ne<6E> Win32 kodeky
|
|||
|
nebo DivX.com DivX4/5 knihovny!
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Obsahuje mnoho hezk<7A>ch kodek<65>, zvl<76><6C>t<EFBFBD> d<>le<6C>it<69> jsou MPEG-4 varianty:
|
|||
|
DivX3, DivX4, DivX5, Windows Media Video 7/8 (WMV1/WMV2). Rovn<76><6E> velmi
|
|||
|
zaj<EFBFBD>mav<EFBFBD> je WMA dekod<6F>r.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Nejnov<EFBFBD>j<EFBFBD><EFBFBD>m kodekem zasluhuj<75>c<EFBFBD>m uzn<7A>n<EFBFBD> je kodek
|
|||
|
<emphasis role="bold">Sorenson 3</emphasis> (SVQ3). Toto je jeho prvn<76>, pln<6C>
|
|||
|
Open Source implementace. Je dokonce rychlej<65><6A> ne<6E> origin<69>l.
|
|||
|
Ujist<EFBFBD>te se <20>e preferujete tuto verzi p<>ed bin<69>rn<72>m kodekem!
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
<EFBFBD>pln<EFBFBD> seznam podporovan<61>ch kodek<65> naleznete na dom<6F>c<EFBFBD> str<74>nce FFmpeg.
|
|||
|
Podporovan<EFBFBD> <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC19">video</ulink>
|
|||
|
a <ulink url="http://ffmpeg.org/ffmpeg-doc.html#SEC20">audio</ulink> kodeky.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pokud pou<6F><75>v<EFBFBD>te <application>MPlayer</application> z bal<61><6C>ku, m<>te ji<6A>
|
|||
|
<systemitem class="library">libavcodec</systemitem>
|
|||
|
zahrnut<EFBFBD>, sta<74><61> prov<6F>st kompilaci jako obvykle. Pokud pou<6F><75>v<EFBFBD>te CVS verzi
|
|||
|
<application>MPlayer</application>u, vyextrahujte si
|
|||
|
<systemitem class="library">libavcodec</systemitem> z CVS stromu FFmpegu,
|
|||
|
jeliko<EFBFBD> nov<6F> verze FFmpeg je vyd<79>v<EFBFBD>na jen z<><7A>dka. Verze z CVS je v<>t<EFBFBD>inou
|
|||
|
stabiln<EFBFBD> a nab<61>z<EFBFBD> nejv<6A>ce vlastnost<73>. Pro jej<65> z<>sk<73>n<EFBFBD> prove<76>te:
|
|||
|
</para>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<step><para>
|
|||
|
<screen>cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg/libavcodec</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
P<>esu<73>te adres<65><73> <filename>libavcodec</filename> z FFmpeg do ko<6B>enov<6F>ho
|
|||
|
adres<65><73>e <application>MPlayer</application>ova CVS stromu.
|
|||
|
M<>lo by to vypadat asi takto:
|
|||
|
<filename class="directory">main/libavcodec</filename>
|
|||
|
</para><para>
|
|||
|
Symbolick<63> link <emphasis role="bold">nesta<EFBFBD><EFBFBD></emphasis>, mus<75>te jej
|
|||
|
zkop<6F>rovat/p<>esunout!
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Pokud chcete m<>t <systemitem class="library">libavcodec</systemitem>
|
|||
|
aktualizov<6F>n v<>dy kdy<64> aktualizujete
|
|||
|
<application>MPlayer</application> z CVS, vlo<6C>te do souboru
|
|||
|
<filename>main/CVS/Entries</filename> n<>sleduj<75>c<EFBFBD> <20><>dek:
|
|||
|
<screen>D/libavcodec////</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Kompilujte. Skript <filename>configure</filename> by m<>l zjistit probl<62>my
|
|||
|
p<>ed kompilac<61>.
|
|||
|
</para></step>
|
|||
|
</procedure>
|
|||
|
|
|||
|
<note>
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> z CVS obsahuje podadres<65><73>
|
|||
|
<filename>libavcodec</filename>, ten ale
|
|||
|
<emphasis role="bold">neobsahuje</emphasis> zdrojov<6F> k<>dy
|
|||
|
<systemitem class="library">libavcodec</systemitem>u!
|
|||
|
Mus<EFBFBD>te n<>sledovat v<><76>e uveden<65> postup, abyste z<>skali zdrojov<6F> h<>dy knihovny.
|
|||
|
</para>
|
|||
|
</note>
|
|||
|
|
|||
|
<para>
|
|||
|
S pomoc<6F> FFmpeg a m<> Matrox G400, mohu sledovat DivX dokonce i v tom nejvy<76><79><EFBFBD>m
|
|||
|
rozli<EFBFBD>en<EFBFBD> bez zahazov<6F>n<EFBFBD> sn<73>mk<6D> na sv<73> K6-2 500.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="xanim">
|
|||
|
<title>XAnim kodeky</title>
|
|||
|
|
|||
|
<note>
|
|||
|
<para>
|
|||
|
Upozor<EFBFBD>ujeme, <20>e bin<69>rn<72> XAnim kodeky jsou baleny spolu s textem, kter<65> se
|
|||
|
tv<EFBFBD><EFBFBD><EFBFBD> jako softwarov<6F> licence, kter<65>, krom<6F> jin<69>ho, zakazuje u<>ivateli pou<6F>it<69>
|
|||
|
kodek<EFBFBD> ve spojen<65> s jin<69>m programem ne<6E> <application>XAnim</application>.
|
|||
|
Nicm<EFBFBD>n<EFBFBD> autor XAnim dosud nepodnikl <20><>dn<64> pr<70>vn<76> kroky proti komukoli v
|
|||
|
souvislosti s kodeky.
|
|||
|
</para>
|
|||
|
</note>
|
|||
|
|
|||
|
<formalpara>
|
|||
|
<title>INSTALACE A POU<4F>IT<49></title>
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> je schopen pou<6F><75>vat XAnim kodeky pro
|
|||
|
dek<EFBFBD>dov<EFBFBD>n<EFBFBD>. N<>sleduj<75>c<EFBFBD> postup v<>m to umo<6D>n<EFBFBD>:
|
|||
|
</para>
|
|||
|
</formalpara>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<step><para>
|
|||
|
St<53>hn<68>te si kodeky, kter<65> chcete pou<6F><75>t, ze str<74>nek
|
|||
|
<ulink url="http://xanim.va.pubnix.com">XAnim</ulink>.
|
|||
|
Kodek <emphasis role="bold">3ivx</emphasis> nen<65> zde, ale na str<74>nce
|
|||
|
<ulink url="http://www.3ivx.com">3ivx</ulink>.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<emphasis role="bold">NEBO</emphasis> si st<73>hn<68>te bal<61>k kodek<65> z na<6E><61>
|
|||
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">kodekov<EFBFBD> str<74>nky</ulink>.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Pou<6F>ijte volbu <option>--with-xanimlibdir</option> pro ozn<7A>men<65>
|
|||
|
<filename>configure</filename> kde m<><6D>e nal<61>zt XAnim kodeky.
|
|||
|
Ve v<>choz<6F>m stavu je hled<65> v
|
|||
|
<filename class="directory">/usr/local/lib/codecs</filename>,
|
|||
|
<filename class="directory">/usr/local/lib/xanim/mods</filename>,
|
|||
|
<filename class="directory">/usr/lib/xanim/mods</filename> and
|
|||
|
<filename class="directory">/usr/lib/xanim</filename>.
|
|||
|
Alternativn<76> m<><6D>ete nastavit syst<73>movou prom<6F>nnou
|
|||
|
<envar>XANIM_MOD_DIR</envar> na adres<65><73> s XAnim kodeky.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
P<>ejmenujte/nalinkujte soubory tak, abyste odstranili <20><>st n<>zvu
|
|||
|
s architekturou, tak<61>e dostanet n<>zvy podobn<62> t<>mto:
|
|||
|
<filename>vid_cvid.xa</filename>,
|
|||
|
<filename>vid_h263.xa</filename>, <filename>vid_iv50.xa</filename>
|
|||
|
</para></step>
|
|||
|
</procedure>
|
|||
|
|
|||
|
<para>
|
|||
|
XAnim tvo<76><6F> rodinu video kodek<65> <systemitem>xanim</systemitem>, tak<61>e byste
|
|||
|
m<EFBFBD>li pou<6F><75>t volbu <option>-vfm xanim</option>, aby je
|
|||
|
<application>MPlayer</application> pou<6F>il kdykoli je to mo<6D>n<EFBFBD>.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Mezi testovan<61> kodeky pat<61><74>: <emphasis role="bold">Indeo 3.2, 4.1, 5.0, CVID,
|
|||
|
3ivX, H.263.</emphasis>
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="vivo-video">
|
|||
|
<title>VIVO video</title>
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> um<75> p<>ehr<68>vat Vivo (1.0 a 2.0) videa.
|
|||
|
Nejpou<EFBFBD>iteln<EFBFBD>j<EFBFBD><EFBFBD>m kodekem pro soubory verze 1.0 je H.263 dekod<6F>r z FFmpegu.
|
|||
|
M<EFBFBD><EFBFBD>ete jej pou<6F><75>t pomoc<6F> volby <option>-vc ffh263</option>. Soubory verze 2.0
|
|||
|
p<EFBFBD>ehr<EFBFBD>vejte pomoc<6F> Win32 DLL, pomoc<6F> volby <option>-vc vivo</option>.
|
|||
|
Pokud nezad<61>te volby na p<><70>kazov<6F>m <20><>dku, <application>MPlayer</application>
|
|||
|
zvol<EFBFBD> nejlep<65><70> kodek automaticky.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="mpeg12">
|
|||
|
<title>MPEG-1/2 video</title>
|
|||
|
<para>
|
|||
|
MPEG-1 a MPEG-2 jsou dek<65>dov<6F>ny multiplatformn<6D> nativn<76> knihovnou <systemitem
|
|||
|
class="library">libmpeg2</systemitem>, jej<65><6A> zdrojov<6F> k<>d je zahrnut
|
|||
|
v <application>MPlayer</application>u. Chyby v MPEG-1/2 video souborech <20>e<EFBFBD><65>me
|
|||
|
odchyt<EFBFBD>v<EFBFBD>n<EFBFBD>m <systemitem>Signal 11</systemitem>
|
|||
|
(<systemitem>segmentation fault</systemitem>), a rychlou reinicializac<61>
|
|||
|
kodeku tak, aby pokra<72>oval tam, kde skon<6F>il.
|
|||
|
Tato opravn<76> technika nem<65> m<><6D>iteln<6C> vliv na rychlost.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="avicodecs">
|
|||
|
<title>MS Video1, Cinepak CVID a jin<69> star<61><72> kodeky</title>
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> um<75> p<>ehr<68>t v<>t<EFBFBD>inu star<61><72>ch kodek<65>
|
|||
|
pou<EFBFBD><EFBFBD>van<EFBFBD>ch v AVI a MOV souborech.
|
|||
|
V minulosti byly dek<65>dov<6F>ny bin<69>rn<72>mi Win32 kodeky, nyn<79> v<>ak m<>me pro v<>t<EFBFBD>inu
|
|||
|
z nich <emphasis role="bold">nativn<EFBFBD> kodeky</emphasis> zahrnut<75> v kolekci
|
|||
|
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="realvideo">
|
|||
|
<title>RealVideo</title>
|
|||
|
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> podporuje dek<65>dov<6F>n<EFBFBD> v<>ech verz<72>
|
|||
|
RealVidea:
|
|||
|
|
|||
|
<itemizedlist>
|
|||
|
<listitem><simpara>
|
|||
|
RealVideo 1.0, 2.0 (fourcc RV10, RV20) - en/dek<65>dov<6F>n<EFBFBD> je podporov<6F>no
|
|||
|
<systemitem class="library">libavcodec</systemitem> kodeky
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
RealVideo 3.0, 4.0 (fourcc RV30, RV40) - dek<65>dov<6F>n<EFBFBD> je podporov<6F>no
|
|||
|
<emphasis role="bold">RealPlayer knihovnami</emphasis>
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
St<EFBFBD>hn<EFBFBD>te si Real kodeky z
|
|||
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</ulink>
|
|||
|
a rozbalte je do adrs<72><73>e
|
|||
|
<filename class="directory">/usr/local/lib/codecs</filename>.
|
|||
|
Pokud je chcete m<>t na jin<69>m m<>st<73>, zadejte skriptu
|
|||
|
<command>configure</command> volbu <option>--with-reallibdir</option>.
|
|||
|
</para>
|
|||
|
|
|||
|
<note><para>
|
|||
|
<application>RealPlayer</application> knihovny v sou<6F>asnosti
|
|||
|
<emphasis role="bold"> pracuj<75> pouze v Linuxu, FreeBSD, NetBSD a Cygwin
|
|||
|
na platform<72>ch x86, Alpha a PowerPC (Linux/Alpha a Linux/PowerPC byly
|
|||
|
testov<EFBFBD>ny) a v Mac OS X</emphasis>.
|
|||
|
</para></note>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="xvid">
|
|||
|
<title>XviD</title>
|
|||
|
|
|||
|
<para>
|
|||
|
<ulink url="http://www.xvid.org">XviD</ulink> je odd<64>len<65> v<>vojov<6F> v<>tev
|
|||
|
OpenDivX kodeku. To se stalo pot<6F> co ProjectMayo uzav<61>el zdrojov<6F> k<>d kodeku,
|
|||
|
vydal jej jako DivX4 (nyn<79> DivX5) a lid<69> mimo ProjectMayo pracuj<75>c<EFBFBD> na kodeku
|
|||
|
se na<6E>tvali a zalo<6C>ili XviD. Oba projekty tedy maj<61> stejn<6A> z<>klad.
|
|||
|
<itemizedlist>
|
|||
|
<title>V<EFBFBD>HODY</title>
|
|||
|
<listitem><simpara>
|
|||
|
open source
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
API kompatibiln<6C> s DivX4, tak<61>e p<>idat jeho podporu je snadn<64>
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
podporuje dvoupr<70>chodov<6F> enk<6E>dov<6F>n<EFBFBD>
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
dobr<62> kvalita enk<6E>dov<6F>n<EFBFBD>, je rychlej<65><6A> ne<6E> DivX4 (m<><6D>ete si jej
|
|||
|
optimalizovat pro sv<73>j po<70><6F>ta<74> p<>i kompilaci)
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
|
|||
|
<itemizedlist>
|
|||
|
<title>NEV<EFBFBD>HODY</title>
|
|||
|
<listitem><simpara>
|
|||
|
v sou<6F>asnosti neum<75> zpr<70>vn<76> <emphasis role="bold">dek<EFBFBD>dovat</emphasis>
|
|||
|
v<>echny DivX/DivX4 soubory (<28><>dn<64> probl<62>m,
|
|||
|
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
|
|||
|
je p<>ehraje)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
st<73>le ve v<>voji
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
</para>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<title>INSTALACE XVID Z CVS</title>
|
|||
|
<para>
|
|||
|
Kodek je v sou<6F>asnosti k dispozici pouze z CVS. Zde m<>te n<>vod ke sta<74>en<65> a
|
|||
|
instalaci (pot<6F>ebujete alespo<70> autoconf 2.50, automake a libtool):
|
|||
|
</para>
|
|||
|
<step><para>
|
|||
|
<screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid co xvidcore</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>cd xvidcore/build/generic</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>./bootstrap.sh</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>./configure</screen>
|
|||
|
Zde m<><6D>ete p<>idat n<>jak<61> volby (prostudujte si v<>stup p<><70>kazu
|
|||
|
<command>./configure --help</command>).
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
<screen>make && make install</screen>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Pokud jste zadali <option>--enable-divxcompat</option>,
|
|||
|
zkop<6F>rujte <filename>../../src/divx4.h</filename> do adres<65><73>e
|
|||
|
<filename class="directory">/usr/local/include/</filename>.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Znovu zkompilujte <application>MPlayer</application> s volbami
|
|||
|
<option>--with-xvidlibdir=<replaceable>/path/to/</replaceable>libxvidcore.a</option>
|
|||
|
<option>--with-xvidincdir=<replaceable>/path/to/</replaceable>xvid.h</option>
|
|||
|
</para></step>
|
|||
|
</procedure>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="sorenson">
|
|||
|
<title>Sorenson</title>
|
|||
|
|
|||
|
<para>
|
|||
|
Sorenson je video kodek vyvinut<75> firmou Sorenson Media a licencovan<61> Aplu,
|
|||
|
kter<EFBFBD> jej distribuuje se sv<73>m <application>QuickTime Player</application>em.
|
|||
|
V sou<6F>asnosti jsme schopni dek<65>dovat v<>echny verze Sorenson video soubor<6F>
|
|||
|
pomoc<EFBFBD> n<>sleduj<75>c<EFBFBD>ch dekod<6F>r<EFBFBD>:
|
|||
|
</para>
|
|||
|
|
|||
|
<itemizedlist>
|
|||
|
<listitem><simpara>
|
|||
|
Sorenson Video v1 (fourcc <emphasis>SVQ1</emphasis>) - dek<65>dov<6F>n<EFBFBD>
|
|||
|
podporov<6F>no <emphasis role="bold">nativn<EFBFBD>m kodekem</emphasis>
|
|||
|
(<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
Sorenson Video v3 (fourcc <emphasis>SVQ3</emphasis>) - dek<65>dov<6F>n<EFBFBD>
|
|||
|
podporov<6F>no <emphasis role="bold">nativn<EFBFBD>m kodekem</emphasis>
|
|||
|
(<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<title>KOMPILACE MPLAYERU S PODPOROU QUICKTIME KNIHOVEN</title>
|
|||
|
<note><para>V sou<6F>asnosti jsou podporov<6F>ny pouze 32-bitov<6F> Intel kompatibiln<6C>
|
|||
|
platformy.</para></note>
|
|||
|
<step><para>st<EFBFBD>hn<EFBFBD>te si <application>MPlayer</application> z CVS</para></step>
|
|||
|
<step><para>st<EFBFBD>hn<EFBFBD>te si bal<61><6C>ek QuickTime DLL z
|
|||
|
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/>
|
|||
|
</para></step>
|
|||
|
<step><para>rozbalte QuickTime DLL do adres<65><73>e s Win32 kodeky
|
|||
|
(v<>choz<6F>: <filename class="directory">/usr/local/lib/codecs/</filename>)
|
|||
|
</para></step>
|
|||
|
<step><para>zkomilujte <application>MPlayer</application></para></step>
|
|||
|
</procedure>
|
|||
|
|
|||
|
</sect3>
|
|||
|
</sect2>
|
|||
|
|
|||
|
<!-- ********** -->
|
|||
|
|
|||
|
<sect2 id="audio-codecs">
|
|||
|
<title>Audio kodeky</title>
|
|||
|
|
|||
|
<itemizedlist>
|
|||
|
<title>Nejd<EFBFBD>le<EFBFBD>it<EFBFBD>j<EFBFBD><EFBFBD> ze v<>ech jsou audio kodeky:</title>
|
|||
|
<listitem><simpara>
|
|||
|
MPEG layer 1/2/3 (MP1/2/3) audio (<emphasis role="bold">nativn<EFBFBD></emphasis>
|
|||
|
k<>d, s MMX/SSE/3DNow! optimalizac<61>)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
Windows Media Audio 7 a 8 (ALIAS WMAv1 a WMAv2)
|
|||
|
(<emphasis role="bold">nativn<EFBFBD></emphasis> k<>d, podpora v
|
|||
|
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
Windows Media Audio 9 (WMAv3) (pou<6F><75>v<EFBFBD> DMO DLL)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
AC3 Dolby audio (<emphasis role="bold">nativn<EFBFBD></emphasis> k<>d, s
|
|||
|
MMX/SSE/3DNow! optimalizac<61>)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
AC3 tunelov<6F>n<EFBFBD> p<>es hardware zvukov<6F> karty
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
AAC
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
Ogg Vorbis audio kodek (<emphasis role="bold">nativn<EFBFBD></emphasis> knihovna)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
RealAudio: DNET (AC3 s n<>zk<7A>m datov<6F>m tokem), Cook, Sipro a ATRAC3
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
QuickTime: Qualcomm a QDesign audio kodeky
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
VIVO audio (g723, Vivo Siren)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
Voxware audio (pou<6F><75>v<EFBFBD> DirectShow DLL)
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
alaw a ulaw, r<>zn<7A> gsm, adpcm a pcm form<72>ty a ostatn<74> jednoduch<63> star<61><72>
|
|||
|
audio kodeky
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="swac3">
|
|||
|
<title>Softwarov<EFBFBD> dek<65>dov<6F>n<EFBFBD> AC3</title>
|
|||
|
|
|||
|
<para>
|
|||
|
Toto je v<>choz<6F> dekod<6F>r pou<6F><75>van<61> pro soubory s AC3 zvukem.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
AC3 dekod<6F>r um<75> vytvo<76>it zvukov<6F> v<>stup pro 2, 4, nebo 6 reproduktor<6F>.
|
|||
|
Pokud je nakonfigurov<6F>n na 6 kan<61>l<EFBFBD>, pak tento dekod<6F>r pos<6F>l<EFBFBD> v<>echny AC3
|
|||
|
kan<EFBFBD>ly odd<64>len<65> na rozhran<61> ovlada<64>e zvukov<6F> karty, co<63> umo<6D><6F>uje vychutn<74>vat
|
|||
|
pln<EFBFBD> prostorov<6F> zvuk bez nutnosti m<>t extern<72> AC3 dekod<6F>r nutn<74> k pou<6F>it<69>
|
|||
|
hwac3 kodeku.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pou<EFBFBD>ijte volbu <option>-channels</option> pro v<>b<EFBFBD>r po<70>tu v<>stupn<70>ch kan<61>l<EFBFBD>.
|
|||
|
Zadejte volbu <option>-channels 2</option> pro mixov<6F>n<EFBFBD> na stereo. Chcete-li
|
|||
|
<EFBFBD>ty<EFBFBD>kan<EFBFBD>lov<EFBFBD> zvuk (Lev<65> <20>eln<6C>, Prav<61> <20>eln<6C>, Lev<65> Surround a Prav<61> Surround
|
|||
|
v<EFBFBD>stup), zadejte volbu <option>-channels 4</option>. V tom p<><70>pad<61> bude
|
|||
|
jak<EFBFBD>koli st<73>edov<6F> kan<61>l odpov<6F>daj<61>c<EFBFBD>m zp<7A>sobem namixov<6F>n do <20>eln<6C>ch kan<61>l<EFBFBD>.
|
|||
|
Volbou <option>-channels 6</option> dostanete pln<6C> po<70>et AC3 kan<61>l<EFBFBD> tak jak
|
|||
|
jsou enk<6E>dov<6F>ny - v po<70>ad<61> Lev<65>, Prav<61>, Lev<65> Surround, Prav<61> Surround, St<53>ed a
|
|||
|
LFE.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
V<EFBFBD>choz<EFBFBD> po<70>et v<>stupn<70>ch kan<61>l<EFBFBD> jsou 2.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Chcete-li v<>ce ne<6E> 2 v<>stupn<70> kan<61>ly, budete pot<6F>ebovat OSS, a zvukovou kartu,
|
|||
|
kter<EFBFBD> podporuje po<70>adovan<61> po<70>et v<>stupn<70>ch kan<61>l<EFBFBD> p<>es
|
|||
|
SNDCTL_DSP_CHANNELS ioctl. P<><50>kladem pou<6F>iteln<6C>ho ovlada<64>e je emu10k1
|
|||
|
(pou<6F><75>van<61> kartami Soundblaster Live!) ze Srpna 2001 nebo nov<6F>j<EFBFBD><6A> (ALSA z CVS
|
|||
|
bude rovn<76><6E> fungovat).
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="hwac3">
|
|||
|
<title>Hardwarov<EFBFBD> dek<65>dov<6F>n<EFBFBD> AC3</title>
|
|||
|
<para>
|
|||
|
Pot<EFBFBD>ebujete zvukovou kartu schopnou AC3, s digit<69>ln<6C>m v<>stupem(S/PDIF).
|
|||
|
Ovlada<EFBFBD> karty mus<75> spr<70>vn<76> podporovat form<72>t AFMT_AC3 (C-Media ano). P<>ipojte
|
|||
|
sv<EFBFBD>j AC3 dekod<6F>r na v<>stup S/PDIF a zadejte volbu <option>-ac hwac3</option>.
|
|||
|
Je to experiment<6E>ln<6C>, ale v<>me <20>e pracuje s C-Media kartami a
|
|||
|
Soundblaster Live! + ALSA (ale ne OSS) ovlada<64>i a dekod<6F>rov<6F>mi kartami
|
|||
|
DXR3/Hollywood+ MPEG.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="libmad">
|
|||
|
<title>podpora libmad</title>
|
|||
|
|
|||
|
<para>
|
|||
|
<ulink url="http://www.underbit.com/products/mad/">libmad</ulink> je
|
|||
|
multiplatformn<EFBFBD>, pouze celo<6C><6F>seln<6C> (intern<72> 24bitov<6F> PCM)
|
|||
|
MPEG audio dek<65>dovac<61> knihovna. Neum<75> si dob<6F>e poradit s po<70>kozen<65>mi soubory a
|
|||
|
ob<EFBFBD>as m<> probl<62>my s p<>ev<65>jen<65>m, ale m<><6D>e b<>t v<>konn<6E>j<EFBFBD><6A> na platform<72>ch bez
|
|||
|
FPU (jako je <link linkend="arm">ARM</link>) ne<6E> mp3lib.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pokud pro ni chcete podporu, p<>edejte p<>ed kompilac<61> skriptu configure volbu
|
|||
|
<option>--enable-mad</option>.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="vivo-audio">
|
|||
|
<title>VIVO audio</title>
|
|||
|
<para>
|
|||
|
The audio kodek pou<6F><75>van<61> ve VIVO souborech z<>vis<69> na tom, jestli je to soubor
|
|||
|
VIVO/1.0 nebo VIVO/2.0. Soubory VIVO/1.0 maj<61>
|
|||
|
<emphasis role="bold">g.723</emphasis> audio, zat<61>mco soubory VIVO/2.0
|
|||
|
maj<EFBFBD> <emphasis role="bold">Vivo Siren</emphasis> audio. Oboj<6F> je podporov<6F>no.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="realaudio">
|
|||
|
<title>RealAudio</title>
|
|||
|
|
|||
|
<para>
|
|||
|
<application>MPlayer</application> podporuje dek<65>dov<6F>n<EFBFBD> t<>m<EFBFBD><6D> v<>ech verz<72>
|
|||
|
RealAudio:
|
|||
|
</para>
|
|||
|
|
|||
|
<itemizedlist>
|
|||
|
<listitem><simpara>
|
|||
|
RealAudio DNET - dek<65>dov<6F>n<EFBFBD> podporov<6F>no pomoc<6F>
|
|||
|
<systemitem class="library">liba52</systemitem>
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
RealAudio Cook/Sipro/ATRAC3 - dek<65>dov<6F>n<EFBFBD> podporov<6F>no pomoc<6F>
|
|||
|
<emphasis role="bold">RealPlayer knihoven</emphasis>
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
|
|||
|
<para>
|
|||
|
N<EFBFBD>vod k instalaci knihoven RealPlayeru naleznete v sekci
|
|||
|
<link linkend="realvideo">RealVideo</link>.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
<sect3 id="qdesign">
|
|||
|
<title>Kodeky QDesign</title>
|
|||
|
<para>
|
|||
|
Audio proudy QDesign (fourcc:<emphasis>QDMC, QDM2</emphasis>) lze nal<61>zt
|
|||
|
v MOV/QT souborech. Ob<4F> verze tohoto kodeku mohou b<>t dek<65>dov<6F>ny pomoc<6F>
|
|||
|
QuickTime knihoven. N<>vod k instalaci naleznete v sekci
|
|||
|
<link linkend="sorenson">Sorenson video kodek</link>.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
<sect3 id="qualcomm">
|
|||
|
<title>Kodeky Qualcomm</title>
|
|||
|
<para>
|
|||
|
Audio proudy Qualcomm (fourcc:<emphasis>Qclp</emphasis>) lze nal<61>zt
|
|||
|
v MOV/QT souborech. Mohou b<>t dek<65>dov<6F>ny pomoc<6F> QuickTime knihoven.
|
|||
|
N<EFBFBD>vod k instalaci naleznete v sekci
|
|||
|
<link linkend="sorenson">Sorenson video kodek</link>.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
<sect3 id="aac">
|
|||
|
<title>Kodek AAC</title>
|
|||
|
<para>
|
|||
|
AAC (Advanced Audio Coding) je audio kodek, kter<65> lze ob<6F>as nal<61>zt v MOV a
|
|||
|
MP4 souborech. Open source dekod<6F>r jm<6A>nem FAAD je k dispozici na
|
|||
|
<ulink url="http://www.audiocoding.com"/>.
|
|||
|
<application>MPlayer</application> obsahuje libfaad 2.0RC1, tak<61>e jej nemus<75>te
|
|||
|
stahovat dodate<74>n<EFBFBD>.
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pokud pou<6F><75>v<EFBFBD>te gcc 3.2 kter<65> nedok<6F><6B>e zkompilovat na<6E>i zabudovanou FAAD,
|
|||
|
nebo chcete pou<6F><75>t extern<72> knihovnu z jin<69>ch d<>vod<6F>, st<73>hn<68>te si ji z
|
|||
|
<ulink url="http://www.audiocoding.com/modules/mydownloads/">download str<74>nky</ulink>
|
|||
|
a p<>edejte volbu <option>--enable-external-faad</option> skriptu
|
|||
|
<filename>configure</filename>.
|
|||
|
Pro dek<65>dov<6F>n<EFBFBD> AAC soubor<6F> nepot<6F>ebujete celou faad2, libfaad sta<74><61>.
|
|||
|
Zkompilujete ji takto:
|
|||
|
<screen>
|
|||
|
cd faad2/
|
|||
|
chmod +x bootstrap
|
|||
|
./bootstrap
|
|||
|
./configure
|
|||
|
cd libfaad
|
|||
|
make
|
|||
|
make install
|
|||
|
</screen>
|
|||
|
Bin<EFBFBD>rky na audiocoding.com nenajdete, ale m<><6D>ete si je opat<61>it v bal<61><6C>c<EFBFBD>ch pro
|
|||
|
Debian z <ulink url="http://hpisi.nerim.net">dom<EFBFBD>c<EFBFBD> str<74>nky Christiana
|
|||
|
Marillata</ulink>, Mandrake RPM z
|
|||
|
<ulink url="http://plf.zarb.org">P.L.F</ulink> a RedHat RPM
|
|||
|
ze str<74>nek <ulink url="http://greysector.rangers.eu.org/">Grey Sector</ulink>.
|
|||
|
</para>
|
|||
|
</sect3>
|
|||
|
|
|||
|
</sect2>
|
|||
|
|
|||
|
<!-- ********** -->
|
|||
|
|
|||
|
<sect2 id="codec-importing">
|
|||
|
<title>HOWTO: Import Win32 kodek<65></title>
|
|||
|
|
|||
|
<!-- TODO: a short paragraph of text would be nice here... -->
|
|||
|
|
|||
|
<sect3 id="vfw-codecs">
|
|||
|
<title>Kodeky VFW</title>
|
|||
|
|
|||
|
<para>
|
|||
|
VFW (Video for Windows) je star<61> Video API pro Windows. Jeho kodeky maj<61>
|
|||
|
p<EFBFBD><EFBFBD>ponu <filename>.DLL</filename> nebo (z<><7A>dka) <filename>.DRV</filename>.
|
|||
|
Pokud <application>MPlayer</application> sel<65>e p<>i p<>ehr<68>v<EFBFBD>n<EFBFBD> va<76>eho AVI
|
|||
|
s hl<68><6C>kou typu:
|
|||
|
<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
|
|||
|
nebo <20>esky
|
|||
|
<screen>NEZN<EFBFBD>M<EFBFBD> video kodek: HFYU (0x55594648)</screen>
|
|||
|
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pak to znamen<65>, <20>e m<>te AVI enk<6E>dovan<61> kodekem, kter<65> m<> HFYU fourcc (HFYU =
|
|||
|
HuffYUV kodek, DIV3 = DivX Low Motion, atd). Te<54> kdy<64> to v<>te, m<>li byste
|
|||
|
zjistit kterou DLL Windows nahr<68>v<EFBFBD> pro p<>ehr<68>v<EFBFBD>n<EFBFBD> tohoto souboru. V na<6E>em
|
|||
|
p<EFBFBD><EFBFBD>pad<EFBFBD> soubor <filename>system.ini</filename> obsahuje <20><>dek s touto
|
|||
|
informac<EFBFBD>:
|
|||
|
<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pot<EFBFBD>ebujete tedy soubor <filename>huffyuv.dll</filename>. Poznamenejme, <20>e
|
|||
|
audio kodeky jsou odli<6C>eny p<>edponou MSACM:
|
|||
|
<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
To je kodek MP3. Nyn<79> ji<6A> m<>te v<>echny pot<6F>ebn<62> informace
|
|||
|
(fourcc, soubor kodeku, vzorek AVI). Po<50>lete po<70>adavek na podporu va<76>eho
|
|||
|
kodeku mailem a nahrajte tyto soubory na FTP server:
|
|||
|
<systemitem role="url">
|
|||
|
ftp://ftp.mplayerhq.hu/MPlayer/incoming/[codecname]/
|
|||
|
</systemitem>
|
|||
|
</para>
|
|||
|
|
|||
|
<note><para>Ve Windows NT/2000/XP hledejte tyto informace v registrech,
|
|||
|
zde hled<65>te "VIDC.HFYU". Jak to ud<75>lat se dozv<7A>te n<><6E>e v sekci
|
|||
|
DirectShow Star<61> metoda.
|
|||
|
</para></note>
|
|||
|
</sect3>
|
|||
|
|
|||
|
|
|||
|
<sect3 id="dshow-codecs">
|
|||
|
<title>Kodeky DirectShow</title>
|
|||
|
|
|||
|
<para>
|
|||
|
DirectShow je nov<6F>j<EFBFBD><6A> Video API, kter<65> je je<6A>t<EFBFBD> hor<6F><72> ne<6E> jeho p<>edch<63>dce.
|
|||
|
Pracuje se s n<>m h<><68>e, proto<74>e
|
|||
|
<itemizedlist>
|
|||
|
<listitem><simpara>
|
|||
|
<filename>system.ini</filename> neobsahuje pot<6F>ebn<62> <20>daje,
|
|||
|
m<>sto toho jsou ulo<6C>eny v registrech a
|
|||
|
</simpara></listitem>
|
|||
|
<listitem><simpara>
|
|||
|
pot<6F>ebujeme GUID kodeku.
|
|||
|
</simpara></listitem>
|
|||
|
</itemizedlist>
|
|||
|
</para>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<title>Nov<EFBFBD> Metoda:</title>
|
|||
|
<para>
|
|||
|
Using <application>Microsoft GraphEdit</application> (rychl<68>)
|
|||
|
</para>
|
|||
|
<step><para>
|
|||
|
Opat<61>ete si <application>GraphEdit</application> bu<62> z DirectX SDK nebo
|
|||
|
<ulink url="http://doom9.net">doom9</ulink>
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Spus<75>te <command>graphedit.exe</command>.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
V menu vyberte Graph -> Insert Filters.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Vyrolujte polo<6C>ku <systemitem>DirectShow Filters</systemitem>
|
|||
|
</para></step>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<step><para>
|
|||
|
Vyberte spr<70>vn<76> n<>zev kodeku a vyrolujte polo<6C>ku.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Ve vstupu <systemitem>DisplayName</systemitem> pohl<68>dn<64>te na text ve
|
|||
|
dvojit<69>ch uvozovk<76>ch za zp<7A>tn<74>m lom<6F>tkem a opi<70>te si ho (p<>t lom<6F>tkem
|
|||
|
odd<64>len<65>ch blok<6F>, GUID).
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Bin<69>rka kodeku je uvedena ve vstupu <systemitem>Filename</systemitem>.
|
|||
|
</para></step>
|
|||
|
</procedure>
|
|||
|
|
|||
|
<note>
|
|||
|
<para>
|
|||
|
Pokud zde nen<65> <systemitem>Filename</systemitem> a
|
|||
|
<systemitem>DisplayName</systemitem> obsahuje n<>co jako
|
|||
|
<systemitem>device:dmo</systemitem>, pak se jedn<64> o DMO-Kodek.
|
|||
|
</para>
|
|||
|
</note>
|
|||
|
|
|||
|
<procedure>
|
|||
|
<title>Star<EFBFBD> Metoda:</title>
|
|||
|
<para>
|
|||
|
Zhluboka se nadechn<68>te a za<7A>n<EFBFBD>te prohled<65>vat registry...
|
|||
|
</para>
|
|||
|
<step><para>
|
|||
|
Spus<75>te <command>regedit</command>.
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Stiskn<6B>te <keycap>Ctrl</keycap>+<keycap>F</keycap>, vypn<70>te prvn<76> dv<64>
|
|||
|
za<7A>krt<72>vac<61> pol<6F><6C>ka a zapn<70>te to t<>et<65>. Napi<70>te fourcc kodeku (nap<61>.
|
|||
|
<userinput>TM20</userinput>).
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
M<>li byste uvid<69>t pole obsahuj<75>c<EFBFBD> cestu a jm<6A>no souboru (nap<61>.
|
|||
|
<filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Te<54> kdy<64> m<>me soubor, pot<6F>ebujeme GUID. Zkuste hledat znovu, ale tentokr<6B>t
|
|||
|
hled<65>me jm<6A>no kodeku, ne fourcc. Jeho jm<6A>no m<><6D>ete zjistit b<>hem p<>ehr<68>v<EFBFBD>n<EFBFBD>
|
|||
|
Media Playerem v menu
|
|||
|
<guimenu>File</guimenu> -> <guisubmenu>Properties</guisubmenu> ->
|
|||
|
<guimenuitem>Advanced</guimenuitem>
|
|||
|
(<guimenu>Soubor</guimenu> -> <guisubmenu>Vlastnosti</guisubmenu> ->
|
|||
|
<guimenuitem>Pokro<EFBFBD>il<EFBFBD></guimenuitem>).
|
|||
|
Pokud ne, m<>te sm<73>lu. Zkou<6F>ejte to d<>l (nap<61>. hledejte text TrueMotion).
|
|||
|
</para></step>
|
|||
|
<step><para>
|
|||
|
Pokud naleznete GUID, m<>li byste vid<69>t pole
|
|||
|
<guilabel>FriendlyName</guilabel> a <guilabel>CLSID</guilabel>.
|
|||
|
Opi<70>te si 16 bajtov<6F> CLSID, to je ono GUID, kter<65> pot<6F>ebujeme.
|
|||
|
</para></step>
|
|||
|
</procedure>
|
|||
|
|
|||
|
<note>
|
|||
|
<para>
|
|||
|
Pokud vyhled<65>v<EFBFBD>n<EFBFBD> sel<65>e, zkuste zapnout v<>echny za<7A>krt<72>v<EFBFBD>tka. Nejsp<73><70>
|
|||
|
dostanete nespr<70>vn<76> v<>sledky, ale m<><6D>ete m<>t <20>t<EFBFBD>st<73>...
|
|||
|
</para>
|
|||
|
</note>
|
|||
|
|
|||
|
<para>
|
|||
|
Nyn<EFBFBD> kdy<64> m<>te v<>echny pot<6F>ebn<62> informace (fourcc, GUID, soubor kodeku,
|
|||
|
vzorek AVI), po<70>lete po<70>adavek na podporu sv<73>ho kodeku mailem a nahrajte
|
|||
|
tyto soubory na FTP server:
|
|||
|
<systemitem role="url">ftp://ftp.mplayerhq.hu/MPlayer/incoming/[codecname]/
|
|||
|
</systemitem>
|
|||
|
</para>
|
|||
|
|
|||
|
<para>
|
|||
|
Pokud chcete p<>idat kodek sami, p<>e<EFBFBD>t<EFBFBD>te si
|
|||
|
<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
|
|||
|
</para>
|
|||
|
|
|||
|
</sect3>
|
|||
|
</sect2>
|
|||
|
</sect1>
|