annotate DOCS/Hungarian/encoding.html @ 7000:0ff1a4e31c4c

sync
author gabucino
date Wed, 14 Aug 2002 20:24:55 +0000
parents 591a80f7073b
children c3e81327a656
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6556
591a80f7073b HTML (netscape4) fixes
gabucino
parents: 6393
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
2 <HTML>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4919
diff changeset
3
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4919
diff changeset
4 <HEAD>
6392
d22870b5fc95 using CSS
gabucino
parents: 5973
diff changeset
5 <LINK REL="stylesheet" TYPE="text/css" HREF="../default.css">
6556
591a80f7073b HTML (netscape4) fixes
gabucino
parents: 6393
diff changeset
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4919
diff changeset
7 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4919
diff changeset
8
6556
591a80f7073b HTML (netscape4) fixes
gabucino
parents: 6393
diff changeset
9 <BODY>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
10
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
11
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
12 <P><B><A NAME=2.4>2.4. Enkódolás a MEncoderrel</A></B></P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
13
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
14 <P><B><A NAME=2.4.1>2.4.1. Bevezető</B></P>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
15
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
16 <P>A <B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) egy egyszerű film
7000
gabucino
parents: 6556
diff changeset
17 enkóder, az MPlayer által lejátszható formátumok
gabucino
parents: 6556
diff changeset
18 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>) más - MPlayerrel
gabucino
parents: 6556
diff changeset
19 lejátszható - formátumokba kódolására. Sokféle codec-kel tud enkódolni,
gabucino
parents: 6556
diff changeset
20 például <B>DivX4</B>-gyel (1 vagy 2 menetes), a libavcodec-et alkotó
gabucino
parents: 6556
diff changeset
21 codec-ekkel, audiot tekintve pedig
gabucino
parents: 6556
diff changeset
22 <B>PCM</B>/<B>MP3</B>/<B>VBR MP3</B> a választék. Rendelkezik továbbá stream
gabucino
parents: 6556
diff changeset
23 másoló, és video átméretező képességgel.</P>
gabucino
parents: 6556
diff changeset
24
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
25
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
26 <P><B><A NAME=2.4.2>2.4.2. Fordítás</B></P>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
27
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
28 <P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
29 <UL>
5860
e96469da680c more libdvd* text removed
gabucino
parents: 5721
diff changeset
30 <LI>olvasd el az <B>MPlayer</B> fordítási útmutatóját.</LI>
5023
f8ab420ce0e3 xvid in mencoder
gabucino
parents: 5000
diff changeset
31 <LI><B>OPCIONÁLIS (CSAK LINUX)</B> - töltsd le a legújabb <B>DivX4linux</B> könyvtárat például
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
32 <A HREF="http://avifile.sourceforge.net/download.htm">innen</A>, és
4177
cab4ac1467e4 many small updates
gabucino
parents: 3983
diff changeset
33 installáld HELYESEN. Ez szükséges a DivX4 (1/2 menetes) enkódoláshoz.</LI>
5023
f8ab420ce0e3 xvid in mencoder
gabucino
parents: 5000
diff changeset
34 <LI><B>OPCIONÁLIS</B> - <A HREF="codecs.html#2.2.1.9">töltsd le és
7000
gabucino
parents: 6556
diff changeset
35 installáld az <B>XViD</B>-et</A>. Nem túl hasznos, a libavcodec
gabucino
parents: 6556
diff changeset
36 <I>mpeg4</I> codec-e sokkal gyorsabban és jobb minőségben kódol.</LI>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
37 <LI><B>OPCIONÁLIS</B> - ha a libavcodec codec-ekkel is akarsz enkódolni,
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
38 installáld a libavcodec-et, ahogyan az a <A HREF="codecs.html#2.2.1.2">libavcodec
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
39 fejezetben</A> le van írva.</LI>
7000
gabucino
parents: 6556
diff changeset
40 <LI><B>OPCIONÁLIS</B> - töltsd és fordítsd le a <B>libmp3lame-t</B> (a lame 3.89bétából vagy
3211
75820a3febac lame won't compile properly with gcc 2.96
gabucino
parents: 3026
diff changeset
41 CVS-ből).<BR>
75820a3febac lame won't compile properly with gcc 2.96
gabucino
parents: 3026
diff changeset
42 <B>NE GCC 2.96-TAL FORDÍTSD ! Nem fog helyesen működni !</B><BR>
75820a3febac lame won't compile properly with gcc 2.96
gabucino
parents: 3026
diff changeset
43 Ez szükségeltetik a CBR/VBR MP3 audio enkódoláshoz. Egy
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
44 egyszerű <CODE>lame</CODE> bináris nem elég. Mégvalami: minél kevesebb
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
45 optimalizációt használsz a lame fordításánál, annál jobb lesz a minősége.
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
46 A minőséget a fordítás utáni <CODE>make test</CODE> paranccsal
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
47 ellenőrizheted. A kiírt számnak <B>30</B>-nál kevesebbnek kell lennie.
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
48 Azért ne ess pánikba ha pl <B>400</B> fölötti értéket kapsz, nem
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
49 valószínű hogy hallod a különbséget. Jaigen, ha a fordítód nem tudja
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
50 a tesztet lefuttatni.. Nos, töröld már le azt a nyavajás <B>GCC 2.96</B>-ot.</LI>
5066
b3d900e9a215 ijpg for jpegs
gabucino
parents: 5023
diff changeset
51 <LI><B>OPCIONÁLIS</B> - <CODE>libjpeg</CODE> és <CODE>libpng</CODE> -
b3d900e9a215 ijpg for jpegs
gabucino
parents: 5023
diff changeset
52 lásd az <A HREF="documentation.html#1.3">Installálás</A>
b3d900e9a215 ijpg for jpegs
gabucino
parents: 5023
diff changeset
53 fejezetet</LI>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
54 </UL>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
55 </P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
56
7000
gabucino
parents: 6556
diff changeset
57 <P>Kész. Mint minden bizonnyal tudod, más enkódolóknak szükségük van az
gabucino
parents: 6556
diff changeset
58 <I>avifile</I> könyvtárra. A <B>MEncoder</B>-nek egyáltalán nincs.</P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
59
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
60 <P><B><A NAME=2.4.3>2.4.3. MEncoder funkciók</B></P>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
61
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
62 <P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
63 <UL>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
64 <LI>enkódolás az összes file formátumból amit az <B>MPlayer</B> lejátszani
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
65 képes</LI>
4177
cab4ac1467e4 many small updates
gabucino
parents: 3983
diff changeset
66 <LI>az ffmpeg/libavcodec által támogatott összes codec használata kódolásra
cab4ac1467e4 many small updates
gabucino
parents: 3983
diff changeset
67 is</LI>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
68 <LI>enkódolás <B>V4L kompatibilis TV tunerekről</B></LI>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
69 <LI>enkódolása/multiplexelése interleaved AVI-knak, megfelelő index-szel</LI>
4992
e2f8b4b74c25 -audiofile
gabucino
parents: 4982
diff changeset
70 <LI>opcionálisan külső audio stream használata</LI>
7000
gabucino
parents: 6556
diff changeset
71 <LI>1, 2 vagy 3 menetes enkódolás</LI>
3930
064e0956125e vbr win ize
gabucino
parents: 3912
diff changeset
72 <LI><B>VBR</B> MP3 audio - <B>FONTOS</B> : a VBR-es mp3-ak nem minden
5721
b53597b930b1 more deciliters
gabucino
parents: 5720
diff changeset
73 körülmények között lejátszhatóak windows rendszereken! Viszont a
b53597b930b1 more deciliters
gabucino
parents: 5720
diff changeset
74 <B>MEncoderrel</B> által létrehozott CBR AVI-k teljesen lejátszhatatlanok
b53597b930b1 more deciliters
gabucino
parents: 5720
diff changeset
75 Win32 lejátszókkal :)</LI>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
76 <LI>PCM audio</LI>
4680
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
77 <LI>stream másolás</LI>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
78 <LI>bemeneti file A/V szinkronizálása (PTS-alapú, az -mc 0 opcióval
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
79 kikapcsolható)</LI>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
80 <LI>FPS javítás az <CODE>-ofps</CODE> opcióval (hasznos ha 29.97fps-es
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
81 VOB-ot kódolsz 24fps-es AVI-ba)</LI>
5720
e9aac7e08638 updates
gabucino
parents: 5378
diff changeset
82 <LI>a video filter réteg használata (crop, expand, flip, postprocess,
e9aac7e08638 updates
gabucino
parents: 5378
diff changeset
83 rotate, scale, RGB/YUV konverzió)</LI>
e9aac7e08638 updates
gabucino
parents: 5378
diff changeset
84 <LI>a kimeneti file-ba bele tudja kódolni mind a DVD/VOBsub, mind a
e9aac7e08638 updates
gabucino
parents: 5378
diff changeset
85 szöveges feliratokat</LI>
7000
gabucino
parents: 6556
diff changeset
86 <LI>DVD feliratok külső VOBsub file-ba történő rippelése</LI>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
87 </UL>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
88 </P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
89
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
90 <P><B><I>Tervezett funkciók</I></B> :
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
91 <UL>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
92 <LI>még szélesebb skálája a be/kimeneti formátumoknak, codec-eknek
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
93 (VOB file-ok DivX4/Indeo5/VIVO videoval... :)</LI>
4992
e2f8b4b74c25 -audiofile
gabucino
parents: 4982
diff changeset
94 <LI>audio enkódolása v4l-ről (BSD-n már kész?)</LI>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
95 </UL>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
96 </P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
97
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
98 <P><B><A NAME=2.4.3.1>2.4.3.1. 2, 3 menetes DivX4 enkódolása</B></P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
99
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
100 <P><U><B>2 menetes enkódolás :</B></U> az elnevezés onnan jön, hogy ezzel a
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
101 módszerrel a file <I>kétszer</I> lesz enkódolva. Az első menet néhány pár
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
102 Mb-os ideiglenes (*.log) file-t hoz létre, amiket egyelőre nem szabad törölni
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
103 (az AVI törölhető, ugyanolyan mintha -pass opciók nélkül keletkezett volna).
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
104 A második menetben keletkezik a tényleges 2 menetes DivX, az ideiglenes
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
105 file-ok adataiből. A keletkező file az egy menetesekhez képest sokkal jobb
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
106 minőséggel és kisebb mérettel bír. Ha most hallassz erről először, jobb ha
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
107 keresel a neten egy útmutatót.</P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
108
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
109 <P>A következő példa egy DVD 2 menetes DivX4 AVI-ba történő enkódolását
7000
gabucino
parents: 6556
diff changeset
110 mutatja be. Csak két parancs szükséges :<BR>
gabucino
parents: 6556
diff changeset
111 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - töröld ezt a file-t,
gabucino
parents: 6556
diff changeset
112 ami egy esetleges előző 3 menetes enkódolásból származhat<BR>
gabucino
parents: 6556
diff changeset
113 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -divx4opts br=1100
gabucino
parents: 6556
diff changeset
114 -o movie.avi -pass 1<BR>
gabucino
parents: 6556
diff changeset
115 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -divx4opts br=1100
gabucino
parents: 6556
diff changeset
116 -o movie.avi -pass 2</CODE></P>
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
117
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
118 <P><U><B>3 menetes enkódolás :</B></U> ez egyfajta bővített kétmenetes
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
119 enkódolás. A különbség abban áll hogy itt az audio enkódolása külön
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
120 menetben történik, ezáltal lehetővé válik annak megbecslése hogy az adott
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
121 filmet milyen bitrátával kell tömöríteni hogy ráférjen egy 650, 700 vagy
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
122 800Mb-os CD-re, és ezt a <B>MEncoder</B> ki is számolja. Továbbá, ilyenkor
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
123 az audio csak egyszer kerül enkódolásra, ellentétben a 2 menetes móddal.
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
124 A használata a következő :</P>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
125
7000
gabucino
parents: 6556
diff changeset
126 <TABLE>
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
127 <TR>
7000
gabucino
parents: 6556
diff changeset
128 <TD> <CODE>rm frameno.avi</CODE></TD>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
129 <TD> <B>egy esetleges előző 3 menetes enkódolásból származó file törlése,
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
130 mely konfliktolhat a most következővel</B></TD>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
131 </TR>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
132 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
133 <TD> <CODE>mencoder &lt;file/DVD&gt; -ovc frameno -o
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
134 frameno.avi</CODE></TD>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
135 <TD> <B><U>Első menet</U> : egy csak audiot tartalmazó AVI file jön létre,
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
136 ami a kért formátumban tartalmazza az audio streamet. Ha akarod
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
137 használhatod a <CODE>-lameopts</CODE> opciót. Ha ez egy hosszabb film,
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
138 e menet végén a MEncoder kiírja hogy mekkora bitrate-tel tömöríts
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
139 a következő menetekben hogy a film ráférjen egy 650, 700 vagy 800Mb-os
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
140 CD-re.</B></TD>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
141 </TR>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
142 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
143 <TD> <CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 1
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
144 -divx4opts br=&lt;bitrate&gt;</CODE></TD>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
145 <TD> <B><U>Második menet</U> : alias a DivX4 video enkódolás első menete.
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
146 Opcionálisan megadhatod azt a bitrate-et amit a MEncoder az előző
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
147 menet végén kiírt, lásd feljebb.</B></TD>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
148 </TR>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
149 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
150 <TD> <CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 2
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
151 -divx4opts br=&lt;bitrate&gt;</CODE></TD>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
152 <TD> <B><U>Harmadik menet</U> : alias a DivX4 video enkódolás második menete.
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
153 Opcionálisan megadhatod azt a bitrate-et amit a MEncoder az előző
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
154 menet végén kiírt, lásd feljebb. Ebben a menetben a
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
155 <CODE>frameno.avi</CODE>-ban levő audio belekerül a célfileba..
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
156 és kész is az egész!</B></TD>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
157 </TR>
7000
gabucino
parents: 6556
diff changeset
158 </TABLE>
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
159
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
160 <P><B>Példa a 3 menetes enkódolásra :</B></P>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
161
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
162 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - esetlegesen egy előző
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
163 enkódolásbol származó file törlése (bezavar a most következőnek)<BR>
7000
gabucino
parents: 6556
diff changeset
164 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno
gabucino
parents: 6556
diff changeset
165 -o frameno.avi<BR>
gabucino
parents: 6556
diff changeset
166 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
gabucino
parents: 6556
diff changeset
167 -divx4opts br=1100 -oac copy -o movie.avi -pass 1<BR>
gabucino
parents: 6556
diff changeset
168 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -divx4opts
gabucino
parents: 6556
diff changeset
169 br=1100 -oac copy -o movie.avi -pass 2</CODE>
4397
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
170 </P>
970a09005860 3-pass encoding dox
gabucino
parents: 4177
diff changeset
171
7000
gabucino
parents: 6556
diff changeset
172 <P><U><B>2, vagy 3 menetes enkódolás a libavcodec 2 menetes kódjával:</B></U>
gabucino
parents: 6556
diff changeset
173 Használata esetén elképzelhető, hogy az átlagos bitráta jobban fog
gabucino
parents: 6556
diff changeset
174 közelíteni a megadotthoz, mint a DivX4-es módszer esetén.</P>
gabucino
parents: 6556
diff changeset
175
gabucino
parents: 6556
diff changeset
176 <UL>
gabucino
parents: 6556
diff changeset
177 <LI><B>2 menetes enkódolás:</B><BR>
gabucino
parents: 6556
diff changeset
178 <CODE>rm -f lavc_stats.txt<BR>
gabucino
parents: 6556
diff changeset
179 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 (audio-opciók) -o
gabucino
parents: 6556
diff changeset
180 movie.avi<BR>
gabucino
parents: 6556
diff changeset
181 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 (audio-opciók) -o
gabucino
parents: 6556
diff changeset
182 movie.avi</CODE></LI>
gabucino
parents: 6556
diff changeset
183 <LI><B>3 menetes enkódolás:</B><BR>
gabucino
parents: 6556
diff changeset
184 <CODE>rm -f frameno.avi lavc_stats.txt<BR>
gabucino
parents: 6556
diff changeset
185 mencoder -dvd 2 -ovc frameno (audio-opciók) -o frameno.avi<BR>
gabucino
parents: 6556
diff changeset
186 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o
gabucino
parents: 6556
diff changeset
187 movie.avi<BR>
gabucino
parents: 6556
diff changeset
188 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o
gabucino
parents: 6556
diff changeset
189 movie.avi</CODE></LI>
gabucino
parents: 6556
diff changeset
190 </UL>
gabucino
parents: 6556
diff changeset
191
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
192
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
193 <P><B><A NAME=2.4.3.2>2.4.3.2. Átméretezés</B></P>
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
194
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
195 <P>Gyakran előjön a filmek átméretezésének igénye. Ennek oka sokféle lehet,
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
196 például a fileméret csökkentése, vagy SVCD-ből DivX-be kódolás. A rippelt
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
197 DVD-ket legtöbbször átméretezik (például egy 4:3-as DVD-t 640x480-ra),
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
198 különösen akkor ha a cél az 1 CD-s méret és ezzel együtt a jó minőség is.
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
199 Az SVCD-k képmérete 480x480, és a lejátszóprogramok az ezen fileok
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
200 fejlécében található aspektusinformáció alapján számítják ki a megjelenítendő
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
201 kép méretét (pl.: 480x480 + 4:3 = 640x480). Ezért AVI (DivX) file-okba
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
202 történő kódolásnál figyelembe kell venni azt is, hogy az AVI file-ok ezen
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
203 információ eltárolására nem képesek. Így az egyetlen megoldás az átméretezés.</P>
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
204
5968
5bb339c33131 small update
gabucino
parents: 5860
diff changeset
205 <P>Az átméretezést a <I>'scale'</I> nevű video filter végzi:
5bb339c33131 small update
gabucino
parents: 5860
diff changeset
206 <CODE>-vop scale=X:Y</CODE>. A minőségét pedig az <CODE>-sws</CODE> opcióval
5bb339c33131 small update
gabucino
parents: 5860
diff changeset
207 lehet megadni (lásd a manpage-t). Alapértelmezett a 0 : gyors bilinear.</P>
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
208
5968
5bb339c33131 small update
gabucino
parents: 5860
diff changeset
209 <P>Használata :<BR>
5bb339c33131 small update
gabucino
parents: 5860
diff changeset
210 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder sample-svcd.mpg -divx4opts br=1300 -vop scale=640:480 -sws 2 -o output.avi</CODE></P
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
211
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
212 <P><B><A NAME=2.4.3.3>2.4.3.3. Stream másolása</B></P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
213
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
214 <P>A <B>MEncoder</B> kétféleképpen tudja a bemeneti stream-eket kezelni :
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
215 <B>enkódolja</B> vagy csak <B>átmásolja</B> őket. Ez a rész a <B>másolásról</B>
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
216 szól.</P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
217
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
218 <UL>
7000
gabucino
parents: 6556
diff changeset
219 <LI><B>Video stream-ek</B> (<CODE>-ovc copy</CODE> opció): érdekes dolgokat
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
220 lehet vele csinálni :)<BR>
7000
gabucino
parents: 6556
diff changeset
221 Mint például FLI vagy VIVO vagy MPEG1 video másolása AVI file-ba!
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
222 Persze az ilyen videokat csak az <B>MPlayer</B> tudja lejátszani :) És
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
223 ezeknek a haszna gyakorlatilag nulla. A racionális felhasználása ennek
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
224 például amikor csak az audio stream-et kell enkódolni (pl tömörítetlen
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
225 PCM-et MP3-ba).</LI>
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
226
7000
gabucino
parents: 6556
diff changeset
227 <LI><B>Audio stream-ek</B> (<CODE>-oac copy</CODE> opció): egyértelmű.
gabucino
parents: 6556
diff changeset
228 Lehetséges az audio streamet egy külső fileból (MP3, AC3, Vorbis) is venni,
gabucino
parents: 6556
diff changeset
229 ehhez az <CODE>-audiofile &lt;filenév&gt;</CODE> opciót kell
gabucino
parents: 6556
diff changeset
230 használni.</LI>
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
231 </UL>
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
232
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
233 <P><B><A NAME=2.4.3.4>2.4.3.4. Hibás index-szel rendelkező AVI-k rendbehozása</B></P>
3583
66e418645b67 hm. stuff.
gabucino
parents: 3438
diff changeset
234
7000
gabucino
parents: 6556
diff changeset
235 <P>A legkönnyebb dolog a világon. Egyszerűen átmásoljuk a video és audio
gabucino
parents: 6556
diff changeset
236 streameket, és közben a <B>MEncoder</B> létrehozza a megfelelő indexet is.
gabucino
parents: 6556
diff changeset
237 Ez persze nem tudja kijavítani az esetleges hibákat a video és/vagy audio
gabucino
parents: 6556
diff changeset
238 stream-ekben, viszont a hibásan interleave-elt fileokat igen.</P>
3583
66e418645b67 hm. stuff.
gabucino
parents: 3438
diff changeset
239
7000
gabucino
parents: 6556
diff changeset
240 <P>A parancs: <CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi</CODE></P>
3583
66e418645b67 hm. stuff.
gabucino
parents: 3438
diff changeset
241
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
242
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
243 <P><B><A NAME=2.4.3.5>2.4.3.5. Enkódolás a <I>libavcodec</I> codec-ekkel</B></P>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
244
3912
gabucino
parents: 3859
diff changeset
245 <P>A <A HREF="codecs.html#2.2.1.2">libavcodec</A>-kel egyszerűen lehet kódolni
7000
gabucino
parents: 6556
diff changeset
246 jónéhány érdekes video és audio formátumba (jelenleg az audio codec-ek nem
gabucino
parents: 6556
diff changeset
247 támogatottak). A következő codec-ekkel lehet enkódolni :</P>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
248
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
249 <UL>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
250 <LI>mjpeg - Motion JPEG</LI>
7000
gabucino
parents: 6556
diff changeset
251 <LI>h263 - H263</LI>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
252 <LI>h263p - H263 Plus</LI>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
253 <LI>mpeg4 - DivX4</LI>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
254 <LI>msmpeg4 - a régi DivX</LI>
5973
796510223658 msmpeg4v2 added
gabucino
parents: 5968
diff changeset
255 <LI>msmpeg4v2 - Micro$oft MPEG4 v2 (a DivX alias MP43 elődje)</LI>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
256 <LI>rv10 - egy régi RealVideo codec</LI>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
257 <LI>mpeg1video - MPEG1 video :)</LI>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
258 </UL>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
259
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
260 <P>Az első oszlopban felsorolt codec-eket kell átadni a
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
261 <CODE>vcodec</CODE> opciónak, pl : <CODE>-lavcopts vcodec=msmpeg4</CODE></P>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
262
7000
gabucino
parents: 6556
diff changeset
263 <P>Egy példa, MJPEG tömörítéssel:<BR>
gabucino
parents: 6556
diff changeset
264 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc
gabucino
parents: 6556
diff changeset
265 -lavcopts vcodec=mjpeg</CODE></P>
gabucino
parents: 6556
diff changeset
266
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
267
4919
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
268 <P><B><A NAME=2.4.3.6>2.4.3.6. Enkódolás több bemeneti file-ból (JPEG, PNG)</B></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
269
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
270 <P>A <B>MEncoder</B> képes több JPEG vagy PNG file-ból filmet létrehozni.
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
271 Egyszerű framecopy használatával pedig MJPEG (Motion JPEG) vagy MPNG
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
272 (Motion PNG) filmek hozhatók létre.</P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
273
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
274 <P><B><I>A folyamat magyarázata</I></B></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
275
5066
b3d900e9a215 ijpg for jpegs
gabucino
parents: 5023
diff changeset
276 <P>Először a <B>MEncoder</B> <I>dekódolja</I> a bemeneti fileokat a
b3d900e9a215 ijpg for jpegs
gabucino
parents: 5023
diff changeset
277 <CODE>libjpeg</CODE> segítségével (PNG-k dekódolását a libpngvel végzi).
4919
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
278 </P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
279
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
280 <P>A <B>MEncoder</B> ezután a kiválasztott kimeneti codecnek adja a
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
281 dekódolt képet (pl DivX4, Xvid, ffmpeg msmpeg4, stb). Vigyázat: a PNG
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
282 dekóder jelenleg csak RGB formátumú képek kiadására képes, így nem
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
283 használható olyan codecekkel amelyek YUV formátumot várnak. Ilyen
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
284 például a DivX4, vagy az ffmpeg-beli msmpeg4.</P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
285
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
286 <P><B><I>Példák</I></B></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
287
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
288 <P>Az <CODE>-mf</CODE> opció magyarázata a lenti összefoglaló
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
289 <A HREF=#2.4.5>Opciók</A> fejezetben, illetve a manpage-ben található.</P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
290
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
291 <P><I>DivX4 film létrehozása az aktuális könyvtárban található összes JPEG fileból :</I><BR>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
292 &nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
293 kimenet.avi</CODE></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
294
5378
1a7fd8f13ac0 small update
gabucino
parents: 5066
diff changeset
295 <P><I>DivX4 film létrehozása néhány JPEG fileból :</I><BR>
1a7fd8f13ac0 small update
gabucino
parents: 5066
diff changeset
296 &nbsp;&nbsp;<CODE>mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o
1a7fd8f13ac0 small update
gabucino
parents: 5066
diff changeset
297 kimenet.avi</CODE></P>
1a7fd8f13ac0 small update
gabucino
parents: 5066
diff changeset
298
4919
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
299 <P><I>MJPEG (Motion JPEG) film létrehozása az aktuális könyvtárban található összes JPEG fileból :</I><BR>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
300 &nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc copy
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
301 -o kimenet.avi</CODE></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
302
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
303 <P><I>Tömörítetlen film létrehozása az aktuális könyvtárban található összes PNG fileból :</I><BR>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
304 &nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc raw -o
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
305 kimenet.avi</CODE></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
306
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
307 <P><I>MPNG (Motion PNG) film létrehozása az aktuális könyvtárban található összes PNG fileból :</I><BR>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
308 &nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc copy
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
309 -o kimenet.avi</CODE></P>
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
310
40b48a0a780e documented Multifile JPEG/PNG input (-mf)
gabucino
parents: 4709
diff changeset
311
7000
gabucino
parents: 6556
diff changeset
312 <P><B><A NAME=2.4.3.7>2.4.3.7 DVD feliratok VOBsub formátumúvá alakítása
gabucino
parents: 6556
diff changeset
313
gabucino
parents: 6556
diff changeset
314 <P><B>A <B>MEncoder</B> képes DVD-ről kivonni a feliratot, és átalakítani
gabucino
parents: 6556
diff changeset
315 Vobsub formátumú felirattá. Ezek egy <CODE>.idx</CODE> és egy
gabucino
parents: 6556
diff changeset
316 <CODE>.sub</CODE> kiterjesztésű file-ból állnak, gyakran egyetlen
gabucino
parents: 6556
diff changeset
317 <CODE>.rar</CODE> archívba tömörítve. Az <B>MPlayer</B> képes az ilyen
gabucino
parents: 6556
diff changeset
318 feliratok megjelenítésére a <CODE>-vobsub</CODE> és <CODE>-vobsubid</CODE>
gabucino
parents: 6556
diff changeset
319 opciókkal.</P>
gabucino
parents: 6556
diff changeset
320
gabucino
parents: 6556
diff changeset
321 <P>Az alap filenevet (tehát kiterjesztés nélkül) a <CODE>-vobsubout</CODE>
gabucino
parents: 6556
diff changeset
322 opcióval adhatod meg. Az index számot amin el lesz tárolva a felirat,
gabucino
parents: 6556
diff changeset
323 pedig a <CODE>-vobsuboutindex</CODE> opcióval.</P>
gabucino
parents: 6556
diff changeset
324
gabucino
parents: 6556
diff changeset
325 <P>Ha a bemeneti file nem DVD, használd az <CODE>-ifo</CODE> opciót, amivel
gabucino
parents: 6556
diff changeset
326 megadhatod hogy melyik file legyen <CODE>.idx</CODE>-é alakítva.</P>
gabucino
parents: 6556
diff changeset
327
gabucino
parents: 6556
diff changeset
328 <P>Ha a bemeneti file nem DVD, de nincs meg hozzá az <CODE>.ifo</CODE> file,
gabucino
parents: 6556
diff changeset
329 használd a <CODE>-vobsubid</CODE> opciót a használandó nyelv azonosítójának
gabucino
parents: 6556
diff changeset
330 kiválasztásához.</P>
gabucino
parents: 6556
diff changeset
331
gabucino
parents: 6556
diff changeset
332 <P>Minden egyes futás hozzáfűzi a kimenetet az esetlegesen már létező
gabucino
parents: 6556
diff changeset
333 kimeneti file-hoz, így ajánlott körülnézni indítás előtt.</P>
gabucino
parents: 6556
diff changeset
334
gabucino
parents: 6556
diff changeset
335 <P><B>Példák</B></P>
gabucino
parents: 6556
diff changeset
336
gabucino
parents: 6556
diff changeset
337 <P><I>Két felirat másolása DVD-ről, 3 menetes enkódolás közben</I><BR>
gabucino
parents: 6556
diff changeset
338 &nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
gabucino
parents: 6556
diff changeset
339 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -vobsubout subtitles -vobsuboutindex 0
gabucino
parents: 6556
diff changeset
340 -sid 2 -o frameno.avi -ovc frameno</CODE><BR>
gabucino
parents: 6556
diff changeset
341 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 1</CODE><BR>
gabucino
parents: 6556
diff changeset
342 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 2 -vobsubout
gabucino
parents: 6556
diff changeset
343 subtitles -vobsuboutindex 1 -sid 5</CODE></P>
gabucino
parents: 6556
diff changeset
344
gabucino
parents: 6556
diff changeset
345 <P><I>Francia nyelvű felirat másolása MPEG-ből</I><BR>
gabucino
parents: 6556
diff changeset
346 &nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
gabucino
parents: 6556
diff changeset
347 &nbsp;&nbsp;<CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles
gabucino
parents: 6556
diff changeset
348 -vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P>
gabucino
parents: 6556
diff changeset
349
gabucino
parents: 6556
diff changeset
350
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
351 <P><B><A NAME=2.4.4>2.4.4. Szintaxis</B></P>
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
352
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
353 <P>&nbsp;&nbsp;<CODE>mencoder [opciók] [bemeneti file] [opciók] ...</P>
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
354
7000
gabucino
parents: 6556
diff changeset
355
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
356 <P><B><A NAME=2.4.5>2.4.5. Opciók</B></P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
357
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
358 <P>Megj.: az összes rendelkezésre álló opcióhoz <B>olvasd el a manpage-t !</B></P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
359
4680
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
360 <P>
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
361 Tekintve hogy a <B>MEncoder</B> alapjában véve ugyanarra a kódra épül amire
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
362 az <B>MPlayer</B>, sok olyan <B>MPlayer</B> opció van ami enkódolásnál is
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
363 használható. Például a <CODE>-sid</CODE> itt arra használható hogy a DVD
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
364 feliratokat bekódold a keletkező AVI-ba. Vagy a <CODE>-noidx</CODE> opcióval
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
365 itt is figyelmen kívül hagyható az esetleges hibás index a bemeneti AVI-ban.
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
366 </P>
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
367
4177
cab4ac1467e4 many small updates
gabucino
parents: 3983
diff changeset
368 <TABLE BORDER=1>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
369 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
370 <TD> <I>-ss</I> időpont</TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
371 <TD> enkódolás indítása a megadott időponttól (csak keyframe-től indulhat !)
4709
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
372 </TD>
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
373 </TR>
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
374 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
375 <TD> <I>-endpos</I> időpont/időtartam</TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
376 <TD> enkódolás megállítása a megadott idő letelte után, vagy adott időpont
4709
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
377 elérésekor. Lásd a manpage-t !
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
378 </TD>
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
379 </TR>
860808c94265 -ss -endpos documented
gabucino
parents: 4680
diff changeset
380 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
381 <TD> <I>-o</I> filenév</TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
382 <TD> kimeneti filenév megadása
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
383 </TD>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
384 </TR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
385 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
386 <TD> <I>-sws</I> 0-2</TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
387 <TD> átmérezetési módszer meghatározása<BR>
3287
e1cf5e6338a8 -x -y -sws added
gabucino
parents: 3230
diff changeset
388 &nbsp;&nbsp;0 - fast bilinear<BR>
e1cf5e6338a8 -x -y -sws added
gabucino
parents: 3230
diff changeset
389 &nbsp;&nbsp;1 - bilinear<BR>
e1cf5e6338a8 -x -y -sws added
gabucino
parents: 3230
diff changeset
390 &nbsp;&nbsp;2 - bicubic (legjobb minőség)<BR>
e1cf5e6338a8 -x -y -sws added
gabucino
parents: 3230
diff changeset
391 </TD>
e1cf5e6338a8 -x -y -sws added
gabucino
parents: 3230
diff changeset
392 </TR>
e1cf5e6338a8 -x -y -sws added
gabucino
parents: 3230
diff changeset
393 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
394 <TD> <I>-ovc</I> codecnév</TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
395 <TD> Enkódolás a megadott codec-kel (a codec nevek a codecs.conf-ból származnak). Példák :<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
396 &nbsp;&nbsp;<B>help</B> - codecek listája<BR>
4680
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
397 &nbsp;&nbsp;<B>rawrgb</B> - ?<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
398 &nbsp;&nbsp;<B>copy</B> - nincs enkódolás, csak stream másolás (most csak AVI/ASF-ből)<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
399 &nbsp;&nbsp;<B>divx4</B> - enkódolás DivX4-be<BR>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
400 &nbsp;&nbsp;<B>lavc</B> - enkódolás egy libavcodec-ben lévő codec-kel<BR>
4680
b5d956f0b6ea sok ize, mutyur, bizbasz.
gabucino
parents: 4585
diff changeset
401 &nbsp;&nbsp;<B>vfw</B> - enkódolás egy Windows-os DLL-lel<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
402 </TD>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
403 </TR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
404 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
405 <TD> <I>-oac</I> codecnév</TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
406 <TD> Enkódolás a megadott codec-kel (a codec nevek a codecs.conf-ból származnak). Példák :<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
407 &nbsp;&nbsp;<B>help</B> - codecek listája<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
408 &nbsp;&nbsp;<B>copy</B> - nincs enkódolás, csak stream másolás (most csak AVI/ASF-ből, és csak CBR audiot)<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
409 &nbsp;&nbsp;<B>pcm</B> - tömörítetlen PCM<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
410 &nbsp;&nbsp;<B>mp3lame</B> - MP3 enkódolás<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
411 </TD>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
412 </TR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
413 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
414 <TD> <I>-divx4opts</I></TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
415 <TD> Ha DivX4-be enkódolsz, itt megadhatod a paramétereket, pl :<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
416 &nbsp;&nbsp;<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
417 Leghasznosabb opciók: <B>(a teljes lista a manpage-ban található !)</B><BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
418 &nbsp;&nbsp;<B>help</B> - segíccség<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
419 &nbsp;&nbsp;<B>br</B>=XXX - bitráta megadása kbit-ben &lt;4-16000&gt; vagy bitben &lt;16001-24000000&gt;<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
420 &nbsp;&nbsp;<B>q</B>=XXXX - minőség (1-leggyorsabb, 5-legjobb - alapértelmezett)<BR>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
421 &nbsp;&nbsp;<B>key</B>=XXXX - keyframe-k közötti időintervallum<BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
422 </TD>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
423 </TR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
424 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
425 <TD> <I>-lavcopts</I></TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
426 <TD> Ha egy libavcodec-es codec-kel enkódolsz, itt megadhatod a paramétereket, pl :<BR>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
427 &nbsp;&nbsp;<CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
428 Leghasznosabb opciók: <B>(a teljes lista a manpage-ban található !)</B><BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
429 &nbsp;&nbsp;<B>help</B> - segíccség<BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
430 &nbsp;&nbsp;<B>vcodec</B>=XXX - video codec kiválasztása (a teljes lista a fenti libavcodec bekezdésben megtalálható)<BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
431 &nbsp;&nbsp;<B>vbitrate</B>=XXX - bitráta megadása kbit-ben &lt;4-16000&gt; vagy bitben &lt;16001-24000000&gt;<BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
432 &nbsp;&nbsp;<B>vhq</B> - legjobb minőség (?)<BR>
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
433 &nbsp;&nbsp;<B>keyint</B>=XXX - keyframe-k közötti időintervallum<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
434 </TD>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
435 </TR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
436 <TR>
6393
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
437 <TD> <I>-lameopts</I></TD>
f9b3d010b35e FONT tags obsoleted by CSS
gabucino
parents: 6392
diff changeset
438 <TD> Ha MP3-ba kódolsz, itt adhatod meg a paramétereket, pl :<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
439 &nbsp;&nbsp;<CODE>-lameopts q=3</CODE><BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
440 &nbsp;&nbsp;<CODE>-lameopts br=192:cbr</CODE><BR>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
441 Leghasznosabb opciók: <B>(a teljes lista a manpage-ban található !)</B><BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
442 &nbsp;&nbsp;<B>help</B> - törpítség<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
443 &nbsp;&nbsp;<B>cbr</B> - <B>CBR</B>-es MP3 kiválasztása (az alapértelmezett a <B>VBR</B>)<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
444 &nbsp;&nbsp;<B>br</B>=XXX - bitráta megadása kbit-ben &lt;0-1024&gt; (csak <B>CBR</B>-nél!)<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
445 &nbsp;&nbsp;<B>q</B>=XXXX - minőség (0-legjobb, 9-leggyorsabb) (csak <B>VBR</B>-nél!)<BR>
5721
b53597b930b1 more deciliters
gabucino
parents: 5720
diff changeset
446 &nbsp;&nbsp;<B>vbr</B>=XXXX - VBR alüzemmód (3-ABR, ennek van a legjobb
b53597b930b1 more deciliters
gabucino
parents: 5720
diff changeset
447 sebesség/minőség mutatója) (csak <B>VBR</B>-nél!)<BR>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
448 </TD>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
449 </TR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
450 </TABLE>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
451
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
452 <P><B><A NAME=2.4.6>2.4.6. Példák</B></P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
453
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
454 <P>A <B>MEncoder</B> használata a legkönnyebb dolog a Földön.</P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
455
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
456 <P>A DVD 2-es fejezetének enkódolása :<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
457 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi</CODE></P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
458
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
459 <P>Ugyanez libavcodec-kel, MJPEG tömörítéssel :<BR>
4585
55c8aefdef1b vao, something changed in these files!
gabucino
parents: 4397
diff changeset
460 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg</CODE></P>
3721
66da035c4ee2 some quick updates for the prerelease
gabucino
parents: 3620
diff changeset
461
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
462 <P>A DVD 2-es fejezetének enkódolása, átméretezéssel :<BR>
5968
5bb339c33131 small update
gabucino
parents: 5860
diff changeset
463 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -vop scale=640:480 -sws 2 -o title2.avi</CODE></P>
3438
963b39283f48 fixes, and some new stuff. sorry forgot :)
gabucino
parents: 3382
diff changeset
464
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
465 <P>Enkódolás HTTP-ről :<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
466 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder http://mplayer.hq/example.avi -o example.avi</CODE></P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
467
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
468 <P>Enkódolás standard bemenetről :<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
469 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -</CODE></P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
470
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
471 <P>Több VOB file enkódolása :<BR>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
472 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;cat *.vob | mencoder &lt;options&gt; -</CODE></P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
473
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
474 <P>Enkódolás tuner-ről (a tuner opciók a <A HREF="documentation.html#2.5">TV input</A> fejezetben találhatóak) :<BR>
3382
7f06ef6c0168 no filename required from tuner
gabucino
parents: 3287
diff changeset
475 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -tv on:driver=v4l:width=640:height=480 &lt;options&gt;</CODE></P>
3026
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
476
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
477 <P>Az összes opció listájához <B><I>lásd a MEncoder manpage-t !</I></B>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
478 <P>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
479 </FONT>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
480
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
481 </BODY>
1b65a4abf104 hmpf. forgot to add
gabucino
parents:
diff changeset
482 </HTML>