mpv/DOCS/xml/ru/codecs.xml

916 lines
32 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

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

<?xml version="1.0" encoding="koi8-r"?>
<!-- synced with r19687 -->
<chapter id="codecs">
<title>ðÏÄÄÅÒÖÉ×ÁÅÍÙÅ ËÏÄÅËÉ</title>
<sect1 id="video-codecs">
<title>÷ÉÄÅÏ ËÏÄÅËÉ</title>
<para>
<ulink url="../../codecs-status.html">ôÁÂÌÉÃÁ ÓÔÁÔÕÓÁ ËÏÄÅËÏ×</ulink> ÓÏÄÅÒÖÉÔ
ÐÏÌÎÙÊ, ÅÖÅÄÎÅ×ÎÏ ÏÂÎÏ×ÌÑÀÝÉÊÓÑ ÓÐÉÓÏË ×ÓÅÈ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ËÏÄÅËÏ×. îÅËÏÔÏÒÙÅ
ÂÉÎÁÒÎÙÅ ËÏÄÅËÉ, ËÏÔÏÒÙÅ ÍÏÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ × MPlayer, ÄÏÓÔÕÐÎÙ
× <ulink url="http://www.mplayerhq.hu/design7/dload.html#binary_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 5 (Pro), 3ivX, M$ MPEG-4</emphasis> v1, v2 É ÄÒÕÇÉÈ ×ÁÒÉÁÎÔÏ× MPEG-4.
</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 &amp; 2.0 </emphasis> ÉÚ
<systemitem class="library">libavcodec</systemitem>, É
<emphasis role="bold">RealVideo 3.0 &amp; 4.0</emphasis> ËÏÄÅËÉ, ÉÓÐÏÌØÚÕÑ
ÂÉÂÌÉÏÔÅËÉ RealPlayer
</simpara></listitem>
<listitem><simpara>
"ÒÏÄÎÏÊ" ÄÅËÏÄÅÒ ÄÌÑ HuffYUV
</simpara></listitem>
<listitem><simpara>
òÁÚÌÉÞÎÙÅ ÓÔÁÒÙÅ, ÐÒÏÓÔÙÅ, ÐÏÈÏÖÉÅ ÎÁ RLE ÆÏÒÍÁÔÙ
</simpara></listitem>
</itemizedlist>
<para>
åÓÌÉ Õ ÷ÁÓ ÅÓÔØ ÎÅ ÕÐÏÍÑÎÕÔÙÊ ÚÄÅÓØ Win32 ËÏÄÅË, ËÏÔÏÒÙÊ ÅÝ£ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ,
ÐÏÖÁÌÕÊÓÔÁ, ÐÒÏÞÔÉÔÅ <link linkend="codec-importing">ëÁË ÄÏÂÁ×ÉÔØ ËÏÄÅË</link>
É ÐÏÍÏÇÉÔÅ ÎÁÍ ÄÏÂÁ×ÉÔØ ÄÌÑ ÎÅÇÏ ÐÏÄÄÅÒÖËÕ.
</para>
<sect2 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>
îÁËÏÎÅÃ, ÐÏÓÌÅÄÎÉÊ ËÏÄÅË, ÚÁÓÌÕÖÉ×ÁÀÝÉÊ ×ÎÉÍÁÎÉÑ &mdash; ÜÔÏ
<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>'Á, ÔÁË É ÅÇÏ ×ÅÒÓÉÑ ÉÚ Subversion
ÓÏÄÅÒÖÁÔ <systemitem class="library">libavcodec</systemitem>. ðÏÜÔÏÍÕ ÎÅÔ ÎÁÄÏÂÎÏÓÔÉ
ÂÅÓÐÏËÏÉÔØÓÑ Ï ÅÅ ÏÔÄÅÌØÎÏÊ ÓÂÏÒËÅ. ðÒÏÓÔÏ ÚÁÐÕÓÔÉÔÅ
<filename>configure</filename> É ËÏÍÐÉÌÉÒÕÊÔÅ ËÁË ÏÂÙÞÎÏ.
</para>
<para>
ó FFmpeg É ÍÏÅÊ Matrox G400, Ñ ÄÁÖÅ ÍÏÇÕ ÓÍÏÔÒÅÔØ DivX ÆÉÌØÍÙ Ó ×ÙÓÏÞÁÊÛÉÍ
ÒÁÚÒÅÛÅÎÉÅÍ ÂÅÚ ÐÒÏÐÕÓËÁÅÍÙÈ ËÁÄÒÏ× ÎÁ ÍÏÅÍ K6-2 500.
</para>
</sect2>
<sect2 id="xanim">
<title>XAnim'Ï×ÓËÉÅ ËÏÄÅËÉ</title>
<note>
<para>
ïÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ, ÞÔÏ XAnim'Ï×ÓËÉÅ ÂÉÎÁÒÎÙÅ ËÏÄÅËÉ ÒÁÓÐÒÏÓÔÒÁÎÑÀÔÓÑ Ó ÎÅÂÏÌØÛÉÍ
ÔÅËÓÔÏÍ, ÕÔ×ÅÒÖÄÁÀÝÉÍ, ÞÔÏ ÜÔÏ ÌÉÃÅÎÚÉÑ É, ÐÏÍÉÍÏ ÐÒÏÞÉÈ ÚÁÐÒÅÔÏ×, ÚÁÐÒÅÝÁÀÝÉÍ
ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÜÔÉÈ ËÏÄÅËÏ× Ó ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÏÊ ËÒÏÍÅ <application>XAnim</application>.
ôÅÍ ÎÅ ÍÅÎÅÅ, Á×ÔÏÒ XAnim ÅÝÅ ÄÏÌÖÅÎ ×ÏÚÂÕÄÉÔØ ÓÕÄÅÂÎÙÊ ÉÓË ÐÒÏÔÉ× ËÏÇÏ-ÌÉÂÏ ÐÏ ÏÔÎÏÓÑÝÉÍÓÑ
Ë ËÏÄÅËÕ ×ÏÐÒÏÓÁÍ.
</para>
</note>
<formalpara>
<title>õóôáîï÷ëá é éóðïìøúï÷áîéå</title>
<para>
<application>MPlayer</application> ÓÐÏÓÏÂÅÎ ÉÓÐÏÌØÚÏ×ÁÔØ XAnim'Ï×ÓËÉÅ ËÏÄÅËÉ
ÄÌÑ ÄÅËÏÄÉÒÏ×ÁÎÉÑ. þÔÏÂÙ ×ËÌÀÞÉÔØ ÉÈ, ÓÌÅÄÕÊÔÅ ÉÎÓÔÒÕËÃÉÑÍ:
</para>
</formalpara>
<procedure>
<step><para>
óËÁÞÁÊÔÅ ËÏÄÅËÉ, ËÏÔÏÒÙÅ ÷Ù ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ, Ó
<ulink url="http://xanim.va.pubnix.com">ÓÁÊÔÁ XAnim</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>
</sect2>
<sect2 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>
</sect2>
<sect2 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>ÎÁÒÕÛÅÎÉÅ ÓÅÇÍÅÎÔÁÃÉÉ</systemitem>), É ÂÙÓÔÒÏ
ÒÅÉÎÉÃÉÁÌÉÚÉÒÕÑ ËÏÄÅË, ÐÒÏÄÏÌÖÁÑ ÔÏÞÎÏ Ó ÍÅÓÔÁ ÏÛÉÂËÉ. ôÁËÁÑ ÔÅÈÎÏÌÏÇÉÑ
×ÏÓÓÔÁÎÏ×ÌÅÎÉÑ ÎÅ ÉÍÅÅÔ ÚÎÁÞÉÍÙÈ ×ÒÅÍÅÎÎÙÈ ÚÁÄÅÒÖÅË.
</para>
</sect2>
<sect2 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>
</sect2>
<sect2 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>
<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>
</sect2>
<sect2 id="xvid">
<title>XviD</title>
<para>
<ulink url="http://www.xvid.org">XviD</ulink> Ó×ÏÂÏÄÎÙÊ, MPEG-4 ASP ÓÏ×ÍÅÓÔÉÍÙÊ
×ÉÄÅÏ ËÏÄÅË, ÏÓÏÂÅÎÎÏÓÔÑÍÉ ËÏÔÏÒÏÇÏ Ñ×ÌÑÀÔÓÑ Ä×ÕÈÐÒÏÈÏÄÎÏÅ ËÏÄÉÒÏ×ÁÎÉÅ É
ÐÏÌÎÁÑ ÐÏÄÄÅÒÖËÁ MPEG-4 ASP, ÄÅÌÁÀÝÁÑ ÅÇÏ ÎÁÍÎÏÇÏ ÂÏÌÅÅ ÜÅÆÆÅËÔÉ×ÎÙÍ, ÞÅÍ
ÈÏÒÏÛÏ ÉÚ×ÅÓÔÎÙÊ DivX. ïÎ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ×ÉÄÅÏ ÏÔÍÅÎÎÏÇÏ ËÁÞÅÓÔ×Á É ÈÏÒÏÛÕÀ
ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ, × ÓÉÌÕ ÏÐÔÉÍÉÚÁÃÉÊ ÐÏÄ ÂÏÌØÛÉÎÓÔ×Ï ÓÏ×ÒÅÍÅÎÎÙÈ ÐÒÏÃÅÓÓÏÒÏ×.
</para>
<para>
ïÎ ÎÁÞÁÌÓÑ ËÁË ÏÔ×ÅÔ×ÌÅÎÉÅ OpenDivX ËÏÄÅËÁ. üÔÏ ÐÒÏÉÚÏÛÌÏ, ËÏÇÄÁ ProjectMayo
ÓÄÅÌÁÌ ÉÓÈÏÄÎÙÊ ËÏÄ OpenDivX
ÚÁËÒÙÔÙÍ (DivX4, ÔÅÐÅÒØ DivX5), É ÒÁÚÒÁÂÏÔÞÉËÉ OpenDivX ÎÅ ÉÚ ProjectMayo
ÒÁÚÏÚÌÉÌÉÓØ, É ×ÚÑÌÉÓØ ÚÁ XviD. ðÏÜÔÏÍÕ Õ ÏÂÏÉÈ ÐÒÏÅËÔÏ× ÏÂÝÉÅ ËÏÒÎÉ.
</para>
<procedure>
<title>õÓÔÁÎÏ×ËÁ <systemitem class="library">XviD</systemitem></title>
<para>
ëÁË É ÂÏÌØÛÉÎÓÔ×Ï ðï Ó ÏÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ, ÏÎ ÄÏÓÔÕÐÅÎ ËÁË × ×ÉÄÅ
<ulink url="http://www.xvid.org/downloads.html">ÏÆÉÃÉÁÌØÎÙÈ ÒÅÌÉÚÏ×</ulink>,
ÔÁË É × ×ÉÄÅ CVS ×ÅÒÓÉÉ.
ëÁË ÐÒÁ×ÉÌÏ, CVS ×ÅÒÓÉÑ ÄÏÓÔÁÔÏÞÎÏ ÓÔÁÂÉÌØÎÁ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ, Ô.Ë. × ÂÏÌØÛÉÎÓÔ×Å
ÓÌÕÞÁÅ× ÅÅ ÏÓÏÂÅÎÎÏÓÔØÀ Ñ×ÌÑÅÔÓÑ ÏÔÓÕÔÓÔ×ÉÅ ÏÛÉÂÏË, ÐÒÉÓÕÔÓÔ×ÕÀÝÉÈ × ÒÅÌÉÚÁÈ.
äÁÌÅÅ ÏÐÉÓÙ×ÁÅÔÓÑ ËÁË ÚÁÓÔÁ×ÉÔØ ÒÁÂÏÔÁÔØ
<systemitem class="library">XviD</systemitem> CVS Ó <application>MEncoder</application>'ÏÍ
(ÎÅÏÂÈÏÄÉÍÙ, ËÁË ÍÉÎÉÍÕÍ,
<application>autoconf</application> 2.50,
<application>automake</application> É <application>libtool</application>):
</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>
÷ÁÍ ÍÏÖÅÔ ÐÏÔÒÅÂÏ×ÁÔØÓÑ ÄÏÂÁ×ÉÔØ ÎÅËÏÔÏÒÙÅ ÏÐÃÉÉ (ÐÏÓÍÏÔÒÉÔÅ ×Ù×ÏÄ
<command>./configure --help</command>).
</para></step>
<step><para>
<screen>make &amp;&amp; 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>
</sect2>
<sect2 id="sorenson">
<title>Sorenson</title>
<para>
Sorenson - ÜÔÏ ×ÉÄÅÏ ËÏÄÅË, ÒÁÚÒÁÂÏÔÁÎÎÙÊ × Sorenson Media É ÌÉÃÅÎÚÉÒÏ×ÁÎÎÙÊ
Apple, ËÏÔÏÒÙÅ ÒÁÓÐÒÏÓÔÒÁÎÑÀÔ ÅÇÏ Ó <application>QuickTime Player</application>.
÷ ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÍÙ ÓÐÏÓÏÂÎÙ ÄÅËÏÄÉÒÏ×ÁÔØ ×ÓÅ ×ÅÒÓÉÉ Sorenson ×ÉÄÅÏ ÆÁÊÌÏ×
ÓÌÅÄÕÀÝÉÍÉ ÄÅËÏÄÅÒÁÍÉ:
</para>
<itemizedlist>
<listitem><simpara>
Sorenson Video v1 (fourcc <emphasis>SVQ1</emphasis>) - ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ
<emphasis role="bold">ÒÏÄÎÙÍ ËÏÄÅËÏÍ</emphasis>
(<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>)
</simpara></listitem>
<listitem><simpara>
Sorenson Video v3 (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>'Ï×ÓËÉÊ Subversion</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>
</sect2>
<sect2 id="codec-x264">
<title>x264</title>
<sect3 id="codec-x264-whatis">
<title>þÔÏ ÔÁËÏÅ x264?</title>
<para>
<systemitem class="library">x264</systemitem> - ÜÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÓÏÚÄÁÎÉÑ
×ÉÄÅÏÐÏÔÏËÏ× H.264. ïÎÁ ÎÅ ÚÁ×ÅÒÛÅÎÁ ÎÁ 100%, ÎÏ, ÐÏ ËÒÁÊÎÅÊ ÍÅÒÅ, ÉÍÅÅÔ
ÐÏÄÄÅÒÖËÕ ÂÏÌØÛÉÎÓÔ×Á ×ÏÚÍÏÖÎÏÓÔÅÊ H.264, ×ÌÉÑÀÝÉÈ ÎÁ ËÁÞÅÓÔ×Ï.
÷ ÓÐÅÃÉÆÉËÁÃÉÉ H.264 ÐÒÉÓÕÔÓÔ×ÕÅÔ ÍÎÏÖÅÓÔ×Ï ÄÏÐÏÌÎÉÔÅÌØÎÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ,
ËÏÔÏÒÙÅ ÓÁÍÉ ÐÏ ÓÅÂÅ ÎÉËÁË ÎÅ ×ÌÉÑÀÔ ÎÁ ËÁÞÅÓÔ×Ï ×ÉÄÅÏ É ÄÏ ÓÉÈ ×
<systemitem class="library">x264</systemitem> ÎÅ ÒÅÁÌÉÚÏ×ÁÎÙ.
</para>
<itemizedlist>
<title>×ÏÚÍÏÖÎÏÓÔÉ ËÏÄÅÒÁ</title>
<listitem><para>CAVLC/CABAC (ëÏÎÔÅËÓÔÎÏÚÁ×ÉÓÉÍÏÅ ÁÄÁÐÔÉ×ÎÏÅ ÂÉÎÁÒÎÏÅ ÁÒÉÆÍÅÔÉÞÅÓËÏÅ
ËÏÄÉÒÏ×ÁÎÉÅ / ëÏÎÔÅÓÔÎÏÚÁ×ÉÓÉÍÏÅ ÁÄÁÐÔÉ×ÎÏÅ ËÏÄÉÒÏ×ÁÎÉÅ Ó ÐÅÒÅÍÅÎÎÏÊ ÄÌÉÎÏÊ)</para></listitem>
<listitem><para>ëÁÄÒÙ Ó ÎÅÓËÏÌØËÉÍÉ ÓÓÙÌËÁÍÉ</para></listitem>
<listitem><para>âÁÚÏ×ÙÅ (I-) ËÁÄÒÙ: ×ÓÅ ÔÉÐÙ ÍÁËÒÏÂÌÏËÏ× (16x16, 8x8 É 4x4 ÓÏ ×ÓÅÍÉ
×ÉÄÁÍÉ ÐÒÅÄÓËÁÚÁÎÉÑ)</para></listitem>
<listitem><para>ðÒÅÄÓËÁÚÕÅÍÙÅ (P-) ËÁÄÒÙ: ×ÓÅ ÄÒÏÂÌÅÎÉÑ (ÏÔ 16x16 ÄÏ 4x4)</para></listitem>
<listitem><para>ä×ÕÎÁÐÒÁ×ÌÅÎÎÙÅ (B-) ËÁÄÒÙ: ÄÒÏÂÌÅÎÉÑ ÏÔ 16x16 ÄÏ 8x8
(×ËÌÀÞÁÑ SKIP/DIRECT)</para></listitem>
<listitem><para>õÐÒÁ×ÌÅÎÉÅ ÐÏÔÏËÏÍ: ÐÏÓÔÏÑÎÎÙÊ Ë×ÁÎÔÏ×ÁÔÅÌØ, ÐÏÓÔÏÑÎÎÙÊ ÂÉÔÐÏÔÏË,
ÏÄÉÎÁÒÎÙÊ ÉÌÉ ÍÎÏÇÏÐÒÏÈÏÄÎÙÊ ABR, ÏÐÃÉÏÎÁÌØÎÙÊ VBV</para></listitem>
<listitem><para>ïÂÎÁÒÕÖÅÎÉÅ ÕÓÅÞÅÎÉÑ ÉÚÏÂÒÁÖÅÎÉÑ</para></listitem>
<listitem><para>áÄÁÐÔÉ×ÎÏÅ ÒÁÓÐÏÌÏÖÅÎÉÅ B-ËÁÄÒÏ×</para></listitem>
<listitem><para>B-ËÁÄÒÙ ËÁË ÓÓÙÌËÉ ÉÌÉ × ÐÒÏÉÚ×ÏÌØÎÏÍ ÒÁÓÐÏÌÏÖÅÎÉÉ ËÁÄÒÏ×</para></listitem>
<listitem><para>áÄÁÐÔÉ×ÎÙÅ ÐÒÏÓÔÒÁÎÓÔ×ÅÎÎÙÅ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÑ 8x8 É 4x4</para></listitem>
<listitem><para>òÅÖÉÍ ËÏÄÉÒÏ×ÁÎÉÑ ÂÅÚ ÐÏÔÅÒØ</para></listitem>
<listitem><para>÷ÏÚÍÏÖÎÏÓÔØ ÚÁÄÁÎÉÑ ÐÏÌØÚÏ×ÁÔÅÌØÓËÉÈ ÍÁÔÒÉà Ë×ÁÎÔÏ×ÁÎÉÑ</para></listitem>
<listitem><para>ðÁÒÁÌÌÅÌØÎÏÅ ËÏÄÉÒÏ×ÁÎÉÅ ÒÁÚÎÙÈ ÂÌÏËÏ×</para></listitem>
</itemizedlist>
</sect3>
<sect3 id="codec-h264-whatis">
<title>þÔÏ ÔÁËÏÅ H.264?</title>
<para>
H.264 - ÜÔÏ ÏÄÎÏ ÉÚ ÎÁÚ×ÁÎÉÊ ÎÏ×ÏÇÏ ÃÉÆÒÏ×ÏÇÏ ËÏÄÅËÁ, ÓÏ×ÍÅÓÔÎÏ
ÒÁÚÒÁÂÁÔÙ×ÁÅÍÏÇÏ ITU É MPEG. îÁÚ×ÁÎÉÑ "ISO/IEC 14496-10" ÉÌÉ
"MPEG-4 Part 10" ÔÏÖÅ Ñ×ÌÑÀÔÓÑ ËÏÒÒÅËÔÎÙÍÉ, ÎÏ ÞÁÝÅ ÅÇÏ
ÎÁÚÙ×ÁÀÔ "MPEG-4 AVC" ÉÌÉ ÐÒÏÓÔÏ "AVC".
</para>
<para>
ëÁË ÅÇÏ ÎÉ ÎÁÚÙ×ÁÊ, ÎÏ H.264 ÓÔÏÉÔ ÐÏÐÒÏÂÏ×ÁÔØ, ÐÏÓËÏÌØËÕ ÏÎ
ÄÁÅÔ ÔÏ ÖÅ ËÁÞÅÓÔ×Ï, ÞÔÏ É MPEG-4 ASP, ÎÏ ÐÒÉ ÂÉÔÒÅÊÔÅ ÍÅÎØÛÅÍ
ÎÁ 5%-30%. ëÏÎËÒÅÔÎÙÊ ÒÅÚÕÌØÔÁÔ ÚÁ×ÉÓÉÔ ËÁË ÏÔ ÉÓÈÏÄÎÏÇÏ
ÍÁÔÅÒÉÁÌÁ, ÔÁË É ÏÔ ËÏÄÉÒÏ×ÝÉËÁ. ÷ÙÉÇÒÙÛ ÎÅ ÄÁÅÔÓÑ ÐÒÏÓÔÏ ÔÁË:
ÄÅËÏÄÉÒÏ×ÁÎÉÅ ÐÏÔÏËÁ H.264, ÐÏÈÏÖÅ, ÉÍÅÅÔ ÓÕÝÅÓÔ×ÅÎÎÏ ÐÏ×ÙÛÅÎÎÙÅ ÔÒÅÂÏ×ÁÎÉÑ
Ë CPU É ÐÁÍÑÔÉ. ÷ ÞÁÓÔÎÏÓÔÉ, ÎÁ 1733 MHz Athlon ÄÅËÏÄÉÒÏ×ÁÎÉÅ
H.264 ÐÏÔÏËÁ × 1500ËÂÉÔ/Ó Ó DVD-ÒÁÚÒÅÛÅÎÉÅÍ ÉÓÐÏÌØÚÕÅÔ ÏËÏÌÏ 35% CPU.
äÌÑ ÓÒÁ×ÎÅÎÉÑ, ÄÅËÏÄÉÒÏ×ÁÎÉÅ 1500ËÂÉÔ/Ó ÐÏÔÏËÁ MPEG4-ASP Ó
DVD-ÒÁÚÒÅÛÅÎÉÅÍ ÔÒÅÂÕÅÔ ÏËÏÌÏ 10% CPU. üÔÏ ÏÚÎÁÞÁÅÔ, ÞÔÏ ÄÌÑ
ÂÏÌØÛÉÎÓÔ×Á ÐÏÌØÚÏ×ÁÔÅÌÅÊ ÐÒÁËÔÉÞÅÓËÉ ÎÅ ÍÏÖÅÔ ÂÙÔØ É ÒÅÞÉ Ï ÄÅËÏÄÉÒÏ×ÁÎÉÉ
ÐÏÔÏËÏ× ×ÙÓÏËÏÇÏ ÒÁÚÒÅÛÅÎÉÑ.
ôÁËÖÅ ÜÔÏ ÚÎÁÞÉÔ, ÞÔÏ ÄÁÖÅ ÓËÒÏÍÎÙÊ DVD ÒÉÐ ÍÏÖÅÔ ×ÒÅÍÑ ÏÔ ×ÒÅÍÅÎÉ
ÚÁÉËÁÔØÓÑ ÎÁ ÐÒÏÃÅÓÓÏÒÁÈ ÓÌÁÂÅÅ 2.0 GHz ÉÌÉ ÏËÏÌÏ ÔÏÇÏ.
</para>
<para>
ðÏ ËÒÁÊÎÅÊ ÍÅÒÅ, Ó <systemitem class="library">x264</systemitem>
ÔÒÅÂÏ×ÁÎÉÑ ÄÌÑ ËÏÄÉÒÏ×ÁÎÉÑ ÎÅ ÓÌÉÛËÏÍ ×ÅÌÉËÉ ÐÏ ÓÒÁ×ÎÅÎÉÀ Ó MPEG4-ASP.
÷ ÞÁÓÔÎÏÓÔÉ, ÎÁ 1733 MHz Athlon ËÏÄÉÒÏ×ÁÎÉÅ ÏÂÉÞÎÏÇÏ DVD ÂÕÄÅÔ ÉÄÔÉ ÓÏ
ÓËÏÒÏÓÔØÀ 5-15 fps.
</para>
<para>
ïÂßÑÓÎÑÔØ ×ÓÅ ÔÏÎËÏÓÔÉ H.264 ÎÅ Ñ×ÌÑÅÔÓÑ ÃÅÌØÀ ÜÔÏÇÏ ÄÏËÕÍÅÎÔÁ, ÎÏ ÅÓÌÉ
×ÁÓ ÉÎÔÅÒÅÓÕÅÔ ËÒÁÔËÉÊ ÏÂÚÏÒ, ×Ù ÍÏÖÅÔÅ ÐÒÏÞÅÓÔØ
<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>
</sect3>
<sect3 id="codec-x264-playback">
<title>ëÁË ÍÎÅ ÐÏÓÍÏÔÒÅÔØ H.264 ÐÒÉ ÐÏÍÏÝÉ <application>MPlayer</application>?</title>
<para>
<application>MPlayer</application> ÉÓÐÏÌØÚÕÅÔ H.264 ÄÅËÏÄÅÒ ÂÉÂÌÉÏÔÅËÉ
<systemitem class="library">libavcodec</systemitem>.
<systemitem class="library">libavcodec</systemitem> ÐÏÌÕÞÉÌÁ ÍÁÌÏ-ÍÁÌØÓËÉ
ÐÒÉÇÏÄÎÕÀ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ×ÏÚÍÏÖÎÏÓÔØ ÄÅËÏÄÉÒÏ×ÁÎÉÑ H.264 ÇÄÅ-ÔÏ × ÉÀÌÅ 2004,
ÏÄÎÁËÏ, Ó ÔÏÇÏ ×ÒÅÍÅÎÉ ÂÙÌÏ ×ÎÅÓÅÎÏ ÍÏÖÅÓÔ×Ï ÓÅÒßÅÚÎÙÈ ÉÚÍÅÎÅÎÉÊ É ÕÌÕÞÛÅÎÉÊ,
ËÁË Ó ÔÏÞËÉ ÚÒÅÎÉÑ ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ÆÕÎËÃÉÏÎÁÌØÎÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ, ÔÁË É ÕÌÕÞÛÅÎÎÏÇÏ
ÉÓÐÏÌØÚÏ×ÁÎÉÑ CPU.
äÌÑ ÏÐÒÅÄÅÌÅÎÎÏÓÔÉ: ÉÓÐÏÌØÚÏ×ÁÎÉÅ Ó×ÅÖÅÊ ×ÅÒÓÉÉ Subversion - ×ÓÅÇÄÁ ÈÏÒÏÛÁÑ ÉÄÅÑ.
</para>
<para>
åÓÌÉ ÎÕÖÅÎ ÂÙÓÔÒÙÊ É ÐÒÏÓÔÏÊ ÓÐÏÓÏ ÕÚÎÁÔØ ËÁËÉÅ Ó×ÅÖÉÅ ÉÚÍÅÎÅÎÉÑ, ÏÔÎÏÓÑÝÉÅÓÑ Ë H.264,
ÂÙÌÉ ÓÄÅÌÁÎÙ × <systemitem class="library">libavcodec</systemitem>, ÷ÁÍ ÓÌÅÄÕÅÔ
ÉÍÅÔØ ××ÉÄÕ
<ulink url="http://mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/h264.c?cvsroot=FFMpeg">÷ÅÂ-ÉÎÔÅÒÆÅÊÓ Ë ÒÅÐÏÚÉÔÏÒÉÀ FFmpeg Subversion</ulink>.
</para>
</sect3>
<sect3 id="codec-x264-encode">
<title>ëÁË ËÏÄÉÒÏ×ÁÔØ ×ÉÄÅÏ, ÉÓÐÏÌØÚÕÑ <application>MEncoder</application> É <systemitem class="library">x264</systemitem>?</title>
<para>
åÓÌÉ Õ ×ÁÓ ÕÓÔÁÎÏ×ÌÅÎ ËÌÉÅÎÔ subversion, ÐÏÓÌÅÄÎÀÀ ×ÅÒÓÉÀ x264
ÍÏÖÎÏ ÚÁÇÒÕÚÉÔØ ÓÌÅÄÕÀÝÅÊ ËÏÍÁÎÄÏÊ:
<screen>
svn co svn://svn.videolan.org/x264/trunk x264<!--
--></screen>
éÓÈÏÄÎÙÊ ËÏÄ <application>MPlayer</application> ÏÂÎÏ×ÌÑÅÔÓÑ
×ÓÑËÉÊ ÒÁÚ ÐÒÉ ÉÚÍÅÎÅÎÉÉ API <systemitem class="library">x264</systemitem>,
ÔÁË ÞÔÏ ÐÒÅÄÌÁÇÁÅÔÓÑ ÉÓÐÏÌØÚÏ×ÁÔØ Subversion ×ÅÒÓÉÀ
<application>MPlayer</application>'Á.
×ÏÚÍÏÖÎÏ, ÓÉÔÕÁÃÉÑ ÉÚÍÅÎÉÔÓÑ Ó ×ÙÈÏÄÏÍ "ÒÅÌÉÚÁ"
<systemitem class="library">x264</systemitem> (ÅÓÌÉ ÏÎ ÂÕÄÅÔ).
÷ ÄÁÎÎÙÊ ÍÏÍÅÎÔ <systemitem class="library">x264</systemitem> ÓÌÅÄÕÅÔ
ÒÁÓÓÍÁÔÒÉ×ÁÔØ ËÁË ÏÞÅÎØ ÎÅÓÔÁÂÉÌØÎÙÊ, × Ó×ÅÔÅ ÐÏÓÔÏÑÎÎÏÇÏ ÉÚÍÅÎÅÎÉÑ
ÉÎÔÅÒÆÅÊÓÁ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ.
</para>
<para>
<systemitem class="library">x264</systemitem> ÓÏÂÉÒÁÅÔÓÑ É ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÓÑ
ËÁË ÏÂÙÞÎÏ:
<screen>
./configure &amp;&amp; make &amp;&amp; sudo make install
</screen>
üÔÏ ÕÓÔÁÎÏ×ÉÔ libx264.a × /usr/local/lib, Á x264.h - × /usr/local/include.
óÂÏÒËÁ <application>MPlayer</application> ÐÒÉ ÕÓÔÁÎÏ×ÌÅÎÎÙÈ × ÓÔÁÎÄÁÒÔÎÙÅ
ËÁÔÁÌÏÇÉ ÂÉÂÌÉÏÔÅËÅ É ÚÁÇÏÌÏ×ÏÞÎÏÍ ÆÁÊÌÅ <systemitem class="library">x264</systemitem>
ÏÞÅÎØ ÐÒÏÓÔÁ.
ðÒÏÓÔÏ ÚÁÐÕÓÔÉÔÅ ÓÔÁÎÁÒÔÎÏÅ:
<screen>./configure &amp;&amp; make &amp;&amp; sudo make install</screen>
óËÒÉÐÔ configure ÓÁÍ ÏÐÒÅÄÅÌÉÔ, ×ÙÐÏÌÎÅÎÙ ÌÉ ÎÅÏÂÈÏÄÉÍÙÅ ÔÒÅÂÏ×ÁÎÉÑ ÄÌÑ
<systemitem class="library">x264</systemitem>.
</para>
</sect3>
</sect2>
</sect1>
<!-- ********** -->
<sect1 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 (ÏÎÉ ÖÅ 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>
<listitem><simpara>
Adaptive Multi-Rate (AMR) ÒÅÞÅ×ÙÅ ËÏÄÅËÉ
</simpara></listitem>
</itemizedlist>
<sect2 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 ËÁÎÁÌÏ× (ìÅ×ÙÊ ðÅÒÅÄÎÉÊ, ðÒÁ×ÙÊ ðÅÒÅÄÎÉÊ, ìÅ×ÙÊ úÁÄÎÉÊ É
ðÒÁ×ÙÊ úÁÄÎÉÊ ×Ù×ÏÄÙ),
ÉÓÐÏÌØÚÕÊÔÅ <option>-channels 4</option>. ÷ ÜÔÏÍ ÓÌÕÞÁÅ ×ÓÅ ÃÅÎÔÒÁÌØÎÙÅ ËÁÎÁÌÙ
ÂÕÄÕÔ ÒÁ×ÎÏÍÅÒÎÏ ÓÍÉËÛÉÒÏ×ÁÎÙ ÄÏ ÕÒÏ×ÎÑ ÐÅÒÅÄÎÉÈ ËÁÎÁÌÏ×. <option>-channels 6</option> ÂÕÄÅÔ
×Ù×ÏÄÉÔØ ×ÓÅ AC3 ËÁÎÁÌÙ ÔÁË, ËÁË ÏÎÉ ÚÁËÏÄÉÒÏ×ÁÎÙ - ÐÏ ÐÏÒÑÄËÕ:
ìÅ×ÙÊ, ðÒÁ×ÙÊ, ìÅ×ÙÊ úÁÄÎÉÊ, ðÒÁ×ÙÊ úÁÄÎÉÊ, ãÅÎÔÒÁÌØÎÙÊ É óÁÂ×ÕÆÅÒ.
</para>
<para>
ëÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ× ÐÏ ÕÍÏÌÞÁÎÉÀ - 2.
</para>
<para>
þÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ ÂÏÌÅÅ 2 ËÁÎÁÌÏ×, ÷ÁÍ ÎÕÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ OSS, É ÏÂÌÁÄÁÔØ
ËÁÒÔÏÞËÏÊ, ÐÏÄÄÅÒÖÉ×ÁÀÝÅÊ ÎÅÏÂÈÏÄÉÍÏÅ ËÏÌÉÞÅÓÔ×Ï ËÁÎÁÌÏ× ÞÅÒÅÚ ioctl
SNDCTL_DSP_CHANNELS. ðÒÉÍÅÒÏÍ ÐÏÄÈÏÄÑÝÅÇÏ ÄÒÁÊ×ÅÒÁ Ñ×ÌÑÅÔÓÑ emu10k1
(ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ Soundblaster Live! ËÁÒÔÏÞÅË) Á×ÇÕÓÔÁ 2001'ÇÏ ÉÌÉ ÎÏ×ÅÅ
(ALSA CVS ÔÏÖÅ ÄÏÌÖÅÎ ÒÁÂÏÔÁÔØ).
</para>
</sect2>
<sect2 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>
</sect2>
<sect2 id="libmad">
<title>ðÏÄÄÅÒÖËÁ libmad</title>
<para>
<ulink url="http://mad.sourceforge.net">libmad</ulink> - ÜÔÏ ÍÎÏÇÏÐÌÁÔÆÏÒÍÅÎÎÁÑ,
ÃÅÌÏÞÉÓÌÅÎÎÁÑ (×ÎÕÔÒÅÎÎÅ 24'ÂÉÔÎÙÊ PCM)
ÂÉÂÌÉÏÔÅËÁ ÄÅËÏÄÉÒÏ×ÁÎÉÑ MPEG ÁÕÄÉÏ. ïÎÁ ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ ÏÂÒÁÂÁÔÙ×ÁÅÔ ÂÉÔÙÅ
ÆÁÊÌÙ É ÉÎÏÇÄÁ Õ ÎÅ£ ÂÙ×ÁÀÔ ÐÒÏÂÌÅÍÙ Ó ÐÅÒÅÍÅÝÅÎÉÅÍ ÐÏ ÆÁÊÌÕ, ÎÏ ÏÎÁ
ÍÏÖÅÔ ÂÙÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÅÅ mp3lib ÎÁ ÐÌÁÔÆÏÒÍÁÈ ÂÅÚ FPU
(ÔÁËÉÈ ËÁË <link linkend="arm">ARM</link>).
</para>
<para>
þÔÏÂÙ ×ËÌÀÞÉÔØ Å£ ÐÏÄÄÅÒÖËÕ, ËÏÍÐÉÌÉÒÕÊÔÅ Ó ÏÐÃÉÅÊ configure
<option>--enable-mad</option>.
</para>
</sect2>
<sect2 id="hwmpa">
<title>áÐÐÁÒÁÔÎÙÊ MPEG ÁÕÄÉÏ ËÏÄÅË</title>
<para>
üÔÏÔ ËÏÄÅË (×ÙÂÉÒÁÅÍÙÊ ÐÏ -ac hwmpa) ÐÅÒÅÄÁÅÔ ×ÓÅ ÁÕÄÉÏ ÐÁËÅÔÙ MPEG ÁÐÐÁÒÁÔÎÙÍ
ÄÅËÏÄÅÒÁÍ, ÔÁËÉÍ ËÁË ÕÓÔÁÎÏ×ÌÅÎÎÙÅ × ÐÏÌÎÏÆÕÎËÃÉÏÎÁÌØÎÙÈ DVB ËÁÒÔÁÈ É DXR2 ÁÄÁÐÔÅÒÁÈ.
îÅ ÉÓÐÏÌØÚÕÊÔÅ ÅÇÏ Ó ÄÒÕÇÉÍÉ ÄÒÁÊ×ÅÒÁÍÉ ×Ù×ÏÄÁ Ú×ÕËÁ (ÔÁËÉÍÉ ËÁË OSS É ALSA), ËÏÔÏÒÙÅ
ÎÅ ÓÐÏÓÏÂÎÙ ÁÐÐÁÒÁÔÎÏ ÄÅËÏÄÉÒÏ×ÁÔØ (×Ù ÕÓÙÛÉÔÅ ÔÏÌØËÏ ÂÅÌÙÊ ÛÕÍ).
</para>
</sect2>
<sect2 id="vivo-audio">
<title>VIVO ÁÕÄÉÏ</title>
<para>
áÕÄÉÏ ËÏÄÅË, ÉÓÐÏÌØÚÕÅÍÙÊ × VIVO ÆÁÊÌÁÈ ÚÁ×ÉÓÉÔ ÏÔ ÔÏÇÏ, Ñ×ÌÑÅÔÓÑ ÌÉ ÜÔÏ VIVO/1.0 ÉÌÉ
VIVO/2.0 ÆÁÊÌ. ÷ VIVO/1.0 ÆÁÊÌÁÈ <emphasis role="bold">g.723</emphasis> ÁÕÄÉÏ,
Á × VIVO/2.0 ÆÁÊÌÁÈ - <emphasis role="bold">Vivo Siren</emphasis> ÁÕÄÉÏ. ïÂÁ
ÔÉÐÁ ÐÏÄÄÅÒÖÉ×ÁÀÔÓÑ.
</para>
</sect2>
<sect2 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>
</sect2>
<sect2 id="qdesign">
<title>QDesign ËÏÄÅËÉ</title>
<para>
áÕÄÉÏ ÐÏÔÏËÉ QDesign (fourcc:<emphasis>QDMC, QDM2</emphasis>) ÏÂÎÁÒÕÖÉ×ÁÀÔÓÑ
× MOV/QT ÆÁÊÌÁÈ. ïÂÅ ×ÅÒÓÉÉ ÜÔÏÇÏ ËÏÄÅËÁ ÍÏÇÕÔ ÄÅËÏÄÉÒÏ×ÁÔØÓÑ ÂÉÂÌÉÏÔÅËÁÍÉ
QuickTime. éÎÓÔÒÕËÃÉÉ ÐÏ ÕÓÔÁÎÏ×ËÅ ÓÍ. × ÓÅËÃÉÉ
<link linkend="sorenson">Sorenson video codec</link>.
</para>
</sect2>
<sect2 id="qualcomm">
<title>Qualcomm ËÏÄÅËÉ</title>
<para>
áÕÄÉÏ ÐÏÔÏËÉ Qualcomm (fourcc:<emphasis>Qclp</emphasis>) ÏÂÎÁÒÕÖÉ×ÁÀÔÓÑ
× MOV/QT ÆÁÊÌÁÈ. ïÎÉ ÍÏÇÕÔ ÄÅËÏÄÉÒÏ×ÁÔØÓÑ ÂÉÂÌÉÏÔÅËÁÍÉ QuickTime.
éÎÓÔÒÕËÃÉÉ ÐÏ ÕÓÔÁÎÏ×ËÅ ÓÍ. × ÓÅËÃÉÉ
<link linkend="sorenson">Sorenson video codec</link>.
</para>
</sect2>
<sect2 id="aac">
<title>AAC ËÏÄÅË</title>
<para>
AAC (Advanced Audio Coding) - ÜÔÏ ËÏÄÅË, ÉÎÏÇÄÁ ÏÂÎÁÒÕÖÉ×ÁÅÍÙÊ × MOV É MP4
ÆÁÊÌÁÈ. äÅËÏÄÅÒ Ó ÏÔËÒÙÔÙÍ ÉÓÈÏÄÎÙÍ ËÏÄÏÍ, ÎÁÚÙ×ÁÅÍÙÊ FAAD, ÄÏÓÔÕÐÅÎ Ó
<ulink url="http://www.audiocoding.com"/>.
<application>MPlayer</application> ×ËÌÀÞÁÅÔ × ÓÅÂÑ CVS ×ÅÒÓÉÀ libfaad 2.1 beta, ÐÏÜÔÏÍÕ
÷ÁÍ ÎÉÞÅÇÏ ÎÅ ÎÕÖÎÏ ÄÏÐÏÌÎÉÔÅÌØÎÏ ÓËÁÞÉ×ÁÔØ.
</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/
sh 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>
</sect2>
<sect2 id="amr">
<title>AMR ËÏÄÅËÉ</title>
<para>
òÅÞÅ×ÏÊ ËÏÄÅË Adaptive Multi-Rate ÉÓÐÏÌØÚÕÅÔÓÑ × ÍÏÂÉÌØÎÙÈ ÔÅÌÅÆÏÎÁÈ ÔÒÅÔØÅÇÏ ÐÏËÏÌÅÎÉÑ (3G).
éÓÈÏÄÎÁÑ ÒÅÁÌÉÚÁÃÉÑ ÄÏÓÔÕÐÎÁ Ó
<ulink url="http://www.3gpp.org">The 3rd Generation Partnership Project</ulink>
(ÂÅÓÐÌÁÔÎÁ ÄÌÑ ÌÉÞÎÏÇÏ ÉÓÐÏÌØÚÏ×ÁÎÉÑ).
</para>
<para>
þÔÏÂÙ ×ËÌÀÞÉÔØ ÐÏÄÄÅÒÖËÕ, ÓËÁÞÁÊÔÅ ÉÓÈÏÄÎÉËÉ ÄÌÑ
<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip">AMR-NB</ulink>
É
<ulink url="http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip">AMR-WB</ulink>
ËÏÄÅËÏ×, ÐÏÍÅÓÔÉÔÅ ÉÈ × ËÁÔÁÌÏÇ, ÇÄÅ ÒÁÓÐÁËÏ×ÁÎÙ ÉÓÈÏÄÎÉËÉ
<application>MPlayer</application> É ×ÙÐÏÌÎÉÔÅ ÓÌÅÄÕÀÝÉÅ ËÏÍÁÎÄÙ:
<screen>
unzip 26104-610.zip
unzip 26104-610_ANSI_C_source_code.zip
mv c-code libavcodec/amr_float
unzip 26204-600.zip
unzip 26204-600_ANSI-C_source_code.zip
mv c-code libavcodec/amrwb_float
</screen>
ðÏÓÌÅ ÜÔÏÇÏ ÓÌÅÄÕÊÔÅ ÏÂÙÞÎÏÊ <link linkend="features">ÐÒÏÃÅÄÕÒÅ ÓÂÏÒËÉ</link>
<application>MPlayer</application>.
</para>
</sect2>
</sect1>
<!-- ********** -->
<sect1 id="codec-importing">
<title>ëáë ÉÚ×ÌÅÞØ ËÏÄÅË ÉÚ Win32</title>
<!-- TODO: a short paragraph of text would be nice here... -->
<sect2 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 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://upload.mplayerhq.hu/MPlayer/incoming/[codecname]/
</systemitem>
</para>
<note><para>ðÏÄ Windows NT/2000/XP ÉÝÉÔÅ ÜÔÕ ÉÎÆÏÒÍÁÃÉÀ × ÒÅÅÓÔÒÅ, ÎÁÐÒÉÍÅÒ,
ÉÝÉÔÅ &quot;VIDC.HFYU&quot;. þÔÏÂÙ ÕÚÎÁÔØ, ËÁË ÜÔÏ ÄÅÌÁÔØ, ÓÍ. ÎÉÖÅ ÓÔÁÒÙÊ
ÍÅÔÏÄ DirectShow.
</para></note>
</sect2>
<sect2 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> -&gt; <guisubmenu>Properties</guisubmenu> -&gt;
<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://upload.mplayerhq.hu/MPlayer/incoming/[codecname]/
</systemitem>
</para>
<para>
åÓÌÉ ×Ù ÈÏÔÉÔÅ ÄÏÂÁ×ÉÔØ ËÏÄÅË ÓÁÍÏÓÔÏÑÔÅÌØÎÏ, ÐÒÏÞÔÉÔÅ
<ulink url="http://www.mplayerhq.hu/MPlayer/DOCS/tech/codecs.conf.txt">DOCS/tech/codecs.conf.txt</ulink>.
</para>
</sect2>
</sect1>
</chapter>