1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 18:36:09 +00:00
mpv/DOCS/xml/ru/mencoder.xml
voroshil 40f80c4c8b translation by Vladimir Voroshilov, voroshil gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19756 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-08 16:49:56 +00:00

693 lines
24 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 r19685 -->
<chapter id="mencoder">
<title>ïÓÎÏ×Ù ÉÓÐÏÌØÚÏ×ÁÎÉÑ <application>MEncoder</application></title>
<para>
ðÏÌÎÙÊ ÓÐÉÓÏË ÄÏÓÔÕÐÎÙÈ ÏÐÃÉÊ <application>MEncoder</application> É ÐÒÉÍÅÒÙ
ÓÍÏÔÒÉÔÅ ÎÁ ÓÔÒÁÎÉÃÅ ÒÕËÏ×ÏÄÓÔ×Á man.
<!-- FIXME is translation correct? -->
òÑÄ ÎÁÇÌÑÄÎÙÈ[hands-on] ÐÒÉÍÅÒÏ× É ÐÏÄÒÏÂÎÙÅ ÒÕËÏ×ÏÄÓÔ×Á ÐÏ ÉÓÐÏÌØÚÏ×ÁÎÉÀ ÏÔÄÅÌØÎÙÈ
ÐÁÒÁÍÅÔÒÏ× ËÏÄÉÒÏ×ÁÎÉÑ, ÍÏÖÎÏ ÕÚÎÁÔØ ÐÒÏÞÔÑ
<ulink url="../../tech/encoding-tips.txt">ÓÏ×ÅÔÙ ÐÏ ËÏÄÉÒÏ×ÁÎÉÀ</ulink>, ËÏÔÏÒÙÅ ÍÙ
ÓÏÂÒÁÌÉ ÉÚ ÏÔÄÅÌØÎÙÈ ÎÉÔÅÊ[threads] ÒÁÓÓÙÌËÉ MPlayer-users. ÷
<ulink url="http://lists.mplayerhq.hu/pipermail/mplayer-users/">ÁÒÈÉ×ÁÈ</ulink>
ÎÁÊÄÅÔÓÑ ÍÎÏÖÅÓÔ×Ï ÄÉÓËÕÓÓÉÊ, ÐÏÓ×ÑÝÅÎÎÙÈ ×ÓÅÈ ÁÓÐÅËÔÁÍ É ÐÒÏÂÌÅÍÁÍ ËÏÄÉÒÏ×ÁÎÉÑ
ÐÒÉ ÐÏÍÏÝÉ <application>MEncoder</application>.
</para>
<sect1 id="menc-feat-selecting-codec">
<title>÷ÙÂÏÒ ËÏÄÅËÏ× É ÆÏÒÍÁÔÁ ÆÁÊÌÏ×</title>
<para>
áÕÄÉÏ É ×ÉÄÅÏ ËÏÄÅËÉ ÄÌÑ ËÏÄÉÒÏ×ÁÎÉÑ ×ÙÂÉÒÁÀÔÓÑ ÏÐÃÉÑÍÉ
<option>-oac</option> É <option>-ovc</option>, ÓÏÏÔ×ÅÔÓÔ×ÅÎÎÏ.
îÉÂÅÒÉÔÅ ÄÌÑ ÐÒÉÍÅÒÁ:
<screen>mencoder -ovc help</screen>
ÞÔÏÂÙ ÐÏÌÕÞÉÔØ ÓÐÉÓÏË ×ÓÅÈ ×ÉÄÅÏ ËÏÄÅËÏ× ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ
×ÅÒÓÉÅÊ <application>MEncoder</application>, ÕÓÔÁÎÏ×ÌÅÎÎÏÊ ÎÁ ×ÁÛÅÊ ÍÁÛÉÎÅ.
äÏÓÔÕÐÎÙ ÓÌÅÄÕÀÝÉÅ ×ÁÒÉÁÎÔÙ:
</para>
<para>
áÕÄÉÏ ËÏÄÅËÉ:
<informaltable frame="all">
<tgroup cols="2">
<thead>
<row><entry>îÁÚ×ÁÎÉÅ ËÏÄÅËÁ</entry><entry>ïÐÉÓÁÎÉÅ</entry></row>
</thead>
<tbody>
<row>
<entry>mp3lame</entry>
<entry>ëÏÄÉÒÕÊÔÅ × VBR, ABR ÉÌÉ CBR MP3 Ó LAME</entry>
</row>
<row>
<entry>lavc</entry>
<entry>éÓÐÏÌØÚÕÊÔÅ ÏÄÉÎ ÉÚ ËÏÄÅËÏ× ÂÉÂÌÉÏÔÅËÉ <link linkend="menc-feat-enc-libavcodec-audio-codecs"><systemitem class="library">libavcodec</systemitem></link>
</entry>
</row>
<row>
<entry>faac</entry>
<entry>FAAC AAC ÁÕÄÉÏ ËÏÄÅÒ</entry>
</row>
<row>
<entry>toolame</entry>
<entry>MPEG Audio Layer 2 ËÏÄÅÒ</entry>
</row>
<row>
<entry>twolame</entry>
<entry>MPEG Audio Layer 2 ËÏÄÅÒ, ÏÓÎÏ×ÁÎÎÙÊ ÎÁ tooLAME</entry>
</row>
<row>
<entry>pcm</entry>
<entry>îÅÓÖÁÔÙÊ PCM Ú×ÕË</entry>
</row>
<row>
<entry>copy</entry>
<entry>îÅ ÐÅÒÅËÏÄÉÒÏ×ÁÔØ, ÐÒÏÓÔÏ ËÏÐÉÒÏ×ÁÔØ ÓÖÁÔÙÅ ËÁÄÒÙ</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
÷ÉÄÅÏ ËÏÄÅËÉ:
<informaltable frame="all">
<tgroup cols="2">
<thead>
<row><entry>îÁÚ×ÁÎÉÅ ËÏÄÅËÁ</entry><entry>ïÐÉÓÁÎÉÅ</entry></row>
</thead>
<tbody>
<row>
<entry>lavc</entry>
<entry>éÓÐÏÌØÚÕÊÔÅ ÏÄÉÎ ÉÚ ËÏÄÅËÏ× ÂÉÂÌÉÏÔÅËÉ <link linkend="menc-feat-enc-libavcodec-video-codecs"><systemitem class="library">libavcodec</systemitem></link>
</entry>
</row>
<row>
<entry>xvid</entry>
<entry>XviD, MPEG-4 Advanced Simple Profile (ASP) ËÏÄÅË</entry>
</row>
<row>
<entry>x264</entry>
<entry>x264, MPEG-4 Advanced Video Coding (AVC), AKA[ÏÎ ÖÅ] H.264 ËÏÄÅË</entry>
</row>
<row>
<entry>nuv</entry>
<entry>nuppel ×ÉÄÅÏ, ÉÓÐÏÌØÚÕÅÍÏÅ ÎÅËÏÔÏÒÙÍÉ ÐÒÉÌÏÖÅÎÉÑÍÉ ÒÅÁÌØÎÏÇÏ ×ÒÅÍÅÎÉ</entry>
</row>
<row>
<entry>raw</entry>
<entry>îÅÓÖÁÔÙÅ ×ÉÄÅÏ ËÁÄÒÙ</entry>
</row>
<row>
<entry>copy</entry>
<entry>îÅ ÐÅÒÅËÏÄÉÒÏ×ÁÔØ, ÐÒÏÓÔÏ ÓËÏÐÉÒÏ×ÁÔØ ÓÖÁÔÙÅ ËÁÄÒÙ</entry>
</row>
<row>
<entry>frameno</entry>
<entry>éÓÐÏÌØÚÏ×ÁÌÓÑ ÄÌÑ 3-È ÐÒÏÈÏÄÎÏÇÏ ËÏÄÉÒÏ×ÁÎÉÑ (ÎÅ ÒÅËÏÍÅÎÄÕÅÔÓÑ)</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
æÏÒÍÁÔ ×ÙÈÏÄÎÙÈ ÆÁÊÌÏ× ×ÙÂÉÒÁÅÔÓÑ ÏÐÃÉÅÊ <option>-of</option>.
îÁÂÅÒÉÔÅ:
<screen>mencoder -of help</screen>
ÞÔÏÂÙ ÐÏÌÕÞÉÔØ ÓÐÉÓÏË ×ÓÅÈ ÆÏÒÍÁÔÏ×, ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÅÒÓÉÅÊ
<application>MEncoder</application>, ÕÓÔÁÎÏ×ÌÅÎÎÏÇÏ ÎÁ ×ÁÛÅÊ ÍÁÛÉÎÅ.
äÏÓÔÕÐÎÙ ÓÌÅÄÕÀÝÉÅ ×ÁÒÉÁÎÔÙ:
</para>
<para>
æÏÒÍÁÔÙ ÆÁÊÌÏ×:
<informaltable frame="all">
<tgroup cols="2">
<thead>
<row><entry>îÁÚ×ÁÎÉÅ ÆÏÒÍÁÔÁ</entry><entry>ïÐÉÓÁÎÉÅ</entry></row>
</thead>
<tbody>
<row>
<entry>lavf</entry>
<entry>ïÄÉÎ ÉÚ ÆÏÒÍÁÔÏ×, ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ÂÉÂÌÉÏÔÅËÏÊ
<systemitem class="library">libavformat</systemitem></entry>
</row>
<row>
<entry>avi</entry>
<entry>'óÌÏÅÎÏÅ' áÕÄÉÏ-÷ÉÄÅÏ</entry>
</row>
<row>
<entry>mpeg</entry>
<entry>MPEG-1 É MPEG-2 PS</entry>
</row>
<row>
<entry>rawvideo</entry>
<entry>ÓÙÒÏÊ ×ÉÄÅÏ ÐÏÔÏË (ÂÅÚ ÕÐÌÏÔÎÅÎÉÑ[no muxing] - ÔÏÌØËÏ ×ÉÄÅÏ ÐÏÔÏË)</entry>
</row>
<row>
<entry>rawaudio</entry>
<entry>ÓÙÒÏÊ ÁÕÄÉÏ ÐÏÔÏË (ÂÅÚ ÕÐÌÏÔÎÅÎÉÑ[no muxing] - ÔÏÌØËÏ ÁÕÄÉÏ ÐÏÔÏË)</entry>
</row>
</tbody>
</tgroup>
</informaltable>
AVI Ñ×ÌÑÅÔÓÑ ÒÏÄÎÙÍ ÆÏÒÍÁÔÏÍ ÄÌÑ <application>MEncoder</application>,
ÞÔÏ ÏÚÎÁÞÁÅÔ ÎÁÉÌÕÞÛÕÀ ÅÇÏ ÐÏÄÄÅÒÖËÕ,
<application>MEncoder</application> ÉÚÎÁÞÁÌØÎÏ ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ÄÌÑ ÜÔÏÇÏ ÆÏÒÍÁÔÁ.
ëÁË ÚÁÍÅÞÅÎÏ ×ÙÛÅ, ÄÒÕÇÉÅ ÆÏÒÍÁÔÙ ÔÏÖÅ ÐÒÉÇÏÄÎÙ, ÎÏ
×Ù ÍÏÖÅÔÅ ÓÔÏÌËÎÕÔØÓÑ Ó ÐÒÏÂÌÅÍÁÍÉ ÐÒÉ ÉÈ ÉÓÐÏÌØÚÏ×ÁÎÉÉ.
</para>
<para>
ÆÏÒÍÁÔÙ ÆÁÊÌÏ× ÂÉÂÌÉÏÔÅËÉ <systemitem class="library">libavformat</systemitem>:
</para>
<para>
åÓÌÉ ×Ù ×ÙÂÒÁÌÉ <systemitem class="library">libavformat</systemitem> ÄÌÑ
ÕÐÌÏÔÎÅÎÉÑ[muxing] ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ (ÉÓÐÏÌØÚÕÑ <option>-of lavf</option>),
ÐÏÄÈÏÄÑÝÉÊ ÆÏÒÍÁÔ ÆÁÊÌÁ ÂÕÄÅÔ ÏÐÒÅÄÅÌÅÎ ÐÏ ÒÁÓÛÉÒÅÎÉÀ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ.
÷Ù ÍÏÖÅÔÅ ÚÁÓÔÁ×ÉÔØ ÉÓÐÏÌØÚÏ×ÁÔØ ËÏÎËÒÅÔÎÙÊ ÆÏÒÍÁÔ ÏÐÃÉÅÊ
<option>format</option> ÂÉÂÌÉÏÔÅËÉ
<systemitem class="library">libavformat</systemitem>.
<informaltable frame="all">
<tgroup cols="2">
<thead>
<row><entry>ÎÁÚ×ÁÎÉÅ ÆÏÒÍÁÔÁ <systemitem class="library">libavformat</systemitem></entry><entry>ïÐÉÓÁÎÉÅ</entry></row>
</thead>
<tbody>
<row>
<entry>mpg</entry>
<entry>MPEG-1 É MPEG-2 PS</entry>
</row>
<row>
<entry>asf</entry>
<entry>Advanced Streaming Format</entry>
</row>
<row>
<entry>avi</entry>
<entry>'óÌÏÅÎÏÅ' áÕÄÉÏ-÷ÉÄÅÏ</entry>
</row>
<row>
<entry>wav</entry>
<entry>Waveform áÕÄÉÏ</entry>
</row>
<row>
<entry>swf</entry>
<entry>Macromedia Flash</entry>
</row>
<row>
<entry>flv</entry>
<entry>Macromedia Flash ×ÉÄÅÏ</entry>
</row>
<row>
<entry>rm</entry>
<entry>RealMedia</entry>
</row>
<row>
<entry>au</entry>
<entry>SUN AU</entry>
</row>
<row>
<entry>nut</entry>
<entry>ÏÔËÒÙÔÙÊ ÆÏÒÍÁÔ NUT (ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÙÊ É ÐÏËÁ ÎÅ ÐÏÌÎÏÓÔØÀ ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÊ ÓÐÅÃÉÆÉËÁÃÉÉ)</entry>
</row>
<row>
<entry>mov</entry>
<entry>QuickTime</entry>
</row>
<row>
<entry>mp4</entry>
<entry>MPEG-4 ÆÏÒÍÁÔ</entry>
</row>
<row>
<entry>dv</entry>
<entry>Sony Digital ÷ÉÄÅÏ ÆÏÒÍÁÔ</entry>
</row>
</tbody>
</tgroup>
</informaltable>
ëÁË ×ÉÄÉÔÅ, <systemitem class="library">libavformat</systemitem>
ÐÏÚ×ÏÌÑÅÔ <application>MEncoder</application> ÍÕÌØÔÉÐÌÅËÓÉÒÏ×ÁÔØ[mux] ×Ï
ÍÎÏÖÅÓÔ×Ï ÆÏÒÍÁÔÏ×.
ë ÓÏÖÁÌÅÎÉÀ, ÐÏÓËÏÌØËÕ <application>MEncoder</application> ÉÚÎÁÞÁÌØÎÏ ÎÅ ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ
ÄÌÑ ÐÏÄÄÅÒÖËÉ ÆÏÒÍÁÔÏ×, ÏÔÌÉÞÎÙÈ ÏÔ AVI, ×ÁÍ ÓÌÅÄÕÅÔ ÏÔÎÏÓÉÔØÓÑ Ë ÒÅÚÕÌØÔÉÒÕÀÝÅÍÕ
ÆÁÊÌÕ Ó ÏÐÒÅÄÅÌÅÎÎÏÊ ÄÏÌÅÊ ÐÁÒÁÎÏÊÉ. õÂÅÄÉÔÅÓØ, ÞÔÏ × ÐÏÒÑÄËÅ áÕÄÉÏ/×ÉÄÅÏ ÓÉÎÈÒÏÎÉÈÁÃÉÑ, É
ÆÁÊÌ ×ÏÓÐÒÏÉÚ×ÏÄÉÔÓÑ ÎÅ ÔÏÌØËÏ × <application>MPlayer</application>.
</para>
<informalexample>
<para>ðÒÉÍÅÒ:</para>
<para>
óÏÚÄÁÎÉÅ ×ÉÄÅÏ Macromedia Flash, ÐÏÄÈÏÄÑÝÅÇÏ ÄÌÑ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÑ × ×Å ÂÒÁÕÚÅÒÅ ÐÌÁÇÉÎÏÍ
Macromedia Flash:
<screen>
mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.flv</replaceable> -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc \
-lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \
-srate 22050
</screen>
</para>
</informalexample>
</sect1>
<sect1 id="menc-feat-selecting-input">
<title>÷ÙÂÏÒ ×ÈÏÄÎÏÇÏ ÆÁÊÌÁ ÉÌÉ ÕÓÔÒÏÊÓÔ×Á</title>
<para>
<application>MEncoder</application> ÍÏÖÅÔ ËÏÄÉÒÏ×ÁÔØ ÉÚ ÆÁÊÌÏ× ÉÌÉ ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ
Ó DVD ÉÌÉ VCD ÄÉÓËÁ.
ðÒÏÓÔÏ ÕËÁÖÉÔÅ ÉÍÑ ÆÁÊÌÁ × ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÅ ÄÌÑ ËÏÄÉÒÏ×ÁÎÉÑ ÉÚ ÆÁÊÌÁ,
ÉÌÉ <option>dvd://</option><replaceable>ÎÏÍÅÒ_ÒÏÌÉËÁ</replaceable> ÉÌÉ
<option>vcd://</option><replaceable>ÎÏÍÅÒ_ÄÏÒÏÖËÉ</replaceable> ÄÌÑ ËÏÄÉÒÏÓÁÎÉÑ
DVD ÒÏÌÉËÁ ÉÌÉ VCD ÄÏÒÏÖËÉ.
åÓÌÉ ×Ù ÕÖÅ ÓËÏÐÉÒÏ×ÁÌÉ DVD ÎÁ ÖÅÓÔËÉÊ ÄÉÓË (ÍÏÖÅ ×ÏÓÐÏÌØÚÏ×ÁÔØÓÑ ÕÔÉÌÉÔÏÊ ×ÒÏÄÅ
<application>dvdbackup</application>, ÄÏÓÔÕÐÎÏÊ ÎÁ ÍÎÏÇÉÈ ÓÉÓÔÅÍÁÈ),
É ÖÅÌÁÅÔÅ ÕÏÄÉÒÏ×ÁÔØ ÉÚ ËÏÐÉÉ, ×ÌÅÄÕÅÔ ÐÏ-ÐÒÅÖÎÅÍÕ ÉÓÐÏÌØÚÏ×ÁÔØ
<option>dvd://</option> ÓÉÎÔÁËÓÉÓ, ×ÍÅÓÔÅ Ó <option>-dvd-device</option>
Ó ÐÏÓÌÅÄÕÀÝÉÍ ÐÕÔÅË Ë ËÏÒÎÀ ËÏÐÉÉ DVD.
ïÐÃÉÉ <option>-dvd-device</option> É <option>-cdrom-device</option> ÔÁËÖÅ ÍÏÇÕÔ
ÂÙÔØ ÉÓÐÏÌÚÏ×ÁÎÙ ÄÌÑ ÐÅÒÅÏÐÒÅÄÅÌÅÎÉÑ ÐÕÔÅÊ Ë ÆÁÊÌÁÍ ÕÓÔÒÏÊÓÔ× ÄÌÑ
ÞÔÅÎÉÑ ÐÒÑÍÏ Ó ÄÉÓËÁ, ÅÓÌÉ ÚÎÁÞÅÎÉÑ ÐÏ-ÕÍÏÌÞÁÎÉÀ
<filename>/dev/dvd</filename> É <filename>/dev/cdrom</filename> ÎÅ ÐÏÄÈÏÄÑÔ ÄÌÑ
×ÁÛÅÊ ÓÉÓÔÅÍÙ.
</para>
<para>
ðÒÉ ËÏÄÉÒÏ×ÁÎÉÉ Ó DVD, ÞÁÓÔÏ ÂÙ×ÁÅÔ ÖÅÌÁÔÅÌØÎÏ ×ÙÂÒÁÔØ ÒÁÚÄÅÌ ÉÌÉ ÄÉÁÐÁÚÏÎ
ÒÁÚÄÅÌÏ× ÄÌÑ ËÏÄÉÒÏ×ÁÎÉÑ. ÄÌÑ ÜÔÏÊ ÃÅÌÉ ÍÏÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ ÏÐÃÉÀ
<option>-chapter</option>.
îÁÐÒÍÅÒ, <option>-chapter</option> <replaceable>1-4</replaceable>
ÂÕÄÅÔ ËÏÄÉÒÏ×ÁÔØ ÔÏÌËÏ ÒÁÚÄÅÌÙ DVD Ó 1-ÇÏ ÐÏ 4-Ê.
üÔÏ ÏÓÏÂÅÎÎÏ ÐÏÌÅÚÎÏ ÐÒÉ ËÏÄÉÒÏ×ÁÎÉÉ 1400íÂ Ó ÃÅÌØÀ ÕÍÅÓÔÉÔØ ÉÈ ÎÁ 2 CD,
ÔÁË ËÁË ×Ù ÍÏÖÅÔÅ ÒÁÚÂÉÔØ ÆÉÌØÍ ÔÏÞÎÏ ÎÁ ÇÒÁÎÉÃÅ ÒÁÚÄÅÌÁ, ×ÍÅÓÔÏ
ÓÅÒÅÄÉÎÙ ÎÅËÏÔÏÒÏÊ ÓÃÅÎÙ.
</para>
<para>
åÓÌÉ Õ ×ÁÓ ÅÓÔØ ÐÏÄÄÅÒÖÉ×ÁÅÍÁÑ ËÁÒÔÁ TV ÚÁÈ×ÁÔÁ, ×Ù ÔÁËÖÅ ÍÏÖÅÔÅ
ËÏÄÉÒÏ×ÁÔØ Ó TV ×ÈÏÄÁ.
éÓÐÏÌØÚÕÊÔÅ <option>tv://</option><replaceable>ÎÍÅÒ_ËÁÎÁÌÁ</replaceable> × ËÁÞÅÓÔ×Å
ÉÍÅÎÉ ÆÁÊÌÁ, É ÏÐÃÉÀ <option>-tv</option> ÄÌÑ ÎÁÓÔÒÏÊËÉ ÒÁÚÌÉÞÎÙÊ ÐÁÒÁÍÅÔÒÏ× ÚÁÈ×ÁÔÁ.
DVB ×ÈÏÄ ÒÁÂÏÔÁÅÔ ÁÎÁÌÏÇÉÞÎÏ.
</para>
</sect1>
<sect1 id="menc-feat-mpeg4">
<title>ä×ÕÈÐÒÏÈÏÄÎÏÅ ËÏÄÉÒÏ×ÁÎÉÅ MPEG-4 (&quot;DivX&quot;)</title>
<para>
îÁÚ×ÁÎÉÅ ÐÒÏÉÓÈÏÄÉÔ ÉÚ ÔÏÇÏ ÆÁËÔÁ, ÞÔÏ ËÏÄÉÒÏ×ÁÎÉÅ ÆÁÊÌÁ ÐÒÏÉÚ×ÏÄÉÔÓÑ <emphasis>Ä×ÁÖÄÙ</emphasis>.
ðÅÒ×ÏÅ ËÏÄÉÒÏ×ÁÎÉÅ (ÄÕÂÌÉÒÕÀÝÉÊ ÐÒÏÈÏÄ) ÓÏÚÄÁÅÔ ÎÅÓËÏÌØËÏ ×ÒÅÍÅÎÎÙÈ ÆÁÊÌÏ×
(<filename>*.log</filename>) ÒÁÚÍÅÒÏÍ × ÎÅÓËÏÌØËÏ ÍÅÇÁÂÁÊÔ, ÎÅ ÕÄÁÌÑÊÔÅ ÉÈ ÐÏËÁ
(×Ù ÍÏÖÅÔÅ ÕÄÁÌÉÔØ AVI ÉÌÉ ×ÏÏÂÝÅ ÎÅ ÓÏÚÄÁ×ÁÔØ ×ÉÄÅÏÆÁÊÌ, ÐÅÒÅÎÁÐÒÁ×É× ÅÇÏ
× <filename>/dev/null</filename>). îÁ ×ÔÏÒÏÍ ÐÒÏÈÏÄÅ, Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÄÁÎÎÙÈ Ï
ÂÉÔÐÏÔÏËÅ ÉÚ ×ÒÅÍÅÎÎÙÈ ÆÁÊÌÏ×, ÆÏÒÍÕÉÒÕÅÔÓÑ ÇÏÔÏ×ÙÊ ×ÙÈÏÄÎÏÊ. ðÏÌÕÞÉ×ÛÉÊÓÑ ÆÁÊÌ
ÂÕÄÅÔ ÉÍÅÔØ ÎÁÍÎÏÇÏ ÌÕÞÛÅÅ ËÁÞÅÓÔ×Ï ËÁÒÔÉÎËÉ. åÓÌÉ ÓÌÙÛÉÔÅ Ï ÜÔÏÍ × ÐÅÒ×ÙÊ ÒÁÚ,
ÏÂÒÁÔÉÔÅÓØ Ë ÒÕËÏ×ÏÄÓÔ×ÁÍ, ËÏÔÏÒÙÅ ÍÏÖÎÏ ÎÁÊÔÉ × ÉÎÔÅÒÎÅÔ.
</para>
<example>
<title>ËÏÐÉÒÏ×ÁÎÉÅ Ú×ÕËÏ×ÏÊ ÄÏÒÏÖËÉ</title>
<para>
ëÏÄÉÒÏ×ÁÎÉÅ (Ä×ÕÈÐÒÏÈÏÄÎÏÅ) ×ÔÏÒÏÊ ÄÏÒÏÖËÉ DVD × MPEG-4 (&quot;DivX&quot;) AVI Ó
ËÏÐÉÒÏ×ÁÎÉÅÍ Ú×ÕËÏ×ÏÊ ÄÏÒÏÖËÉ.
<screen>
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o /dev/null
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -oac copy -o <replaceable>output.avi</replaceable>
</screen>
</para>
</example>
<example>
<title>ËÏÄÉÒÏ×ÁÎÉÅ Ú×ÕËÏ×ÏÊ ÄÏÒÏÖËÉ</title>
<para>
ËÏÄÉÒÏ×ÁÎÉÅ (× Ä×Á ÐÒÏÈÏÄÁ) DVD × MPEG-4 (&quot;DivX&quot;) AVI Ó ËÏÄÉÒÏ×ÁÎÉÅÍ
Ú×ÕËÏ×ÏÊ ÄÏÒÏÖËÉ × MP3. âÕÄØÔÅ ÁËËÕÒÁÔÎÙ, ÉÓÐÏÌØÚÕÑ ÜÔÏÔ ÍÅÔÏÄ, ÔÁË ËÁË × ÎÅËÏÔÏÒÙÈ ÓÌÕÞÁÑÈ
ÜÔÏ ÍÏÖÅÔ ÐÒÉ×ÅÓÔÉ Ë ÒÁÓÓÉÎÈÒÏÎÉÚÁÃÉÉ ÁÕÄÉÏ/×ÉÄÅÏ.
<screen>
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame -lameopts vbr=3 -o /dev/null
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -oac mp3lame -lameopts vbr=3 -o <replaceable>output.avi</replaceable>
</screen>
</para>
</example>
</sect1>
<sect1 id="menc-feat-handheld-psp">
<title>ëÏÄÉÒÏ×ÁÎÉÅ × Sony PSP ×ÉÄÅÏ ÆÏÒÍÁÔ</title>
<para>
<application>MEncoder</application> ÐÏÄÄÅÒÖÉ×ÁÅÔ ËÏÄÉÒÏ×ÁÎÉÅ × ×ÉÄÅÏ ÆÏÒÍÁÔ
Sony PSP, ÎÏ, × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ÒÅ×ÉÚÉÉ ÐÒÏÇÒÁÍÍÎÏÇÏ ÏÂÅÓÐÅÞÅÎÉÑ PSP,
Ó ÒÁÚÌÉÞÎÙÍÉ ÏÇÒÁÎÉÞÅÎÉÑÍÉ. íÏÖÅÔÅ ÎÅ ÂÅÓÐÏËÏÉÔØÓÑ, ÅÓÌÉ ÎÅ ÂÕÄÅÔÅ
ÎÁÒÕÛÁÔØ ÓÌÅÄÕÀÝÉÅ ÏÇÒÁÎÉÞÅÎÉÑ:
<itemizedlist>
<listitem><para>
<emphasis role="bold">âÉÔÏ×ÙÊ ÐÏÔÏË</emphasis>: ÎÅ ÄÏÌÖÅÎ ÐÒÅ×ÙÛÁÔØ 1500ËÂÉÔ/Ó,
ÔÅÍ ÎÅ ÍÅÎÅÅ, ÐÏÓÌÅÄÎÉÅ ×ÅÒÓÉÉ ÏÞÅÎØ ÈÏÒÏÛÏ ÐÏÄÄÅÒÖÉ×ÁÌÉ ÌÀÂÏÊ ÂÉÔÒÅÊÔ, ÐÏËÁ
ÚÁÇÏÌÏ×ÏË ÎÅ ÔÒÅÂÏ×ÁÌ ÞÅÒÅÚÞÕÒ ÂÏÌØÛÏÇÏ ÚÎÁÞÅÎÉÑ.
</para></listitem>
<listitem><para>
<emphasis role="bold">òÁÚÍÅÒÙ</emphasis>: ÛÉÒÉÎÁ É ×ÙÓÏÔÁ PSP ×ÉÄÅÏ ÄÏÌÖÎÁ ÂÙÔØ
ËÒÁÔÎÁ 16, Á ÐÒÏÉÚ×ÅÄÅÎÉÅ ÛÉÒÉÎÁ * ×ÙÓÏÔÁ ÎÅ ÄÏÌÖÎÏ ÐÒÅ×ÙÛÁÔØ 64000.
÷ ÎÅËÏÔÏÒÙÈ ÓÌÕÞÁÑÈ ×ÏÚÍÏÖÎÏ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ ×ÉÄÅÏ ÂÏÌØÛÅÇÏ ÒÁÚÍÅÒÁ.
</para></listitem>
<listitem><para>
<emphasis role="bold">ú×ÕË</emphasis>: ÞÁÓÔÏÔÁ ÓÜÍÐÌÉÒÏ×ÁÎÉÑ[samplerate] ÄÏÌÖÎÁ ÂÙÔØ
24Ëçà ÄÌÑ MPEG-4, É 48Ëçà ÄÌÑ H.264.
</para></listitem>
</itemizedlist>
</para>
<example>
<title>ðÒÉÍÅÒ:</title>
<para>
<screen>
mencoder -oac lavc -ovc lavc -of lavf -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac \
-af lavcresample=24000 -vf harddup -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames \
-ofps 30000/1001 input.video -o output.psp
</screen>
úÁÍÅÔØÔÅ, ÞÔÏ ÍÏÖÎÏ ÚÁÄÁÔØ ÚÁÇÏÌÏ×ÏË ×ÉÄÅÏ ÏÐÃÉÅÊ
<option>-info name=<replaceable>úÁÇÏÌÏ×ÏË_æÉÌØÍÁ</replaceable></option>.
</para>
</example>
</sect1>
<sect1 id="menc-feat-mpeg">
<title>ëÏÄÉÒÏ×ÁÎÉÅ × MPEG ÆÏÒÍÁÔ</title>
<para>
<application>MEncoder</application> ÍÏÖÅÔ ÓÏÚÄÁ×ÁÔØ ÆÁÊÌÙ ÆÏÒÍÁÔÁ MPEG (MPEG-PS).
MPEG-1 ÉÌÉ MPEG-2 ÏÂÙÞÎÏ ÉÓÐÏÌØÚÕÀÔ ÐÏ ÐÒÉÞÉÎÅ ËÏÄÉÒÏ×ÁÎÉÑ × ÂÏÌÅÅ
ÏÇÒÁÎÉÞÅÎÎÙÅ ÆÏÒÍÁÔÙ, ÔÁËÉÅ ËÁË SVCD, VCD ÉÌÉ DVD.
ïÓÏÂÙÅ ÔÒÅÂÏ×ÁÎÉÑ ÄÌÑ ÜÔÉÈ ÆÏÒÍÁÔÏ× ÏÐÉÓÁÎÙ ×
<link linkend="menc-feat-vcd-dvd"> ÒÕËÏ×ÏÄÓÔ×Å ÐÏ ÓÏÚÄÁÎÉÀ VCD É DVD</link>
section.
</para>
<para>
þÔÏÂÙ ÓÍÅÎÉÔØ ÆÏÒÍÁÔ ×ÙÈÏÄÎÏÇÏ ÆÁÊÌÁ <application>MEncoder</application>, ÉÓÐÏÌØÚÕÊÔÅ
ÏÐÃÉÀ <option>-of mpeg</option>.
</para>
<informalexample>
<para>
ðÒÉÍÅÒ:
<screen>
mencoder <replaceable>input.avi</replaceable> -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy <replaceable>other_options</replaceable> -o <replaceable>output.mpg</replaceable>
</screen>
óÏÚÄÁÅÔÓÑ ÆÁÊÌ MPEG-1 ÐÒÉÇÏÄÎÙÊ ÄÌÑ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÑ ÎÁ ÓÉÓÔÅÍÁÈ Ó ÍÉÎÉÍÁÌØÎÏÊ ÐÏÄÄÅÒÖËÏÊ
ÍÕÌØÔÉÍÅÄÉÁ, ÔÁËÉÈ ËÁË ÔÏÌØËÏ ÞÔÏ ÕÓÔÁÎÏ×ÌÅÎÎÙÅ Windows:
<screen>
mencoder <replaceable>input.avi</replaceable> -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o <replaceable>output.mpg</replaceable> -oac lavc -ovc lavc \
-lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
</screen>
</para>
</informalexample>
<note><title>ðÏÄÓËÁÚËÁ:</title>
<para>
åÓÌÉ ÐÏ ËÁËÉÍ-ÔÏ ÐÒÉÞÉÎÁÍ ×ÉÄÅÏ ÐÏÓÌÅ ×ÔÏÒÏÇÏ ÐÒÏÈÏÄÁ ×ÁÓ ÎÅ ÕÓÔÒÁÉ×ÁÅÔ,
ÍÏÖÎÏ ÓÎÏ×Á ÚÁÐÕÓÔÉÔØ ËÏÄÉÒÏ×ÁÎÉÅ Ó ÄÒÕÇÉÍÉ ÚÎÁÞÅÎÉÑÍÉ ÂÉÔÐÏÔÏËÁ, ÐÒÉ
ÕÓÌÏ×ÉÉ, ÞÔÏ ×Ù ÓÏÈÒÁÎÉÌÉ ÓÔÁÔÉÓÔÉËÕ ÐÒÅÄÙÄÕÝÅÇÏ ÐÒÏÈÏÄÁ.
üÔÏ ×ÏÚÍÏÖÎÏ, ÐÏÔÏÍÕ ÞÔÏ ÏÓÎÏ×ÎÁÑ ÚÁÄÁÞÁ ÆÁÊÌÁ ÓÏ ÓÔÁÔÉÓÔÉËÏÊ - ÚÁÐÉÓÙ×ÁÔØ
ÓÌÏÖÎÏÓÔØ ËÁÖÄÏÇÏ ËÁÄÒÁ, ËÏÔÏÒÁÑ ÖÅÓÔËÏ Ó ÂÉÔÐÏÔÏËÏÍ ÎÅ Ó×ÑÚÁÎÁ.
óÌÅÄÕÅÔ ÉÍÅÔØ × ×ÉÄÕ, ÞÔÏ, ÎÅÓÍÏÔÒÑ ÎÁ ÜÔÏ, ÌÕÞÛÅÅ ËÁÞÅÓÔ×Ï ÐÏÌÕÞÁÅÔÓÑ ÅÓÌÉ
ÚÎÁÞÅÎÉÑ ÒÅÚÕÌØÔÉÒÕÀÝÅÇÏ ÂÉÔÐÏÔÏËÁ ×ÓÅÈ ÐÒÏÈÏÄÏ× ÎÅ ÓÉÌØÎÏ ÏÔÌÉÞÁÀÔÓÑ.
</para>
</note>
</sect1>
<sect1 id="menc-feat-rescale">
<title>íÁÓÛÔÁÂÉÒÏ×ÁÎÉÅ ÆÉÌØÍÏ×</title>
<para>
þÁÓÔÏ ×ÏÚÎÉËÁÅÔ ÐÏÔÒÅÂÎÏÓÔØ ÉÚÍÅÎÉÔØ ÒÁÚÍÅÒ ÉÚÏÂÒÁÖÅÎÉÑ Õ ÆÉÌØÍÁ.
ðÒÉÞÉÎ ÍÏÖÅÔ ÂÙÔØ ÍÎÏÇÏ: ÕÍÅÎØÛÅÎÉÅ ÒÁÚÍÅÒÁ ÆÁÊÌÁ, ÐÒÏÐÕÓËÎÁÑ ÓÐÏÓÏÂÎÏÓÔØ ÓÅÔÉ,
É Ô.Ä. âÏÌØÛÉÎÓÔ×Ï ÐÒÏÉÚ×ÏÄÑÔ ÍÁÓÛÔÁÂÉÒÏ×ÁÎÉÅ ÄÁÖÅ ÐÒÉ ËÏÎ×ÅÒÔÁÃÉÉ DVD ÉÌÉ SVCD × AVI.
åÓÌÉ ÅÓÔØ ÖÅÌÁÎÉÅ ÐÒÏ×ÅÓÔÉ ÍÁÓÛÔÁÂÉÒÏ×ÁÎÉÅ, ÐÒÏÞÔÉÔÅ ÒÁÚÄÅÌ
<link linkend="aspect">óÏÈÒÁÎÅÎÉÅ ÐÒÏÐÏÒÃÉÊ</link>.
</para>
<para>
ðÒÏÃÅÓÓ ÍÁÓÛÔÁÂÉÒÏ×ÁÎÉÅ ÏÓÕÝÅÓÔ×ÌÑÅÔÓÑ ÐÌÁÇÉÎÏÍ <literal>scale</literal>:
<option>-vf scale=<replaceable>ÛÉÒÉÎÁ</replaceable>:<replaceable>×ÙÓÏÔÁ</replaceable></option>.
ëÁÞÅÓÔ×Ï ÍÏÖÅÔ ÂÙÔØ ÕÓÔÁÎÏ×ÌÅÎÏ ÏÐÃÉÅÊ <option>-sws</option>.
åÓÌÉ ÎÅ ÕËÁÚÁÎÏ, <application>MEncoder</application> ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÔØ 2: ÂÉËÕÂÉÞÅÓËÏÅ.
</para>
<para>
éÓÐÏÌØÚÏ×ÁÎÉÅ:
<screen>
mencoder <replaceable>input.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -vf scale=640:480 -o <replaceable>output.avi</replaceable>
</screen>
</para>
</sect1>
<sect1 id="menc-feat-streamcopy">
<title>ËÏÐÉÒÏ×ÁÎÉÅ ÐÏÔÏËÁ</title>
<para>
<application>MEncoder</application> ÍÏÖÅÔ ÏÂÒÁÂÁÔÙ×ÁÔØ ×ÈÏÄÎÙÅ ÐÏÔÏËÉ Ä×ÕÍÑ ÓÐÏÓÏÂÙÍÉ:
<emphasis role="bold">ËÏÄÉÒÏ×ÁÔØ</emphasis> ÉÌÉ <emphasis role="bold">ËÏÐÉÒÏ×ÁÔØ</emphasis>
ÉÈ. üÔÏÔ ÒÁÚÄÅÌ Ï <emphasis role="bold">ËÏÐÉÒÏ×ÁÎÉÉ</emphasis>.
</para>
<itemizedlist>
<listitem><para>
<emphasis role="bold">÷ÉÄÅÏ ÐÏÔÏË</emphasis> (ÏÐÃÉÑ <option>-ovc copy</option>):
ÍÏÖÎÏ ÄÅÌÁÔØ ËÌÁÓÓÎÙÅ ×ÅÝÉ :) ÷ÒÏÄÅ ÐÏÍÅÝÅÎÉÑ (ÎÅ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÑ!) FLI ÉÌÉ VIVO ÉÌÉ
MPEG-1 ×ÉÄÅÏ × AVI ÆÁÊÌ! ëÏÎÅÞÎÏ, ÐÒÏÉÇÒÁÔØ ÔÁËÉÅ ÆÁÊÌÙ ÓÍÏÖÅÔ ÔÏÌØËÏ
<application>MPlayer</application> :) é, ×ÏÚÍÏÖÎÏ, ÎÉËÁËÏÇÏ ÒÅÁÌØÎÏÊ ÐÏÌØÚÙ ×
ÜÔÏÍ ÎÅÔ. òÅÁÌØÎÏ: ËÏÐÉÒÏ×ÁÎÉÅ ×ÉÄÅÏÐÏÔÏËÁ ÍÏÖÅÔ ÂÙÔØ ÐÏÌÅÚÎÏ, ÅÓÌÉ ÎÁÄÏ ËÏÄÉÒÏ×ÁÔØ ÔÏÌØËÏ
ÁÕÄÉÏ ÐÏÔÏË (ÎÁÐÒÉÍÅÒ, ÎÅÓÖÁÔÙÊ PCM × MP3).
</para></listitem>
<listitem><para>
<emphasis role="bold">áÕÄÉÏ ÐÏÔÏË</emphasis> (ÏÐÃÉÑ <option>-oac copy</option>):
straightforward. ÷ÏÚÍÏÖÎÏ ×ÚÑÔØ ×ÎÅÛÎÉÊ ÆÁÊÌ (MP3, WAV) É ÕÐÌÏÔÎÉÔØ[mux] ÅÇÏ × ×ÙÈÏÄÎÏÊ
ÐÏÔÏË. ÷ÏÓÐÏÌØÚÕÊÔÅÓØ ÏÐÃÉÅÊ <option>-audiofile <replaceable>ÉÍÑ_ÆÁÊÌÁ</replaceable></option>,
ÞÔÏÂÙ ÓÄÅÌÁÔØ ÜÔÏ.
</para></listitem>
</itemizedlist>
<para>
éÓÐÏÌØÚÏ×ÁÎÉÅ <option>-oac copy</option> ÄÌÑ ËÏÐÉÒÏ×ÁÎÉÑ ÉÚ ÏÄÎÏÇÏ ÆÏÒÍÁÔÁ × ÄÒÕÇÏÊ
ÔÏÖÅÔ ÐÏÔÒÅÂÏ×ÁÔØ ÕËÁÚÁÎÉÑ <option>-fafmttag</option> ÄÌÑ ÓÏÈÒÁÎÉÅÎÉÑ ÔÜÇÁ ÁÕÄÉÏ ÆÏÒÍÁÔÁ
ÉÚ ÏÒÉÇÉÎÁÌØÎÏÇÏ ÆÁÊÌÁ. îÁÐÒÉÍÅÒ, ÅÓÌÉ ×Ù ÐÒÅÏÂÒÁÚÏ×Ù×ÁÅÔÅ NSV ÆÁÊÌ ÓÏ Ú×ÕËÏÍ AAC
× ÆÏÒÍÁÔ AVI, ÁÕÄÉÏ ÆÏÒÍÁÔ ÂÕÄÅÔ ÎÅ×ÅÒÅÎ É ÄÏÌÖÅÎ ÂÙÔØ ÉÚÍÅÎÅÎ. þÔÏÂÙ ÐÏÌÕÞÉÔØ ÓÐÉÓÏË
ÔÜÇÏ× ÁÕÄÉÏ ÆÏÒÍÁÔÁ ÐÒÏ×ÅÒØÔÅ <filename>codecs.conf</filename>.
</para>
<para>
ðÒÉÍÅÒ:
<screen>
mencoder <replaceable>input.nsv</replaceable> -oac copy -fafmttag 0x706D -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -o <replaceable>output.avi</replaceable>
</screen>
</para>
</sect1>
<sect1 id="menc-feat-enc-images">
<title>ëÏÄÉÒÏ×ÁÎÉÅ ÉÚ ÎÅÓËÏÌØËÉÈ ×ÈÏÄÎÙÈ ÆÁÊÌÏ× ÉÚÏÂÒÁÖÅÎÉÊ (JPEG, PNG, TGA, SGI)</title>
<para>
<application>MEncoder</application> ÍÏÖÅÔ ÓÏÚÄÁ×ÁÔØ ÆÉÌØÍÙ ÉÚ ÏÄÎÏÇÏ ÉÌÉ ÂÏÌÅÅ
JPEG, PNG ÉÌÉ TGA ÆÁÊÌÏ×. ðÒÏÓÔÙÍ ËÏÐÉÒÏ×ÁÎÉÅÍ ËÁÄÒÏ× ÏÎ ÍÏÖÅÔ ÓÏÚÄÁ×ÁÔØ MJPEG
(Motion JPEG), MPNG (Motion PNG) ÉÌÉ MTGA (Motion TGA) ÆÁÊÌÙ.
</para>
<orderedlist>
<title>òÁÚßÑÓÎÅÎÉÅ ÐÒÏÃÅÓÓÁ:</title>
<listitem><para>
<application>MEncoder</application> <emphasis>ÄÅËÏÄÉÒÕÅÔ</emphasis> ÉÚÏÂÒÁÖÅÎÉÅ(Ñ) Ó ÐÏÍÏÝØÀ
<systemitem class="library">libjpeg</systemitem> (ÐÒÉ ÄÅËÏÄÉÒÏ×ÁÎÉÉ PNG, ÏÎ ÂÕÄÅÔ
ÉÓÐÏÌØÚÏ×ÁÔØ <systemitem class="library">libpng</systemitem>).
</para></listitem>
<listitem><para>
<application>MEncoder</application> ÚÁÔÅÍ ÓËÁÒÍÌÉ×ÁÅÔ ÄÅËÏÄÉÒÏ×ÁÎÎÏÅ ÉÚÏÂÒÁÖÅÎÉÅ ×ÙÂÒÁÎÎÏÍÕ
×ÉÄÅÏ ËÏÍÐÒÅÓÓÏÒÕ (DivX4, XviD, FFmpeg msmpeg4, É .Ô.Ä).
</para></listitem>
</orderedlist>
<formalpara>
<title>ÐÒÉÍÅÒÙ</title>
<para>
The explanation of the <option>-mf</option> option is in the man page.
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÆÁÊÌÁ MPEG-4 ÉÚ ×ÓÅÈ JPEG ÆÁÊÌÏ× ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ:
<screen>
mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>output.avi</replaceable>
</screen>
</para>
</informalexample>
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÆÁÊÌÁ MPEG-4 ÉÚ ÎÅËÏÔÏÒÙÈ JPEG ÆÁÊÌÏ× ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ:
<screen>
mencoder mf://<replaceable>frame001.jpg,frame002.jpg</replaceable> -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>output.avi</replaceable>
</screen>
</para>
</informalexample>
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÆÁÊÌÁ MPEG-4 ÉÚ Ñ×ÎÏÇÏ ÓÐÉÓËÁ JPEG ÆÁÊÌÏ× (list.txt × ÔÅËÕÝÅÍ ËÁÔÁÌÏÇÅ ÓÏÄÅÒÖÉÔ
ÓÐÉÓÏË ÆÁÊÌÏ×, ÉÓÐÏÌØÚÕÅÍÙÈ × ËÁÞÅÓÔ×Å ÉÓÔÏÞÎÉËÁ, ÐÏ ÏÄÎÏÍÕ × ÓÔÒÏËÅ):
<screen>
mencoder mf://<replaceable>@list.txt</replaceable> -mf w=800:h=600:fps=25:type=jpg \
-ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>output.avi</replaceable>
</screen>
</para>
</informalexample>
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÆÁÊÌÁ Motion JPEG (MJPEG) ÉÚ ×ÓÅÈ JPEG ÆÁÊÌÏ× ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ:
<screen>
mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc copy -oac copy -o <replaceable>output.avi</replaceable>
</screen>
</para>
</informalexample>
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÎÅÓÖÁÔÏÇÏ ÆÁÊÌÁ ÉÚ ×ÓÅÈ PNG ÆÁÊÌÏ× ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ:
<screen>
mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o <replaceable>output.avi</replaceable>
</screen>
</para>
</informalexample>
<note><para>
ûÉÒÉÎÁ ÄÏÌÖÎÁ ÂÙÔØ ÃÅÌÙÍ ÞÉÓÌÏÍ, ËÒÁÔÎÙÍ 4, ÜÔÏ ÏÇÒÁÎÉÞÅÎÉÅ ÆÏÒÍÁÔÁ RAW RGB AVI.
</para></note>
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÆÁÊÌÁ Motion PNG (MPNG) ÉÚ ×ÓÅÈ PNG ÆÁÊÌÏ× ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ:
<screen>
mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o <replaceable>output.avi</replaceable> <!--
--></screen>
</para>
</informalexample>
<informalexample>
<para>
óÏÚÄÁÎÉÅ ÆÁÊÌÁ Motion TGA (MTGA) ÉÚ ×ÓÅÈ TGA ÆÁÊÌÏ× ÔÅËÕÝÅÇÏ ËÁÔÁÌÏÇÁ:
<screen>
mencoder mf://*.tga -mf w=800:h=600:fps=25:type=tga -ovc copy -oac copy -o <replaceable>output.avi</replaceable><!--
--></screen>
</para>
</informalexample>
</para>
</formalpara>
</sect1>
<sect1 id="menc-feat-extractsub">
<title>éÚ×ÌÅÞÅÎÉÅ DVD ÓÕÂÔÉÔÒÏ× × ÆÁÊÌ VOBsub</title>
<para>
<application>MEncoder</application> ÓÐÏÓÏÂÅÎ ÉÚ×ÌÅËÁÔØ ÓÕÂÔÉÔÒÙ ÉÚ DVD × ÆÁÊÌÙ ÆÏÒÍÁÔÁ
VOBsub. ïÎÉ ÓÏÓÔÏÑÔ ÉÚ ÐÁÒÙ ÆÁÊÌÏ×, ÏËÁÎÞÉ×ÁÀÝÉÈÓÑ ÎÁ
<filename>.idx</filename> É <filename>.sub</filename> É ÏÂÙÞÎÏ
ÕÐÁËÏ×ÁÎÙ × ÏÄÉÎ <filename>.rar</filename> ÁÒÈÉ×.
<application>MPlayer</application> ÍÏÖÅÔ ×ÏÓÐÒÏÉÚ×ÏÄÉÔØ ÉÚ ÐÒÉ ÐÏÍÏÝÉ ÏÐÃÉÊ
<option>-vobsub</option> É <option>-vobsubid</option>.
</para>
<para>
÷Ù ÕËÁÚÙ×ÁÅÔÅ ÂÁÚÏ×ÏÅ ÉÍÑ (Ô.Å. ÂÅÚ ÒÁÓÛÉÒÅÎÉÑ <filename>.idx</filename> ÉÌÉ
<filename>.sub</filename>) ×ÙÈÏÄÎÙÈ ÆÁÊÌÏ× Ó ÐÏÍÏÝØÀ
<option>-vobsubout</option> É ÉÎÄÅËÓ ÜÔÉÈ ÓÕÂÔÉÔÒÏ× × ÒÅÚÕÌØÔÉÒÕÀÝÅÍ ÆÁÊÌÅ
ÐÒÉ ÐÏÍÏÝÉ <option>-vobsuboutindex</option>.
</para>
<para>
åÓÌÉ ÉÓÔÏÞÎÉËÏÍ Ñ×ÌÑÅÔÓÑ ÎÅ DVD ÓÌÅÄÕÅÔ ÉÓÐÏÌØÚÏ×ÁÔØ <option>-ifo</option> ÄÌÑ
ÕËÁÚÁÎÉÑ ÕËÁÚÁÎÉÑ ÆÁÊÌÁ <filename>.ifo</filename>, ÎÅÏÂÈÏÄÉÍÏÇÏ ÄÌÑ ÓÏÚÄÁÎÉÑ
ÒÅÚÕÌØÔÉÒÕÀÝÅÇÏ <filename>.idx</filename> ÆÁÊÌÁ.
</para>
<para>
åÓÌÉ ÉÓÔÏÞÎÉËÏÍ Ñ×ÌÑÅÔÓÑ ÎÅ DVD É Õ ×ÁÓ ÎÅÔ <filename>.ifo</filename> ÆÁÊÌÁ,
ÉÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ <option>-vobsubid</option> ÄÌÑ ÕËÁÚÁÎÉÑ, ËÁËÏÊ ÉÄ ÑÚÙËÁ
ÓÌÅÄÕÅÔ ÚÁÐÉÓÁÔØ × <filename>.idx</filename> ÆÁÊÌ.
</para>
<para>
ðÒÉ ËÁÖÄÏÍ ÚÁÐÕÓËÅ ÓÕÂÔÉÔÒÙ ÂÕÄÕÔ ÄÏÂÁ×ÌÑÔØÓÑ × ËÏÎÅà ÆÁÊÌÏ×, ÅÓÌÉ
<filename>.idx</filename> É <filename>.sub</filename> ÕÖÅ ÓÕÝÅÓÔ×ÕÀÔ.
ôÁË ÞÔÏ ×ÁÍ ÓÌÅÄÕÅÔ ÕÄÁÌÑÔØ ÉÈ ÐÅÒÅÄ ÎÁÞÁÌÏÍ.
</para>
<example>
<title>ËÏÐÉÒÏ×ÁÎÉÅ Ä×ÕÈ ÓÕÂÔÉÔÒÏ× ÉÚ DVD ÐÒÉ ×ÙÐÏÌÎÅÎÉÉ Ä×ÕÈ ÐÒÏÈÏÄÎÏÇÏ ËÏÄÉÒÏ×ÁÎÉÑ</title>
<screen>
rm subtitles.idx subtitles.sub
mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -vobsubout subtitles -vobsuboutindex 0 -sid 2
mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -vobsubout subtitles -vobsuboutindex 1 -sid 5<!--
--></screen>
</example>
<example>
<title>ëÏÐÉÒÏ×ÁÎÉÅ ÆÒÁÎÃÕÚÓËÉÈ ÓÕÂÔÉÔÒÏ× ÉÚ MPEG ÆÁÊÌÁ</title>
<screen>
rm subtitles.idx subtitles.sub
mencoder <replaceable>movie.mpg</replaceable> -ifo <replaceable>movie.ifo</replaceable> -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1 -nosound -ovc copy
</screen>
</example>
</sect1>
<sect1 id="aspect">
<title>óÏÈÒÁÎÅÎÉÅ ÐÒÏÐÏÒÃÉÊ</title>
<para>
DVD É SVCD (Ô.Å. MPEG-1/2) ÆÁÊÌÙ ÓÏÄÅÒÖÁÔ ÉÎÆÏÒÍÁÃÉÀ Ï ÐÒÏÐÏÒÃÉÉ, ËÏÔÏÒÁÑ ÏÐÉÓÙ×ÁÅÔ
ËÁË ÐÒÏÉÇÒÙ×ÁÔÅÌØ ÄÏÌÖÅÎ ÍÁÓÛÔÁÂÉÒÏ×ÁÔØ ×ÉÄÅÏ ÐÏÔÏË, ÞÔÏÂÙ ÌÀÄÉ ÎÅ ÓÔÁÎÏ×ÉÌÉÓØ ÑÊÃÅÇÏÌÏ×ÙÍÉ.
(ÎÁÐÒ.: 480x480 + 4:3 = 640x480). èÏÔÑ ÐÒÉ ËÏÄÉÒÏ×ÁÎÉÉ × AVI (DivX) ÆÁÊÌÙ ×Ù ÉÚÂÁ×ÌÅÎÙ ÏÔ ÜÔÏÊ
ÐÒÏÂÌÅÍÙ, Ô.Ë. ÚÁÇÏÌÏ×ËÉ AVI ÎÅ ÓÏÄÅÒÖÁÔ ÜÔÏ ÚÎÁÞÅÎÉÅ.
íÁÓÛÔÁÂÉÒÏ×ÁÎÉÅ ÉÚÏÂÒÁÖÅÎÉÑ ÏÔ×ÒÁÔÉÔÅÌØÎÏ É ÒÁÓÔÏÞÉÔÅÌØÎÏ, ÅÓÔØ ÌÕÞÛÉÊ ÐÕÔØ!
</para>
<para>There is</para>
<para>
MPEG-4 ÉÍÅÅÔØ ÕÎÉËÁÌØÎÕÀ ×ÏÚÍÏÖÎÏÓÔØ: ×ÉÄÅÏ ÐÏÔÏË ÍÏÖÅÔ ÈÒÁÎÉÔØ ÔÒÅÂÕÅÕÍÙÅ ÅÍÕ ÐÒÏÐÏÒÃÉÉ.
äÁ, × ÔÏÞÎÏÓÔÉ ËÁË MPEG-1/2 (DVD, SVCD) É H.263 ÆÁÊÌÙ. ë ÓÏÖÁÌÅÎÉÀ, ÎÅÍÎÏÇÏ ÐÒÏÉÇÒÙ×ÁÔÅÌÅÊ
ËÒÏÍÅ <application>MPlayer</application> ÐÏÄÄÅÒÖÉ×ÁÀÔ ÜÔÏÔ MPEG-4 ÁÔÒÉÂÕÔ.
</para>
<para>
üÔÁ ×ÏÚÍÏÖÎÏÓÔØ ÍÏÖÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÔÏÌØËÏ Ó
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>'Ï×ÓËÉÍ
<systemitem>mpeg4</systemitem> ËÏÄÅËÏÍ. éÍÅÊÔÅ × ×ÉÄÕ: ÈÏÔÑ
<application>MPlayer</application> ËÏÒÒÅËÔÎÏ ×ÏÓÐÒÏÉÚ×ÅÄÅÔ ÆÁÊÌ, ÄÒÕÇÉÅ
ÐÒÏÉÇÒÙ×ÁÔÅÌÉ ÍÏÇÕÔ ÉÓÐÏÌØÚÏ×ÁÔØ ÎÅ×ÅÒÎÙÅ ÐÒÏÐÏÒÃÉÉ.
</para>
<para>
÷Ù ÓÅÒßÅÚÎÏ ÄÏÌÖÎÙ ÏÂÒÅÚÁÔØ ÞÅÒÎÙÅ ÐÏÌÏÓÙ ×ÙÛÅ É ÎÉÖÅ ÉÚÏÂÒÁÖÅÎÉÑ.
óÍÏÔÒÉÔÅ ÓÔÒÁÎÉÃÕ ÒÕËÏ×ÏÄÓÔ×Á man ÐÏ ÉÓÐÏÌØÚÏ×ÁÎÉÀ <systemitem>cropdetect</systemitem> É
<systemitem>crop</systemitem> ÐÌÁÇÉÎÏ×.
</para>
<para>
éÓÐÏÌØÚÏ×ÁÎÉÅ:
<screen>mencoder <replaceable>sample-svcd.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect -vf crop=714:548:0:14 -oac copy -o <replaceable>output.avi</replaceable></screen>
</para>
</sect1>
</chapter>