2005-04-24 22:09:53 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<!-- synced with r20041 -->
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<chapter id="mencoder">
|
2005-07-25 14:53:15 +00:00
|
|
|
|
<title>A <application>MEncoder</application> haszn<7A>lat<61>nak alapjai</title>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <application>MEncoder</application> <20>sszes haszn<7A>lhat<61> kapcsol<6F>j<EFBFBD>hoz <20>s
|
|
|
|
|
a p<>ld<6C>khoz k<>rlek n<>zd meg a man oldalt. Mindennapi p<>ld<6C>k<EFBFBD>rt <20>s a sz<73>mos
|
|
|
|
|
k<EFBFBD>dol<EFBFBD>si param<61>ter b<>vebb le<6C>r<EFBFBD>s<EFBFBD><73>rt olvasd el a
|
|
|
|
|
<ulink url="../../tech/encoding-tips.txt">k<EFBFBD>dol<EFBFBD>si tippeket</ulink>, amiket
|
|
|
|
|
sz<EFBFBD>mos levelez<65>si lista sz<73>lb<6C>l gy<67>jt<6A>tt<74>nk <20>ssze az MPlayer-users-r<>l.
|
|
|
|
|
Kereshetsz az
|
2006-09-08 21:59:44 +00:00
|
|
|
|
<ulink url="http://lists.mplayerhq.hu/pipermail/mplayer-users/">arch<EFBFBD>vumban</ulink>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
a rengeteg besz<73>lget<65>s k<>z<EFBFBD>tt, melyek a <application>MEncoder</application>rel
|
|
|
|
|
t<EFBFBD>rt<EFBFBD>n<EFBFBD> k<>dol<6F>st t<>bb szempontb<74>l vizsg<73>lj<6C>k <20>s kiemelik a probl<62>m<EFBFBD>kat vele
|
|
|
|
|
kapcsolatban.
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-10-14 18:54:01 +00:00
|
|
|
|
<sect1 id="menc-feat-selecting-codec">
|
|
|
|
|
<title>Codec <20>s kont<6E>ner form<72>tum kiv<69>laszt<7A>sa</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A k<>dol<6F>shoz az audi<64> <20>s vide<64> codec-ek a <option>-oac</option> <20>s
|
|
|
|
|
<option>-ovc</option> opci<63>kkal adhat<61> meg.
|
|
|
|
|
G<>peld be ezt a p<>ld<6C>t:
|
|
|
|
|
<screen>mencoder -ovc help</screen>
|
|
|
|
|
a g<>peden l<>v<EFBFBD> <application>MEncoder</application> <20>ltal t<>mogatott
|
|
|
|
|
vide<64> codec-ek kilist<73>z<EFBFBD>s<EFBFBD>hoz.
|
|
|
|
|
A k<>vetkez<65> v<>laszt<7A>sok <20>rhet<65>ek el:
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Audi<EFBFBD> codec-ek:
|
|
|
|
|
|
|
|
|
|
<informaltable frame="all">
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Audi<EFBFBD> codec neve</entry><entry>Le<EFBFBD>r<EFBFBD>s</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>mp3lame</entry>
|
|
|
|
|
<entry>K<EFBFBD>dol VBR, ABR vagy CBR MP3-at LAME-mel</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>lavc</entry>
|
|
|
|
|
<entry>A <link linkend="menc-feat-enc-libavcodec-audio-codecs"><systemitem class="library">libavcodec</systemitem> valamelyik audi<64> codec-j<>t haszn<7A>lja</link>
|
|
|
|
|
</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>faac</entry>
|
|
|
|
|
<entry>FAAC AAC audi<64> k<>dol<6F></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>toolame</entry>
|
|
|
|
|
<entry>MPEG Audio Layer 2 k<>dol<6F></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>twolame</entry>
|
|
|
|
|
<entry>tooLAME alap<61> MPEG Audio Layer 2 k<>dol<6F></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>pcm</entry>
|
|
|
|
|
<entry>T<EFBFBD>m<EFBFBD>r<EFBFBD>tetlen PCM audi<64></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>copy</entry>
|
|
|
|
|
<entry>Nem k<>dol <20>jra, csak m<>solja a t<>m<EFBFBD>r<EFBFBD>tett kock<63>kat</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Vide<EFBFBD> codec-ek:
|
|
|
|
|
<informaltable frame="all">
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Vide<EFBFBD> codec neve</entry><entry>Le<EFBFBD>r<EFBFBD>s</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>lavc</entry>
|
|
|
|
|
<entry>A <link linkend="menc-feat-enc-libavcodec-video-codecs"><systemitem class="library">libavcodec</systemitem> valamelyik vide<64> codec-j<>t haszn<7A>lja</link>
|
|
|
|
|
</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>xvid</entry>
|
|
|
|
|
<entry>XviD, MPEG-4 Advanced Simple Profile (ASP) codec</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>x264</entry>
|
|
|
|
|
<entry>x264, MPEG-4 Advanced Video Coding (AVC), AKA H.264 codec</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>nuv</entry>
|
|
|
|
|
<entry>nuppel video, n<>h<EFBFBD>ny realtime alkalmaz<61>s haszn<7A>lja</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>raw</entry>
|
|
|
|
|
<entry>T<EFBFBD>m<EFBFBD>r<EFBFBD>tetlen vide<64> k<>pkock<63>k</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>copy</entry>
|
|
|
|
|
<entry>Nem k<>dol <20>jra, csak m<>solja a t<>m<EFBFBD>r<EFBFBD>tett kock<63>kat</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>frameno</entry>
|
|
|
|
|
<entry>A 3-l<>p<EFBFBD>ses k<>dol<6F>sban haszn<7A>latos (nem javasolt)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
A kimeneti kont<6E>ner form<72>tumokat a <option>-of</option> kapcsol<6F>val
|
|
|
|
|
v<>laszthatod ki.
|
|
|
|
|
<20>rd be:
|
|
|
|
|
<screen>mencoder -of help</screen>
|
|
|
|
|
a g<>peden l<>v<EFBFBD> <application>MEncoder</application> <20>ltal t<>mogatott kont<6E>nerek
|
|
|
|
|
kilist<73>z<EFBFBD>s<EFBFBD>hoz.
|
|
|
|
|
A k<>vetkez<65> v<>laszt<7A>sok <20>rhet<65>ek el:
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Kont<EFBFBD>ner form<72>tumok:
|
|
|
|
|
<informaltable frame="all">
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Kont<EFBFBD>ner form<72>tum neve</entry><entry>Le<EFBFBD>r<EFBFBD>s</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>lavf</entry>
|
|
|
|
|
<entry>A <systemitem class="library">libavformat</systemitem> <20>ltal
|
|
|
|
|
t<>mogatott valamelyik kont<6E>ner</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>avi</entry>
|
|
|
|
|
<entry>Audio-Video Interleaved</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>mpeg</entry>
|
|
|
|
|
<entry>MPEG-1 <20>s MPEG-2 PS</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>rawvideo</entry>
|
|
|
|
|
<entry>nyers vide<64> folyam (nincs kever<65>s - csak egy vide<64> folyam)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>rawaudio</entry>
|
|
|
|
|
<entry>nyers audi<64> folyam (nincs kever<65>s - csak egy audi<64> folyam)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
Az AVI kont<6E>ner a <application>MEncoder</application> nat<61>v kont<6E>ner
|
|
|
|
|
form<72>tuma, ami azt jelenti, hogy ezt kezeli a legjobban <20>s hogy a
|
|
|
|
|
<application>MEncoder</application> ehhez lett tervezve.
|
|
|
|
|
Amint fentebb megeml<6D>tett<74>k, m<>s kont<6E>ner form<72>tumok is haszn<7A>lhat<61>ak, de
|
|
|
|
|
probl<62>m<EFBFBD>kba <20>tk<74>zhetsz a haszn<7A>latuk sor<6F>n.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<systemitem class="library">libavformat</systemitem> kont<6E>nerek:
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Ha a <systemitem class="library">libavformat</systemitem>-ot v<>lasztottad
|
|
|
|
|
a kimeneti f<>jl kever<65>s<EFBFBD>hez (a <option>-of lavf</option> haszn<7A>lat<61>val),
|
|
|
|
|
a megfelel<65> kont<6E>ner form<72>tum a kimeneti f<>jl kiterjeszt<7A>se alapj<70>n ker<65>l
|
|
|
|
|
meg<65>llap<61>t<EFBFBD>sra.
|
|
|
|
|
Egy meghat<61>rozott kont<6E>ner form<72>tumot a <option>format</option> kapcsol<6F>val
|
|
|
|
|
tudsz megadni a <systemitem class="library">libavformat</systemitem>-nek.
|
|
|
|
|
|
|
|
|
|
<informaltable frame="all">
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry><systemitem class="library">libavformat</systemitem> kont<6E>ner neve</entry><entry>Le<EFBFBD>r<EFBFBD>s</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>mpg</entry>
|
|
|
|
|
<entry>MPEG-1 <20>s MPEG-2 PS</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>asf</entry>
|
|
|
|
|
<entry>Advanced Streaming Format</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>avi</entry>
|
|
|
|
|
<entry>Audio-Video Interleaved</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>wav</entry>
|
|
|
|
|
<entry>Waveform Audio</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>swf</entry>
|
|
|
|
|
<entry>Macromedia Flash</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>flv</entry>
|
|
|
|
|
<entry>Macromedia Flash video</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 ny<6E>lt kont<6E>ner (k<>s<EFBFBD>rleti <20>s m<>g nem a specifik<69>ci<63>nak megfelel<65>)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>mov</entry>
|
|
|
|
|
<entry>QuickTime</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>mp4</entry>
|
|
|
|
|
<entry>MPEG-4 form<72>tum</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>dv</entry>
|
|
|
|
|
<entry>Sony Digital Video kont<6E>ner</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
Amint l<>thatod, a <systemitem class="library">libavformat</systemitem>
|
|
|
|
|
el<65>g sok kont<6E>ner form<72>tumba enged<65>lyezi a kever<65>st a
|
|
|
|
|
<application>MEncoder</application>-nek.
|
|
|
|
|
Sajnos mivel a <application>MEncoder</application> nem <20>gy lett tervezve
|
|
|
|
|
a kezdetekt<6B>l, hogy az AVI-t<>l k<>l<EFBFBD>nb<6E>z<EFBFBD> kont<6E>ner form<72>tumokat is t<>mogassa,
|
|
|
|
|
izgulhatsz a kimeneti f<>jl miatt.
|
|
|
|
|
K<>rj<72>k ellen<65>rizd, hogy az audi<64>/vide<64> szinkron rendben van-e <20>s hogy a
|
|
|
|
|
f<>jl lej<65>tszhat<61>-e m<>s lej<65>tsz<73>kkal is az
|
|
|
|
|
<application>MPlayer</application>-en k<>v<EFBFBD>l.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>P<EFBFBD>lda:</para>
|
|
|
|
|
<para>
|
|
|
|
|
Egy Macromedia Flash vide<64> l<>trehoz<6F>sa, mely lej<65>tszhat<61> web b<>ng<6E>sz<73>ben
|
|
|
|
|
a Macromedia Flash plugin-nel:
|
|
|
|
|
<screen>
|
|
|
|
|
mencoder <replaceable>bemenet.avi</replaceable> -o <replaceable>kimenet.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>Bemeneti f<>jl vagy eszk<7A>z kiv<69>laszt<7A>sa</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <application>MEncoder</application> tud k<>dolni f<>jlokb<6B>l vagy ak<61>r
|
|
|
|
|
direkt DVD vagy VCD lemezekr<6B>l is.
|
|
|
|
|
A f<>jlb<6C>l val<61> k<>dol<6F>shoz egyszer<65>en csak add meg a f<>jl nev<65>t a parancssorban,
|
|
|
|
|
vagy a <option>dvd://</option><replaceable>r<EFBFBD>szsz<EFBFBD>m</replaceable> vagy
|
|
|
|
|
<option>vcd://</option><replaceable>s<EFBFBD>vsz<EFBFBD>m</replaceable> eszk<7A>zt a
|
|
|
|
|
DVD r<>szr<7A>l vagy VCD s<>vr<76>l t<>rt<72>n<EFBFBD> k<>dol<6F>shoz.
|
|
|
|
|
Ha egy DVD-t m<>r <20>tm<74>solt<6C>l a merevlemezedre (haszn<7A>lhatod pl. a
|
|
|
|
|
<application>dvdbackup</application> ezsk<73>zt, mely a legt<67>bb rendszeren megvan),
|
|
|
|
|
<20>s a m<>solatot akarod elk<6C>dolni, akkor is haszn<7A>lnod kell a
|
|
|
|
|
<option>dvd://</option> szintaxist, a <option>-dvd-device</option>-szal egy<67>tt,
|
|
|
|
|
amit a lem<65>solt DVD gy<67>k<EFBFBD>rk<72>nyvt<76>r<EFBFBD>nak el<65>r<EFBFBD>si <20>tja k<>vet.
|
|
|
|
|
|
|
|
|
|
A <option>-dvd-device</option> <20>s <option>-cdrom-device</option>
|
|
|
|
|
kapcsol<6F>kkal fel<65>lb<6C>r<EFBFBD>lhat<61>ak a direkt lemezolvas<61>sn<73>l haszn<7A>lt eszk<7A>z<EFBFBD>k
|
|
|
|
|
el<65>r<EFBFBD>si <20>tj<74>i is, ha az alap<61>rtelmezett
|
|
|
|
|
<filename>/dev/dvd</filename> <20>s <filename>/dev/cdrom</filename> nem
|
|
|
|
|
m<>k<EFBFBD>dnek a rendszereden.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Ha DVD-r<>l k<>dolsz, gyakran k<>v<EFBFBD>natos, hogy a k<>dolni k<>v<EFBFBD>nt fejezetet vagy
|
|
|
|
|
fejezetek tartom<6F>ny<6E>t is megadd.
|
|
|
|
|
Ehhez haszn<7A>lhatod a <option>-chapter</option> kapcsol<6F>t.
|
|
|
|
|
P<>ld<6C>ul a <option>-chapter</option> <replaceable>1-4</replaceable>
|
|
|
|
|
csak az 1-4 fejezeteket fogja elk<6C>dolni a DVD-r<>l.
|
|
|
|
|
Ez k<>l<EFBFBD>n<EFBFBD>sen hasznos, ha egy 1400 MB-os k<>dol<6F>st csin<69>lsz k<>t CD-re, mivel
|
|
|
|
|
meggy<67>z<EFBFBD>dhetsz r<>la, hogy a v<>g<EFBFBD>s pontosan fejezet hat<61>rn<72>l lesz <20>s nem
|
|
|
|
|
egy jelenet k<>zep<65>n.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Ha van t<>mogatott TV felvev<65> k<>rty<74>d, tudsz k<>dolni a TV-in eszk<7A>zr<7A>l is.
|
|
|
|
|
Haszn<7A>ld a <option>tv://</option><replaceable>csatornasz<EFBFBD>m</replaceable> eszk<7A>zt
|
|
|
|
|
f<>jln<6C>vk<76>nt <20>s a <option>-tv</option> kapcosl<73>t a ment<6E>si be<62>ll<6C>t<EFBFBD>sok
|
|
|
|
|
megad<61>s<EFBFBD>hoz.
|
|
|
|
|
A DVB hasonl<6E>k<EFBFBD>ppen m<>k<EFBFBD>dik.
|
|
|
|
|
</para>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<sect1 id="menc-feat-mpeg4">
|
|
|
|
|
<title>K<EFBFBD>t menetes MPEG-4 ("DivX") k<>dol<6F>s</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A n<>v abb<62>l a t<>nyb<79>l ered, hogy ez a m<>dszer a f<>jlt <emphasis>k<EFBFBD>tszer</emphasis>
|
|
|
|
|
k<EFBFBD>dolja <20>t. Az els<6C> k<>dol<6F>s (szinkroniz<69>ci<63>s l<>p<EFBFBD>s) l<>trehoz p<>r ideiglenes,
|
|
|
|
|
n<EFBFBD>h<EFBFBD>ny megab<61>jtos f<>jlt (<filename>*.log</filename>), ezeket ne t<>r<EFBFBD>ld le
|
2005-10-14 18:54:01 +00:00
|
|
|
|
m<EFBFBD>g (az AVI-t let<65>r<EFBFBD>lheted vagy egyszer<65>en l<>tre sem hozod, a vide<64>
|
|
|
|
|
<filename>/dev/null</filename> -ba ir<69>ny<6E>t<EFBFBD>s<EFBFBD>val). A m<>sodik l<>p<EFBFBD>sben, a k<>t menetes
|
|
|
|
|
kimenet f<>jl lesz l<>trehozva, az ideiglenes f<>jlok bitr<74>t<EFBFBD>j<EFBFBD>nak felhaszn<7A>l<EFBFBD>s<EFBFBD>val.
|
|
|
|
|
Az eredm<64>ny f<>jlnak sokkal jobb lesz a k<>pmin<69>s<EFBFBD>ge. Ha most hallasz err<72>l el<65>sz<73>r,
|
2005-04-24 22:09:53 +00:00
|
|
|
|
n<EFBFBD>zz meg p<>r a neten el<65>rhet<65> le<6C>r<EFBFBD>st.
|
|
|
|
|
</para>
|
|
|
|
|
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<example id="copy_audio_track">
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<title>audi<EFBFBD> s<>v m<>sol<6F>sa</title>
|
|
|
|
|
<para>
|
2005-10-14 18:54:01 +00:00
|
|
|
|
Egy DVD m<>sodik s<>vj<76>nak k<>t menetes k<>dol<6F>sa MPEG-4 ("DivX") AVI-ba az
|
|
|
|
|
audi<EFBFBD> s<>v m<>sol<6F>s<EFBFBD>val.
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
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>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</example>
|
|
|
|
|
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<example id="encode_audio_track">
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<title>audi<EFBFBD> s<>v k<>dol<6F>sa</title>
|
|
|
|
|
<para>
|
2005-10-14 18:54:01 +00:00
|
|
|
|
Egy DVD m<>sodik s<>vj<76>nak k<>t menetes k<>dol<6F>sa MPEG-4 ("DivX") AVI-ba az
|
|
|
|
|
audi<EFBFBD> s<>v MP3-ba alak<61>t<EFBFBD>s<EFBFBD>val.
|
|
|
|
|
Vigy<EFBFBD>zz ezzela m<>dszerrel, mivel bizonyos esetekben audi<64>/vide<64>
|
|
|
|
|
deszinkroniz<EFBFBD>ci<EFBFBD>hoz vezethet.
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
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>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</example>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
2006-08-02 14:50:16 +00:00
|
|
|
|
|
|
|
|
|
<sect1 id="menc-feat-handheld-psp">
|
|
|
|
|
<title>K<EFBFBD>dol<EFBFBD>s Sony PSP vide<64> form<72>tumba</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <application>MEncoder</application> t<>mogatja a Sony PSP vide<64> form<72>tum<75>ba
|
|
|
|
|
t<>rt<72>n<EFBFBD> k<>dol<6F>st, de a PSP szoftver<65>nek v<>ltozat<61>t<EFBFBD>l f<>gg<67>en k<>l<EFBFBD>nb<6E>z<EFBFBD>
|
|
|
|
|
korl<72>tok vannak.
|
|
|
|
|
Nyugodt lehetsz, ha a k<>vetkez<65> korl<72>tokat figyelembe veszed:
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">Bitr<EFBFBD>ta</emphasis>: nem l<>pheti <20>t az 1500kbps-t,
|
|
|
|
|
b<>r az ut<75>bbi verzi<7A>k el<65>g j<>l t<>mogatnak b<>rmilyen bitr<74>t<EFBFBD>t, felt<6C>ve, hogy
|
|
|
|
|
a fejl<6A>cben nem t<>l nagy <20>rt<72>k van megadva.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">M<EFBFBD>retek</emphasis>: a PSP vide<64> sz<73>less<73>g<EFBFBD>nek <20>s
|
|
|
|
|
magass<73>g<EFBFBD>nak 16-tal oszthat<61>nak kell lennie <20>s az eredm<64>ny sz<73>less<73>g * magass<73>g
|
|
|
|
|
<20>rt<72>k<EFBFBD>nek <= 64000 kell lennie.
|
|
|
|
|
Bizonyos k<>r<EFBFBD>lm<6C>nyek k<>z<EFBFBD>tt lehets<74>ges a nagyobb felbont<6E>s PSP-vel t<>rt<72>n<EFBFBD>
|
|
|
|
|
lej<65>tsz<73>sa is.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<emphasis role="bold">Audi<EFBFBD></emphasis>: a mintav<61>telez<65>si frekvenci<63>nak 24kHz-nek
|
|
|
|
|
kell lennie az MPEG-4 vide<64>kn<6B>l <20>s 48kHz-nek a H.264-n<>l.
|
2006-08-02 14:50:16 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<example id="encode_for_psp">
|
|
|
|
|
<title>k<EFBFBD>dol<EFBFBD>s PSP-be</title>
|
2006-08-02 14:50:16 +00:00
|
|
|
|
<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>
|
|
|
|
|
Note that you can set the title of the video with
|
|
|
|
|
<option>-info name=<replaceable>MovieTitle</replaceable></option>.
|
|
|
|
|
</para>
|
|
|
|
|
</example>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<sect1 id="menc-feat-mpeg">
|
|
|
|
|
<title>K<EFBFBD>dol<EFBFBD>s MPEG form<72>tumba</title>
|
|
|
|
|
<para>
|
2005-08-05 21:13:13 +00:00
|
|
|
|
A <application>MEncoder</application> tud k<>sz<73>teni MPEG (MPEG-PS) form<72>tum<75>
|
|
|
|
|
kimeneti f<>jlokat.
|
|
|
|
|
<EFBFBD>ltal<EFBFBD>ban, ha MPEG-1 vagy MPEG-2 vide<64>t haszn<7A>lsz, az az<61>rt van, mert egy
|
|
|
|
|
korl<EFBFBD>tozott form<72>tumhoz k<>dolsz, mint pl. az SVCD, a VCD vagy a DVD.
|
|
|
|
|
Ezen form<72>tumok speci<63>lis ig<69>nyei a
|
|
|
|
|
<link linkend="menc-feat-vcd-dvd">VCD <20>s DVD k<>sz<73>t<EFBFBD>si le<6C>r<EFBFBD>sban</link>
|
|
|
|
|
megtal<EFBFBD>lhat<EFBFBD>ak.
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <application>MEncoder</application> kimeneti f<>jl form<72>tum<75>nak megv<67>ltoztat<61>s<EFBFBD>hoz
|
|
|
|
|
haszn<EFBFBD>ld a <option>-of mpeg</option> kapcsol<6F>t.
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-10-14 18:54:01 +00:00
|
|
|
|
<informalexample>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>lda:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder <replaceable>bemenet.avi</replaceable> -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy <replaceable>egy<EFBFBD>b_kapcsol<EFBFBD>k</replaceable> -o <replaceable>kimenet.mpg</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
2005-10-14 18:54:01 +00:00
|
|
|
|
Egy MPEG-1-es f<>jl l<>trehoz<6F>sa, mely alkalmas minim<69>lis multim<69>dia t<>mogat<61>ssal
|
|
|
|
|
rendelkez<EFBFBD> rendszereken, p<>ld<6C>ul alap<61>rtelmezett Windows telep<65>t<EFBFBD>seken t<>rt<72>n<EFBFBD>
|
|
|
|
|
lej<EFBFBD>tsz<EFBFBD>sra is:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder <replaceable>bemenet.avi</replaceable> -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o <replaceable>kimenet.mpg</replaceable> -oac lavc -ovc lavc \
|
|
|
|
|
-lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
|
2005-10-14 18:54:01 +00:00
|
|
|
|
</screen>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</para>
|
2005-10-14 18:54:01 +00:00
|
|
|
|
</informalexample>
|
|
|
|
|
|
2006-04-15 16:39:46 +00:00
|
|
|
|
<note><title>Tan<EFBFBD>cs:</title>
|
|
|
|
|
<para>
|
|
|
|
|
Ha valamilyen okb<6B>l kifoly<6C>lag a vide<64> min<69>s<EFBFBD>g a m<>sodik l<>p<EFBFBD>sben nem
|
|
|
|
|
kiel<65>g<EFBFBD>t<EFBFBD>, aj<61>nlott <20>jrafuttatnod a vide<64> k<>dol<6F>sod egy m<>sik c<>l
|
|
|
|
|
bitr<74>t<EFBFBD>val, felt<6C>ve, hogy elmentetted az el<65>z<EFBFBD> l<>p<EFBFBD>s statisztik<69>t
|
|
|
|
|
tartalmaz<61> f<>jlj<6C>t.
|
|
|
|
|
Ez az<61>rt lehets<74>ges, mert a statisztika f<>jl els<6C>dleges c<>lja minden
|
|
|
|
|
egyes k<>pkocka komplexit<69>s<EFBFBD>nak feljegyz<79>se, ami nem f<>gg er<65>teljesen
|
|
|
|
|
a bitr<74>t<EFBFBD>t<EFBFBD>l. Azonban vedd figyelembe, hogy akkor kapod a legjobb
|
|
|
|
|
min<69>s<EFBFBD>get, ha a l<>p<EFBFBD>sek c<>l bitr<74>t<EFBFBD>ja nem k<>l<EFBFBD>nb<6E>zik nagy m<>rt<72>kben.
|
|
|
|
|
</para>
|
|
|
|
|
</note>
|
|
|
|
|
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="menc-feat-rescale">
|
|
|
|
|
<title>Filmek <20>tm<74>retez<65>se</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Gyakran sz<73>ks<6B>ged lehet a vide<64> k<>pm<70>ret<65>nek <20>tm<74>retez<65>s<EFBFBD>re. Ennek t<>bb oka
|
|
|
|
|
lehet: f<>jl m<>ret<65>nek cs<63>kkent<6E>se, h<>l<EFBFBD>zati s<>vsz<73>less<73>g, stb. A legt<67>bb ember
|
|
|
|
|
akkor is v<>gez <20>tm<74>retez<65>st, amikor DVD-ket vagy SVCD-ket konvert<72>l DivX AVI-ba.
|
|
|
|
|
Ha <20>t szeretn<74>l m<>retezni, olvasd el a <link linkend="aspect">k<EFBFBD>pm<EFBFBD>ret ar<61>nyok megtart<72>s<EFBFBD>r<EFBFBD>l</link>
|
|
|
|
|
sz<EFBFBD>l<EFBFBD> r<>szt.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A m<>retez<65>si elj<6C>r<EFBFBD>st a <literal>scale</literal> vide<64> sz<73>r<EFBFBD> v<>gzi:
|
|
|
|
|
<option>-vf scale=<replaceable>sz<EFBFBD>less<EFBFBD>g</replaceable>:<replaceable>magass<EFBFBD>g</replaceable></option>.
|
|
|
|
|
A min<69>s<EFBFBD>ge be<62>ll<6C>that<61> a <option>-sws</option> kapcsol<6F>val.
|
|
|
|
|
Ha ez nincs megadva, akkor a <application>MEncoder</application> a 2: bicubic-et haszn<7A>lja.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Haszn<EFBFBD>lat:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder <replaceable>bemenet.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -vf scale=640:480 -o <replaceable>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1 id="menc-feat-streamcopy">
|
|
|
|
|
<title>Stream m<>sol<6F>s</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
<application>MEncoder</application> k<>tf<74>lek<65>ppen tudja kezelni a folyamokat:
|
|
|
|
|
<emphasis role="bold">k<EFBFBD>dolni</emphasis> vagy <emphasis role="bold">m<EFBFBD>solni</emphasis>
|
|
|
|
|
tudja <20>ket. Ez a r<>sz a <emphasis role="bold">m<EFBFBD>sol<EFBFBD>sr<EFBFBD>l</emphasis> sz<73>l.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">Vide<EFBFBD> stream</emphasis> (<option>-ovc copy</option> kapcsol<6F>):
|
|
|
|
|
sz<73>p dolgokat lehet vele csin<69>lni :) P<>ld<6C>ul FLI vagy VIVO vagy
|
|
|
|
|
MPEG-1 vide<64>t tenni (nem konvert<72>lni!) AVI f<>jlba! Term<72>szetesen csak az
|
|
|
|
|
<application>MPlayer</application> tudja lej<65>tszani az ilyen f<>jlokat :) Ennek
|
|
|
|
|
val<61>sz<73>n<EFBFBD>leg gyakorlati haszna nincs. <20>sszer<65>bben: a vide<64> stream m<>sol<6F>sa
|
|
|
|
|
hasznos lehet p<>ld<6C>ul ha csak az audi<64> stream-et kell k<>dolni (p<>ld<6C>ul
|
|
|
|
|
t<>m<EFBFBD>r<EFBFBD>tetlen PCM-et MP3-ba).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">Audi<EFBFBD> stream</emphasis> (<option>-oac copy</option> kapcsol<6F>):
|
|
|
|
|
<20>szint<6E>n sz<73>lva... Bele lehet mixelni egy k<>ls<6C> audi<64> f<>jlt (MP3, WAV) a
|
|
|
|
|
kimeneti stream-be. Haszn<7A>ld a
|
|
|
|
|
<option>-audiofile <replaceable>f<EFBFBD>jln<EFBFBD>v</replaceable></option> kapcsol<6F>t
|
|
|
|
|
ehhez.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
2005-08-21 08:40:26 +00:00
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <option>-oac copy</option> haszn<7A>lat<61>val v<>grehajtott egyik kont<6E>ner form<72>tumb<6D>l
|
|
|
|
|
m<>sikba t<>rt<72>n<EFBFBD> m<>sol<6F>shoz sz<73>ks<6B>ges lehet a <option>-fafmttag</option> kapcsol<6F>,
|
|
|
|
|
hogy megmaradjon az eredeti f<>jl audi<64> form<72>tum tag-je.
|
|
|
|
|
P<>ld<6C>ul ha egy NSV f<>jl AAC audi<64>val AVI kont<6E>nerbe alak<61>tasz <20>t, az
|
|
|
|
|
audi<64> form<72>tum tag hib<69>s lesz <20>s meg kell v<>ltoztatni. Az audi<64> form<72>tum tag-ek
|
|
|
|
|
list<73>j<EFBFBD>t megtal<61>lod a <filename>codecs.conf</filename> f<>jlban.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
P<EFBFBD>lda:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder <replaceable>bemenet.nsv</replaceable> -oac copy -fafmttag 0x706D -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -o <replaceable>kimenet.avi</replaceable>
|
2005-08-21 08:40:26 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1 id="menc-feat-enc-images">
|
|
|
|
|
<title>K<EFBFBD>dol<EFBFBD>s t<>bb bemeneti k<>pf<70>jlb<6C>l (JPEG, PNG, TGA, SGI)</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <application>MEncoder</application> k<>pes egy vagy t<>bb JPEG, PNG vagy TGA f<>jlb<6C>l
|
|
|
|
|
film l<>trehoz<6F>s<EFBFBD>ra. Egy egyszer<65> framecopy-val MJPEG (Motion JPEG),
|
|
|
|
|
MPNG (Motion PNG) vagy MTGA (Motion TGA) f<>jlokat tud l<>trehozni.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<title>A folyamat le<6C>r<EFBFBD>sa:</title>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
A <application>MEncoder</application> <emphasis>dek<EFBFBD>dolja</emphasis> a bemeneti
|
|
|
|
|
k<>pe(ke)t a <systemitem class="library">libjpeg</systemitem>-gel (ha PNG-ket
|
|
|
|
|
dek<65>dol, akkor a <systemitem class="library">libpng</systemitem>-vel).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Ezut<75>n a <application>MEncoder</application> a dek<65>dolt k<>peket a kiv<69>lasztott
|
|
|
|
|
vide<64> t<>m<EFBFBD>r<EFBFBD>t<EFBFBD>nek adja <20>t (DivX4, XviD, FFmpeg msmpeg4, stb.).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
|
<title>P<EFBFBD>ld<EFBFBD>k</title>
|
|
|
|
|
<para>
|
|
|
|
|
A <option>-mf</option> kapcsol<6F> magyar<61>zata a man oldalon tal<61>lhat<61>.
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
2005-07-25 14:53:15 +00:00
|
|
|
|
Egy MPEG-4-es f<>jl l<>trehoz<6F>sa az aktu<74>lis k<>nyvt<76>rb<72>l tal<61>lhat<61> <20>sszes
|
|
|
|
|
JPEG f<>jlb<6C>l:
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
|
|
|
|
Egy MPEG-4 f<>jl l<>trehoz<6F>sa n<>h<EFBFBD>ny JPEG f<>jlb<6C>l az aktu<74>lis k<>nyvt<76>rban:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
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>kimenet.avi</replaceable>
|
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
|
|
|
|
Egy MPEG-4 f<>jl l<>trehoz<6F>sa JPEG f<>jlok explicit list<73>j<EFBFBD>b<EFBFBD>l (az aktu<74>lis k<>nyvt<76>rban l<>v<EFBFBD>
|
|
|
|
|
lista.txt tartalmazza a forr<72>sk<73>nt felhaszn<7A>land<6E> f<>jlokat, soronk<6E>nt egyet):
|
|
|
|
|
<screen>
|
|
|
|
|
mencoder mf://<replaceable>@lista.txt</replaceable> -mf w=800:h=600:fps=25:type=jpg \
|
|
|
|
|
-ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
|
|
|
|
Egy Motion JPEG (MJPEG) f<>jl k<>sz<73>t<EFBFBD>se az aktu<74>lis k<>nyvt<76>r <20>sszes JPEG f<>jl<6A>b<EFBFBD>l:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc copy -oac copy -o <replaceable>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
|
|
|
|
Egy t<>m<EFBFBD>r<EFBFBD>tetlen f<>jl l<>trehoz<6F>sa az aktu<74>lis k<>nyvt<76>r <20>sszes PNG f<>jl<6A>b<EFBFBD>l:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o <replaceable>kimenet.avi</replaceable>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
A sz<73>less<73>gnek 4 eg<65>sz t<>bbsz<73>r<EFBFBD>s<EFBFBD>nek kell lennie, ez a RAW RGB AVI form<72>tum megszor<6F>t<EFBFBD>sa.
|
|
|
|
|
</para></note>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
|
|
|
|
Egy Motion PNG (MPNG) f<>jl l<>trehoz<6F>sa az aktu<74>lis k<>nyvt<76>r PNG f<>jlaib<69>l:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o <replaceable>kimenet.avi</replaceable> <!--
|
2005-04-24 22:09:53 +00:00
|
|
|
|
--></screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
<informalexample>
|
|
|
|
|
<para>
|
|
|
|
|
Egy Motion TGA (MTGA) f<>jl l<>trehoz<6F>sa az aktu<74>lis k<>nyvt<76>r <20>sszes TGA f<>jl<6A>b<EFBFBD>l:
|
|
|
|
|
<screen>
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder mf://*.tga -mf w=800:h=600:fps=25:type=tga -ovc copy -oac copy -o <replaceable>kimenet.avi</replaceable><!--
|
2005-04-24 22:09:53 +00:00
|
|
|
|
--></screen>
|
|
|
|
|
</para>
|
|
|
|
|
</informalexample>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
</formalpara>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect1 id="menc-feat-extractsub">
|
|
|
|
|
<title>DVD felirat elment<6E>se VOBsub f<>jlba</title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
A <application>MEncoder</application> k<>pes a feliratok kiszed<65>s<EFBFBD>re
|
|
|
|
|
a DVD-kb<6B>l <20>s elment<6E>s<EFBFBD>re VOBsub form<72>tum<75> f<>jlokba. Ezek k<>t f<>jlb<6C>l
|
|
|
|
|
<EFBFBD>llnak, <filename>.idx</filename> <20>s <filename>.sub</filename> kiterjeszt<7A>ssel,
|
|
|
|
|
<EFBFBD>s <20>ltal<61>ban egy <filename>.rar</filename> arch<63>vba vannak becsomagolva.
|
|
|
|
|
Az <application>MPlayer</application> le tudja ezeket j<>tszani a
|
|
|
|
|
<option>-vobsub</option> <20>s a <option>-vobsubid</option> kapcsol<6F>kkal.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Meg kell adnod a kimeneti f<>jlok f<>jlnev<65>t (az <filename>.idx</filename> vagy
|
|
|
|
|
<filename>.sub</filename> kiterjeszt<7A>s n<>lk<6C>l) a
|
|
|
|
|
<option>-vobsubout</option> kapcsol<6F>val <20>s az ezen felirathoz tartoz<6F>
|
|
|
|
|
indexet a kimeneti f<>jlokban a <option>-vobsuboutindex</option>-szel.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ha a bemenet nem DVD, akkor a <option>-ifo</option> kapcsol<6F>t kell
|
|
|
|
|
haszn<EFBFBD>lnod ahhoz, hogy megadd, hogy <filename>.ifo</filename> f<>jl
|
|
|
|
|
sz<EFBFBD>ks<EFBFBD>ges a kimeneti <filename>.idx</filename> elk<6C>sz<73>t<EFBFBD>s<EFBFBD>hez.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ha a bemenet nem DVD <20>s nincs <filename>.ifo</filename> f<>jlod,
|
|
|
|
|
a <option>-vobsubid</option> kapcsol<6F>t kell haszn<7A>lnod, hogy megadd,
|
|
|
|
|
milyen nyelv id-t kell beletenni az <filename>.idx</filename> f<>jlba.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Mindk<EFBFBD>t esetben az <20>ppen fut<75> felirat hozz<7A><7A>r<EFBFBD>dik a <filename>.idx</filename>
|
|
|
|
|
<EFBFBD>s <filename>.sub</filename> f<>jlokhoz, amennyiben azok m<>r l<>teznek. <20>gy
|
|
|
|
|
ezeket le kell t<>r<EFBFBD>ln<6C>d, miel<65>tt neki<6B>lln<6C>l.
|
|
|
|
|
</para>
|
|
|
|
|
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<example id="copying_two_subtitles_from_a_dvd_while_doing_two_pass_encoding">
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<title>K<EFBFBD>t felirat m<>sol<6F>sa egy DVD-r<>l k<>t menetes k<>dol<6F>s k<>zben</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
|
2006-02-27 11:46:35 +00:00
|
|
|
|
mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -vobsubout subtitles -vobsuboutindex 1 -sid 5<!--
|
2005-04-24 22:09:53 +00:00
|
|
|
|
--></screen>
|
|
|
|
|
</example>
|
|
|
|
|
|
2006-10-08 22:32:07 +00:00
|
|
|
|
<example id="copying_a_french_subtitle_from_an_mpeg_file">
|
2005-04-24 22:09:53 +00:00
|
|
|
|
<title>Francia felirat m<>sol<6F>sa egy MPEG f<>jlb<6C>l</title>
|
|
|
|
|
<screen>
|
|
|
|
|
rm subtitles.idx subtitles.sub
|
2005-05-20 19:42:01 +00:00
|
|
|
|
mencoder <replaceable>movie.mpg</replaceable> -ifo <replaceable>movie.ifo</replaceable> -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1 -nosound -ovc copy
|
|
|
|
|
</screen>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</example>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="aspect">
|
|
|
|
|
<title>K<EFBFBD>par<EFBFBD>ny megtart<72>sa</title>
|
|
|
|
|
<para>
|
|
|
|
|
A DVD-s <20>s az SVCD-s (pl. MPEG-1/2) f<>jlokban van egy k<>pm<70>ret ar<61>ny <20>rt<72>k, ami
|
|
|
|
|
le<EFBFBD>rja, hogy a lej<65>tsz<73>nak hogyan kell m<>reteznie a vide<64> stream-et, <20>gy az
|
|
|
|
|
embereknek nem lesz toj<6F>s fej<65>k (pl.: 480x480 + 4:3 = 640x480). Ennek ellen<65>re AVI-ba
|
|
|
|
|
(DivX) t<>rt<72>n<EFBFBD> k<>dol<6F>skor figyelembe kell venned, hogy az AVI fejl<6A>c nem t<>rolja ezt
|
|
|
|
|
az <20>rt<72>ket. A film <20>tm<74>retez<65>se undor<6F>t<EFBFBD> <20>s id<69>ig<69>nyes, kell, hogy legyen egy jobb
|
|
|
|
|
megold<EFBFBD>s!
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>Van is.</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2006-04-25 18:40:08 +00:00
|
|
|
|
Az MPEG-4-nek van egy egyed<65>l<EFBFBD>ll<6C> saj<61>toss<73>ga: a vide<64> stream tartalmazhatja
|
|
|
|
|
a sz<73>ks<6B>ges k<>par<61>nyt. Igen, <20>gy mint az MPEG-1/2 (DVD, SVCD) <20>s a H.263 f<>jlok.
|
|
|
|
|
Sajnos azonban kev<65>s vide<64> lejt<6A>sz<73> van az <application>MPlayer</application>en
|
|
|
|
|
k<EFBFBD>v<EFBFBD>l, ami t<>mogatn<74> ezt az attrib<69>tumot.
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ez a tulajdons<6E>g csak a
|
|
|
|
|
<link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
|
2006-04-25 18:40:08 +00:00
|
|
|
|
<systemitem>mpeg4</systemitem> codec-j<>vel haszn<7A>lhat<61>. Tartsd <20>szben: hab<61>r
|
|
|
|
|
az <application>MPlayer</application> hib<69>tlanul lej<65>tsza a l<>trehozott
|
|
|
|
|
f<EFBFBD>jlt, a t<>bbi lej<65>tsz<73> lehet, hogy rossz k<>par<61>nyt fog haszn<7A>lni.
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Aj<EFBFBD>nlott lev<65>gni a fekete s<>vokat a film k<>pe felett <20>s alatt.
|
|
|
|
|
L<EFBFBD>sd a man oldalt a <systemitem>cropdetect</systemitem> <20>s a
|
|
|
|
|
<systemitem>crop</systemitem> sz<73>r<EFBFBD>k haszn<7A>lat<61>hoz.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Haszn<EFBFBD>lat
|
2006-02-27 11:46:35 +00:00
|
|
|
|
<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>kimenet.avi</replaceable></screen>
|
2005-04-24 22:09:53 +00:00
|
|
|
|
</para>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
</chapter>
|