Mercurial > mplayer.hg
annotate DOCS/German/encoding.html @ 4600:bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
the german cd-dvd.html. Video-docs (and gcc-docs) needs still work. The rest
should be up-to-date."
- Jonas Jermann
author | gabucino |
---|---|
date | Sat, 09 Feb 2002 09:28:23 +0000 |
parents | 1cbac55af6da |
children | 1bd05178a74d |
rev | line source |
---|---|
3462 | 1 <HTML> |
2 <BODY BGCOLOR=white> | |
3 | |
4 <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
5 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
6 <P><B><A NAME=2.4>2.4. Enkodieren mit MEncoder</A></B></P> |
3462 | 7 |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
8 <P><B><A NAME=2.4.1>2.4.1. Übersicht</B></P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
9 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
10 <P><B>MEncoder</B> (<B>MPlayer</B>s Movie Enkoder) ist ein einfacher Filmenkoder, |
3462 | 11 entworfen um Filme, die mit MPlayer abspielbar sind (<B>AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET</B>), |
12 in ein anderes von MPlayer abspielbares Format (siehe unten) zu enkodieren. Zur Zeit ist | |
13 es noch im Beta-Stadium und es enkodiert nur <B>DivX4</B> (1 oder 2 Passes) Video und <B>PCM</B>/<B>MP3</B>/<B>VBRMP3</B> | |
14 Audio. Es verfügt auch stream-copy-Funktion. In Zukunft wird es auch zuscheiden des Videos, ändern der | |
15 Größe und andere andere interessante Sachen beherrschen.</P> | |
16 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
17 <P><B><A NAME=2.4.2>Kompilierung</B></P> |
3462 | 18 <UL> |
19 <LI>Lese die Anleitungen zu <B>MPlayer</B>, es enthällt Infos wie man z.B. <I>libdvdread</I> für <B>DVD</B> | |
20 Unterstützung installiert.</LI> | |
21 <LI>Downloade die neuesten <B>DivX4linux</B> Libs von | |
22 <A HREF="http://avifile.sourceforge.net/download.htm">avifile.sourceforge.net</A> | |
23 und installiere sie richtig. Es wird benötigt für das DivX4 (1/2 Pass) enkodieren. | |
24 Weil es (zur Zeit) noch davon abhängig ist, ist MEncoder auf Linux beschränkt.</LI> | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
25 <LI><B>OPTIONAL</B> - für libavcodec Support, installiere libavcodec wie beschrieben in |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
26 <A HREF="codecs.html#2.2.1.2">ffmpegs DivX/libavcodec</A>.</LI> |
3462 | 27 <LI>Downloade und kompiliere <B>libmp3lame</B> (von lame 3.89beta oder lame CVS).<BR> |
28 <B>WARNUNG: KOMPILIERE LAME AUF KEINEN FALL MIT <U>GCC 2.96</U>! Es wird möglichweise | |
29 nicht funktionieren!</B><BR> | |
30 Dies wird für die CBR/VBR MP3 Audio Enkodierung benötigt. Bedenke dass die <CODE>lame</CODE> | |
31 Binary allein nicht genug ist. Übrigends: je weninger Optimierungen du für lame | |
32 verwendest, desto besser wird die Qualität. Du kannst die Qualität mit <CODE>make test</CODE> | |
33 nach dem Kompilieren von lame testen. Das Ergebnis (eine Zahl) sollte kleiner als <B>30</B> sein. | |
34 Aber keine Panik wenn sie <B>400</B> oder ändlich ist, du solltest keine mindere Qualität bemerken können. | |
35 Oh, und wenn dein Kompiler <CODE>make test</CODE> nicht ausführt ... dann lösche <B>GCC 2.96</B>.</LI> | |
36 </UL> | |
37 </P> | |
38 | |
39 <P>Du bist fertig. Wie du möglichweise weisst benötigen andere Enkoder <I>avifile</I>. <B>MEncoder</B> braucht diese | |
40 überhaupt nicht.</P> | |
41 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
42 <P><B><A NAME=2.4.3>MEncoder Features</B></P> : |
3462 | 43 <UL> |
44 <LI>Enkodieren von der großen Reichweite von Dateiformaten und Dekodern von <B>MPlayer</B></LI> | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
45 <LI>Enkodieren von allen codecs von <A HREF=codecs.html#2.2.1.2>libavcodec</A></LI> |
3462 | 46 <LI>Enkodieren von <B>V4L kompatiblem TV-Tunern</B></LI> |
47 <LI>Enkodieren/Multiplexen zu interleaved AVI-Datei mit Index</LI> | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
48 <LI>1, 2 oder 3 Pass <B>DivX4</B> Video</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
49 <LI><B>VBR</B> MP3 Audio <B>WICHTIGER HINWEIS</B> : VBR MP3 Audio wird von |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
50 Windows Playern nicht immer gut wiedergegeben! Wenn du vorhast AVIs hauptsächlich für Windows zu enkodieren, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
51 enkodier sie mit CBR!</LI> |
3462 | 52 <LI>PCM Audio</LI> |
53 <LI>stream-copy (nur CBR Audio)</LI> | |
54 <LI>Eingangs A/V Synchronisation (PTS-basierend, kann mit der -mc 0 Option ausgeschaltet werden)</LI> | |
55 <LI>Korrektur der FPS mit der <CODE>-ofps</CODE> Option (hilfreich beim Enkodieren von 29.97fps VOB zu 24fps AVI)</LI> | |
56 <LI>Bildgrößenänderung</LI> | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
57 <LI>Audio Enkodierung von v4l</LI> |
3462 | 58 </UL> |
59 </P> | |
60 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
61 <P><B><I>Geplante Features</B></P> : |
3462 | 62 <UL> |
63 <LI>Verwendung von Audio auf eigenen Dateien (AC3, MP3, OGG)</LI> | |
64 <LI>VBR Audio stream-copy</LI> | |
65 <LI>erhöhen der verfügbaren En-/Dekodierungs Formate/Codecs | |
66 (erzeugen von VOB Dateien mit DivX4/Indeo5/VIVO Streams :)</LI> | |
67 </UL> | |
68 </P> | |
69 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
70 <P><B><A NAME=2.4.3.1>2-Pass DivX4 Enkodierung</B></P> |
3462 | 71 |
72 <P>Der Name kommt in der Tat daher, dass diese Methode die Datei <I>zwei Mal</I> enkodiert. | |
3635
1cbac55af6da
similar to 1.16, some additional info in 2pass section
jaf
parents:
3594
diff
changeset
|
73 Das erste Enkodieren (1. <P>Pass</I> [=Durchlauf]) erzeugt einige temporäre Dateiei (*.log) mit einer Dateigröße |
1cbac55af6da
similar to 1.16, some additional info in 2pass section
jaf
parents:
3594
diff
changeset
|
74 von nur wenigen, lösche sie nicht (du kannst die AVI löschen). Im zeiten Pass wird die Ausgabedatei erzeugt, unter |
3462 | 75 Verwendung der Bitraten-Daten der temporären Datei. Die entgültige Datei wird eine bessere Bildqualität |
76 besitzen. Wenn dies das erst Mal ist das du davon hörst, solltest du einige Guides in Internet lesen.</P> | |
77 | |
78 <P>Dieses Beispiel zeigt dir, wie du eine DVD in ein 2-Pass DivX4 AVI enkodierst. Nur 2 Befehle sind | |
79 erforderlich:<BR> | |
80 <CODE> mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 | |
81 -o movie.avi -pass 1<BR> | |
82 mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P> | |
83 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
84 <P><U><B>3-pass Enkodierung :</B></U> Dies ist eine Erweiterung der 2-Pass Enkodierung, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
85 in der die Kodierung von Audio in einem separaten Schritt vollzogen wird. Diese Methode |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
86 erlaubt die Untersuchung der empfohlenen Video-Bitrate um auf eine CD zu passen. Auch |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
87 wird der Ton nur einmal kodiert im Unterschied zum 2-Pass.</P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
88 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
89 <P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
90 <TABLE> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
91 <TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
92 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
93 <CODE>rm frameno.avi</CODE></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
94 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
95 <B>Lösche störende temporöre Dateien</B></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
96 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
97 <TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
98 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
99 <CODE>mencoder <file/DVD> -ovc frameno -o |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
100 frameno.avi</CODE></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
101 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
102 <B><U>Erster Schritt: Pass 1</U> : Eine Audio-only avi Datei wird erzeugt, welche |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
103 NUR den verlangten Audiostream enthält. Vergiss nicht <CODE>-lameopts</CODE> zu setzen, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
104 wenn du sie setzen musst. Wenn du einen langen Film enkodierst, zeigt MEncoder |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
105 die empfohlenen Bitraten-werte an für 650Mb, 700Mb und 800Mb Endgrössen, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
106 wenn er diesen Schritt beendet hat.</B></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
107 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
108 <TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
109 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
110 <CODE>mencoder <file/DVD> -oac copy -pass 1 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
111 -divx4opts br=<bitrate></CODE></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
112 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
113 <B><U>Zweiter Schritt: Pass 2</U> : Integriert den ersten Schritt der DivX4 Video-Enkodierung. |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
114 Optional kann die Video-Bitrate, welche am Ende des letzten Schrittes gezeigt wurde, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
115 hier definiert werden.</B></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
116 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
117 <TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
118 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
119 <CODE>mencoder <file/DVD> -oac copy -pass 2 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
120 -divx4opts br=<bitrate></CODE></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
121 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
122 <B><U>Dritter Schritt: Pass 3</U> : Integriert den zweiten Schritt der DivX4 Video Enkodierung. |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
123 Optional kann die Video-Bitrate, welche am Ende des letzten Schrittes gezeigt wurde, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
124 In diesem Schritt wird der Ton vom <CODE>frameno.avi</CODE> in die endgültige Datei |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
125 eingefügt und es ist alles bereit!</B></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
126 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
127 </TABLE> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
128 </P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
129 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
130 <P><B>Beispiel einer 3-pass Enkodierung :</B></P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
131 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
132 <P><CODE> rm frameno.avi</CODE> - Lösche diese Datei, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
133 welche von einer früheren Enkodierung kommen kann (Sie führt zu einem Konflikt mit |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
134 der momentanen)<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
135 <CODE> mencoder -dvd 2 -ovc frameno |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
136 -o frameno.avi<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
137 <CODE> mencoder -dvd 2 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
138 -divx4opts br=1100 -oac copy -o movie.avi -pass 1<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
139 mencoder -dvd 2 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
140 -divx4opts br=1100 -oac copy -o movie.avi -pass 2</CODE> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
141 </P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
142 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
143 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
144 <P><B><A NAME=2.4.3.2>Rescaling von Filmen</B></P> |
3462 | 145 |
146 <P>Oftmals ist die Änderung der Bildgröße erforderlich. Die Gründe darfür können verschieden sein, | |
147 Beispiele sind das Verkleinern des Ausgabenbildes oder das Enkodieren von SVCD zu DivX. Bei gerippt DVDs | |
148 wurde meinst die Größe geändert, zum Beispiel eine 4:3 DVD sollte 640x480 Pixel haben, insbesonders wenn | |
149 es auf eine CD passen soll and eine gute Bildqualität zugleich aufweisen soll. | |
150 SVCDs haben eine Größe von 480x480, wobei ihr Header jedoch die "Aspect Ratio" für den Player enthält | |
151 (z.B.: 480x480 + 4:3 = 640x480). Wie auch immer, wenn du in eine AVI (DivX) Datei enkodierst musst du | |
152 bedenken, dass der Header von AVI Dateien keine solche Infomation enthält. Darum ist die einzige Möglichkeit | |
153 das Ändern das Auslösung.</P> | |
154 | |
155 <P>Die Ausgabegröße wird mit der <CODE>-x</CODE> und <CODE>-y</CODE> Option angeben. | |
156 Zusätzlich gibt es noch 3 verschiedene Filter für Rescaling in <B>MEncoder</B>, <I>0 | |
157 : fast (schnell) 1 : bilinear</I>, <I>2 : bilinear</I>, <I>bicubic</I> (beste Qualität). | |
158 Diese können mit der <CODE>-sws</CODE> Option ausgewählt werden. Wenn nichts angeben wird | |
159 verwendet <B>MEncoder</B> 0 : fast bilinear.</P> | |
160 | |
161 <P>Rescaling ist sehr einfach:<BR> | |
162 <CODE> mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi</CODE></P> | |
163 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
164 <P><B><A NAME=2.4.3.3>Stream-Copy</B></P> |
3462 | 165 |
166 <P><B>MEncoder</B> kann Input-Streams auf zwei Arten behandeln: <B>enkodieren</B> oder | |
167 <B>kopieren (copy)</B>. Diese Sektion erklärt das Kopieren <B>copying</B>.</P> | |
168 | |
169 <P> | |
170 <UL> | |
171 <LI><B>Videostreams</B> (Option <CODE>-ovc copy</CODE>) : nette Sachen können erledigt werden :)<BR> | |
172 Wie das Geben von FLI oder VIVO oder MPEG1 Video in eine AVI Datei! Natürlich kann nur <B>MPlayer</B> | |
173 solche Dateien abspielen :) Und vermutlich hat es auch keine Überlebensqualität. Das Kopieren von Videostream | |
174 kann nützlicher sein, wenn man zum Beispiel nur den Audiostream enkodieren will (z.B.: umkomprimiertes PCM | |
175 zu MP3).</LI> | |
176 | |
177 <LI><B>Audiostreams</B> (Option <CODE>-oac copy</CODE>) : siehe oben.</LI> | |
178 </UL> | |
179 </P> | |
180 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
181 <P><B><A NAME=2.4.3.4>Reparieren von AVIs mit defektem Index oedr Interleaving</B></P> |
3594 | 182 |
183 <P>Einfache Sache. Wir kopieren einfach die Video- und Audiostreams und | |
184 <B>MEncoder</B> erzeugt das Index. Natürlich kann das keine Fehler in den | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
185 Video- und/oder Audiostreams lösen. Es kann auch Dateien mit kaputten Interleaving reparieren, |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
186 so dass die Option <CODE>-ni</CODE> für diese nicht mehr gebraucht wird.</P> |
3594 | 187 |
188 <P>Befehl: <CODE>mencoder input.avi -ovc copy -oac copy -o output.avi</CODE></P> | |
189 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
190 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
191 <P><B><A NAME=2.4.3.5>2.4.3.5. Enkodierung mit der <I>libavcodec</I> Codec-Familie</B></P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
192 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
193 <P><A HREF="codecs.html#2.2.1.2">libavcodec</A> bietet eine einfache Enkodierung für |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
194 viele interessante Video und Audio Formate (momentan sind deren Audio Codecs nicht |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
195 unterstützt). Du kannst zu folgenden Codecs enkodieren:</P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
196 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
197 <P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
198 <UL> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
199 <LI>mjpeg - Motion JPEG</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
200 <LI>h263 - H263</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
201 <LI>h263p - H263 Plus</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
202 <LI>mpeg4 - DivX4</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
203 <LI>msmpeg4 - das alte DivX</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
204 <LI>rv10 - ein alter RealVideo Codec</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
205 <LI>mpeg1video - MPEG1 video :)</LI> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
206 </UL> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
207 </P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
208 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
209 <P>Die erste Kolonne enthält den Codec-Name der nach dem <CODE>vcodec</CODE> Config übergeben |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
210 werden sollte, wie z.B.: <CODE>-lavcopts vcodec=msmpeg4</CODE></P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
211 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
212 <P>Ein Beispiel mit MJPEG Kompression :<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
213 <CODE> mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg</CODE></P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
214 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
215 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
216 <P><B><A NAME=2.4.4>Syntax</B></P> |
3462 | 217 |
218 <P> <CODE>mencoder [Optionen] [Eingangsdatei] [Optionen] ...</P> | |
219 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
220 <P><B><A NAME=2.4.5>Verfügbare Optionen</B></P> |
3462 | 221 |
222 <P>HINWEIS: <B>lese die Manpage</B> für alle verfügbaren Optionen!</B></P> | |
223 | |
224 <TABLE BORDER=0> | |
225 <TR> | |
226 <TD> </TD> | |
227 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
228 <I>-o</I> Dateiname</TD> | |
229 <TD> </TD> | |
230 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
231 definiert den Namen der Ausgabedatei | |
232 </TD> | |
233 </TR> | |
234 <TR> | |
235 <TD> </TD> | |
236 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
237 <I>-x</I> Breite in Pixel</TD> | |
238 <TD> </TD> | |
239 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
240 ändert die Videoausgabe auf die angegebene Anzahl von Pixel | |
241 </TD> | |
242 </TR> | |
243 <TR> | |
244 <TD> </TD> | |
245 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
246 <I>-y</I> Höhe in Pixel</TD> | |
247 <TD> </TD> | |
248 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
249 ändert die Videoausgabe auf die angegebene Anzahl von Pixel | |
250 </TD> | |
251 </TR> | |
252 <TR> | |
253 <TD> </TD> | |
254 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
255 <I>-sws</I> 0-2</TD> | |
256 <TD> </TD> | |
257 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
258 Arte der Scaling-Methode<BR> | |
259 0 - fast bilinear<BR> | |
260 1 - bilinear<BR> | |
261 2 - bicubic (beste Qualität)<BR> | |
262 </TD> | |
263 </TR> | |
264 <TR> | |
265 <TD> </TD> | |
266 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
267 <I>-ovc</I> Codecname</TD> | |
268 <TD> </TD> | |
269 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
270 Enkodiert mit dem angegebenen Codec (Codecnamen sind von codecs.conf). Beispiele:<BR> | |
271 <B>help</B> - zeigt eine Liste der verfügbaren Codecs an<BR> | |
272 <B>copy</B> - kein Enkodieren, kopiert den Stream (nur von AVI/ASF zur Zeit)<BR> | |
273 <B>divx4</B> - enkodiert zu DivX4<BR> | |
274 </TD> | |
275 </TR> | |
276 <TR> | |
277 <TD> </TD> | |
278 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
279 <I>-oac</I> Codecname</TD> | |
280 <TD> </TD> | |
281 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
282 Enkodiert mit dem angegebenen Codec (Codecnamen sind von codecs.conf). Beispiele:<BR> | |
283 <B>help</B> - zeigt eine Liste der verfügbaren Codecs an<BR> | |
284 <B>copy</B> - kein Enkodieren, kopiert den Stream (nur von AVI/ASF zur Zeit)<BR> | |
285 <B>pcm</B> - enkodierten zu einem unkomprimiertem PCM<BR> | |
286 <B>mp3lame</B> - enkodiert zu MP3 (verwendet Lame)<BR> | |
287 </TD> | |
288 </TR> | |
289 <TR> | |
290 <TD> </TD> | |
291 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
292 <I>-divx4opts</I></TD> | |
293 <TD> </TD> | |
294 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
295 Wenn du zu DivX4 enkodierst kannst du hier die Parameter angeben, wie z.B.:<BR> | |
296 <CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR> | |
297 Allgemeine Optionen: <B>(für eine vollständige Liste siehe Mapage!)</B><BR> | |
298 <B>help</B> - zeigt die Hilfe<BR> | |
299 <B>br</B>=XXX - gibt die Bitrate in kBit <4-16000> oder Bit <16001-24000000> an<BR> | |
300 <B>q</B>=XXXX - Qualität (1-schnellste, 5-beste - standard 5)<BR> | |
301 </TD> | |
302 </TR> | |
303 <TR> | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
304 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
305 <I>-lavcopts</I></TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
306 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
307 Wenn du mit der libavcodec enkodierst, kannst du deren Parameter hier angeben, wie:<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
308 <CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
309 Häufige Optionen: <B>(Lies in der Manpage für die vollstöndige Liste!)</B><BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
310 <B>help</B> - zeigt die Hilfe<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
311 <B>vcodec</B>=XXX - wählt den Videocodec (Siehe in der libavcodec Sektion unten nach für die vollständige Liste)<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
312 <B>vbitrate</B>=XXX - gibt die Bitrate in kbit <4-16000> oder bit <16001-24000000> an<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
313 <B>vhq</B> - hohe Qualität<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
314 <B>keyint</B>=XXX - Keyframe Interval<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
315 </TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
316 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
317 <TR> |
3462 | 318 <TD> </TD> |
319 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
320 <I>-lameopts</I></TD> | |
321 <TD> </TD> | |
322 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
323 Wenn du zu MP3 mit libmp3lame enkodierst kannst du hier die Parameter angeben, wie z.B.:<BR> | |
324 <CODE>-lameopts q=3</CODE><BR> | |
325 <CODE>-lameopts br=192:cbr</CODE><BR> | |
326 Allgemeine Optionen: <B>(für eine vollständige Liste siehe Manpage!)</B><BR> | |
327 <B>help</B> - zeigt die Hilfe<BR> | |
328 <B>cbr</B> - wählt <B>CBR</B> MP3 (standard ist <B>VBR</B>)<BR> | |
329 <B>br</B>=XXX - definiert die Bitrate in <0-1024> (dies ist nur für <B>CBR</B>!)<BR> | |
330 <B>q</B>=XXXX - Qualität (0-höchste, 9-schnellste - standard 0) (dies ist nur für <B>VBR</B>!)<BR> | |
331 </TD> | |
332 </TR> | |
333 </TABLE> | |
334 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
335 <P><B><A NAME=2.4.6>Beispiele</B></P> |
3462 | 336 |
337 <P>Die Verwendung von <B>MEncoder</B> ist das Einfachste auf das Erde. Siehe folgendes:</P> | |
338 | |
339 <P>Enkodierung von DVD, Titel 2:<BR> | |
340 <CODE> mencoder -dvd 2 -o title2.avi</CODE></P> | |
341 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
342 <P>Das gleiche, aber mit der libavcodec Familie, MJPEG compression :<BR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
343 <CODE> mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg</CODE></P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
344 |
3462 | 345 <P>Enkodierung von DVD, Title 2, mit Rescaling:<BR> |
346 <CODE> mencoder -dvd 2 -x 640 -y 480 -sws 2 -o title2.avi</CODE></P> | |
347 | |
348 <P>Enkodierung von HTTP:<BR> | |
349 <CODE> mencoder http://mplayer.hq/example.avi -o example.avi</CODE></P> | |
350 | |
351 <P>Enkodierung von Pipe:<BR> | |
352 <CODE> rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- -</CODE></P> | |
353 | |
354 <P>Enkodierung von mehreren *.vob-Dateien:<BR> | |
355 <CODE> cat *.vob | mencoder <options> -</CODE></P> | |
356 | |
357 <P>Enkodierung vom Tuner (für Tuner-Option <A HREF="documentation.html#2.5">siehe die TV-Input Sektion!</A>):<BR> | |
358 <CODE> mencoder -tv on:driver=v4l:width=640:height=480 <options></CODE></P> | |
359 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
360 <P><B><I>Lies die MEncoder Manpage</I> </B>um alle verfügbaren Optionen zu sehen. |
3462 | 361 <P> |
362 </FONT> | |
363 </BODY> | |
364 </HTML> |