# HG changeset patch
# User gpoirier
# Date 1129160560 0
# Node ID 14a22bff82282532c8ee85246644d6ffceeadb9e
# Parent a1e105d71db46de52aef3d6639a7dd95c69e7bf8
List the different containers supported by MEncoder, as well as a nice example of how to produce flash videos. + a bit a clean-up.
diff -r a1e105d71db4 -r 14a22bff8228 DOCS/xml/en/mencoder.xml
--- a/DOCS/xml/en/mencoder.xml Wed Oct 12 21:55:55 2005 +0000
+++ b/DOCS/xml/en/mencoder.xml Wed Oct 12 23:42:40 2005 +0000
@@ -20,8 +20,11 @@
Audio and video codecs for encoding are selected with the
and options, respectively.
- The following choices are available, although some may not have been
- enabled at compiletime:
+ Type for instance:
+ mencoder -ovc help
+ to list all video codecs supported by the version of
+ MEncoder on your machine.
+ The following choices are available:
Audio Codecs:
@@ -107,6 +110,148 @@
+
+ Output container formats are selected with the
+ option.
+ Type:
+ mencoder -of help
+ to list all containers supported by the version of
+ MEncoder on your machine.
+ The following choices are available:
+
+
+Container formats:
+
+
+
+Container format nameDescription
+
+
+
+ lavf
+ One of the containers supported by
+ libavformat
+
+
+ avi
+ Audio-Video Interleave
+
+
+ mpeg
+ MPEG-1 and MPEG-2 PS
+
+
+ rawvideo
+ raw video stream (no muxing - one video stream only)
+
+
+ rawaudio
+ raw audio stream (no muxing - one audio stream only)
+
+
+
+
+ The AVI container is the native container format for
+ MEncoder, which means that it's the one that
+ is best handled, and the one for which MEncoder
+ was designed.
+ As noted above, other container formats are usable, but you may
+ experience some problems when using them.
+
+
+
+libavformat containers:
+
+
+ If you selected libavformat
+ to do the muxing of the output file (by using the ,
+ the appropriate container format will be determined by the file extension
+ of the output file.
+ You may force a particular container format with
+ libavformat's
+ option.
+
+
+
+
+libavformat container nameDescription
+
+
+
+ mpg
+ MPEG-1 and MPEG-2 PS
+
+
+ asf
+ Advanced Streaming Format
+
+
+ avi
+ Audio-Video Interleave
+
+
+ wav
+ Waveform Audio
+
+
+ swf
+ Macromedia Flash
+
+
+ flv
+ Macromedia Flash video
+
+
+ rm
+ RealAudio and RealVideo
+
+
+ au
+ SUN AU
+
+
+ nut
+ NUT open container (experimental and not yet spec-compliant)
+
+
+ mov
+ QuickTime
+
+
+ mp4
+ MPEG-4 format
+
+
+ dv
+ Sony Digital Video container
+
+
+
+
+ As you can see, libavformat
+ allows MEncoder to mux into a considerable
+ variety of containers.
+ Unfortunately, as MEncoder was not designed
+ from the beginning to support other container formats than AVI,
+ your should really be paranoid about the resulting file.
+ Please check to be sure that the audio/video synchronization is okay
+ and that the file can be played correctly by players other than
+ MPlayer.
+
+
+
+Example:
+
+ Creating a Macromedia Flash video suitable to be played in a web browser
+ with the Macromedia Flash plugin:
+
+mencoder input.avi -o ouput.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc \
+-lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \
+-srate 22050
+
+
+
+