Index: en/mencoder.xml
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/en/mencoder.xml,v
retrieving revision 1.94
diff -u -r1.94 mencoder.xml
--- en/mencoder.xml 23 Sep 2005 07:30:25 -0000 1.94
+++ en/mencoder.xml 12 Oct 2005 14:57:59 -0000
@@ -20,6 +20,9 @@
Audio and video codecs for encoding are selected with the
and options, respectively.
+ Type:
+ mencoder -ovc help to list all video codec supported
+ by the MEncoder on your machine for instance.
The following choices are available, although some may not have been
enabled at compiletime:
@@ -107,6 +110,137 @@
+
+ Output container formats are selected with the
+ option.
+ Type:
+ mencoder -of help to list all containers supported
+ by the MEncoder on your machine.
+ The following choices are available, although some may not have been
+ enabled at compile time:
+
+
+Container formats:
+
+
+
+Container format nameDescription
+
+
+
+ lavf
+ Use one of libavformat's
+ containers
+
+
+ avi
+ Audio Video Interleave file
+
+
+ mpeg
+ MPEG-1 systems and MPEG-2 PS
+
+
+ rawvideo
+ raw video stream (no muxing - one video stream only)
+
+
+ rawaudio
+ raw audio stream (no muxing - one audio stream only)
+
+
+
+
+ AVI container is the native container format for
+ MEncoder, which means that it's the one that
+ is best handled, and for which MEncoder was
+ designed.
+ As you saw earlier, other container formats are usable, but you may
+ experience some problems while using them.
+
+
+
+libavformat containers:
+
+
+
+libavformat container nameDescription
+
+
+
+ mpg
+ MPEG-1 systems and MPEG-2 PS
+
+
+ asf
+ Advanced Streaming Format
+
+
+ avi
+ Audio Video Interleave file
+
+
+ wav
+ Waveform Audio
+
+
+ swf
+ Macromedia Flash
+
+
+ flv
+ Macromedia Flash video files
+
+
+ rm
+ RealAudio and RealVideo
+
+
+ au
+ SUN AU format
+
+
+ nut
+ NUT open container format (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 info a fair deal of
+ containers.
+ Unfortunately, as MEncoder was not designed
+ from the beginning to support other container formats other than AVI,
+ your should really be paranoid about the encoding file you will obtain.
+ Please check if the Audio/Video synchronization is Okay and if it plays
+ nicely in other players.
+
+
+
+Example:
+
+Creating an Macromedia Flash video suitable to be played on web browser
+featuring Macromedia Flash plugin:
+
+mencoder input.avi -o ouput.flv -of lavf -oac mp3lame -lameopts abr:br=56:q=1 -ovc lavc \
+-lavcopts vcodec=flv:vbitrate=250:autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2 \
+-vf scale=320:240 -srate 22050 -af lavcresample=22050
+
+
+
+