mirror of https://github.com/mpv-player/mpv
1062 lines
37 KiB
XML
1062 lines
37 KiB
XML
<?xml version="1.0" encoding="koi8-r"?>
|
||
<!-- synced with 1.44 -->
|
||
<sect1 id="codecs">
|
||
<title>ðÏÄÄÅÒÖÉ×ÁÅÍÙÅ ËÏÄÅËÉ</title>
|
||
|
||
<sect2 id="video-codecs">
|
||
<title>÷ÉÄÅÏ ËÏÄÅËÉ</title>
|
||
|
||
<para>
|
||
óÍ. <ulink url="http://www.mplayerhq.hu/homepage/codecs-status.html">ÔÁÂÌÉÃÕ ÓÔÁÔÕÓÁ ËÏÄÅËÏ×</ulink>
|
||
ÄÌÑ ÐÏÌÎÏÇÏ, ÅÖÅÄÎÅ×ÎÏ ÇÅÎÅÒÉÒÕÅÍÏÇÏ ÓÐÉÓËÁ. îÅÓËÏÌØËÏ ËÏÄÅËÏ× ÄÏÓÔÕÐÎÙ ÄÌÑ
|
||
ÓËÁÞÉ×ÁÎÉÑ ÎÁ ÎÁÛÅÊ ÓÔÒÁÎÉÃÅ. ðÏÌÕÞÉÔÅ ÉÈ ÓÏ
|
||
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">ÓÔÒÁÎÉÃÙ ËÏÄÅËÏ×</ulink>.
|
||
</para>
|
||
|
||
<para>
|
||
îÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ËÏÄÅËÉ:
|
||
</para>
|
||
|
||
<itemizedlist>
|
||
<listitem><simpara>
|
||
<emphasis role="bold">MPEG1</emphasis> (<emphasis role="bold">VCD</emphasis>) É
|
||
<emphasis role="bold">MPEG2</emphasis> (<emphasis role="bold">DVD</emphasis>) ×ÉÄÅÏ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
"ÒÏÄÎÙÅ" ÄÅËÏÄÅÒÙ ÄÌÑ <emphasis role="bold">DivX ;-), OpenDivX (DivX4),
|
||
DivX (Pro), 3ivX, M$ MPEG4</emphasis> v1, v2 É ÄÒÕÇÉÈ ×ÁÒÉÁÎÔÏ× MPEG4.
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
"ÒÏÄÎÏÊ" ÄÅËÏÄÅÒ ÄÌÑ <emphasis role="bold">Windows Media Video 7/8</emphasis>
|
||
(<emphasis role="bold">WMV1/WMV2</emphasis>), É Win32 DLL ÄÅËÏÄÅÒ
|
||
ÄÌÑ <emphasis role="bold">Windows Media Video 9</emphasis>
|
||
(<emphasis role="bold">WMV3</emphasis>), ÏÂÁ ÉÓÐÏÌØÚÕÀÔÓÑ × <filename>.wmv
|
||
</filename> ÆÁÊÌÁÈ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
"ÒÏÄÎÏÊ" <emphasis role="bold">Sorenson 1 (SVQ1)</emphasis> ÄÅËÏÄÅÒ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
"ÒÏÄÎÏÊ" <emphasis role="bold">Sorenson 3 (SVQ3)</emphasis> ÄÅËÏÄÅÒ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
<emphasis role="bold">3ivx</emphasis> v1, v2 ÄÅËÏÄÅÒ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
Cinepak É <emphasis role="bold">Intel Indeo</emphasis> ËÏÄÅËÉ (3.1,3.2,4.1,5.0)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
<emphasis role="bold">MJPEG</emphasis>, AVID, VCR2, ASV2 É ÄÒÕÇÉÅ ÁÐÐÁÒÁÔÎÙÅ
|
||
ÆÏÒÍÁÔÙ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
VIVO 1.0, 2.0, I263 É ÄÒÕÇÉÅ <emphasis role="bold">h263(+)</emphasis> ×ÁÒÉÁÎÔÙ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
FLI/FLC
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
<emphasis role="bold">RealVideo 1.0 & 2.0 </emphasis> ÉÚ
|
||
<systemitem class="library">libavcodec</systemitem>, É
|
||
<emphasis role="bold">RealVideo 3.0 & 4.0</emphasis> ËÏÄÅËÉ, ÉÓÐÏÌØÚÕÑ
|
||
ÂÉÂÌÉÏÔÅËÉ RealPlayer
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
"ÒÏÄÎÏÊ" ÄÅËÏÄÅÒ ÄÌÑ HuffYUV
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
òÁÚÌÉÞÎÙÅ ÓÔÁÒÙÅ, ÐÏÈÏÖÉÅ ÎÁ RLE ÆÏÒÍÁÔÙ
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
<para>
|
||
åÓÌÉ Õ ÷ÁÓ ÅÓÔØ ÎÅ ÕÐÏÍÑÎÕÔÙÊ ÚÄÅÓØ Win32 ËÏÄÅË, ËÏÔÏÒÙÊ ÅÝ£ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ,
|
||
ÐÏÖÁÌÕÊÓÔÁ, ÐÒÏÞÔÉÔÅ <link linkend="codec-importing">ëÁË ÄÏÂÁ×ÉÔØ ËÏÄÅË [codec
|
||
importing HOWTO]</link> É ÐÏÍÏÇÉÔÅ ÎÁÍ ÄÏÂÁ×ÉÔØ ÄÌÑ ÎÅÇÏ ÐÏÄÄÅÒÖËÕ.
|
||
</para>
|
||
|
||
|
||
<sect3 id="divx4-5">
|
||
<title>DivX4/DivX5</title>
|
||
|
||
<para>
|
||
üÔÁ ÓÅËÃÉÑ ÓÏÄÅÒÖÉÔ ÉÎÆÏÒÍÁÃÉÀ Ï DivX4 b DivX5 ËÏÄÅËÁÈ ÏÔ
|
||
<ulink url="http://www.projectmayo.com">Project Mayo</ulink>.
|
||
éÈ ÐÅÒ×ÙÍÉ ÄÏÓÔÕÐÎÙÍÉ ÁÌØÆÁ ×ÅÒÓÉÑÍÉ ÂÙÌÉ OpenDivX alpha 47 É 48.
|
||
÷ ÐÒÏÛÌÏÍ ÐÏÄÄÅÒÖËÁ ÄÌÑ ÎÉÈ ÂÙÌÁ ×ËÌÀÞÅÎÁ × <application>MPlayer</application>
|
||
É ÓÏÂÉÒÁÌÁÓØ ÐÏ ÕÍÏÌÞÁÎÉÀ. ôÁËÖÅ ÍÙ ÉÓÐÏÌØÚÏ×ÁÌÉ ÉÈ ËÏÄ ÐÏÓÔÏÂÒÁÂÏÔËÉ
|
||
ÄÌÑ ÆÁËÕÌØÔÁÔÉ×ÎÏÇÏ ÕÌÕÞÛÅÎÉÑ ËÁÞÅÓÔ×Á ÉÚÏÂÒÁÖÅÎÉÑ × MPEG1/2 ÆÉÌØÍÁÈ.
|
||
óÅÊÞÁÓ ÍÙ ÉÓÐÏÌØÚÕÅÍ ÎÁÛ ÓÏÂÓÔ×ÅÎÎÙÊ ÆÉÌØÔÒ ÄÌÑ ÆÁÊÌÏ× ×ÓÅÈ ÔÉÐÏ×.
|
||
</para>
|
||
|
||
<para>
|
||
îÏ×ÏÅ ÐÏËÏÌÅÎÉÅ ÜÔÏÇÏ ËÏÄÅËÁ ÎÁÚÙ×ÁÅÔÓÑ DivX4 É ÄÁÖÅ ÍÏÖÅÔ ÄÅËÏÄÉÒÏ×ÁÔØ ÆÉÌØÍÙ,
|
||
ÓÄÅÌÁÎÎÙÅ ÐÒÅÓÌÏ×ÕÔÙÍ DivX ËÏÄÅËÏÍ! ÷ ÄÏÐÏÌÎÅÎÉÅ Ë ÜÔÏÍÕ, ÏÎ ÚÎÁÞÉÔÅÌØÎÏ
|
||
ÂÙÓÔÒÅÅ, ÞÅÍ Win32 DivX DLL'É, ÎÏ ÍÅÄÌÅÎÎÅÅ, ÞÅÍ
|
||
<systemitem class="library">libavcodec</systemitem>.
|
||
ðÏÜÔÏÍÕ, ÉÓÐÏÌØÚÏ×ÁÔØ ÅÇÏ × ËÁÞÅÓÔ×Å ÄÅËÏÄÅÒÁ
|
||
<emphasis role="bold">îå òåëïíåîäõåôóñ</emphasis>. èÏÔÑ, ÏÎ ÐÏÌÅÚÅÎ
|
||
ÄÌÑ ËÏÄÉÒÏ×ÁÎÉÑ. åÄÉÎÓÔ×ÅÎÎÙÍ ÎÅÄÏÓÔÁÔËÏÍ ÜÔÏÇÏ ËÏÄÅËÁ Ñ×ÌÑÅÔÓÑ ÔÏ, ÞÔÏ ÏÎ
|
||
ÎÅ ÄÏÓÔÕÐÅÎ ÐÏ ÌÉÃÅÎÚÉÉ Ó ïÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ[Open Source license]
|
||
</para>
|
||
|
||
<para>
|
||
DivX4 ÒÁÂÏÔÁÅÔ × Ä×ÕÈ ÒÅÖÉÍÁÈ:
|
||
<variablelist>
|
||
<varlistentry><term><option>-vc odivx</option></term>
|
||
<listitem><simpara>
|
||
éÓÐÏÌØÚÏ×ÁÔØ ËÏÄÅË × ÍÁÎÅÒÅ OpenDivX. ÷ ÜÔÏÍ ÓÌÕÞÁÅ, ÏÎ ×ÙÄÁ£Ô YV12
|
||
ÉÚÏÂÒÁÖÅÎÉÑ × Ó×Ï£Í ÓÏÂÓÔ×ÅÎÎÏÍ ÂÕÆÅÒÅ, É <application>MPlayer</application>
|
||
ÓÁÍ ÉÚÍÅÎÑÅÔ ÐÒÏÓÔÒÁÎÓÔ×Ï Ã×ÅÔÏ× ÞÅÒÅÚ libvo. (<emphasis role="bold">âÙÓÔÒÏ,
|
||
ÒÅËÏÍÅÎÄÕÅÔÓÑ!</emphasis>)
|
||
</simpara></listitem>
|
||
</varlistentry>
|
||
<varlistentry><term><option>-vc divx4</option></term>
|
||
<listitem><simpara>
|
||
éÓÐÏÌØÚÕÅÔÓÑ ÉÚÍÅÎÅÎÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á Ã×ÅÔÏ× × ËÏÄÅËÅ. ÷ ÜÔÏÍ ÒÅÖÉÍÅ ÷Ù ÔÁËÖÅ
|
||
ÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ YUY2/UYVY. (<emphasis role="bold">íåäìåîîï</emphasis>)
|
||
</simpara></listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
</para>
|
||
|
||
<para>
|
||
íÅÔÏÄ <option>-vc odivx</option> ÏÂÙÞÎÏ ÂÙÓÔÒÅÅ, ÐÏÓËÏÌØËÕ ÐÒÉ ÜÔÏÍ ÉÚÏÂÒÁÖÅÎÉÅ
|
||
ÐÅÒÅÄÁ£ÔÓÑ × YV12 ÆÏÒÍÁÔÅ (ÌÉÎÅÊÎÙÊ YUV 4:2:0), É ÐÏÜÔÏÍÕ ÔÒÅÂÕÅÔÓÑ ÍÎÏÇÏ
|
||
ÍÅÎØÛÁÑ ÐÒÏÐÕÓËÎÁÑ ÓÐÏÓÏÂÎÏÓÔØ ÛÉÎÙ. äÌÑ ÕÐÁËÏ×ÁÎÎÙÈ YUV ÒÅÖÉÍÏ× (YUY2, UYVY)
|
||
ÉÓÐÏÌØÚÕÊÔÅ ÍÅÔÏÄ <option>-vc divx4</option>. ÷ RGB ÒÅÖÉÍÁÈ ÓËÏÒÏÓÔØ - ÔÁËÁÑ ÖÅ,
|
||
ÒÁÚÌÉÞÁÑÓØ × ÌÕÞÛÅÍ ÓÌÕÞÁÅ ÉÚ-ÚÁ ÔÅËÕÝÅÊ ÇÌÕÂÉÎÙ Ã×ÅÔÁ.
|
||
<note>
|
||
<para>
|
||
åÓÌÉ ÷ÁÛ <option>-vo</option> ÄÒÁÊ×ÅÒ ÐÏÄÄÅÒÖÉ×ÁÅÔ ÐÒÑÍÏÊ ×Ù×ÏÄ, ÔÏ <option>-vc
|
||
divx4</option> ÍÏÖÅÔ ÂÙÔØ ÂÏÌÅÅ ÂÙÓÔÒÙÍ, ÉÌÉ ÄÁÖÅ ÎÁÉÂÙÓÔÒÅÊÛÉÍ ÒÅÛÅÎÉÅÍ.
|
||
</para>
|
||
|
||
<para>
|
||
ä×ÏÉÞÎÁÑ ÂÉÂÌÉÏÔÅËÁ DivX4/5 ËÏÄÅËÁ ÍÏÖÅÔ ÂÙÔØ ÓËÁÞÅÎÁ Ó ÓÁÊÔÏ×
|
||
<ulink url="http://avifile.sourceforge.net">avifile</ulink> ÉÌÉ
|
||
<ulink url="http://www.divx.com">divx.com</ulink>
|
||
òÁÓÐÁËÕÊÔÅ ÅÇÏ, ÚÁÐÕÓÔÉÔÅ ËÁË ÁÄÍÉÎÉÓÔÒÁÔÏÒ <filename>./install.sh</filename>,
|
||
É ÎÅ ÚÁÂÕÄØÔÅ ÄÏÂÁ×ÉÔØ
|
||
<filename class="directory">/usr/local/lib</filename> × ÷ÁÛ
|
||
<filename>/etc/ld.so.conf</filename> É ÚÁÐÕÓÔÉÔØ <command>ldconfig</command>.
|
||
</para>
|
||
|
||
<para>
|
||
ôÁË ÍÏÖÎÏ ÐÏÌÕÞÉÔØ CVS ×ÅÒÓÉÀ óôáòïê ÂÉÂÌÉÏÔÅËÉ OpenDivX core:
|
||
</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>
|
||
ïÓÎÏ×ÎÁÑ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÄÅÌÅÎÁ ÎÁ decore[ÄÅËÏÄÅÒ] É encore[ËÏÄÅÒ] ÂÉÂÌÉÏÔÅËÉ,
|
||
ËÏÔÏÒÙÅ ÄÏÌÖÎÙ ËÏÍÐÉÌÉÒÏ×ÁÔØÓÑ ÐÏ-ÏÔÄÅÌØÎÏÓÔÉ. äÌÑ ÂÉÂÌÉÏÔÅËÉ decore, ÐÒÏÓÔÏ ÎÁÂÅÒÉÔÅ
|
||
<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>
|
||
ë ÓÏÖÁÌÅÎÉÀ, ÄÌÑ ÂÉÂÌÉÏÔÅËÉ encore Linux'Ï×ÏÇÏ Makefile ÎÅÔ, É MMX ÏÐÔÉÍÉÚÉÒÏ×ÁÎÎÙÊ
|
||
ËÏÄ ÒÁÂÏÔÁÅÔ ÔÏÌØËÏ ÐÏÄ Windows. ÷Ù ×Ó£ ÖÅ ÍÏÖÅÔÅ ÓËÏÍÐÉÌÉÒÏ×ÁÔØ Å£, ÉÓÐÏÌØÚÕÑ ÜÔÏÔ
|
||
<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> Á×ÔÏÍÁÔÉÞÅÓËÉ ÎÁÈÏÄÉÔ DivX4/DivX5 ÅÓÌÉ ÏÎÉ ÂÙÌÉ
|
||
ÐÒÁ×ÉÌØÎÏ ÕÓÔÁÎÏ×ÌÅÎ, ÐÒÏÓÔÏ ËÏÍÐÉÌÉÒÕÊÔÅ ËÁË ÏÂÙÞÎÏ. åÓÌÉ ÏÎ ÎÅ ÎÁÈÏÄÉÔ ÜÔÏÔ
|
||
ËÏÄÅË, ÔÏ ÷Ù ÎÅÐÒÁ×ÉÌØÎÏ ÕÓÔÁÎÏ×ÉÌÉ ÉÌÉ ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÌÉ DivX4/DivX5.
|
||
</para>
|
||
|
||
</note>
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="ffmpeg" xreflabel="FFmpeg/libavcodec">
|
||
<title>FFmpeg/libavcodec</title>
|
||
|
||
<para>
|
||
<ulink url="http://ffmpeg.sourceforge.net">FFmpeg</ulink> ÓÏÄÅÒÖÉÔ ÐÁËÅÔ ËÏÄÅËÏ×
|
||
Ó <emphasis role="bold">ÏÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ</emphasis>, ËÏÔÏÒÙÊ ÓÐÏÓÏÂÅÎ
|
||
ÄÅËÏÄÉÒÏ×ÁÔØ ÐÏÔÏËÉ, ÚÁËÏÄÉÒÏ×ÁÎÎÙÅ ÒÁÚÌÉÞÎÙÍÉ ×ÉÄÅÏ É ÁÕÄÉÏ ËÏÄÅËÁÍÉ.
|
||
ëÒÏÍÅ ÔÏÇÏ, ÜÔÏÔ ÐÁËÅÔ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÐÏÔÒÑÓÁÀÝÉÅ ËÏÄÉÒÕÀÝÉÅ ×ÏÚÍÏÖÎÏÓÔÉ,
|
||
ÐÒÉÞ£Í ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ×ÙÛÅ, ÞÅÍ Õ Win32 ËÏÄÅËÏ× ÉÌÉ DivX.com DivX4/5
|
||
ÂÉÂÌÉÏÔÅËÉ!
|
||
</para>
|
||
|
||
<para>
|
||
ïÎ ÓÏÄÅÒÖÉÔ ÍÎÏÖÅÓÔ×Ï ÈÏÒÏÛÉÈ ËÏÄÅËÏ×, ÉÚ ËÏÔÏÒÙÈ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÍÉ Ñ×ÌÑÀÔÓÑ
|
||
×ÁÒÉÁÎÔÙ MPEG4: DivX3, DivX4, DivX5, Windows Media Video 7/8 (WMV1/WMV2). ôÁËÖÅ ×ÅÓØÍÁ
|
||
ÉÎÔÅÒÅÓÅÎ ÄÅËÏÄÅÒ WMA.
|
||
</para>
|
||
|
||
<para>
|
||
îÁËÏÎÅÃ, ÐÏÓÌÅÄÎÉÊ ËÏÄÅËÏÍ, ÚÁÓÌÕÖÉ×ÁÀÝÉÊ ×ÎÉÍÁÎÉÑ — ÜÔÏ
|
||
<emphasis role="bold">Sorenson 3</emphasis>(SVQ3) ËÏÄÅË. üÔÏ ÐÅÒ×ÁÑ ÒÅÁÌÉÚÁÃÉÑ
|
||
ÜÔÏÇÏ ËÏÄÅËÁ Ó ÐÏÌÎÏÓÔØÀ ÏÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ. ïÎÁ ÄÁÖÅ ÂÙÓÔÒÅÅ ÏÒÉÇÉÎÁÌÁ.
|
||
éÓÐÏÌØÚÕÊÔŠţ, ×ÍÅÓÔÏ Ä×ÏÉÞÎÏÇÏ ËÏÄÅËÁ!
|
||
</para>
|
||
|
||
<para>
|
||
ðÏÌÎÙÊ ÓÐÉÓÏË ÄÏÓÔÕÐÎÙÈ ËÏÄÅËÏ× ÄÏÓÔÕÐÅÎ ÎÁ ÓÔÒÁÎÉÃÅ FFmpeg.
|
||
ðÏÄÄÅÒÖÉ×ÁÅÍÙÅ <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC19">×ÉÄÅÏ</ulink>
|
||
É <ulink url="http://www.ffmpeg.org/ffmpeg-doc.html#SEC20">ÁÕÄÉÏ</ulink> ËÏÄÅËÉ.
|
||
</para>
|
||
|
||
<para>
|
||
åÓÌÉ ×Ù ÉÓÐÏÌØÚÕÅÔÅ ÒÅÌÉÚ <application>MPlayer</application>'Á, ÔÏ Õ ÷ÁÓ × ÐÁËÅÔÅ
|
||
ÕÖÅ ÅÓÔØ <systemitem class="library">libavcodec</systemitem>,
|
||
ÐÒÏÓÔÏ ËÏÍÐÉÌÉÒÕÊÔÅ ËÁË ÏÂÙÞÎÏ. åÓÌÉ ÷Ù ÉÓÐÏÌØÚÕÅÔÅ MPlayer
|
||
ÉÚ CVS, ÷Ù ÄÏÌÖÎÙ ÉÚ×ÌÅÞØ <systemitem class="library">libavcodec</systemitem>
|
||
ÉÚ CVS ÄÅÒÅ×Á FFmpeg, ÐÏÓËÏÌØËÕ ÒÅÌÉÚÙ FFmpeg ÏÞÅÎØ ÒÅÄËÉ. ëÁË ÐÒÁ×ÉÌÏ, CVS
|
||
ÄÏÓÔÁÔÏÞÎÏ ÓÔÁÂÉÌÅÎ É ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÂÏÌØÛÅ ×ÏÚÍÏÖÎÏÓÔÅÊ. þÔÏÂÙ ÜÔÏ ÓÄÅÌÁÔØ:
|
||
</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 ffmpeg</screen>
|
||
</para></step>
|
||
<step><para>
|
||
ðÅÒÅÍÅÓÔÉÔÅ ËÁÔÁÌÏÇ <filename>libavcodec</filename> ÉÚ ÉÓÈÏÄÎÏÇÏ ËÏÄÁ FFmpeg
|
||
× ËÏÒÅÎØ <application>MPlayer</application>'Ï×ÓËÏÇÏ CVS ÄÅÒÅ×Á.
|
||
üÔÏ ÄÏÌÖÎÏ ×ÙÇÌÑÄÅÔØ ÔÁË:
|
||
<filename class="directory">main/libavcodec</filename>
|
||
</para><para>
|
||
óÉÍ×ÏÌÉÞÅÓËÏÊ ÓÓÙÌËÉ <emphasis role="bold">ÎÅ</emphasis> ÄÏÓÔÁÔÏÞÎÏ, ÷Ù ÄÏÌÖÎÙ
|
||
ÓËÏÐÉÒÏ×ÁÔØ/ÐÅÒÅÍÅÓÔÉÔØ ÅÇÏ!
|
||
</para></step>
|
||
<step><para>
|
||
åÓÌÉ ÷Ù ÈÏÔÉÔÅ, ÞÔÏÂÙ <systemitem class="library">libavcodec</systemitem>
|
||
ÏÂÎÏ×ÌÑÌÁÓØ ËÁÖÄÙÊ ÒÁÚ, ËÏÇÄÁ ÷Ù ÏÂÎÏ×ÌÑÅÔÅ
|
||
<application>MPlayer</application>'Ï×ÓËÉÊ CVS, ÄÏÂÁ×ØÔÅ ÔÁËÕÀ ÓÔÒÏÞËÕ:
|
||
<filename>main/CVS/Entries</filename>
|
||
× ÆÁÊÌ <screen>D/libavcodec////</screen>
|
||
</para></step>
|
||
<step><para>
|
||
óËÏÍÐÉÌÉÒÕÊÔÅ. <filename>configure</filename> ÄÏÌÖÅÎ ÏÐÒÅÄÅÌÉÔØ ÐÒÏÂÌÅÍÙ ÄÏ
|
||
ËÏÍÐÉÌÑÃÉÉ.
|
||
</para></step>
|
||
</procedure>
|
||
|
||
<note>
|
||
<para>
|
||
<application>MPlayer</application> ÉÚ CVS ÓÏÄÅÒÖÉÔ ÐÏÄËÁÔÁÌÏÇ
|
||
<filename>libavcodec</filename>, ÎÏ ÏÎ <emphasis role="bold">ÎÅ</emphasis>
|
||
ÓÏÄÅÒÖÉÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÄÌÑ <systemitem class="library">libavcodec</systemitem>!
|
||
÷Ù ÄÏÌÖÎÙ ÓÌÅÄÏ×ÁÔØ ÕËÁÚÁÎÉÑÍ,
|
||
ÐÒÉ×ÅÄ£ÎÎÙÍ ×ÙÛÅ, ÞÔÏÂÙ ÐÏÌÕÞÉÔØ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÏÊ ÂÉÂÌÉÏÔÅËÉ.
|
||
</para>
|
||
</note>
|
||
|
||
<para>
|
||
ó FFmpeg É ÍÏÅÊ Matrox G400, Ñ ÄÁÖÅ ÍÏÇÕ ÓÍÏÔÒÅÔØ DivX ÆÉÌØÍÙ Ó ×ÙÓÏÞÁÊÛÉÍ
|
||
ÒÁÚÒÅÛÅÎÉÅÍ ÂÅÚ ÐÒÏÐÕÓËÁÅÍÙÈ ËÁÄÒÏ× ÎÁ ÍÏÅÍ K6-2 500.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="xanim">
|
||
<title>XAnim'Ï×ÓËÉÅ ËÏÄÅËÉ</title>
|
||
|
||
<note>
|
||
<para>
|
||
ïÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ, ÞÔÏ XAnim'Ï×ÓËÉÅ ÂÉÎÁÒÎÙÅ ËÏÄÅËÉ ÒÁÓÐÒÏÓÔÒÁÎÑÀÔÓÑ Ó ÎÅÂÏÌØÛÉÍ
|
||
ÔÅËÓÔÏÍ, ÕÔ×ÅÒÖÄÁÀÝÉÍ, ÞÔÏ ÜÔÏ ÌÉÃÅÎÚÉÑ É ÐÏÍÉÍÏ ÐÒÏÞÉÈ ÚÁÐÒÅÔÏ×, ÚÁÐÒÅÝÁÀÝÉÍ
|
||
ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÜÔÉÈ ËÏÄÅËÏ× Ó ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÏÊ ËÒÏÍÅ <application>XAnim</application>'Á.
|
||
<!--- XXX Find a better translation: However, the XAnim
|
||
author has yet to bring legal action against anyone for codec-related issues.
|
||
-->
|
||
ôÅÍ ÎÅ ÍÅÎÅÅ, Á×ÔÏÒ XAnim'Á ÅÝ£ ÄÏÌÖÅÎ ÅÝ£ ÐÒÏÉÚ×ÅÓÔÉ ÀÒÉÄÉÞÅÓËÉÅ ÄÅÊÓÔ×ÉÑ ÐÏ
|
||
ÏÔÎÏÓÑÝÉÍÓÑ Ë ËÏÄÅËÁÍ ×ÏÐÒÏÓÁÍ.
|
||
</para>
|
||
</note>
|
||
|
||
<formalpara>
|
||
<title>õóôáîï÷ëá é éóðïìøúï÷áîéå</title>
|
||
<para>
|
||
<application>MPlayer</application> ÓÐÏÓÏÂÅ ÉÓÐÏÌØÚÏ×ÁÔØ XAnim'Ï×ÓËÉÅ ËÏÄÅËÉ
|
||
ÄÌÑ ÄÅËÏÄÉÒÏ×ÁÎÉÑ. þÔÏÂÙ ×ËÌÀÞÉÔØ ÉÈ, ÓÌÅÄÕÊÔÅ ÉÎÓÔÒÕËÃÉÑÍ:
|
||
</para>
|
||
</formalpara>
|
||
|
||
<procedure>
|
||
<step><para>
|
||
óËÁÞÁÊÔÅ ËÏÄÅËÉ, ËÏÔÏÒÙÅ ÷Ù ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ, Ó ÓÁÊÔÁ
|
||
<ulink url="http://xanim.va.pubnix.com">XAnim site</ulink>.
|
||
<emphasis role="bold">3ivx</emphasis> ËÏÄÅËÁ ÔÁÍ ÎÅÔ, ÎÏ ÅÇÏ ÍÏÖÎÏ ÎÁÊÔÉ ÎÁ
|
||
<ulink url="http://www.3ivx.com">ÓÁÊÔÅ 3ivx</ulink>.
|
||
</para></step>
|
||
<step><para>
|
||
<emphasis role="bold">éìé</emphasis> ÓËÁÞÁÊÔÅ ÐÁËÅÔ ËÏÄÅËÏ× Ó ÎÁÛÅÊ
|
||
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">ÓÔÒÁÎÉÃÙ ËÏÄÅËÏ×</ulink>
|
||
</para></step>
|
||
<step><para>
|
||
éÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>--with-xanimlibdir</option>, ÞÔÏÂÙ ÓÏÏÂÝÉÔØ
|
||
<filename>configure</filename>, ÇÄÅ ÎÁÈÏÄÑÔÓÑ XAnim'Ï×ÓËÉÅ ËÏÄÅËÉ.
|
||
ðÏ ÕÍÏÌÞÁÎÉÀ, ÏÎ ÉÈ ÉÝÅÔ ×
|
||
<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>É
|
||
<filename class="directory">/usr/lib/xanim</filename>.
|
||
÷ÍÅÓÔÏ ÜÔÏÇÏ, ÷Ù ÍÏÖÅÔÅ ÕÓÔÁÎÏ×ÉÔØ ÚÎÁÞÅÎÉÅÍ ÐÅÒÅÍÅÎÎÏÊ ÓÒÅÄÙ ÏËÒÕÖÅÎÉÑ
|
||
<envar>XANIM_MOD_DIR</envar> ËÁÔÁÌÏÇ Ó XAnim'Ï×ÓËÉÍÉ ËÏÄÅËÁÍÉ.
|
||
</para></step>
|
||
<step><para>
|
||
ðÅÒÅÉÍÅÎÕÊÔÅ/ÓÏÚÄÁÊÔÅ ÓÉÍ×ÏÌÉÞÅÓËÉÅ ÓÓÙÌËÉ, ÕÂÒÁ× ÞÁÓÔÉ, ÏÔÎÏÓÑÝÉÅÓÑ Ë
|
||
ÁÒÈÉÔÅËÔÕÒÅ ÔÁË, ÞÔÏÂÙ ÆÁÊÌÙ ÎÁÚÙ×ÁÌÉÓØ ÔÁË: <filename>vid_cvid.xa</filename>,
|
||
<filename>vid_h263.xa</filename>, <filename>vid_iv50.xa</filename>
|
||
</para></step>
|
||
</procedure>
|
||
|
||
<para>
|
||
XAnim - ÜÔÏ ÓÅÍÅÊÓÔ×Ï ×ÉÄÅÏ ËÏÄÅËÏ× <systemitem>xanim</systemitem>, ÐÏÜÔÏÍÕ ÷Ù
|
||
ÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÏÐÃÉÀ <option>-vfm xanim</option>, ÞÔÏÂÙ ÚÁÓÔÁ×ÉÔØ
|
||
<application>MPlayer</application> ÉÓÐÏÌØÚÏ×ÁÔØ ÉÈ, ÅÓÌÉ ×ÏÚÍÏÖÎÏ.
|
||
</para>
|
||
|
||
<para>
|
||
ôÅÓÔÉÒÏ×ÁÎÎÙÅ ËÏÄÅËÉ ÜÔÏ: <emphasis role="bold">Indeo 3.2, 4.1, 5.0, CVID, 3ivX,
|
||
h263.</emphasis>
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="vivo-video">
|
||
<title>VIVO ×ÉÄÅÏ</title>
|
||
<para>
|
||
<application>MPlayer</application> ÍÏÖÅÔ ÐÒÏÉÇÒÙ×ÁÔØ Vivo (1.0 and 2.0) ÆÉÌØÍÙ.
|
||
îÁÉÂÏÌÅÅ ÐÏÄÈÏÄÑÝÉÊ ËÏÄÅË ÄÌÑ 1.0 ÆÁÊÌÏ× - ÜÔÏ FFmpeg'Ï×ÓËÉÊ H263 ÄÅËÏÄÅÒ, ÷Ù
|
||
ÍÏÖÅÔÅ ×ËÌÀÞÉÔØ ÅÇÏ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÏÐÃÉÅÊ <option>-vc ffh263</option>. äÌÑ 2.0
|
||
ÆÁÊÌÏ× ÉÓÐÏÌØÚÕÊÔÅ Win32 DLL (ÏÐÃÉÑ <option>-vc vivo</option>). åÓÌÉ ÷Ù ÎÅ
|
||
ÕËÁÖÅÔÅ ÏÐÃÉÀ × ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÅ, <application>MPlayer</application>
|
||
Á×ÔÏÍÁÔÉÞÅÓËÉ ×ÙÂÅÒÅÔ ÌÕÞÛÉÊ ÄÏÓÔÕÐÎÙÊ ËÏÄÅË.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="mpeg12">
|
||
<title>MPEG 1/2 ×ÉÄÅÏ</title>
|
||
<para>
|
||
MPEG1 É MPEG2 ÄÅËÏÄÉÒÕÀÔÓÑ ÍÎÏÇÏÐÌÁÔÆÏÒÍÅÎÎÏÊ "ÒÏÄÎÏÊ" ÂÉÂÌÉÏÔÅËÏÊ <systemitem
|
||
class="library">libmpeg2</systemitem>, ÉÓÈÏÄÎÙÊ ËÏÄ ËÏÔÏÒÏÊ ×ËÌÀޣΠ×
|
||
<application>MPlayer</application>. íÙ ÏÂÒÁÂÁÔÙ×ÁÅÍ ÐÌÏÈÏÅ MPEG 1/2 ×ÉÄÅÏ,
|
||
ÐÅÒÅÈ×ÁÔÙ×ÁÑ <systemitem>óÉÇÎÁÌ 11</systemitem>
|
||
(<systemitem>segmentation fault[ÏÛÉÂËÁ ÓÅÇÍÅÎÔÁÃÉÉ]</systemitem>), É ÂÙÓÔÒÏ
|
||
ÒÅÉÎÉÃÉÁÌÉÚÉÒÕÑ ËÏÄÅË, ÐÒÏÄÏÌÖÁÑ ÔÏÞÎÏ Ó ÍÅÓÔÁ ÏÛÉÂËÉ. ôÁËÁÑ ÔÅÈÎÏÌÏÇÉÑ
|
||
×ÏÓÓÔÁÎÏ×ÌÅÎÉÑ ÎÅ ÉÍÅÅÔ ÚÎÁÞÉÍÙÈ ×ÒÅÍÅÎÎÙÈ ÚÁÄÅÒÖÅË.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="avicodecs">
|
||
<title>MS Video1, Cinepak CVID, É ÄÒÕÇÉÅ ÓÔÁÒÙÅ ËÏÄÅËÉ</title>
|
||
<para>
|
||
MPlayer ÍÏÖÅÔ ×ÏÓÐÒÏÉÚ×ÏÄÉÔØ ÂÏÌØÛÕÀ ÞÁÓÔØ ÓÔÁÒÙÈ ËÏÄÅËÏ×, ÉÓÐÏÌØÚÏ×Á×ÛÉÈÓÑ
|
||
× AVI É MOV ÆÁÊÌÁÈ. ðÒÅÖÄÅ ÏÎÉ ÄÅËÏÄÉÒÏ×ÁÌÉÓØ ÂÉÎÁÒÎÙÍÉ Win32 ËÏÄÅËÁÍÉ,
|
||
Á ÔÅÐÅÒØ, ÉÓÐÏÌØÚÕÑ
|
||
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>,
|
||
ÄÌÑ ÂÏÌØÛÉÎÓÔ×Á ÉÚ ÎÉÈ Õ ÎÁÓ ÅÓÔØ <emphasis role="bold">ÒÏÄÎÙÅ ËÏÄÅËÉ</emphasis>.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="realvideo">
|
||
<title>RealVideo</title>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÐÏÄÄÅÒÖÉ×ÁÅÔ ÄÅËÏÄÉÒÏ×ÁÎÉÅ ×ÓÅÈ ×ÅÒÓÉÊ
|
||
RealVideo:
|
||
|
||
<itemizedlist>
|
||
<listitem><simpara>
|
||
RealVideo 1.0, 2.0 (fourcc RV10, RV20) - (ÄÅ)ËÏÄÉÒÏ×ÁÎÉÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ, ÉÓÐÏÌØÚÕÑ
|
||
<systemitem class="library">libavcodec</systemitem>
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
RealVideo 3.0, 4.0 (fourcc RV30, RV40) - ÄÅËÏÄÉÒÏ×ÁÎÉÅ
|
||
ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ, ÉÓÐÏÌØÚÕÑ <emphasis role="bold">ÂÉÂÌÉÏÔÅËÉ RealPlayer'Á</emphasis>
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
</para>
|
||
|
||
<para>
|
||
CËÁÞÁÊÔÅ Real ËÏÄÅËÉ ÎÁ
|
||
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">http://www.mplayerhq.hu/MPlayer/releases/codecs/</ulink>
|
||
É ÒÁÓÐÁËÕÊÔÅ ÉÈ × ËÁÔÁÌÏÇ
|
||
<filename class="directory">/usr/local/lib/codecs</filename>.
|
||
åÓÌÉ ÷Ù ÈÏÔÉÔÅ ÈÒÁÎÉÔØ ÉÈ × ÄÒÕÇÏÍ ÍÅÓÔÅ, ÕËÁÖÉÔÅ <command>configure</command>
|
||
ÏÐÃÉÀ <option>--with-reallibdir</option>.
|
||
</para>
|
||
|
||
<para>
|
||
îÁ Mac OS X ÷Ù ÄÏÌÖÎÙ ÕÂÅÄÉÔØÓÑ, ÞÔÏ <filename>pncrt.Shlb</filename> (×ËÌÀÞÁÑ ÅÇÏ
|
||
resource fork!) ÎÁÈÏÄÉÔÓÑ × ÔÏÍ ÖÅ ËÁÔÁÌÏÇÅ, ÞÔÏ É Real ËÏÄÅËÉ. óËÏÐÉÒÕÊÔÅ ÉÈ,
|
||
ÎÁÐÒÉÍÅÒ, ÔÁË:
|
||
<screen>ditto -rsrcFork "RealOne Player.app/Contents/MacOS/pncrt.Shlb" "RealOne Player.app/Contents/MacOS/Library/Codecs"</screen>
|
||
åÓÌÉ ÷Ù ÜÔÏÇÏ ÎÅ ÓÄÅÌÁÅÔÅ, ÉÌÉ ÚÁÂÕÄÅÔÅ ÓËÏÐÉÒÏ×ÁÔØ resource fork, ÷Ù ÂÕÄÅÔÅ
|
||
ÐÏÌÕÞÁÔØ ÔÁËÉÅ ÏÛÉÂËÉ:
|
||
<screen>GetDiskFragment() failed with error -2804: <<Unknown disk fragment>><<Unknown disk fragment>><pncrt.Shlb><></screen>
|
||
</para>
|
||
|
||
|
||
<note><para>
|
||
<application>RealPlayer</application>'Ï×ÓËÉÅ ÂÉÂÌÉÏÔÅËÉ × ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ
|
||
<emphasis role="bold">ÒÁÂÏÔÁÀÔ ÔÏÌØËÏ ÐÏÄ Linux, FreeBSD, NetBSD É Cygwin
|
||
ÎÁ x86, Alpha É PowerPC (ÔÅÓÔÉÒÏ×ÁÌÉÓØ Linux/Alpha É Linux/PowerPC)
|
||
ÐÌÁÔÆÏÒÍÁÈ É Ó Mac OS X</emphasis>.
|
||
</para></note>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="xvid">
|
||
<title>XviD</title>
|
||
|
||
<para>
|
||
<ulink url="http://www.xvid.org">XviD</ulink> - ÜÔÏ ÒÁÚÒÁÂÏÔËÁ, ÏÔÐÏÞËÏ×Á×ÛÁÑÓÑ ÏÔ
|
||
OpenDivX ËÏÄÅËÁ. üÔÏ ÐÒÏÉÚÏÛÌÏ, ËÏÇÄÁ ProjectMayo ÓÄÅÌÁÌ ÉÓÈÏÄÎÙÊ ËÏÄ OpenDivX
|
||
ÚÁËÒÙÔÙÍ (DivX4, ÔÅÐÅÒØ DivX5), É ÒÁÚÒÁÂÏÔÞÉËÉ OpenDivX ÎÅ ÉÚ ProjectMayo
|
||
ÒÁÚÏÚÌÉÌÉÓØ, É ×ÚÑÌÉÓØ ÚÁ XviD. ðÏÜÔÏÍÕ Õ ÏÂÏÉÈ ÐÒÏÅËÔÏ× ÏÂÝÉÅ ËÏÒÎÉ.
|
||
|
||
<itemizedlist>
|
||
<title>ðòåéíõýåóô÷á</title>
|
||
<listitem><simpara>
|
||
ÏÔËÒÙÔÙÊ ÉÓÈÏÄÎÙÊ ËÏÄ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
API ÓÏ×ÍÅÓÔÉÍÙ Ó DivX4, ÐÏÜÔÏÍÕ ÐÒÏÓÔÏ ÄÏÂÁ×ÉÔØ ÄÌÑ ÎÅÇÏ ÐÏÄÄÅÒÖËÕ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
ÐÏÄÄÅÒÖËÁ ËÏÄÉÒÏ×ÁÎÉÑ × 2 ÐÒÏÈÏÄÁ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
ÈÏÒÏÛÅÅ ËÁÞÅÓÔ×Ï ËÏÄÉÒÏ×ÁÎÉÑ, ÂÏÌÅÅ ×ÙÓÏËÁÑ ÓËÏÒÏÓÔØ, ÐÏ ÓÒÁ×ÎÅÎÉÀ Ó DivX4
|
||
(×Ù ÍÏÖÅÔÅ ÅÇÏ ÏÐÔÉÍÉÚÉÒÏ×ÁÔØ ÐÏÄ ÷ÁÛÕ ÍÁÛÉÎÕ ×Ï ×ÒÅÍÑ ËÏÍÐÉÌÑÃÉÉ)
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
<itemizedlist>
|
||
<title>îåäïóôáôëé</title>
|
||
<listitem><simpara>
|
||
× ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÎÅ ×ÓÅ DivX/DivX4 ÆÁÊÌÙ <emphasis role="bold">ÄÅËÏÄÉÒÕÀÔÓÑ
|
||
</emphasis> (ÎÅ ÐÒÏÂÌÅÍÁ, ÐÏÓËÏÌØËÕ ÉÈ ÍÏÖÅÔ ×ÏÓÐÒÏÉÚ×ÅÓÔÉ
|
||
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
ÒÁÚÒÁÂÏÔËÁ ÐÒÏÄÏÌÖÁÅÔÓÑ É × ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
</para>
|
||
|
||
<procedure>
|
||
<title>õóôáîï÷ëá XVID CVS</title>
|
||
<para>
|
||
÷ ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÏÎ ÄÏÓÔÕÐÅÎ ÔÏÌØËÏ ÐÏ CVS. ÷ÏÔ ËÁË ÅÇÏ ÓËÁÞÁÔØ É ÐÏÓÔÁ×ÉÔØ
|
||
(÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ autoconf ÎÅ ÓÔÁÒÅÅ 2.50, automake É 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>
|
||
÷ÁÍ ÍÏÖÅÔ ÐÏÔÒÅÂÏ×ÁÔØÓÑ ÄÏÂÁ×ÉÔØ ÎÅËÏÔÏÒÙÅ ÏÐÃÉÉ (ÐÏÓÍÏÔÒÉÔÅ ×Ù×ÏÄ
|
||
<screen>./configure --help</screen>).
|
||
</para></step>
|
||
<step><para>
|
||
<screen>make && make install</screen>
|
||
</para></step>
|
||
<step><para>
|
||
åÓÌÉ ÷Ù ÕËÁÚÁÌÉ <option>--enable-divxcompat</option>,
|
||
ÓËÏÐÉÒÕÊÔÅ <filename>../../src/divx4.h</filename> ×
|
||
<filename class="directory">/usr/local/include/</filename>.
|
||
</para></step>
|
||
<step><para>
|
||
ðÅÒÅËÏÍÐÉÌÉÒÕÊÔÅ <application>MPlayer</application> Ó
|
||
<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 - ÜÔÏ ×ÉÄÅÏ ËÏÄÅË, ÒÁÚÒÁÂÏÔÁÎÎÙÊ × Sorenson Media É ÌÉÃÅÎÚÉÒÏ×ÁÎÎÙÊ
|
||
Apple, ËÏÔÏÒÙÅ ÒÁÓÐÒÏÓÔÒÁÎÑÀÔ ÅÇÏ Ó <application>QuickTime Player</application>.
|
||
÷ ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÍÙ ÓÐÏÓÏÂÎÙ ÄÅËÏÄÉÒÏ×ÁÔØ ×ÓÅ ×ÅÒÓÉÉ Sorenson ×ÉÄÅÏ ÆÁÊÌÏ×
|
||
ÓÌÅÄÕÀÝÉÍÉ ÄÅËÏÄÅÒÁÍÉ:
|
||
</para>
|
||
|
||
<itemizedlist>
|
||
<listitem><simpara>
|
||
Sorenson 1 (fourcc <emphasis>SVQ1</emphasis>) - ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ
|
||
<emphasis role="bold">ÒÏÄÎÙÍ ËÏÄÅËÏÍ</emphasis>
|
||
(<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
Sorenson 3 (fourcc <emphasis>SVQ3</emphasis>) - ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ,
|
||
ÉÓÐÏÌØÚÕÑ <emphasis role="bold">"ÒÏÄÎÏÊ" ËÏÄÅË</emphasis>
|
||
(<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
<procedure>
|
||
<title>ëïíðéìñãéñ MPLAYER'á ó ðïääåòöëïê âéâìéïôåë QUICKTIME</title>
|
||
<note><para>× ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÐÏÄÄÅÒÖÉ×ÁÀÔÓÑ ÔÏÌØËÏ 32ÂÉÔÎÙÅ Intel'Å×ÓËÉÅ
|
||
ÐÌÁÔÆÏÒÍÙ.</para></note>
|
||
<step><para>ÓËÁÞÁÊÔÅ <application>MPlayer</application>'Ï×ÓËÉÊ CVS</para></step>
|
||
<step><para>ÓËÁÞÁÊÔÅ ÐÁËÅÔ QuickTime DLL Ó
|
||
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/>
|
||
</para></step>
|
||
<step><para>ÒÁÓÐÁËÕÊÔÅ ÐÁËÅÔ QuickTime DLL × ÷ÁÛ ËÁÔÁÌÏÇ Win32 ËÏÄÅËÏ×
|
||
(ÐÏ ÕÍÏÌÞÁÎÉÀ: <filename class="directory">/usr/local/lib/codecs</filename>)
|
||
</para></step>
|
||
<step><para>ÓËÏÍÐÉÌÉÒÕÊÔÅ <application>MPlayer</application></para></step>
|
||
</procedure>
|
||
|
||
</sect3>
|
||
|
||
<sect3 id="codec-x264">
|
||
<title>x264</title>
|
||
|
||
<sect4 id="codec-x264-whatis">
|
||
<title>What is x264?</title>
|
||
<para>
|
||
<systemitem class="library">x264</systemitem> is a library for
|
||
creating H.264 video streams.
|
||
It is not 100% complete, but currently it has at least some kind
|
||
of support for most of the H.264 features which impact quality.
|
||
There are also many advanced features in the H.264 specification
|
||
which have nothing to do with video quality per se; many of these
|
||
are not yet implemented in
|
||
<systemitem class="library">x264</systemitem>.
|
||
</para>
|
||
|
||
<itemizedlist>
|
||
<title>Encoder features</title>
|
||
<listitem><para>CAVLC/CABAC</para></listitem>
|
||
<listitem><para>Multi-references</para></listitem>
|
||
<listitem><para>Intra: all macroblock types (16x16 and 4x4 with
|
||
all predictions)</para></listitem>
|
||
<listitem><para>Inter P: all partitions (from 16x16 down to
|
||
4x4)</para></listitem>
|
||
<listitem><para>Inter B: partitions from 16x16 down to 8x8
|
||
(including SKIP/DIRECT)</para></listitem>
|
||
<listitem><para>Ratecontrol: constant quantizer, constant bitrate,
|
||
or multipass ABR</para></listitem>
|
||
<listitem><para>Scene cut detection</para></listitem>
|
||
<listitem><para>Adaptive B-frame placement</para></listitem>
|
||
<listitem><para>B-frames as references / arbitrary frame
|
||
order</para></listitem>
|
||
</itemizedlist>
|
||
|
||
<itemizedlist>
|
||
<title>Encoder limitations</title>
|
||
<listitem><para>No real RD</para></listitem>
|
||
</itemizedlist>
|
||
|
||
|
||
</sect4>
|
||
|
||
<sect4 id="codec-h264-whatis">
|
||
<title>What is H.264?</title>
|
||
<para>
|
||
H.264 is one name for a new digital video codec jointly developed
|
||
by the ITU and MPEG.
|
||
It can also be correctly referred to by the cumbersome names of
|
||
"ISO/IEC 14496-10" or "MPEG-4 Part 10".
|
||
More frequently, it is referred to as "MPEG-4 AVC" or just "AVC".
|
||
</para>
|
||
<para>
|
||
Whatever you call it, H.264 may be worth trying because it can
|
||
typically match the quality of MPEG-4 ASP with 5%-30% less
|
||
bitrate.
|
||
Actual results will depend on both the source material and the
|
||
encoder.
|
||
The gains from using H.264 do not come for free: decoding H.264
|
||
streams seems to have steep CPU and memory requirements.
|
||
For instance, on a 1733 MHz Athlon, a 1500kbps H.264 video uses
|
||
around 50% CPU to decode.
|
||
By comparison, decoding a 1500kbps MPEG4-ASP stream requires
|
||
around 10% CPU.
|
||
This means that decoding high-definition streams is almost out of
|
||
the question for most users.
|
||
It also means that even a decent DVD rip may sometimes stutter on
|
||
processors slower than 2.0 GHz or so.
|
||
</para>
|
||
<para>
|
||
At least with <systemitem class="library">x264</systemitem>,
|
||
encoding requirements are not much worse than what you are used to
|
||
with MPEG4-ASP.
|
||
For instance, on a 1733 MHz Athlon a typical DVD encode would run
|
||
at 5-15fps.
|
||
</para>
|
||
<para>
|
||
This document is not intended to explain the details of H.264,
|
||
but if you are interested in a brief overview, you may want to read
|
||
<ulink url="http://www.cdt.luth.se/~peppar/kurs/smd151/spie04-h264OverviewPaper.pdf">The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions</ulink>.
|
||
</para>
|
||
</sect4>
|
||
|
||
<sect4 id="codec-x264-playback">
|
||
<title>How can I play H.264 videos with <application>MPlayer</application>?</title>
|
||
<para>
|
||
<application>MPlayer</application> uses
|
||
<systemitem class="library">libavcodec</systemitem>'s H.264
|
||
decoder.
|
||
<systemitem class="library">libavcodec</systemitem> has had at
|
||
least minimally usable H.264 decoding since around July 2004,
|
||
however major changes and improvements have been implemented since
|
||
that time, both in terms of more functionalities supported and in
|
||
terms of improved CPU usage.
|
||
Just to be certain, it is always a good idea to use a recent CVS
|
||
checkout.
|
||
</para>
|
||
<para>
|
||
If you want a quick and easy way to know whether there have been
|
||
recent changes to <systemitem class="library">libavcodec</systemitem>'s
|
||
H.264 decoding, you might keep an eye on
|
||
<ulink url="http://mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/h264.c?cvsroot=FFMpeg">FFmpeg CVS repository's web interface</ulink>.
|
||
</para>
|
||
</sect4>
|
||
|
||
<sect4 id="codec-x264-encode">
|
||
<title>How can I encode videos using <application>MEncoder</application> and <systemitem class="library">x264</systemitem>?</title>
|
||
<para>
|
||
If you have the subversion client installed, the latest x264
|
||
sources can be gotten with this command:
|
||
<screen>
|
||
svn co svn://svn.videolan.org/x264/trunk x264
|
||
</screen>
|
||
<application>MPlayer</application> sources are updated whenever
|
||
an <systemitem class="library">x264</systemitem> API change
|
||
occurs, so it is always suggested to use CVS
|
||
<application>MPlayer</application> as well.
|
||
Perhaps this situation will change when and if an
|
||
<systemitem class="library">x264</systemitem> "release" occurs.
|
||
Meanwhile, <systemitem class="library">x264</systemitem> should
|
||
be considered very unstable, in the sense that its programming
|
||
interface is subject to change.
|
||
</para>
|
||
<para>
|
||
<systemitem class="library">x264</systemitem> is built and
|
||
installed in the standard way:
|
||
<screen>
|
||
./configure && make && sudo make install
|
||
</screen>
|
||
This installs libx264.a in /usr/local/lib and x264.h is placed in
|
||
/usr/local/include.
|
||
|
||
With the <systemitem class="library">x264</systemitem> library
|
||
and header placed in the standard locations, building
|
||
<application>MPlayer</application> with
|
||
<systemitem class="library">x264</systemitem> support is easy.
|
||
Just run the standard:
|
||
<screen>./configure && make && sudo make install</screen>
|
||
The configure script will autodetect that you have satisfied the
|
||
requirements for <systemitem class="library">x264</systemitem>.
|
||
</para>
|
||
</sect4>
|
||
</sect3>
|
||
</sect2>
|
||
|
||
<!-- ********** -->
|
||
|
||
<sect2 id="audio-codecs">
|
||
<title>áÕÄÉÏ ËÏÄÅËÉ</title>
|
||
|
||
<itemizedlist>
|
||
<title>îÁÉÂÏÌÅÅ ×ÁÖÎÙÍÉ ÁÕÄÉÏ ËÏÄÅËÁÍÉ ÓÒÅÄÉ ×ÓÅÈ Ñ×ÌÑÀÔÓÑ:</title>
|
||
<listitem><simpara>
|
||
MPEG layer 1/2/3 (MP1/2/3) ÁÕÄÉÏ (<emphasis role="bold">"ÒÏÄÎÏÊ"</emphasis>
|
||
ËÏÄ, Ó MMX/SSE/3DNow! ÏÐÔÉÍÉÚÁÃÉÅÊ)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
Windows Media Audio 7 É 8 (aka WMAv1 É WMAv2) (<emphasis role="bold">"ÒÏÄÎÏÊ"</emphasis> ËÏÄ, Ó
|
||
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
Windows Media Audio 9 (WMAv3) (ÉÓÐÏÌØÚÕÑ DMO DLL)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
AC3 Dolby ÁÕÄÉÏ (<emphasis role="bold">"ÒÏÄÎÏÊ"</emphasis> ËÏÄ, Ó
|
||
MMX/SSE/3DNow! ÏÐÔÉÍÉÚÁÃÉÅÊ)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
AC3 ÐÒÏÈÏÄÑÝÉÊ ÞÅÒÅÚ Ú×ÕËÏ×ÏÅ ÏÂÏÒÕÄÏ×ÁÎÉÅ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
AAC
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
Ogg Vorbis ÁÕÄÉÏ ËÏÄÅË (<emphasis role="bold">ÒÏÄÎÁÑ</emphasis> ÂÉÂÌÉÏÔÅËÁ)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
RealAudio: DNET (AC3 Ó ÎÉÚËÉÍ ÂÉÔÐÏÔÏËÏÍ), Cook, Sipro É ATRAC3
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
QuickTime: Qualcomm É QDesign ÁÕÄÉÏ ËÏÄÅËÉ
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
VIVO ÁÕÄÉÏ (g723, Vivo Siren)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
Voxware ÁÕÄÉÏ (ÉÓÐÏÌØÚÕÑ DirectShow DLL)
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
alaw É ulaw, ÒÁÚÌÉÞÎÙÅ gsm, adpcm É pcm ÆÏÒÍÁÔÙ É ÄÒÕÇÉÅ ÐÒÏÓÔÙÅ ÓÔÁÒÙÅ ÁÕÄÉÏ
|
||
ËÏÄÅËÉ
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
|
||
<sect3 id="swac3">
|
||
<title>ðÒÏÇÒÁÍÍÎÏÅ ÄÅËÏÄÉÒÏ×ÁÎÉÅ AC3</title>
|
||
|
||
<para>
|
||
üÔÏ ÄÅËÏÄÅÒ, ÉÓÐÏÌØÚÕÅÍÙÊ, ÐÏ ÕÍÏÌÞÁÎÉÀ, ÄÌÑ ÆÁÊÌÏ× Ó AC3 ÁÕÄÉÏ
|
||
</para>
|
||
|
||
<para>
|
||
äÅËÏÄÅÒ AC3 ÍÏÖÅÔ ÓÏÚÄÁ×ÁÔØ ÁÕÄÉÏ ×Ù×ÏÄ ÍÉËÛÉÒÏ×ÁÎÎÙÊ ÄÌÑ 2, 4 ÉÌÉ 6 ËÏÌÏÎÏË.
|
||
âÕÄÕÞÉ ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÍ ÄÌÑ 6 ËÏÌÏÎÏË, ÜÔÏÔ ÄÅËÏÄÅÒ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÒÁÚÄÅÌØÎÙÊ
|
||
×Ù×ÏÄ ×ÓÅÈ AC3 ËÁÎÁÌÏ× Ú×ÕËÏ×ÏÍÕ ÄÒÁÊ×ÅÒÕ, ÐÏÚ×ÏÌÑÑ ÐÏÌÕÞÉÔØ "Ú×ÕË ×ÏËÒÕÇ"
|
||
ÂÅÚ ×ÎÅÛÎÅÇÏ AC3 ÄÅËÏÄÅÒÁ, ÎÅÏÂÈÏÄÉÍÏÇÏ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ hwac3 ËÏÄÅËÁ.
|
||
</para>
|
||
|
||
<para>
|
||
éÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-channels</option>, ÞÔÏÂÙ ×ÙÂÒÁÔØ ËÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ×
|
||
ÐÒÉ ×Ù×ÏÄÅ. éÓÐÏÌØÚÕÊÔÅ <option>-channels 2</option> ÄÌÑ ÍÉËÛÉÒÏ×ÁÎÉÑ ÄÏ ÓÔÅÒÅÏ.
|
||
äÌÑ ÍÉËÛÉÒÏ×ÁÎÉÑ ÄÏ 4 ËÁÎÁÌÏ× (×Ù×ÏÄÙ Left Front[ìÅ×ÙÊ ðÅÒÅÄÎÉÊ], Right Front
|
||
[ðÒÁ×ÙÊ ÐÅÒÅÄÎÉÊ], Left Surround[ìÅ×ÙÊ úÁÄÎÉÊ] É Right Surround[ðÒÁ×ÙÊ úÁÄÎÉÊ]),
|
||
ÉÓÐÏÌØÚÕÊÔÅ <option>-channels 4</option>. ÷ ÜÔÏÍ ÓÌÕÞÁÅ ×ÓÅ ÃÅÎÔÒÁÌØÎÙÅ ËÁÎÁÌÙ
|
||
ÂÕÄÕÔ ÓÍÉËÛÉÒÏ×ÁÎÙ ÄÏ ÕÒÏ×ÎÑ ÐÅÒÅÄÎÉÈ ËÁÎÁÌÏ×. <option>-channels 6</option> ÂÕÄÅÔ
|
||
×Ù×ÏÄÉÔØ ×ÓÅ AC3 ËÁÎÁÌÙ ÔÁË, ËÁË ÏÎÉ ÚÁËÏÄÉÒÏ×ÁÎÙ - ÐÏ ÐÏÒÑÄËÕ:
|
||
Left[ìÅ×ÙÊ], Right[ðÒÁ×ÙÊ], Left Surround[ìÅ×ÙÊ úÁÄÎÉÊ], Right Surround[ðÒÁ×ÙÊ
|
||
úÁÄÎÉÊ], Center[ãÅÎÔÒÁÌØÎÙÊ] É LFE.
|
||
</para>
|
||
|
||
<para>
|
||
ëÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ× ÐÏ ÕÍÏÌÞÁÎÉÀ - 2.
|
||
</para>
|
||
|
||
<para>
|
||
þÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ ÂÏÌÅÅ 2 ËÁÎÁÌÏ×, ÷ÁÍ ÎÕÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ OSS, É ÏÂÌÁÄÁÔØ
|
||
ËÁÒÔÏÞËÏÊ, ÐÏÄÄÅÒÖÉ×ÁÀÝÅÊ ÎÅÏÂÈÏÄÉÍÏÅ ËÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ× ÞÅÒÅÚ ioctl
|
||
SNDCTL_DSP_CHANNELS. ðÒÉÍÅÒÏÍ ÐÏÄÈÏÄÑÝÅÇÏ ÄÒÁÊ×ÅÒÁ Ñ×ÌÑÅÔÓÑ emu10k1
|
||
(ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ Soundblaster Live! ËÁÒÔÏÞÅË) Á×ÇÕÓÔÁ 2001'ÏÇÏ ÉÌÉ ÎÏ×ÅÅ
|
||
(ALSA CVS ÔÏÖÅ ÄÏÌÖÅÎ ÒÁÂÏÔÁÔØ).
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="hwac3">
|
||
<title>áÐÐÁÒÁÔÎÏÅ ÄÅËÏÄÉÒÏ×ÁÎÉÅ AC3</title>
|
||
<para>
|
||
÷ÁÍ ÎÕÖÎÁ AC3-ÓÏ×ÍÅÓÔÉÍÁÑ ËÁÒÔÁ Ó ÃÉÆÒÏ×ÙÍ (S/PDIF) ×Ù×ÏÄÏÍ. äÒÁÊ×ÅÒ ËÁÒÔÙ
|
||
ÄÏÌÖÅÎ ÄÏÌÖÎÙÍ ÏÂÒÁÚÏÍ ÐÏÄÄÅÒÖÉ×ÁÔØ AFMT_AC3 ÆÏÒÍÁÔ (ÎÁÐÒÉÍÅÒ C-Media).
|
||
ðÏÄÓÏÅÄÉÎÉÔÅ AC3 ÄÅËÏÄÅÒ Ë S/PDIF ×Ù×ÏÄÕ É ÉÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-ac
|
||
hwac3</option>. üÔÏ ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÁÑ ×ÏÚÍÏÖÎÏÓÔØ, ÎÏ ÉÚ×ÅÓÔÎÏ, ÞÔÏ ÜÔÏ ÒÁÂÏÔÁÅÔ Ó
|
||
C-Media ËÁÒÔÁÍÉ É Soundblaster Live! + ALSA (ÎÏ ÎÅ OSS) ÄÒÁÊ×ÅÒÁÍÉ É
|
||
ËÁÒÔÁÍÉ MPEG ÄÅËÏÄÉÒÏ×ÁÎÉÑ DXR3/Hollywood+.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="libmad">
|
||
<title>ðÏÄÄÅÒÖËÁ libmad</title>
|
||
|
||
<para>
|
||
<ulink url="http://mad.sourceforge.net">libmad</ulink> - ÜÔÏ ÍÎÏÇÏÐÌÁÔÆÏÒÍÅÎÎÁÑ,
|
||
ÃÅÌÏÞÉÓÌÅÎÎÁÑ (×ÎÕÔÒÅÎÎÅ 24'ÂÉÔÎÙÊ PCM)
|
||
ÂÉÂÌÉÏÔÅËÁ ÄÅËÏÄÉÒÏ×ÁÎÉÑ MPEG ÁÕÄÉÏ. ïÎÁ ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ ÏÂÒÁÂÁÔÙ×ÁÅÔ ÂÉÔÙÅ
|
||
ÆÁÊÌÙ É ÉÎÏÇÄÁ Õ ÎÅ£ ÂÙ×ÁÀÔ ÐÒÏÂÌÅÍÙ Ó ÐÅÒÅÍÅÝÅÎÉÅÍ ÐÏ ÆÁÊÌÕ.
|
||
</para>
|
||
|
||
<para>
|
||
þÔÏÂÙ ×ËÌÀÞÉÔØ Å£ ÐÏÄÄÅÒÖËÕ, ËÏÍÐÉÌÉÒÕÊÔÅ Ó ÏÐÃÉÅÊ configure
|
||
<option>--enable-mad</option>.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="vivo-audio">
|
||
<title>VIVO ÁÕÄÉÏ</title>
|
||
<para>
|
||
áÕÄÉÏ ËÏÄÅË, ÉÓÐÏÌØÚÕÅÍÙÊ × VIVI ÆÁÊÌÁÈ ÚÁ×ÉÓÉÔ ÏÔ ÔÏÇÏ, ÜÔÏ VIVI/1.0 ÉÌÉ
|
||
VIVI/2.0 ÆÁÊÌ. ÷ VIVO/1.0 ÆÁÊÌÁÈ <emphasis role="bold">g.723</emphasis> ÁÕÄÉÏ,
|
||
Á × VIVO/2.0 ÆÁÊÌÁÈ - <emphasis role="bold">Vivo Siren</emphasis> ÁÕÄÉÏ. ïÂÁ
|
||
ÔÉÐÁ ÐÏÄÄÅÒÖÉ×ÁÀÔÓÑ.
|
||
</para>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="realaudio">
|
||
<title>RealAudio</title>
|
||
|
||
<para>
|
||
<application>MPlayer</application> ÐÏÄÄÅÒÖÉ×ÁÅÔ ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÞÔÉ ×ÓÅÈ ×ÅÒÓÉÊ
|
||
RealAudio:
|
||
</para>
|
||
|
||
<itemizedlist>
|
||
<listitem><simpara>
|
||
RealAudio DNET - ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ ×
|
||
<systemitem class="library">liba52</systemitem>
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
RealAudio Cook/Sipro/ATRAC3 - ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ
|
||
<emphasis role="bold">ÂÉÂÌÉÏÔÅË ÉÚ RealPlayer'Á</emphasis>
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
|
||
<para>
|
||
éÎÓÔÒÕËÃÉÉ ÐÏ ÕÓÔÁÎÏ×ËÅ RealPlayer'Ï×ÓËÉÅ ÂÉÂÌÉÏÔÅË ÎÁÈÏÄÑÔÓÑ × ÓÅËÃÉÉ
|
||
<link linkend="realvideo">RealVideo</link>.
|
||
</para>
|
||
</sect3>
|
||
|
||
<sect3 id="qdesign">
|
||
<title>QDesign ËÏÄÅËÉ</title>
|
||
<para>
|
||
áÕÄÉÏ ÐÏÔÏËÉ QDesign (fourcc:<emphasis>QDMC, QDM2</emphasis>) ÏÂÎÁÒÕÖÉ×ÁÀÔÓÑ
|
||
× MOV/QT ÆÁÊÌÁÈ. ïÂÅ ×ÅÒÓÉÉ ÜÔÏÇÏ ËÏÄÅËÁ ÍÏÇÕÔ ÄÅËÏÄÉÒÏ×ÁÔØÓÑ ÂÉÂÌÉÏÔÅËÁÍÉ
|
||
QuickTime. éÎÓÔÒÕËÃÉÉ ÐÏ ÕÓÔÁÎÏ×ËÅ ÓÍ. × ÓÅËÃÉÉ
|
||
<link linkend="sorenson">Sorenson video codec</link>.
|
||
</para>
|
||
</sect3>
|
||
|
||
<sect3 id="qualcomm">
|
||
<title>Qualcomm ËÏÄÅËÉ</title>
|
||
<para>
|
||
áÕÄÉÏ ÐÏÔÏËÉ Qualcomm (fourcc:<emphasis>Qclp</emphasis>) ÏÂÎÁÒÕÖÉ×ÁÀÔÓÑ
|
||
× MOV/QT ÆÁÊÌÁÈ. ïÎÉ ÍÏÇÕÔ ÄÅËÏÄÉÒÏ×ÁÔØÓÑ ÂÉÂÌÉÏÔÅËÁÍÉ QuickTime.
|
||
éÎÓÔÒÕËÃÉÊ ÐÏ ÕÓÔÁÎÏ×ËÅ ÓÍ. × ÓÅËÃÉÉ
|
||
<link linkend="sorenson">Sorenson video codec</link>.
|
||
</para>
|
||
</sect3>
|
||
|
||
<sect3 id="aac">
|
||
<title>AAC ËÏÄÅË</title>
|
||
<para>
|
||
AAC (Advanced Audio Coding) - ÜÔÏ ËÏÄÅË, ÉÎÏÇÄÁ ÏÂÎÁÒÕÖÉ×ÁÅÍÙÊ × MOV É MP4
|
||
ÆÁÊÌÁÈ. äÅËÏÄÅÒ Ó ÏÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ, ÎÁÚÙ×ÁÅÍÙÊ FAAD, ÄÏÓÔÕÐÅÎ Ó
|
||
<ulink url="http://www.audiocoding.com"/>.
|
||
<application>MPlayer</application> ×ËÌÀÞÁÅÔ × ÓÅÂÑ libfaad 2.0RC1, ÐÏÜÔÏÍÕ
|
||
÷ÁÍ ÎÉÞÅÇÏ ÎÅ ÎÕÖÎÏ ÄÏÐÏÌÎÉÔÅÌØÎÏ ÓËÁÞÉ×ÁÔØ.
|
||
</para>
|
||
|
||
<para>
|
||
åÓÌÉ ÷Ù ÉÓÐÏÌØÚÕÅÔÅ gcc 3.2, ËÏÔÏÒÙÊ ÎÅ ÍÏÖÅÔ ÓËÏÍÐÉÌÉÒÏ×ÁÔØ ×ÓÔÒÏÅÎÎÙÊ FAAD,
|
||
ÉÌÉ ÐÒÏÓÔÏ ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ×ÎÅÛÎÀÀ ÂÉÂÌÉÏÔÅËÕ, ÓËÁÞÁÅÔŠţ Ó
|
||
<ulink url="http://www.audiocoding.com/download.php">ÓÔÒÁÎÉÃÙ ÓËÁÞÉ×ÁÎÉÑ</ulink>
|
||
É ÕËÁÖÉÔÅ <filename>configure</filename> <option>--enable-external-faad</option>.
|
||
÷ÁÍ ÎÅ ÎÕÖÅÎ ×ÅÓØ faad2, ÞÔÏÂÙ ÄÅËÏÄÉÒÏ×ÁÔØ AAC ÆÁÊÌÙ, ÄÏÓÔÁÔÏÞÎÏ libfaad.
|
||
÷ÏÔ ËÁË ÷Ù ÍÏÖÅÔŠţ ÓÏÂÒÁÔØ:
|
||
<screen>
|
||
cd faad2/
|
||
chmod +x bootstrap
|
||
./bootstrap
|
||
./configure
|
||
cd libfaad
|
||
make
|
||
make install
|
||
</screen>
|
||
âÉÎÁÒÉÉ ÏÔÓÕÔÓÔ×ÕÀÔ ÎÁ audiocoding.com, ÎÏ ×Ù ÍÏÖÅÔÅ ÓËÁÞÁÔØ (apt-get) Debian
|
||
ÐÁËÅÔÙ Ó <ulink url="http://marillat.free.fr">ÄÏÍÁÛÎÅÊ ÓÔÒÁÎÉÃÙ Christian Marillat</ulink>,
|
||
Mandrake RPM'ÎÉËÉ Ó <ulink url="http://plf.zarb.org">P.L.F</ulink> É RedHat RPM'ÎÉËÉ
|
||
Ó <ulink url="http://greysector.rangers.eu.org/">Grey Sector[óÅÒÙÊ óÅËÔÏÒ]</ulink>.
|
||
</para>
|
||
</sect3>
|
||
|
||
</sect2>
|
||
|
||
<!-- ********** -->
|
||
|
||
<sect2 id="codec-importing">
|
||
<title>ëáë ÉÚ×ÌÅÞØ ËÏÄÅË ÉÚ Win32</title>
|
||
|
||
<!-- TODO: a short paragraph of text would be nice here... -->
|
||
|
||
<sect3 id="vfw-codecs">
|
||
<title>VFW ËÏÄÅËÉ</title>
|
||
|
||
<para>
|
||
VFW (Video for Windows[÷ÉÄÅÏ ÄÌÑ Windows]) - ÜÔÏ ÓÔÁÒÙÅ ÷ÉÄÅÏ API ÄÌÑ Windows.
|
||
õ ÜÔÉÈ ËÏÄÅËÏ× ÒÁÓÛÉÒÅÎÉÑ <filename>.DLL</filename> ÉÌÉ (ÒÅÖÅ) <filename>.DRV
|
||
</filename>. åÓÌÉ <application>MPlayer</application> ÎÅ ÍÏÖÅÔ ÐÒÏÉÇÒÙ×ÁÔØ ÷ÁÛ
|
||
AVI Ó ÔÁËÏÇÏ ÒÏÄÁ ÓÏÏÂÝÅÎÉÅÍ:
|
||
<screen>UNKNOWN video codec: HFYU (0x55594648)</screen>
|
||
</para>
|
||
|
||
<para>
|
||
üÔÏ ÚÎÁÞÉÔ, ÞÔÏ ÷ÁÛ AVI ÚÁËÏÄÉÒÏ×ÁÎ ËÏÄÅËÏÍ Ó fourcc[ËÏÄÏÍ ÉÚ 4 ÓÉÍ×ÏÌÏ×] HFYU
|
||
(HFYU = HuffYUV ËÏÄÅË, DIV3 = DivX Low Motion, É Ô. Ð.). ôÅÐÅÒØ, ËÏÇÄÁ ÷Ù ÜÔÏ
|
||
ÚÎÁÅÔÅ, ÷Ù ÄÏÌÖÎÙ ÎÁÊÔÉ DLL, ËÏÔÏÒÕÀ Windows ÚÁÇÒÕÖÁÅÔ ÄÌÑ ÐÒÏÉÇÒÙ×ÁÎÉÑ ÜÔÏÇÏ
|
||
ÆÁÊÌÁ. ÷ ÎÁÛÅÍ ÓÌÕÞÁÅ, × ÆÁÊÌÅ <filename>system.ini</filename> ÅÓÔØ ÜÔÁ
|
||
ÉÎÆÏÒÍÁÃÉÑ, × ÜÔÏÊ ÓÔÒÏËÅ:
|
||
<programlisting>VIDC.HFYU=huffyuv.dll</programlisting>
|
||
</para>
|
||
|
||
<para>
|
||
úÎÁÞÉÔ, ÷ÁÍ ÎÕÖÅÎ ÆÁÊÌ <filename>huffyuv.dll</filename>. úÁÍÅÔØÔÅ, ÞÔÏ ÁÕÄÉÏ
|
||
ËÏÄÅËÉ ÉÓÐÏÌØÚÕÀÔ ÐÒÅÆÉËÓ MSACM:
|
||
<programlisting>msacm.l3acm=L3codeca.acm</programlisting>
|
||
</para>
|
||
|
||
<para>
|
||
üÔÏ MP3 ËÏÄÅË. ôÅÐÅÒØ Õ ÷ÁÓ ÅÓÔØ ×ÓÑ ÎÅÏÂÈÏÄÉÍÁÑ ÉÎÆÏÒÍÁÃÉÑ (fourcc, ÆÁÊÌ Ó
|
||
ËÏÄÅËÏÍ, ÐÒÉÍÅÒ AVI), ÐÒÅÄÓÔÁ×ØÔÅ ÎÁ ÒÁÓÓÍÏÔÒÅÎÉÅ ÚÁÐÒÏÓ Ï ÐÏÄÄÅÒÖËÅ ÷ÁÛÅÇÏ
|
||
ËÏÄÅËÁ ÐÏ ÐÏÞÔÅ É ÚÁÇÒÕÚÉÔÅ ÜÔÉ ÆÁÊÌÙ ÎÁ FTP ÓÁÊÔ:
|
||
<systemitem role="url">
|
||
ftp://ftp.mplayerhq.hu/MPlayer/incoming/[codecname]/
|
||
</systemitem>
|
||
</para>
|
||
|
||
<note><para>ðÏÄ Windows NT/2000/XP ÉÝÉÔÅ ÜÔÕ ÉÎÆÏÒÍÁÃÉÀ × ÒÅÅÓÔÒÅ, ÎÁÐÒÉÍÅÒ,
|
||
ÉÝÉÔÅ "VIDC.HFYU". þÔÏÂÙ ÕÚÎÁÔØ, ËÁË ÜÔÏ ÄÅÌÁÔØ, ÓÍ. ÎÉÖÅ ÓÔÁÒÙÊ
|
||
DirectShow ÍÅÔÏÄ.
|
||
</para></note>
|
||
</sect3>
|
||
|
||
|
||
<sect3 id="dshow-codecs">
|
||
<title>DirectShow ËÏÄÅËÉ</title>
|
||
|
||
<para>
|
||
DirectShow - ÜÔÏ ÂÏÌÅÅ ÎÏ×ÙÊ Video API, ËÏÔÏÒÙÅ ÄÁÖÅ ÈÕÖÅ, ÞÅÍ ÅÇÏ ÐÒÅÄÛÅÓÔ×ÅÎÎÉË.
|
||
÷ÓÅ ÓÌÏÖÎÅÅ Ó DirectShow, ÐÏÓËÏÌØËÕ
|
||
<itemizedlist>
|
||
<listitem><simpara>
|
||
<filename>system.ini</filename> ÎÅ ÓÏÄÅÒÖÉÔ ÎÅÏÂÈÏÄÉÍÕÀ ÉÎÆÏÒÍÁÃÉÀ, ×ÍÅÓÔÏ
|
||
ÜÔÏÇÏ ÏÎÁ ÈÒÁÎÉÔÓÑ × ÒÅÅÓÔÒÅ É
|
||
</simpara></listitem>
|
||
<listitem><simpara>
|
||
ÎÁÍ ÎÕÖÅÎ GUID ÜÔÏÇÏ ËÏÄÅËÁ.
|
||
</simpara></listitem>
|
||
</itemizedlist>
|
||
</para>
|
||
|
||
<procedure>
|
||
<title>îÏ×ÙÊ íÅÔÏÄ:</title>
|
||
<para>
|
||
éÓÐÏÌØÚÕÑ <application>Microsoft GraphEdit</application> (ÂÙÓÔÒÏ)
|
||
</para>
|
||
<step><para>
|
||
ðÏÌÕÞÉÔÅ <application>GraphEdit</application> ÉÌÉ ÉÚ DirectX SDK ÉÌÉ
|
||
<ulink url="http://doom9.net">doom9</ulink>
|
||
</para></step>
|
||
<step><para>
|
||
úÁÐÕÓÔÉÔÅ <command>graphedit.exe</command>.
|
||
</para></step>
|
||
<step><para>
|
||
÷ ÍÅÎÀ ×ÙÂÅÒÉÔÅ Graph -> Insert Filters.
|
||
</para></step>
|
||
<step><para>
|
||
ý£ÌËÎÉÔÅ <systemitem>DirectShow Filters</systemitem>
|
||
</para></step>
|
||
<step><para>
|
||
÷ÙÂÅÒÉÔÅ ÎÕÖÎÏÅ ÉÍÑ ËÏÄÅËÁ É Ý£ÌËÎÉÔÅ ÐÏ ÎÅÍÕ.
|
||
</para></step>
|
||
<step><para>
|
||
÷ ÐÏÌÅ <systemitem>DisplayName</systemitem> ÏÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ ÎÁ ÔÅËÓÔ ×
|
||
ÆÉÇÕÒÎÙÈ ÓËÏÂËÁÈ ÐÏÓÌÅ ÏÂÒÁÔÎÏÇÏ ÓÌÜÛÁ É ×ÙÐÉÛÅÔÅ ÉÈ (ÐÑÔØ ÒÁÚÄÅÌ£ÎÎÙÈ
|
||
ÄÅÆÉÓÁÍÉ ÂÌÏËÏ×, GUID).
|
||
</para></step>
|
||
<step><para>
|
||
âÉÎÁÒÎÙÊ ÆÁÊÌ ËÏÄÅËÁ - ÜÔÏ ÆÁÊÌ, ÕËÁÚÁÎÎÙÊ × ÐÏÌÅ <systemitem>Filename</systemitem>.
|
||
</para></step>
|
||
</procedure>
|
||
|
||
<note>
|
||
<para>
|
||
åÓÌÉ ÔÁÍ ÎÅÔ <systemitem>Filename</systemitem> É
|
||
<systemitem>DisplayName</systemitem> ÓÏÄÅÒÖÉÔ ÞÔÏ-ÔÏ × ÄÕÈÅ
|
||
<systemitem>device:dmo</systemitem>, ÔÏ ÜÔÏ - DMO-ëÏÄÅË.
|
||
</para>
|
||
</note>
|
||
|
||
<procedure>
|
||
<title>óÔÁÒÙÊ ÍÅÔÏÄ:</title>
|
||
<para>
|
||
óÄÅÌÁÊÔÅ ÇÌÕÂÏËÉÊ ×ÄÏÈ É ÎÁÞÎÉÔÅ ÉÓËÁÔØ × ÒÅÇÉÓÔÒÅ...
|
||
</para>
|
||
<step><para>
|
||
úÁÐÕÓÔÉÔÅ <command>regedit</command>.
|
||
</para></step>
|
||
<step><para>
|
||
îÁÖÍÉÔÅ <keycap>Ctrl</keycap>+<keycap>F</keycap>, ÏÔËÌÀÞÉÔÅ ÐÅÒ×ÙÅ Ä×Å ÇÁÌÏÞËÉ
|
||
É ×ËÌÀÞÉÔÅ ÔÒÅÔØÀ. îÁÂÅÒÉÔÅ fourcc ÷ÁÛÅÇÏ ËÏÄÅËÁ (ÎÁÐÒÉÍÅÒ,
|
||
<userinput>TM20</userinput>).
|
||
</para></step>
|
||
<step><para>
|
||
÷Ù ÄÏÌÖÎÙ Õ×ÉÄÅÔØ ÐÏÌÅ, ÓÏÄÅÒÖÁÝÅÅ ÐÕÔØ É ÉÍÑ ÆÁÊÌÁ (ÎÁÐÒÉÍÅÒ,
|
||
<filename>C:\WINDOWS\SYSTEM\TM20DEC.AX</filename>).
|
||
</para></step>
|
||
<step><para>
|
||
ôÅÐÅÒØ, ËÏÇÄÁ Õ ÷ÁÓ ÅÓÔØ ÆÁÊÌ, ÎÁÍ ÎÕÖÅÎ GUID. ðÏÐÒÏÂÕÊÔÅ ÐÏÉÓËÁÔØ ÓÎÏ×Á,
|
||
ÎÏ ÔÅÐÅÒØ ÉÝÉÔÅ ÉÍÑ ËÏÄÅËÁ, Á ÎÅ fourcc. üÔÏ ÉÍÑ ÍÏÖÅÔ ÂÙÔØ ÐÏÌÕÞÅÎÏ,
|
||
ËÏÇÄÁ Media Player ÐÒÏÉÇÒÙ×ÁÅÔ ÆÁÊÌ, ÐÒÏ×ÅÒÉ×
|
||
<guimenu>File</guimenu> -> <guisubmenu>Properties</guisubmenu> ->
|
||
<guimenuitem>Advanced</guimenuitem>.
|
||
åÓÌÉ ÎÅÔ, ÷ÁÍ ÎÅ ÐÏ×ÅÚÌÏ. ðÏÐÒÏÂÕÊÔÅ ÕÇÁÄÁÔØ (ÎÁÐÒÉÍÅÒ, ÉÝÉÔÅ TrueMotion).
|
||
</para></step>
|
||
<step><para>
|
||
åÓÌÉ GUID ÎÁÊÄÅÎ, ÷Ù ÄÏÌÖÎÙ ×ÉÄÅÔØ ÐÏÌÑ <guilabel>FriendlyName</guilabel>
|
||
É <guilabel>CLSID</guilabel>. ÷ÙÐÉÛÉÔÅ 16-ÔÉ ÂÁÊÔÏ×ÙÊ CLSID, ÜÔÏ GUID, ËÏÔÏÒÙÊ
|
||
ÎÁÍ ÎÕÖÅÎ.
|
||
</para></step>
|
||
</procedure>
|
||
|
||
<note>
|
||
<para>
|
||
åÓÌÉ ÐÏÉÓË ÎÅ ÕÄÁ£ÔÓÑ, ÐÏÐÒÏÂÕÊÔÅ ×ËÌÀÞÉÔØ ×ÓÅ ÇÁÌÏÞËÉ. ÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ
|
||
ÌÏÖÎÙÅ ÚÎÁÞÅÎÉÑ, ÎÏ ÷ÁÍ ÍÏÖÅÔ ÐÏ×ÅÓÔÉ...
|
||
</para>
|
||
</note>
|
||
|
||
<para>
|
||
ôÅÐÅÒØ Õ ÷ÁÓ ÅÓÔØ ×ÓÑ ÎÅÏÂÈÏÄÉÍÁÑ ÉÎÆÏÒÍÁÃÉÑ (fourcc, GUID, ÆÁÊÌ Ó ËÏÄÅËÏÍ,
|
||
ÐÒÉÍÅÒ AVI), ÐÒÅÄÓÔÁ×ØÔÅ ÎÁ ÒÁÓÓÍÏÔÒÅÎÉÅ ÚÁÐÒÏÓ Ï ÐÏÄÄÅÒÖËÅ ÷ÁÛÅÇÏ ËÏÄÅËÁ ÐÏ
|
||
ÐÏÞÔÅ É ÚÁÇÒÕÚÉÔÅ ÜÔÉ ÆÁÊÌÙ ÎÁ FTP ÓÁÊÔ:
|
||
<systemitem
|
||
role="url">ftp://ftp.mplayerhq.hu/MPlayer/incoming/[codecname]/
|
||
</systemitem>
|
||
</para>
|
||
</sect3>
|
||
</sect2>
|
||
</sect1>
|