Mercurial > mplayer.hg
annotate DOCS/German/encoding.html @ 6443:ed50937a1321
Recent changes in configure should take care of the Real lib locations.
Hint by Atmos on -users.
author | diego |
---|---|
date | Sun, 16 Jun 2002 02:56:44 +0000 |
parents | 13c35228abe8 |
children | eb60f4cf0b4c |
rev | line source |
---|---|
3462 | 1 <HTML> |
4996 | 2 |
3 <HEAD> | |
6398 | 4 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css"> |
4996 | 5 </HEAD> |
6 | |
3462 | 7 <BODY BGCOLOR=white> |
8 | |
9 | |
4695 | 10 <P><B><A NAME=2.4>2.4. Encodieren mit MEncoder</A></B></P> |
3462 | 11 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
12 <P><B><A NAME=2.4.1>2.4.1. Übersicht</B></P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
13 |
4695 | 14 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) ist ein einfacher Filmencoder, |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
15 entworfen um Filme, die mit MPlayer abspielbar sind (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>), |
4695 | 16 in ein anderes von MPlayer abspielbares Format (siehe unten) zu encodieren. Er kann mehrere Codecs zur |
17 Encodierung benutzen, wie <B>DivX4</B> (1, 2 oder 3 Pass), libavcodec und <B>PCM</B>/<B>MP3</B>/<B>VBRMP3</B> Audio. | |
18 Er verfügt auch über eine stream-copy-Funktion und kann die Grösse der Videos ändern.</P> | |
3462 | 19 |
4695 | 20 <P><B><A NAME=2.4.2>2.4.2. Kompilierung</B></P> |
3462 | 21 <UL> |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
22 <LI><B>OPTIONAL</B> - Lies die Anleitungen zur <B>MPlayer</B> Kompilierung.</LI> |
5024 | 23 <LI><B>OPTIONAL (NUR LINUX)</B> - Downloade die neuesten <B>DivX4linux</B> Libs von |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
24 <A HREF="http://avifile.sourceforge.net/download.htm">avifile.sourceforge.net</A> |
4695 | 25 und installiere sie RICHTIG. Es wird benötigt für das DivX4 (1/2 Pass) encodieren. |
26 Weil er (zur Zeit) noch davon abhängig ist, ist MEncoder auf Linux beschränkt.</LI> | |
5024 | 27 <LI><B>OPTIONAL</B> - <A HREF="codecs.html#2.2.1.9">downloade und installiere |
28 <B>XViD</B></A>. Sehr nützlich für nicht-Linux Kisten und/oder wenn eine schnellere Encodierung | |
29 als DivX4 benötigt wird mit der annähernd gleichen Qualität.</LI> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
30 <LI><B>OPTIONAL</B> - für libavcodec Support, installiere libavcodec wie beschrieben in |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
31 <A HREF="codecs.html#2.2.1.2">ffmpegs DivX/libavcodec</A>.</LI> |
4695 | 32 <LI><B>OPTIONAL</B> - Downloade und kompiliere <B>libmp3lame</B> (von lame 3.89beta oder lame CVS).<BR> |
33 <B>WARNUNG: KOMPILIERE LAME AUF KEINEN FALL MIT <U>GCC 2.96</U>! Es wird nicht funktionieren!</B><BR> | |
34 Dies wird für die CBR/VBR MP3 Audio Encodierung benötigt. Bedenke dass die <CODE>lame</CODE> | |
35 Binary allein nicht genug ist. Übrigens: je weniger Optimierungen du für lame | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
36 verwendest, desto besser wird die Qualität. Du kannst die Qualität mit <CODE>make test</CODE> |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
37 nach dem Kompilieren von lame testen. Das Ergebnis (eine Zahl) sollte kleiner als <B>30</B> sein. |
4695 | 38 Aber keine Panik wenn sie <B>400</B> oder ähnlich ist, du solltest keine mindere Qualität bemerken können. |
39 Oh, und wenn dein Compiler <CODE>make test</CODE> nicht ausführt ... dann lösche <B>GCC 2.96</B>.</LI> | |
5071 | 40 <LI><B>OPTIONAL</B> - <CODE>libjpeg</CODE> und <CODE>libpng</CODE> - |
41 wie in der <A HREF="documentation.html#1.3">Installation</A> | |
42 Sektion beschrieben</LI> | |
3462 | 43 </UL> |
44 </P> | |
45 | |
4695 | 46 <P>Du bist fertig. Wie du möglicherweise weisst, benötigen andere Encoder <I>avifile</I>. <B>MEncoder</B> braucht diese |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
47 überhaupt nicht.</P> |
3462 | 48 |
4695 | 49 <P><B><A NAME=2.4.3>2.4.3. MEncoder Features</B></P> |
3462 | 50 <UL> |
4695 | 51 <LI>Encodieren von der großen Reichweite an Dateiformaten und Decodern von <B>MPlayer</B></LI> |
52 <LI>Encodieren von allen Codecs von <A HREF=codecs.html#2.2.1.2>libavcodec</A></LI> | |
4996 | 53 <LI>Erzeugung von Dateien aus einer externen Tonspur</LI> |
4695 | 54 <LI>Encodieren von <B>V4L kompatiblem TV-Tunern</B></LI> |
55 <LI>Encodieren/Multiplexen zu interleaved AVI-Datei mit Index</LI> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
56 <LI>1, 2 oder 3 Pass <B>DivX4</B> Video</LI> |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
57 <LI><B>VBR</B> MP3 Audio <B>WICHTIGER HINWEIS</B> : VBR MP3 Audio wird von Windows-Playern |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
58 nicht immer gut wiedergegeben! Andererseits ist <B>MEncoder</B>'s CBR Encodierung auf |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
59 Win32-Playern ausser Betrieb :)</LI> |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
60 <LI>PCM Audio</LI> |
4695 | 61 <LI>stream-copy</LI> |
62 <LI>Eingangs A/V-Synchronisation (PTS-basierend, kann mit der -mc 0 Option ausgeschaltet werden)</LI> | |
63 <LI>Korrektur der FPS mit der <CODE>-ofps</CODE> Option (hilfreich beim Encodieren von 29.97fps VOB zu 24fps AVI)</LI> | |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
64 <LI>Bildgrössenänderung (rescaling)</LI> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
65 <LI>Benutzung unseres mächtigen Plugin-Systems (crop, expand, flip, postprocess, |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
66 rotate, scale, rgb/yuv Umwandlung)</LI> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
67 <LI>Encodieren von DVD/VOBsub- <B>UND</B> Text-Untertiteln in eine Ausgabedatei</LI> |
3462 | 68 </UL> |
69 </P> | |
70 | |
4695 | 71 <P><B><I>Geplante Features</I></B> : |
3462 | 72 <UL> |
4695 | 73 <LI>Erhöhen der verfügbaren En-/Decodierungs Formate/Codecs |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
74 (erzeugen von VOB Dateien mit DivX4/Indeo5/VIVO Streams :)</LI> |
4996 | 75 <LI>Audio Encodierung von v4l (FERTIG für FreeBSD ?)</LI> |
3462 | 76 </UL> |
77 </P> | |
78 | |
4695 | 79 <P><B><A NAME=2.4.3.1>2.4.3.1. 2-Pass DivX4 Encodierung</B></P> |
3462 | 80 |
4695 | 81 <P><U><B>2-pass Encodierung :</B></U> Der Name kommt in der Tat daher, dass diese Methode die Datei <I>zwei Mal</I> encodiert. |
82 Das erste Encodieren (1. <P>Pass</I> [=Durchlauf]) erzeugt einige temporäre Dateien (*.log) mit einer Dateigröße | |
83 von nur wenigen, lösche sie nicht (du kannst die AVI löschen). Im zweiten Pass wird die Ausgabedatei erzeugt, unter | |
84 Verwendung der Bitraten-Daten der temporären Datei. Die endgültige Datei wird eine bessere Bildqualität | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
85 besitzen. Wenn dies das erst Mal ist das du davon hörst, solltest du einige Guides in Internet lesen.</P> |
3462 | 86 |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
87 <P>Dieses Beispiel zeigt dir, wie du eine DVD in ein 2-Pass DivX4 AVI encodierst. Nur 2 Befehle sind erforderlich:<BR> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
88 <CODE> rm frameno.avi</CODE> - Lösche diese Datei, welche von einer früheren |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
89 Encodierung kommen kann (Sie führt zu einem Konflikt mit der momentanen)<BR> |
6153 | 90 <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:mehr_optionen -o film.avi -pass 1</CODE><BR> |
91 <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:mehr_optionen -o film.avi -pass 2</CODE> | |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
92 </P> |
3462 | 93 |
4695 | 94 <P><U><B>3-pass Encodierung :</B></U> Dies ist eine Erweiterung der 2-Pass Encodierung, |
95 in der die Kodierung von Audio in einem separaten Durchlauf vollzogen wird. Diese Methode | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
96 erlaubt die Untersuchung der empfohlenen Video-Bitrate um auf eine CD zu passen. Auch |
4695 | 97 wird der Ton nur einmal kodiert im Unterschied zum 2-Pass. Das Schema: </P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
98 |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
99 <P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
100 <TABLE> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
101 <TR> |
6398 | 102 <TD><CODE>rm frameno.avi</CODE></TD> |
103 <TD><B>Lösche störende temporäre Dateien</B></TD> | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
104 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
105 <TR> |
6398 | 106 <TD><CODE>mencoder <datei/DVD> -ovc frameno -o frameno.avi</CODE></TD> |
107 <TD> | |
4695 | 108 <B><U>Erster Durchlauf</U> : Eine Audio-only avi Datei wird erzeugt, welche |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
109 NUR den verlangten Audiostream enthält. Vergiss nicht <CODE>-lameopts</CODE> zu setzen, |
4695 | 110 wenn du sie setzen musst. Wenn du einen langen Film encodierst, zeigt MEncoder |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
111 die empfohlenen Bitraten-werte an für 650Mb, 700Mb und 800Mb Endgrössen, |
4695 | 112 wenn er diesen Durchlauf beendet hat.</B></TD> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
113 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
114 <TR> |
6398 | 115 <TD><CODE>mencoder <datei/DVD> -oac copy -pass 1 -ovc divx4 -divx4opts br=<bitrate></CODE></TD> |
116 <TD><B><U>Zweiter Durchlauf</U> : Integriert den ersten Durchlauf der DivX4 Video-Encodierung. | |
4695 | 117 Optional kann die Video-Bitrate, welche am Ende des letzten Durchlaufes gezeigt wurde, |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
118 hier definiert werden.</B></TD> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
119 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
120 <TR> |
6398 | 121 <TD><CODE>mencoder <datei/DVD> -oac copy -pass 2 -ovc divx4 -divx4opts br=<bitrate></CODE></TD> |
122 <TD><B><U>Dritter Durchlauf</U> : Integriert den zweiten Durchlauf der DivX4 Video Encodierung. | |
4695 | 123 Optional kann die Video-Bitrate, welche am Ende des letzten Durchlaufes gezeigt wurde, |
124 In diesem Durchlauf wird der Ton vom <CODE>frameno.avi</CODE> in die endgültige Datei | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
125 eingefügt und es ist alles bereit!</B></TD> |
4600
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 |
4695 | 130 <P><B>Beispiel einer 3-pass Encodierung :</B></P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
131 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
132 <P><CODE> rm frameno.avi</CODE> - Lösche diese Datei, |
4695 | 133 welche von einer früheren Encodierung kommen kann (Sie führt zu einem Konflikt mit |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
134 der momentanen)<BR> |
4600
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 |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
136 -o frameno.avi</CODE><BR> |
4600
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 |
6153 | 138 -lavcopts vcodec=mpeg4:mehr_optionen -oac copy -o film.avi -pass 1</CODE><BR> |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
139 <CODE> mencoder -dvd 2 |
6153 | 140 -lavcopts vcodec=mpeg4:mehr_optionen -oac copy -o film.avi -pass 2</CODE> |
4600
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 |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
143 <P><U><B>2 oder 3-pass Encodierung unter Benutzung des internen libavcodec Kontrollers</B></U> : |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
144 Man kann optional libavcodec's internen 2 oder 3-pass Modus verwenden, welcher vielleicht zu einer |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
145 besseren endgültigen Genauigkeitrate führt als bei der Benutzung des externen, DivX4-inspirierten |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
146 2-pass Kontrollers mit libavcodec.<BR> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
147 <UL> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
148 <B>2-pass Encodierung</B>:<BR> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
149 <CODE>rm -f lavc_stats.txt<BR> |
6241 | 150 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 (Audio-Optionen) -o film.avi<BR> |
151 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 (Audio-Optionen) -o film.avi</CODE><BR> | |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
152 <BR> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
153 <B>3-pass Encodierung</B>:<BR> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
154 <CODE>rm -f frameno.avi lavc_stats.txt<BR> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
155 mencoder -dvd 2 -ovc frameno (Audio-Optionen) -o frameno.avi<BR> |
6241 | 156 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o film.avi<BR> |
157 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o film.avi</CODE><BR> | |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
158 </UL> |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
159 </P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
160 |
4695 | 161 <P><B><A NAME=2.4.3.2>2.4.3.2. Rescaling von Filmen</B></P> |
3462 | 162 |
4695 | 163 <P>Oftmals ist die Änderung der Bildgröße erforderlich. Die Gründe dafür können verschieden sein, |
164 Beispiele sind das Verkleinern des Ausgabenbildes oder das Encodieren von SVCD zu DivX. Bei gerippt DVDs | |
165 wurde meinst die Größe geändert, zum Beispiel eine 4:3 DVD sollte 640x480 Pixel haben, insbesondere wenn | |
166 es auf eine CD passen soll und eine gute Bildqualität zugleich aufweisen soll. | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
167 SVCDs haben eine Größe von 480x480, wobei ihr Header jedoch die "Aspect Ratio" für den Player enthält |
4695 | 168 (z.B.: 480x480 + 4:3 = 640x480). Wie auch immer, wenn du in eine AVI (DivX) Datei encodierst musst du |
169 bedenken, dass der Header von AVI Dateien keine solche Information enthält. Darum ist die einzige Möglichkeit | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
170 das Ändern das Auslösung.</P> |
3462 | 171 |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
172 <P>Der Skalierungsprozess erfolgt durch den <I>'scale</I> Videofilter: |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
173 <CODE>-vop scale=X:Y</CODE>. Die Qualität kann durch die Option <CODE>-sws</CODE> angegeben werden. |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
174 Wenn nichts angegeben ist verwendet <B>MEncoder</B> 0: |
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
175 fast bilinear.</P> |
3462 | 176 |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
177 <P>Verwendung:<BR> |
6153 | 178 <CODE> mencoder beispiel-svcd.mpg -lavcopts vcodec=mpeg4:mehr_optionen -vop scale=640:480 -sws 2 -o ausgabe.avi</CODE></P> |
3462 | 179 |
4695 | 180 <P><B><A NAME=2.4.3.3>2.4.3.3. Stream-Copy</B></P> |
3462 | 181 |
4695 | 182 <P><B>MEncoder</B> kann Input-Streams auf zwei Arten behandeln: <B>encodieren</B> oder |
183 <B>kopieren (copy)</B>. Diese Sektion erklärt das <B>copying</B>.</P> | |
3462 | 184 |
185 <P> | |
186 <UL> | |
4695 | 187 <LI><B>Videostreams</B> (Option <CODE>-ovc copy</CODE>) : Es können nette Sachen gemacht werden :)<BR> |
188 Wie das kopieren (nicht konvertieren) von FLI oder VIVO oder MPEG1 Video in eine AVI Datei! Natürlich kann nur <B>MPlayer</B> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
189 solche Dateien abspielen :) Und vermutlich hat es auch keine Überlebensqualität. Das Kopieren von Videostream |
4695 | 190 kann nützlicher sein, wenn man zum Beispiel nur den Audiostream encodieren will (z.B.: unkomprimiertes PCM |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
191 zu MP3).</LI> |
3462 | 192 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
193 <LI><B>Audiostreams</B> (Option <CODE>-oac copy</CODE>) : siehe oben.</LI> |
4996 | 194 Es ist möglich eine externe Audiodatei (MP3, AC3, Vorbis) zu nehmen und diese |
195 dem Ausgabestream hinzuzufügen. Benutze dazu die Option | |
196 <CODE>-audiofile <dateiname></CODE>.</LI> | |
3462 | 197 </UL> |
198 </P> | |
199 | |
4695 | 200 <P><B><A NAME=2.4.3.4>2.4.3.4. Reparieren von AVIs mit defektem Index oder Interleaving</B></P> |
3594 | 201 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
202 <P>Einfache Sache. Wir kopieren einfach die Video- und Audiostreams und |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
203 <B>MEncoder</B> erzeugt das Index. Natürlich kann das keine Fehler in den |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
204 Video- und/oder Audiostreams lösen. Es kann auch Dateien mit kaputten Interleaving reparieren, |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
205 so dass die Option <CODE>-ni</CODE> für diese nicht mehr gebraucht wird.</P> |
3594 | 206 |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
207 <P>Befehl: <CODE>mencoder -idx eingabe.avi -ovc copy -oac copy -o ausgabe.avi</CODE></P> |
3594 | 208 |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
209 |
4695 | 210 <P><B><A NAME=2.4.3.5>2.4.3.5. Encodierung mit der <I>libavcodec</I> Codec-Familie</B></P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
211 |
4695 | 212 <P><A HREF="codecs.html#2.2.1.2">libavcodec</A> bietet eine einfache Encodierung für |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
213 viele interessante Video und Audio Formate (momentan sind deren Audio Codecs nicht |
4695 | 214 unterstützt). Du kannst zu folgenden Codecs encodieren:</P> |
4600
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> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
217 <UL> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
218 <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
|
219 <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
|
220 <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
|
221 <LI>mpeg4 - DivX4</LI> |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
222 <LI>msmpeg4v2 - Micro$oft MPEG4 V2 (DivX alias MP43 predecessor)</LI> |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
223 <LI>msmpeg4 - das alte DivX</LI> |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
224 <LI>rv10 - ein alter RealVideo Codec</LI> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
225 <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
|
226 </UL> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
227 </P> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
228 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
229 <P>Die erste Kolonne enthält den Codec-Name der nach dem <CODE>vcodec</CODE> Config übergeben |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
230 werden sollte, wie z.B.: <CODE>-lavcopts vcodec=msmpeg4</CODE></P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
231 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
232 <P>Ein Beispiel mit MJPEG Kompression :<BR> |
4695 | 233 <CODE> mencoder -dvd 2 -o titel2.avi -ovc lavc -lavcopts vcodec=mjpeg</CODE></P> |
4996 | 234 |
235 | |
236 <P><B><A NAME=2.4.3.6>2.4.3.6 Encodierung von mehreren Eingangsbildern (MJPEG/MPNG)</B></P> | |
237 | |
238 <P><B>MEncoder</B> kann Filme aus einer oder mehreren JPEG oder PNG Dateien. | |
239 durch eine einfache Kopierung der Frames kann es MJPEG (Motion JPEG) oder MPNG | |
240 (Motion PNG) Dateien erzeugen.</P> | |
241 | |
242 <P><B><I>Erklärung des Prozesses</I></B></P> | |
243 | |
5071 | 244 <P><B>MEncoder</B> <I>decodiert</I> das/die Eingangsbild(er) mit <CODE>libjpeg</CODE> |
245 (wenn PNGs decodiert werden, wird die <B>libpng</B> benutzt). | |
4996 | 246 </P> |
247 | |
248 <P><B>MEncoder</B> führt die decodierten Bilder danach dem gewählten Videokompressor zu | |
249 (DivX4, Xvid, ffmpeg msmpeg4, etc...). Der eingebaute PNG-Decoder, kann momentan leider nur | |
250 RGB-Formate ausgeben und kann desshalb nicht mit Codecs, welche YUV als Input benötigen | |
251 (wie Divx 4 oder ffmpeg's msmpeg4), gebraucht werden.</P> | |
252 | |
253 <P><B><I>Beispiele</I></B></P> | |
254 | |
255 <P>Die Erklärung der <CODE>-mf</CODE> Option kann unten, in der globalen | |
256 <A HREF=#2.4.5>Optionen</A> Sektion und in den Manpages gefunden werden.</P> | |
257 | |
258 <P><I>Erstellung einer DivX4-Datei aus allen JPEG-Dateien im momentanen Verzeichnis :</I><BR> | |
259 <CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o | |
260 ausgabe.avi</CODE></P> | |
261 | |
5446 | 262 <P><I>Erstellung einer DivX4-Datei aus einigen JPEG-Dateien im momentanen Verzeichnis :</I><BR> |
263 <CODE>mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o | |
264 ausgabe.avi</CODE></P> | |
265 | |
4996 | 266 <P><I>Erstellung einer Motion JPEG (MJPEG) Datei aus allen JPEG-Dateien im momentanen Verzeichnis :</I><BR> |
267 <CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc copy | |
268 -o ausgabe.avi</CODE></P> | |
269 | |
270 <P><I>Erstellung einer unkomprimierten Datei aus allen PNG-Dateien im momentanen Verzeichnis :</I><BR> | |
271 <CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc raw -o | |
272 ausgabe.avi</CODE></P> | |
273 | |
274 <P><I>Erstellung einer Motion PNG (MPNG) Datei aus allen PNG-Dateien im momentanen Verzeichnis :</I><BR> | |
275 <CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc copy | |
276 -o ausgabe.avi</CODE></P> | |
277 | |
278 | |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
279 |
4695 | 280 <P><B><A NAME=2.4.4>2.4.4. Syntax</B></P> |
3462 | 281 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
282 <P> <CODE>mencoder [Optionen] [Eingangsdatei] [Optionen] ...</P> |
3462 | 283 |
4695 | 284 <P><B><A NAME=2.4.5>2.4.5. Verfügbare Optionen</B></P> |
3462 | 285 |
4695 | 286 <P>HINWEIS: <B>Lies die Manpage</B> für alle verfügbaren Optionen!</B></P> |
3462 | 287 |
4695 | 288 <P> |
289 Da <B>MEncoder</B> die gleiche Codebasis wie <B>MPlayer</B> eingebaut hat, gibt es | |
290 viele <B>MPlayer</B> Optionen, welche auch in <B>MEncoder</B> zur Verwendung kommen! | |
291 Wie du siehst, kannst du die Option <CODE>-sid</CODE> verwenden um DVD mit Untertitel zu | |
292 zu rippen oder <CODE>-noidx</CODE> um kaputte Indexe des Eingangs AVI zu missachten. <B>Sei klug!</B> | |
293 </P> | |
294 | |
295 <TABLE BORDER=1> | |
3462 | 296 <TR> |
6398 | 297 <TD><I>-ss</I> Zeit</TD> |
298 <TD>Startet die Encodierung von der gegebenen Zeit an (er kann nur von Keyframes aus starten !)</TD> | |
4716 | 299 </TR> |
300 <TR> | |
6398 | 301 <TD><I>-endpos</I> Zeit / byte-Position</TD> |
302 <TD>Stoppt die Encodierung zu der gegebenen Zeit / byte-Position. Lies die Manpage für Beispiele !</TD> | |
4716 | 303 </TR> |
304 <TR> | |
6398 | 305 <TD><I>-o</I> Dateiname</TD> |
306 <TD>definiert den Namen der Ausgabedatei</TD> | |
3462 | 307 </TR> |
308 <TR> | |
6398 | 309 <TD><I>-sws</I> 0-2</TD> |
310 <TD>Arte der Scaling-Methode<BR> | |
3462 | 311 0 - fast bilinear<BR> |
312 1 - bilinear<BR> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
313 2 - bicubic (beste Qualität)<BR> |
3462 | 314 </TD> |
315 </TR> | |
316 <TR> | |
6398 | 317 <TD><I>-ovc</I> Codecname</TD> |
318 <TD>Encodiert mit dem angegebenen Codec (Codecnamen sind von codecs.conf). Beispiele:<BR> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
319 <B>help</B> - zeigt eine Liste der verfügbaren Codecs an<BR> |
4695 | 320 <B>rawrgb</B> - ?<BR> |
321 <B>copy</B> - kein Encodieren, kopiert den Stream (nur von AVI/ASF zur Zeit)<BR> | |
322 <B>divx4</B> - encodiert zu DivX4<BR> | |
323 <B>lavc</B> - encodiert mit einem Codec von libavcodec<BR> | |
324 <B>vfw</B> - encodiert mit einer Windows DLL<BR> | |
3462 | 325 </TD> |
326 </TR> | |
327 <TR> | |
6398 | 328 <TD><I>-oac</I> Codecname</TD> |
329 <TD>Encodiert mit dem angegebenen Codec (Codecnamen sind von codecs.conf). Beispiele:<BR> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
330 <B>help</B> - zeigt eine Liste der verfügbaren Codecs an<BR> |
4695 | 331 <B>copy</B> - kein Encodieren, kopiert den Stream (nur von AVI/ASF zur Zeit)<BR> |
332 <B>pcm</B> - encodierten zu einem unkomprimiertem PCM<BR> | |
333 <B>mp3lame</B> - encodiert zu MP3 (verwendet Lame)<BR> | |
3462 | 334 </TD> |
335 </TR> | |
336 <TR> | |
6398 | 337 <TD><I>-mf</I> Optionen für mehrere Eingangsdateien</TD> |
338 <TD>Wenn von mehreren JPEG-Dateien konvertiert wird, kann man folgende Unteroptionen | |
4996 | 339 angeben:<BR> |
340 <B>on</B> - aktiviert die Unterstützung für mehrere Eingangsdateien<BR> | |
341 <B>w</B>=<Wert> - Breite der Ausgabedatei<BR> | |
342 <B>h</B>=<Wert> - Höhe der Ausgabedatei<BR> | |
343 <B>fps</B>=<Wert> - fps der Ausgabedatei<BR> | |
344 <B>type</B>=<Wert> - Typ der Eingangsdateien | |
345 (verfügbare Typen : <CODE>jpeg</CODE>, <CODE>png</CODE>)<BR> | |
346 </TD> | |
347 </TR> | |
348 | |
349 <TR> | |
6398 | 350 <TD><I>-divx4opts</I></TD> |
351 <TD>Wenn du zu DivX4 encodierst kannst du hier die Parameter angeben, wie z.B.:<BR> | |
3462 | 352 <CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR> |
4695 | 353 Allgemeine Optionen: <B>(Lies in der Manpage für die vollständige Liste!)</B><BR> |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
354 <B>help</B> - zeigt die Hilfe<BR> |
4996 | 355 <B>br</B>=<Wert> - gibt die Bitrate in kBit <4-16000> oder Bit <16001-24000000> an<BR> |
356 <B>q</B>=<Wert> - Qualität (1-schnellste, 5-beste - standard 5)<BR> | |
357 <B>key</B>=<Wert> - Keyframe Interval<BR> | |
3462 | 358 </TD> |
359 </TR> | |
360 <TR> | |
6398 | 361 <TD><I>-lavcopts</I></TD> |
362 <TD>Wenn du mit der libavcodec encodierst, kannst du deren Parameter hier angeben, wie:<BR> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
363 <CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR> |
4695 | 364 Häufige Optionen: <B>(Lies in der Manpage für die vollständige Liste!)</B><BR> |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
365 <B>help</B> - zeigt die Hilfe<BR> |
4996 | 366 <B>vcodec</B>=<Wert> - wählt den Videocodec (Siehe in der libavcodec Sektion unten nach für die vollständige Liste)<BR> |
367 <B>vbitrate</B>=<Wert> - gibt die Bitrate in kbit <4-16000> oder bit <16001-24000000> an<BR> | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
368 <B>vhq</B> - hohe Qualität<BR> |
4996 | 369 <B>keyint</B>=<Wert> - Keyframe Interval<BR> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
370 </TD> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
371 </TR> |
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
372 <TR> |
6398 | 373 <TD><I>-lameopts</I></TD> |
374 <TD>Wenn du zu MP3 mit libmp3lame encodierst kannst du hier die Parameter angeben, wie z.B.:<BR> | |
3462 | 375 <CODE>-lameopts q=3</CODE><BR> |
376 <CODE>-lameopts br=192:cbr</CODE><BR> | |
4695 | 377 Allgemeine Optionen: <B>(Lies in der Manpage für die vollständige Liste!)</B><BR> |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
378 <B>help</B> - zeigt die Hilfe<BR> |
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
379 <B>cbr</B> - wählt <B>CBR</B> MP3 (standard ist <B>VBR</B>)<BR> |
4996 | 380 <B>br</B>=<Wert> - definiert die Bitrate in <0-1024> (dies ist nur für <B>CBR</B>!)<BR> |
381 <B>q</B>=<Wert> - Qualität (0-höchste, 9-schnellste - standard 0) (dies ist nur für <B>VBR</B>!)<BR> | |
6031
63f08ed66948
updated to english version (except documentation.html and manpages)
jonas
parents:
5446
diff
changeset
|
382 <B>vbr</B>=<Wert> - VBR Untermodus (3-ABR, beste Qualität/Geschwindigkeit) (dies ist nur für <B>VBR</B>!)<BR> |
3462 | 383 </TD> |
384 </TR> | |
385 </TABLE> | |
386 | |
4695 | 387 <P><B><A NAME=2.4.6>2.4.6. Beispiele</B></P> |
3462 | 388 |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
389 <P>Die Verwendung von <B>MEncoder</B> ist das Einfachste auf das Erde. Siehe folgendes:</P> |
3462 | 390 |
4695 | 391 <P>Encodierung von DVD, Titel 2:<BR> |
6153 | 392 <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:mehr_optionen -o titel2.avi</CODE></P> |
3462 | 393 |
4695 | 394 <P>Das gleiche, aber mit der libavcodec Familie, MJPEG Kompression :<BR> |
6153 | 395 <CODE> mencoder -dvd 2 -lavcopts vcodec=mjpeg:mehr_optionen -ffourcc mjpg -o titel2.avi</CODE></P> |
4600
bcaeff069237
"Here is the correct patch again, some changes for the old ones and a patch for
gabucino
parents:
3635
diff
changeset
|
396 |
4695 | 397 <P>Encodierung von DVD, Title 2, mit Rescaling:<BR> |
6153 | 398 <CODE> mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:mehr_optionen -o titel2.avi</CODE></P> |
3462 | 399 |
4695 | 400 <P>Encodierung von HTTP:<BR> |
6153 | 401 <CODE> mencoder http://mplayer.hq/beispiel.avi -lavcopts vcodec=mpeg4:mehr_optionen -o beispiel.avi</CODE></P> |
3462 | 402 |
4695 | 403 <P>Encodierung von Pipe:<BR> |
6153 | 404 <CODE> rar p test-SVCD.rar | mencoder -lavcopts vcodec=mpeg4:mehr_optionen -ofps 24 -pass 1 -- -</CODE></P> |
3462 | 405 |
4695 | 406 <P>Encodierung von mehreren *.vob-Dateien:<BR> |
3462 | 407 <CODE> cat *.vob | mencoder <options> -</CODE></P> |
408 | |
4695 | 409 <P>Encodierung vom Tuner (für Tuner-Option <A HREF="documentation.html#2.5">siehe die TV-Input Sektion!</A>):<BR> |
3462 | 410 <CODE> mencoder -tv on:driver=v4l:width=640:height=480 <options></CODE></P> |
411 | |
4631
974fce2f4916
[REVERSE] this patch translated the file back to english
gabucino
parents:
4617
diff
changeset
|
412 <P><B><I>Lies die MEncoder Manpage</I> </B>um alle verfügbaren Optionen zu sehen. |
3462 | 413 <P> |
414 </BODY> | |
415 </HTML> |