# HG changeset patch # User gabucino # Date 1029703915 0 # Node ID ba9c212ed5776afb579eeb924f5ea6cf00cdba6e # Parent c3e81327a656086c05ed779ac5af9bf91cda11d4 begun removing "Available options" and "Examples" sections, which was discussed earlier on the list. Objections? Better solutions? diff -r c3e81327a656 -r ba9c212ed577 DOCS/cd-dvd.html --- a/DOCS/cd-dvd.html Sun Aug 18 20:48:00 2002 +0000 +++ b/DOCS/cd-dvd.html Sun Aug 18 20:51:55 2002 +0000 @@ -78,58 +78,7 @@ install libcss 0.0.1 (not newer) for this (If MPlayer fails to detect it, use the -csslib /path/to/libcss.so option).

-

Using MPlayer to play DVDs:

- - - - - - - - - - - - - - - - - - - - -
-dvd <title_id> Enables DVD support and selects title.
-chapter <chapter_id> Selects DVD chapter(s) to play (default: 1). - Example: -chapter 5-10 or -chapter -9
-dvdangle <angle_id> Selects camera angle (default: 1)
-alang <country code> The country code tells MPlayer which audio - language(s) to prefer. For a list of available languages, add the - -v option after your DVD options and browse the output.
- For example:
-   -alang hu,en - Tries to find Hungarian audio, - falling back to English audio.
-slang <country code> Turns on DVD subtitles. The country code tells - MPlayer which language(s) to prefer. - For the list of available languages, add the -v option after - your DVD options and browse the output.
- For example:
-   -slang hu,en - Tries to display Hungarian - subtitles, falling back to English subtitles.
-sid <subtitle_id> Displays a subtitle channel with the given id (values can - be 0-31). Useful with badly mastered DVDs where the country code - selects the wrong channel.
-csslib <path/filename>(old-style DVD option) This option is used to override the default - location of libcss.so. -
-dvdauth <DVD device> (old-style DVD option) Turns on DVD authentication using the given - device.
-dvdkey <CSS key>(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).
- -

The default device is /dev/dvd, you can change it in - config.h (compile time option), or you can specify it using the - -dvd-device option:

- -

    mplayer -dvd 1 -dvd-device /dev/dvd

-

    mplayer -dvd 1 -slang en -dvd-device /dev/dvd

-

    mplayer -dvd 1 -slang en -dvd-device /dev/dvd -chapter 20-25

-

    mplayer -dvd 2 -alang sp -chapter 5 -dvdangle 2

-

    mplayer -dvdauth /dev/dvd /mnt/cd/video_ts/vts_03_1.vob

-

    mplayer -dvdkey C005D4A16D vts_03_1.vob

+

For the complete list of available options, please read the manpage.

4.3 VCD playback

