summaryrefslogtreecommitdiffstats
path: root/DOCS/encoding.html
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-18 20:51:55 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-18 20:51:55 +0000
commitcbc39c4b97057d179f2e9c1451299627c5a92240 (patch)
tree1ee28262ffed30f4e10815c7f1ddbdf3b5006f05 /DOCS/encoding.html
parentdaa89fc68bd275d2320934c1d94d4408c48b14fb (diff)
downloadmpv-cbc39c4b97057d179f2e9c1451299627c5a92240.tar.bz2
mpv-cbc39c4b97057d179f2e9c1451299627c5a92240.tar.xz
begun removing "Available options" and "Examples" sections, which
was discussed earlier on the list. Objections? Better solutions? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7044 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/encoding.html')
-rw-r--r--DOCS/encoding.html152
1 files changed, 3 insertions, 149 deletions
diff --git a/DOCS/encoding.html b/DOCS/encoding.html
index 16d68faec8..2762e57c7d 100644
--- a/DOCS/encoding.html
+++ b/DOCS/encoding.html
@@ -342,156 +342,10 @@
&nbsp;&nbsp;<CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles
-vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P>
+<P><B><A NAME="options">2.4.4 Options</A></B></P>
-<P><B><A NAME="syntax">2.4.4 Syntax</A></B></P>
-
-<P>&nbsp;&nbsp;<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>
-
-<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>
- &nbsp;&nbsp;0 - fast bilinear<BR>
- &nbsp;&nbsp;1 - bilinear<BR>
- &nbsp;&nbsp;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>
- &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR>
- &nbsp;&nbsp;<B>rawrgb</B> - ?<BR>
- &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
- &nbsp;&nbsp;<B>divx4</B> - encode to DivX4<BR>
- &nbsp;&nbsp;<B>lavc</B> - encode with a codec from libavcodec<BR>
- &nbsp;&nbsp;<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>
- &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR>
- &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
- &nbsp;&nbsp;<B>pcm</B> - encode to uncompressed PCM<BR>
- &nbsp;&nbsp;<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>
- &nbsp;&nbsp;<B>on</B> - turns on multifile support<BR>
- &nbsp;&nbsp;<B>w</B>=&lt;value&gt; - width of the output file<BR>
- &nbsp;&nbsp;<B>h</B>=&lt;value&gt; - height of the output file<BR>
- &nbsp;&nbsp;<B>fps</B>=&lt;value&gt; - fps of the output file<BR>
- &nbsp;&nbsp;<B>type</B>=&lt;value&gt; - 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>
- &nbsp;&nbsp;<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR>
- Common options: <B>(for a full list, check the man page)</B><BR>
- &nbsp;&nbsp;<B>help</B> - get help<BR>
- &nbsp;&nbsp;<B>br</B>=&lt;value&gt; - specify bitrate in kbit &lt;4-16000&gt;
- or bit &lt;16001-24000000&gt;<BR>
- &nbsp;&nbsp;<B>q</B>=&lt;value&gt; - quality (1-fastest, 5-best - default 5)<BR>
- &nbsp;&nbsp;<B>key</B>=&lt;value&gt; - keyframe interval<BR>
- </TD>
- </TR>
- <TR>
- <TD><CODE>-lavcopts</CODE></TD>
- <TD>If encoding with libavcodec, you can specify its parameters here, like:<BR>
- &nbsp;&nbsp;<CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR>
- Common options: <B>(for a full list, check the man page)</B><BR>
- &nbsp;&nbsp;<B>help</B> - get help<BR>
- &nbsp;&nbsp;<B>vcodec</B>=&lt;value&gt; - select videocodec (for the full list, see the libavcodec section above)<BR>
- &nbsp;&nbsp;<B>vbitrate</B>=&lt;value&gt; - specify bitrate in kbit &lt;4-16000&gt; or bit &lt;16001-24000000&gt;<BR>
- &nbsp;&nbsp;<B>vhq</B> - high quality<BR>
- &nbsp;&nbsp;<B>keyint</B>=&lt;value&gt; - 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>
- &nbsp;&nbsp;<CODE>-lameopts q=3</CODE><BR>
- &nbsp;&nbsp;<CODE>-lameopts br=192:cbr</CODE><BR>
- Common options: <B>(for a full list, check the man page)</B><BR>
- &nbsp;&nbsp;<B>help</B> - get help<BR>
- &nbsp;&nbsp;<B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR>
- &nbsp;&nbsp;<B>br</B>=&lt;value&gt; - specify bitrate in kbit &lt;0-1024&gt; (this is for <B>CBR</B> only!)<BR>
- &nbsp;&nbsp;<B>q</B>=&lt;value&gt; - quality (0-highest, 9-fastest - default 0) (this is for <B>VBR</B> only!)<BR>
- &nbsp;&nbsp;<B>vbr</B>=&lt;value&gt; - 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>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P>
-
-<P>The same, but with libavcodec family, MJPEG compression:<BR>
- <CODE>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;mencoder http://mplayer.hq/example.avi -lavcopts vcodec=mpeg4:more_options -o example.avi</CODE></P>
-
-<P>Encoding from a pipe:<BR>
- <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rar p test-SVCD.rar | mencoder -lavcopts vcodec=mpeg4:more_options -ofps 24 -pass 1 -- -</CODE></P>
-
-<P>Encoding multiple *.vob files:<BR>
- <CODE>&nbsp;&nbsp;&nbsp;&nbsp;cat *.vob | mencoder &lt;options&gt; -</CODE></P>
-
-<P>Encoding from tuner (see the <A HREF="documentation.html#tv">TV input</A> section for tuner options):<BR>
- <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -tv on:driver=v4l:width=640:height=480 &lt;options&gt;</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>