Mercurial > mplayer.hg
changeset 21687:c259aca9e09f
new file: DOCS/xml/zh_CN/mencoder.xml
provided by Kun Nio, haoniukun gmail com
author | kraymer |
---|---|
date | Wed, 20 Dec 2006 16:56:52 +0000 (2006-12-20) |
parents | 79bb02931e40 |
children | 950dfaa7612c |
files | DOCS/xml/zh_CN/mencoder.xml |
diffstat | 1 files changed, 709 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/zh_CN/mencoder.xml Wed Dec 20 16:56:52 2006 +0000 @@ -0,0 +1,709 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- synced with 21612 --> +<chapter id="mencoder"> +<title><application>MEncoder</application>���榊����</title> + +<para> +絋���篏��喝���<application>MEncoder</application>��������蕁劫��茵��莚桁���man蕁泣�� +絲剛�筝�膤糸��膊�����箴�絖�篁ュ���筝�������亥��莚��莚贋������т�MPlayer-users��散��茵� +��筝�篋���散筝㊥�����ョ��<ulink url="../../tech/encoding-tips.txt">膽���絨霨���</ulink>�� +篁�<ulink url="http://lists.mplayerhq.hu/pipermail/mplayer-users/">��膽���</ulink> +筝㊧���札�上�医ぇ����劽�<application>MEncoder</application>膽�������筝��拷�∝��莅�� +篁ュ����句������後�渇����� +</para> + + +<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + +<sect1 id="menc-feat-selecting-codec"> +<title>�����茹g�����絎劫���弱�</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>��菴�LAME膽���筝�VBR鐚�ABR��CBR�弱���MP3��篁�</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�渇�Layer 2膽�����</entry> +</row> +<row> + <entry>twolame</entry> + <entry>�坂�tooLAME��MPEG�渇�Layer 2膽�����</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蕭�膾х����弱�(ASP)膽�����</entry> +</row> +<row> + <entry>x264</entry> + <entry>x264, MPEG-4蕭�膾ц�蘂�膽���(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>���筝�����膽���鐚�筝�����鐚�</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�����</entry> +</row> +<row> + <entry>rawvideo</entry> + <entry>��紮�茹�蘂�羌�鐚����羞桁�� - �����茹�蘂�羌�鐚�</entry> +</row> +<row> + <entry>rawaudio</entry> + <entry>��紮��渇�羌�鐚����羞桁�� - ������渇�羌�鐚�</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> +�ュ��莨��堺��篁句��羞欠�鐚���菴�篏睡��<option>-of lavf</option>��蕁刻�鐚� +��綵���絎劫����掩��篁倶�������絎��� +篏�箙���札��菴�<systemitem class="library">libavformat</systemitem>�� +<option>format</option>��蕁劫失�銀�腱�絎劫���弱��� + +<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�����</entry> +</row> +<row> + <entry>asf</entry> + <entry>蕭�膾ф��弱�</entry> +</row> +<row> + <entry>avi</entry> + <entry>��-茹�蘂�羞桁��</entry> +</row> +<row> + <entry>wav</entry> + <entry>羈√就�渇�</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�医�茹�蘂�絎劫��</entry> +</row> +</tbody> +</tgroup> +</informaltable> +絋�篏���茹�鐚�<systemitem class="library">libavformat</systemitem>��莅� +<application>MEncoder</application>��紵�篏�羞桁���医��腱��弱���絎劫������ +筝�綏х�������筝�<application>MEncoder</application>篁��紮�莅乗����九�� +羃≧������AVI箙�紊����銀�絎劫���篏�荀�絨鏆���膸���������篁吟�� +莚桁�罨≧��ヤ札隋���渇�/茹�蘂���罩ユ��③隋���篁ュ���篁区�遵�� +<application>MPlayer</application>箙�紊����㊥�上��賢�㊥�障�� +</para> + +<example> +<title>膽���筝�Macromedia Flash�弱�</title> +<para> +����Macromedia Flash茹�蘂�鐚�篁ヤ梢���茖���Macromedia Flash��篁句��臀�蕁究�茹���賢�㊥�常� +<screen> +mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.flv</replaceable> -of lavf \ + -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc \ + -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 +</screen> +</para> +</example> + +</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>莚㊥�鐚���筝���絽������DVD�������合����� +<option>-dvd-device</option>��蕁鴻�� + +<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腴��� +絋���篏���絲劫����1400MB�井����筝ゅ�CD菴�茵�膽���鐚�菴�絨���絽御�������筝坂���札隋�������腴���莨� +膽�紊����駕���筝������筝��堺��賢�眼�� +</para> + +<para> +絋���篏���綣�茴��������笈��¥�篏�箙���札��菴��㊥�丞�笈�������莅上�菴�茵�膽����� +篏睡��<option>tv://</option><replaceable>channelnumber</replaceable>筝堺��篁九��鐚� +綛句��<option>-tv</option>��臀���腱������蕁鴻�� +DVB莨��ュ轡篏�����膠私室�� +</para> +</sect1> + + +<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + +<sect1 id="menc-feat-mpeg4"> +<title>膽���筝阪�����MPEG-4 ("DivX")</title> + +<para> +箙���篁ヨ��桁�遵��鐚�����筝肴�腱�膽���<emphasis>筝ゆ�</emphasis>絲号��篁区�茵�膽����� +膃��罨∞���鐚����渇����鐚�����筝�篋�����紊х��筝贋�倶��篁�(<filename>*.log</filename>)鐚� +��筝�荀����ゅ�篁��篏���札����AVI������菴���絎�����<filename>/dev/null</filename> +��筝�����茹�蘂�鐚���膃��罨∞����駈�����篋�������莨��堺��篁駈�篏睡�����恰���筝贋�倶��篁倶�箴� +��罸��劫��井����������篁銀����翫ソ���上�顢����鎂���菴����膃��罨≦���鐚�篏���札����� +臀�筝��上�亥�後�喝����� +</para> + +<example id="copy_audio_track"> +<title>紊��狗�活秀</title> +<para> +������膽�������狗�活秀�九�DVD��膃��筝�秀��莉��∽��MPEG-4 ("DivX") 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 id="encode_audio_track"> +<title>絲拷�活秀膽���</title> +<para> +絨�筝�筝�DVD膽�����MPEG-4 ("DivX") 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>鐚�筝�綺�莇�菴�罸霡�1500kb鐚��区��菴��紫������ + ��箙�����篁私�罸��劫����紊贋��篁九0���銀���お蕭��� +</para></listitem> +<listitem><para> + <emphasis role="bold">膸贋��</emphasis>鐚�PSP茹�蘂����水�綺���16�����逸�綛銀���*絎順�� + 腱��<= 64000�� + ���篋����灸�鐚�PSP���醇�㊥�丈�顔���莨������篁吟�� +</para></listitem> +<listitem><para> + <emphasis role="bold">�渇�</emphasis>鐚��狗���欠���絲�MPEG-4綺�筝�24kHz鐚���絲�H.264 + 筝�48kHz�� +</para></listitem> +</itemizedlist> +</para> + +<example id="encode_for_psp"> +<title>膽�����PSP</title> +<para> +<screen> +mencoder -ofps 30000/1001 -af lavcresample=24000 -vf harddup -of lavf \ + -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac \ + -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames \ + <replaceable>input.video</replaceable> -o <replaceable>output.psp</replaceable> +</screen> +羈��鋎���札��菴� +<option>-info name=<replaceable>MovieTitle</replaceable></option>筝肴�蘂�������蘂��� +</para> +</example> +</sect1> + + +<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + +<sect1 id="menc-feat-mpeg"> +<title>膽���筝�MPEG�弱�</title> +<para> +<application>MEncoder</application>������MPEG (MPEG-�����)�弱�����篁吟�� +��絽醐�綵�篏�篏睡��MPEG-1��MPEG-2茹�蘂�鐚�����筝坂���膽�������篋�SVCD, VCD, ��DVD�� +菴�篋��弱��������劫���羆�絨��� +<link linkend="menc-feat-vcd-dvd"> VCD��DVD�������� </link> +筝㊧�茵�茹i�� +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 -lavcoptc acodec=mp2:abitrate=224 -ovc lavc \ + -lavcopts vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 +</screen> +��筝�鐚�篏�篏睡���<systemitem class="library">libavformat</systemitem> MPEG羞桁����� +<screen> +mencoder <replaceable>input.avi</replaceable> -o <replaceable>VCD.mpg</replaceable> -ofps 25 -vf scale=352:288,harddup -of lavf \ + -lavfopts format=mpg:i_certify_that_my_video_stream_does_not_use_b_frames \ + -oac lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc \ + -lavcopts vcodec=mpeg1video:vrc_buf_size=327:keyint=15:vrc_maxrate=1152:vbitrate=1152:vmax_b_frames=0 +</screen> +</para> +</informalexample> + +<note><title>��腓削�</title> +<para> +絋����延���腱�����鐚�膃��罨∞���������筝��巡擦篏�羯≧���篏���札篏睡��Ϊ�筝�腱�罸��劫� +���井�ц�茹�蘂�膽���鐚����篏�篆�絖�篋���筝�罨∞���筝㊦������膸�莅≧��篁吟�� +菴�������筝榊����膸�莅≧��篁句��筝肢��������綵�罸镾∝��紊���綺��筝����劫���莎�篋���劫��� +�区��鐚�篏�荀�羈�������������膽������т���膸�������篁句��罸��劫��後勲筝�紊х�����井�ц� +腮�綺��篏�絨�緇��井��篏恰������ +</para> +</note> +</sect1> + + +<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + +<sect1 id="menc-feat-rescale"> +<title>�劫��球襲紊у�</title> + +<para> +膸鎵後�榊ー荀��劫��球襲�丞��紊у�����羆����������醇����欠��鐚��鎞��鋌九ぇ絨��臀�膸�絽�� +膈�膈���紊у��遺査���喝���DVD��SVCD莉��∽��DivX 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>)鐚� + �贋・����篏����醇���筝�筝�����渇���篁駈�MP3鐚�WAV鐚�綛九��九�����遺�筝���阪�篏�羌����� + 筝堺④��戎��<option>-audiofile <replaceable>��篁九��</replaceable></option>��蕁鴻�� +</para></listitem> +</itemizedlist> + +<para> +篏睡��<option>-oac copy</option>篁��腱�絎劫���弱�紊��九�医Ί�腱�絎劫���弱��駈�篏����初��荀� +篏睡��<option>-fafmttag</option>��蕁剛札篆�����紮���篁句���渇��弱���膈障��箴�絋�鐚�絋���篏�絨� +筝�筝�戎��AAC�渇���NSV��篁区習�√��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膈�)</title> + +<para> +<application>MEncoder</application>��札��菴�筝�筝���紊�筝�JPEG, PNG, TGA, ���� +篁��丞����篁九�銀��球襲��篏睡�������罅√��駈�絎��順����MJPEG (腱糸��JPEG), MPNG +(腱糸��PNG)��MTGA (腱糸��TGA) ��篁吟�� +</para> + +<orderedlist> +<title>菴�腮��颷逸�</title> +<listitem><para> + <application>MEncoder</application>篏睡��<systemitem class="library">libjpeg</systemitem> + 鐚�綵�茹g��PNG�駈�絎�絨�篏睡��<systemitem class="library">libpng</systemitem>鐚�絨�莨��ュ�丞��菴�茵� + <emphasis>茹g��</emphasis>�� +</para></listitem> +<listitem><para> + <application>MEncoder</application>�九���茹g��絅順���丞�����域←��絎���茹�蘂���膽���賢 + (DivX4, Xvid, FFmpeg msmpeg4膈�)�� +</para></listitem> +</orderedlist> + +<formalpara> +<title>箴�絖�</title> +<para> +�割�<option>-mf</option>��蕁合��茹i����man蕁灸賢�� + +<informalexample> +<para> +篏睡��������筝�����JPEG��篁句����MPEG-4��篁吟�� +<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> +篏睡��������筝㊦��筝�篋�JPEG��篁句����MPEG-4��篁吟�� +<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> +篏睡���丞ず��腓榊��筝�膤糸��JPEG��篁句����MPEG-4��篁駈�綵������筝���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> +篏睡��������筝�����JPEG��篁句����腱糸��JPEG鐚�MJPEG鐚���篁駈� +<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�����逸�菴����紮�RGB AVI��篁倶�弱������吟�� +</para></note> + +<informalexample> +<para> +篏睡��������筝�����PNG��篁句����腱糸��PNG (MPNG)��篁駈� +<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> +篏睡��������筝�������TGA��篁句����腱糸��TGA (MTGA)��篁駈� +<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> +篏���札��菴�<option>-vobsubout</option>��絎�莨��堺��篁句���榊���鐚�箴�絋�筝����� +<filename>.idx</filename>��<filename>.sub</filename>���鐚�鐚�絲剛�������篁� +絖���蘂���膣√�篏睡��<option>-vobsuboutindex</option>�� +</para> + +<para> +絋���筝����DVD莨��ワ�篏�綺�莚ヤ戎��<option>-ifo</option>�ヨ;����綮� +������<filename>.idx</filename>��篁倶������<filename>.ifo</filename>��篁吟�� +</para> + +<para> +絋���莨��ヤ���DVD綛銀�篏�羃≧��<filename>.ifo</filename>��篁駈�篏���篏睡�� +<option>-vobsubid</option>��蕁剛札篏水�句�ラ���上��<filename>.idx</filename> +��篁句��莚㊧���莚��� +</para> + +<para> +絋���<filename>.sub</filename>��<filename>.idx</filename>��篁九����罸閩� +�ц��遵��羞糸��絖���蘂�����篁ヤ���綣�紮�����荀�������よ�篋���篁吟�� +</para> + +<example id="copying_two_subtitles_from_a_dvd_while_doing_two_pass_encoding"> +<title>����������膽����銀�DVD紊��九���蘂�</title> +<screen> +rm <replaceable>subtitles.idx</replaceable> <replaceable>subtitles.sub</replaceable> +mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 \ + -vobsubout <replaceable>subtitles</replaceable> -vobsuboutindex 0 -sid 2 +mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 \ + -vobsubout <replaceable>subtitles</replaceable> -vobsuboutindex 1 -sid 5<!-- +--></screen> +</example> + +<example id="copying_a_french_subtitle_from_an_mpeg_file"> +<title>篁��筝�MPEG��篁九��倶���絖���蘂�</title> +<screen> +rm <replaceable>subtitles.idx</replaceable> <replaceable>subtitles.sub</replaceable> +mencoder <replaceable>movie.mpg</replaceable> -ifo <replaceable>movie.ifo</replaceable> -vobsubout <replaceable>subtitles</replaceable> -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>菴���</para> + +<para> +MPEG-4��筝����合���合�刻�茹�蘂�羌���札�������荀����脂�∽�箴�������鐚�罩e��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>��札罩e幻�㊥�丈����������篁駈��銀��㊥�上����巡戎����莚� +���乗院罸�箴��� +</para> + +<para> +篏�綺������球襲�上�鋇�筝��合��藥��<����絲�<systemitem>cropdetect</systemitem>�� +<systemitem>crop</systemitem>羯ら�����������man蕁泣�� +</para> + +<para> +��� +<screen>mencoder <replaceable>sample-svcd.mpg</replaceable> -vf crop=714:548:0:14 -oac copy -ovc lavc \ + -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect -o <replaceable>output.avi</replaceable></screen> +</para> +</sect1> + +</chapter>