diff -r c3e81327a656 -r ba9c212ed577 DOCS/documentation.html --- a/DOCS/documentation.html Sun Aug 18 20:48:00 2002 +0000 +++ b/DOCS/documentation.html Sun Aug 18 20:51:55 2002 +0000 @@ -189,9 +189,7 @@
  • 2.4.3.7 Extracting DVD subtitles to Vobsub file
  • -
  • 2.4.4 Syntax
  • -
  • 2.4.5 Available options
  • -
  • 2.4.6 Examples
  • +
  • 2.4.4 Available options
  • 2.5 TV input @@ -880,8 +878,8 @@

    OSD has 3 states: (switch with 'o')

    @@ -2514,6 +2512,9 @@ 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!
  • +
  • MPlayer Cygwin-porting list: + http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin
    + List for discussion about MPlayer's Cygwin port.
  • Note: Unless explicitly stated otherwise the language of the above diff -r c3e81327a656 -r ba9c212ed577 DOCS/encoding.html --- 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 @@   mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1

    - -

    2.4.4 Syntax

    - -

      mencoder [options] [input file] [options] ...

    - - -

    2.4.5 Available options

    - -

    NOTE: for all available options, read the man page.

    - -

    As MEncoder is built on the same codebase as MPlayer, there - are many MPlayer options that have function in MEncoder too. - See, you can use -sid to rip a DVD with subtitles, or - -noidx to disregard buggy index of input AVI. Be smart!

    +

    2.4.4 Options

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -ss timestart encoding from the given time (can start only from keyframes!) -
    -endpos timestop encoding at the given time. See the man page for examples. -
    -o filenamespecify output filename -
    -sws 0-2type of scaling method
    -   0 - fast bilinear
    -   1 - bilinear
    -   2 - bicubic (best quality)
    -
    -ovc codecnameEncode with the given codec (codec names are from codecs.conf). Examples:
    -   help - get list of available codecs
    -   rawrgb - ?
    -   copy - no encoding, just copy the stream (only from AVI/ASF now)
    -   divx4 - encode to DivX4
    -   lavc - encode with a codec from libavcodec
    -   vfw - encode with a Windows DLL
    -
    -oac codecnameEncode with the given codec (codec names are from codecs.conf). Examples:
    -   help - get list of available codecs
    -   copy - no encoding, just copy the stream (only from AVI/ASF now)
    -   pcm - encode to uncompressed PCM
    -   mp3lame - encode to MP3 (using Lame)
    -
    -mf multifile optionsUsed when encoding from multiple JPEG files. Its sub-options are:
    -   on - turns on multifile support
    -   w=<value> - width of the output file
    -   h=<value> - height of the output file
    -   fps=<value> - fps of the output file
    -   type=<value> - type of input files (available types: - jpeg, png)
    -
    -divx4optsIf encoding to DivX4, you can specify its parameters here, like:
    -   -divx4opts br=1800:deinterlace:key=250
    - Common options: (for a full list, check the man page)
    -   help - get help
    -   br=<value> - specify bitrate in kbit <4-16000> - or bit <16001-24000000>
    -   q=<value> - quality (1-fastest, 5-best - default 5)
    -   key=<value> - keyframe interval
    -
    -lavcoptsIf encoding with libavcodec, you can specify its parameters here, like:
    -   -lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250
    - Common options: (for a full list, check the man page)
    -   help - get help
    -   vcodec=<value> - select videocodec (for the full list, see the libavcodec section above)
    -   vbitrate=<value> - specify bitrate in kbit <4-16000> or bit <16001-24000000>
    -   vhq - high quality
    -   keyint=<value> - keyframe interval
    -
    -lameoptsIf encoding to MP3 with libmp3lame, you can specify its parameters here, like:
    -   -lameopts q=3
    -   -lameopts br=192:cbr
    - Common options: (for a full list, check the man page)
    -   help - get help
    -   cbr - select CBR MP3 (default is VBR)
    -   br=<value> - specify bitrate in kbit <0-1024> (this is for CBR only!)
    -   q=<value> - quality (0-highest, 9-fastest - default 0) (this is for VBR only!)
    -   vbr=<value> - VBR sub-mode (3-ABR, best quality/speed) (this is for VBR only!)
    -
    -vobsubout basenameSpecify the basename for the output .idx and .sub - files. This turns off subtitle rendering on the encoded movie.
    -vobsuboutindex indexSpecify the index of the subtitles in the output files. Defaults to 0.
    -vobsuboutid langidSpecify the language two letter code for the subtitles. This overrides - what is read from the DVD or the .ifo file.
    - -

    2.4.6 Examples

    - -

    Using MEncoder is the easiest thing on Earth. See the following:

    - -

    Encoding from DVD, title 2:
    -     mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi

    - -

    The same, but with libavcodec family, MJPEG compression:
    -     mencoder -dvd 2 -lavcopts vcodec=mjpeg:more_options -ffourcc mjpg -o title2.avi

    - -

    Encoding from DVD, title 2, with rescaling:
    -     mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi

    - -

    Encoding from HTTP:
    -     mencoder http://mplayer.hq/example.avi -lavcopts vcodec=mpeg4:more_options -o example.avi

    - -

    Encoding from a pipe:
    -     rar p test-SVCD.rar | mencoder -lavcopts vcodec=mpeg4:more_options -ofps 24 -pass 1 -- -

    - -

    Encoding multiple *.vob files:
    -     cat *.vob | mencoder <options> -

    - -

    Encoding from tuner (see the TV input section for tuner options):
    -     mencoder -tv on:driver=v4l:width=640:height=480 <options>

    - -

    For all available options, check the MEncoder man page.

    +

    For the complete list of available MEncoder options and examples, please + see the manpage.