Mercurial > mplayer.hg
diff DOCS/encoding.html @ 7043:ba9c212ed577
begun removing "Available options" and "Examples" sections, which
was discussed earlier on the list. Objections? Better solutions?
author | gabucino |
---|---|
date | Sun, 18 Aug 2002 20:51:55 +0000 |
parents | 797e7ba735ac |
children | 4f87cd0f642f |
line wrap: on
line diff
--- a/DOCS/encoding.html Sun Aug 18 20:48:00 2002 +0000 +++ b/DOCS/encoding.html Sun Aug 18 20:51:55 2002 +0000 @@ -342,156 +342,10 @@ <CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P> - -<P><B><A NAME="syntax">2.4.4 Syntax</A></B></P> - -<P> <CODE>mencoder [options] [input file] [options] ...</CODE></P> - - -<P><B><A NAME="options">2.4.5 Available options</A></B></P> - -<P>NOTE: for all available options, <B>read the man page.</B></P> - -<P>As <B>MEncoder</B> is built on the same codebase as <B>MPlayer</B>, there - are many <B>MPlayer</B> options that have function in <B>MEncoder</B> too. - See, you can use <CODE>-sid</CODE> to rip a DVD with subtitles, or - <CODE>-noidx</CODE> to disregard buggy index of input AVI. <B>Be smart!</B></P> +<P><B><A NAME="options">2.4.4 Options</A></B></P> -<TABLE BORDER=1> - <TR> - <TD><CODE>-ss</CODE> time</TD> - <TD>start encoding from the given time (can start only from keyframes!) - </TD> - </TR> - <TR> - <TD><CODE>-endpos</CODE> time</TD> - <TD>stop encoding at the given time. See the man page for examples. - </TD> - </TR> - <TR> - <TD><CODE>-o</CODE> filename</TD> - <TD>specify output filename - </TD> - </TR> - <TR> - <TD><CODE>-sws</CODE> 0-2</TD> - <TD>type of scaling method<BR> - 0 - fast bilinear<BR> - 1 - bilinear<BR> - 2 - bicubic (best quality)<BR> - </TD> - </TR> - <TR> - <TD><CODE>-ovc</CODE> codecname</TD> - <TD>Encode with the given codec (codec names are from codecs.conf). Examples:<BR> - <B>help</B> - get list of available codecs<BR> - <B>rawrgb</B> - ?<BR> - <B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR> - <B>divx4</B> - encode to DivX4<BR> - <B>lavc</B> - encode with a codec from libavcodec<BR> - <B>vfw</B> - encode with a Windows DLL<BR> - </TD> - </TR> - <TR> - <TD><CODE>-oac</CODE> codecname</TD> - <TD>Encode with the given codec (codec names are from codecs.conf). Examples:<BR> - <B>help</B> - get list of available codecs<BR> - <B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR> - <B>pcm</B> - encode to uncompressed PCM<BR> - <B>mp3lame</B> - encode to MP3 (using Lame)<BR> - </TD> - </TR> - <TR> - <TD><CODE>-mf</CODE> multifile options</TD> - <TD>Used when encoding from multiple JPEG files. Its sub-options are:<BR> - <B>on</B> - turns on multifile support<BR> - <B>w</B>=<value> - width of the output file<BR> - <B>h</B>=<value> - height of the output file<BR> - <B>fps</B>=<value> - fps of the output file<BR> - <B>type</B>=<value> - type of input files (available types: - <CODE>jpeg</CODE>, <CODE>png</CODE>)<BR> - </TD> - </TR> - - <TR> - <TD><CODE>-divx4opts</CODE></TD> - <TD>If encoding to DivX4, you can specify its parameters here, like:<BR> - <CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR> - Common options: <B>(for a full list, check the man page)</B><BR> - <B>help</B> - get help<BR> - <B>br</B>=<value> - specify bitrate in kbit <4-16000> - or bit <16001-24000000><BR> - <B>q</B>=<value> - quality (1-fastest, 5-best - default 5)<BR> - <B>key</B>=<value> - keyframe interval<BR> - </TD> - </TR> - <TR> - <TD><CODE>-lavcopts</CODE></TD> - <TD>If encoding with libavcodec, you can specify its parameters here, like:<BR> - <CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR> - Common options: <B>(for a full list, check the man page)</B><BR> - <B>help</B> - get help<BR> - <B>vcodec</B>=<value> - select videocodec (for the full list, see the libavcodec section above)<BR> - <B>vbitrate</B>=<value> - specify bitrate in kbit <4-16000> or bit <16001-24000000><BR> - <B>vhq</B> - high quality<BR> - <B>keyint</B>=<value> - keyframe interval<BR> - </TD> - </TR> - <TR> - <TD><CODE>-lameopts</CODE></TD> - <TD>If encoding to MP3 with libmp3lame, you can specify its parameters here, like:<BR> - <CODE>-lameopts q=3</CODE><BR> - <CODE>-lameopts br=192:cbr</CODE><BR> - Common options: <B>(for a full list, check the man page)</B><BR> - <B>help</B> - get help<BR> - <B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR> - <B>br</B>=<value> - specify bitrate in kbit <0-1024> (this is for <B>CBR</B> only!)<BR> - <B>q</B>=<value> - quality (0-highest, 9-fastest - default 0) (this is for <B>VBR</B> only!)<BR> - <B>vbr</B>=<value> - VBR sub-mode (3-ABR, best quality/speed) (this is for <B>VBR</B> only!)<BR> - </TD> - </TR> - <TR> - <TD><CODE>-vobsubout</CODE> basename</TD> - <TD>Specify the basename for the output <CODE>.idx</CODE> and <CODE>.sub</CODE> - files. This turns off subtitle rendering on the encoded movie.</TD> - </TR> - <TR> - <TD><CODE>-vobsuboutindex</CODE> index</TD> - <TD>Specify the index of the subtitles in the output files. Defaults to 0.</TD> - </TR> - <TR> - <TD><CODE>-vobsuboutid</CODE> langid</TD> - <TD>Specify the language two letter code for the subtitles. This overrides - what is read from the DVD or the <CODE>.ifo</CODE> file.</TD> - </TR> -</TABLE> - -<P><B><A NAME="examples">2.4.6 Examples</A></B></P> - -<P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following:</P> - -<P>Encoding from DVD, title 2:<BR> - <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P> - -<P>The same, but with libavcodec family, MJPEG compression:<BR> - <CODE> mencoder -dvd 2 -lavcopts vcodec=mjpeg:more_options -ffourcc mjpg -o title2.avi</CODE></P> - -<P>Encoding from DVD, title 2, with rescaling:<BR> - <CODE> mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P> - -<P>Encoding from HTTP:<BR> - <CODE> mencoder http://mplayer.hq/example.avi -lavcopts vcodec=mpeg4:more_options -o example.avi</CODE></P> - -<P>Encoding from a pipe:<BR> - <CODE> rar p test-SVCD.rar | mencoder -lavcopts vcodec=mpeg4:more_options -ofps 24 -pass 1 -- -</CODE></P> - -<P>Encoding multiple *.vob files:<BR> - <CODE> cat *.vob | mencoder <options> -</CODE></P> - -<P>Encoding from tuner (see the <A HREF="documentation.html#tv">TV input</A> section for tuner options):<BR> - <CODE> mencoder -tv on:driver=v4l:width=640:height=480 <options></CODE></P> - -<P>For all available options, <B>check the MEncoder man page.</B></P> +<P>For the complete list of available MEncoder options and examples, please + see the manpage.</P> </BODY> </HTML>