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:
parent
daa89fc68b
commit
cbc39c4b97
@ -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 <title_id> </CODE></TD>
|
||||
<TD>Enables DVD support and selects title.</TD></TR>
|
||||
<TR><TD VALIGN=top><CODE>-chapter <chapter_id> </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 <angle_id> </CODE></TD>
|
||||
<TD>Selects camera angle (default: 1)</TD></TR>
|
||||
<TR><TD VALIGN=top><CODE>-alang <country code> </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>
|
||||
<CODE>-alang hu,en</CODE> - Tries to find Hungarian audio,
|
||||
falling back to English audio.</TD></TR>
|
||||
<TR><TD VALIGN=top><CODE>-slang <country code> </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>
|
||||
<CODE>-slang hu,en</CODE> - Tries to display Hungarian
|
||||
subtitles, falling back to English subtitles.</TD></TR>
|
||||
<TR><TD VALIGN=top><CODE>-sid <subtitle_id> </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 <path/filename></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 <DVD device> </CODE></TD>
|
||||
<TD>(old-style DVD option) Turns on DVD authentication using the given
|
||||
device.</TD></TR>
|
||||
<TR><TD VALIGN=top><CODE>-dvdkey <CSS key></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> <CODE>mplayer -dvd 1 -dvd-device /dev/dvd</CODE></P>
|
||||
<P> <CODE>mplayer -dvd 1 -slang en -dvd-device /dev/dvd</CODE></P>
|
||||
<P> <CODE>mplayer -dvd 1 -slang en -dvd-device /dev/dvd -chapter 20-25</CODE></P>
|
||||
<P> <CODE>mplayer -dvd 2 -alang sp -chapter 5 -dvdangle 2</CODE></P>
|
||||
<P> <CODE>mplayer -dvdauth /dev/dvd /mnt/cd/video_ts/vts_03_1.vob</CODE></P>
|
||||
<P> <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>
|
||||
|
@ -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
|
||||
|
@ -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="options">2.4.4 Options</A></B></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>
|
||||
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user