1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 05:37:04 +00:00

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
This commit is contained in:
gabucino 2002-08-18 20:51:55 +00:00
parent daa89fc68b
commit cbc39c4b97
3 changed files with 10 additions and 206 deletions

View File

@ -78,58 +78,7 @@
install <B>libcss</B> 0.0.1 (not newer) for this (If <B>MPlayer</B> fails to
detect it, use the <CODE>-csslib /path/to/libcss.so</CODE> option).</P>
<P><B>Using MPlayer to play DVDs:</B></P>
<TABLE BORDER=0 WIDTH="100%">
<TR><TD VALIGN=top><CODE>-dvd &lt;title_id&gt;&nbsp;</CODE></TD>
<TD>Enables DVD support and selects title.</TD></TR>
<TR><TD VALIGN=top><CODE>-chapter &lt;chapter_id&gt;&nbsp;</CODE></TD>
<TD>Selects DVD chapter(s) to play (default: 1).
Example: <CODE>-chapter 5-10</CODE> or <CODE>-chapter -9</CODE></TD></TR>
<TR><TD VALIGN=top><CODE>-dvdangle &lt;angle_id&gt;&nbsp;</CODE></TD>
<TD>Selects camera angle (default: 1)</TD></TR>
<TR><TD VALIGN=top><CODE>-alang &lt;country code&gt;&nbsp;</CODE></TD>
<TD>The <CODE>country code</CODE> tells <B>MPlayer</B> which audio
language(s) to prefer. For a list of available languages, add the
<CODE>-v</CODE> option after your DVD options and browse the output.<BR>
For example:<BR>
&nbsp;&nbsp;<CODE>-alang hu,en</CODE> - Tries to find Hungarian audio,
falling back to English audio.</TD></TR>
<TR><TD VALIGN=top><CODE>-slang &lt;country code&gt;&nbsp;</CODE></TD>
<TD>Turns on DVD subtitles. The <CODE>country code</CODE> tells
<B>MPlayer</B> which language(s) to prefer.
For the list of available languages, add the <CODE>-v</CODE> option after
your DVD options and browse the output.<BR>
For example:<BR>
&nbsp;&nbsp;<CODE>-slang hu,en</CODE> - Tries to display Hungarian
subtitles, falling back to English subtitles.</TD></TR>
<TR><TD VALIGN=top><CODE>-sid &lt;subtitle_id&gt;&nbsp;</CODE></TD>
<TD>Displays a subtitle channel with the given <CODE>id</CODE> (values can
be 0-31). Useful with badly mastered DVDs where the country code
selects the wrong channel.</TD></TR>
<TR><TD VALIGN=top><CODE>-csslib &lt;path/filename&gt;</CODE></TD>
<TD>(old-style DVD option) This option is used to override the default
location of <CODE>libcss.so</CODE>.
</TD></TR>
<TR><TD VALIGN=top><CODE>-dvdauth &lt;DVD device&gt;&nbsp;</CODE></TD>
<TD>(old-style DVD option) Turns on DVD authentication using the given
device.</TD></TR>
<TR><TD VALIGN=top><CODE>-dvdkey &lt;CSS key&gt;</CODE></TD>
<TD>(old-style DVD option) When decoding a VOB file copied undecrypted from
DVD, this option gives the CSS key needed to decrypt the VOB (the key is
printed when authenticating with the DVD drive using -dvdauth).</TD></TR>
</TABLE>
<P>The default device is <CODE>/dev/dvd</CODE>, you can change it in
<CODE>config.h</CODE> (compile time option), or you can specify it using the
<CODE>-dvd-device</CODE> option:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -dvd-device /dev/dvd</CODE></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -slang en -dvd-device /dev/dvd</CODE></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 1 -slang en -dvd-device /dev/dvd -chapter 20-25</CODE></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvd 2 -alang sp -chapter 5 -dvdangle 2</CODE></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvdauth /dev/dvd /mnt/cd/video_ts/vts_03_1.vob</CODE></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>mplayer -dvdkey C005D4A16D vts_03_1.vob</CODE></P>
<P>For the complete list of available options, please read the manpage.</P>
<P><B><A NAME="vcd">4.3 VCD playback</A></B></P>

View File

@ -189,9 +189,7 @@
<LI><A HREF="encoding.html#vobsub">2.4.3.7 Extracting DVD subtitles to Vobsub file</A></LI>
</UL>
</LI>
<LI><A HREF="encoding.html#syntax">2.4.4 Syntax</A></LI>
<LI><A HREF="encoding.html#options">2.4.5 Available options</A></LI>
<LI><A HREF="encoding.html#examples">2.4.6 Examples</A></LI>
<LI><A HREF="encoding.html#options">2.4.4 Available options</A></LI>
</UL>
</LI>
<LI><A HREF="#tv">2.5 TV input</A>
@ -880,8 +878,8 @@ The command line options differ slightly for the different formats:
<P>OSD has 3 states: (switch with 'o')</P>
<UL>
<LI>timer + volume bar + seek bar + subtitles (default)</LI>
<LI>volume bar + seek bar + subtitles</LI>
<LI>timer + volume bar + seek bar + subtitles</LI>
<LI>volume bar + seek bar + subtitles (default)</LI>
<LI>subtitles only</LI>
</UL>
@ -2514,6 +2512,9 @@ TOOLS:
change is required or you have a better fix or you have noticed a possible
bug/problem in the committed patch). Be sure in that your target developer
reads this list!</LI>
<LI>MPlayer Cygwin-porting list:
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin">http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin</A><BR>
List for discussion about MPlayer's Cygwin port.</LI>
</UL>
<P><B>Note:</B> Unless explicitly stated otherwise the language of the above

View File

@ -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>