From f833f5b1a50296bac3d3f91be656660e7055c92d Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 27 Aug 2002 18:06:07 +0000 Subject: Applied patch by Andras Mohari , with some small additions. * Replaced @@ -462,24 +462,29 @@

SDL video output supports displaying subtitles under the movie, on the (if present) black bar.

-

Here are some notes about SDL out in MPlayer.

+

There are several command line switches for SDL:

+
+
-vo sdl:name
+
specifies sdl video driver to use (i.e.. aalib, dga, x11)
- - - - - - +
-ao sdl:name
+
specifies sdl audio driver to use (i.e. dsp, esd, arts)
+ +
-noxv
+
disables XVideo hardware acceleration
+ +
-forcexv
+
tries to force XVideo acceleration
+ +

There are several command line switches for SDL:

  -vo sdl:name   - specifies sdl video driver to use (i.e.. aalib, dga, x11)
-ao sdl:namespecifies sdl audio driver to use (i.e.. dsp, - esd, arts)
-noxvdisables XVideo hardware acceleration
-forcexvtries to force XVideo acceleration

SDL Keys:

Ftoggles fullscreen/windowed mode
Ccycles available fullscreen modes
W/Smappings for * and / (mixer control)
-

KNOWN BUGS:

+

Known bugs:

  • Keys pressed under sdl:aalib console driver repeat forever. (use -vo aa!) @@ -537,15 +542,21 @@

    The FBdev output takes some additional parameters above the others:

    - - - - - - - -
      -fb   - specify the framebuffer device to use (/dev/fb0)
    -fbmodemode name to use (according to /etc/fb.modes)
    -fbmodeconfig config file of modes (default /etc/fb.modes)
    -monitor_hfreqIMPORTANT values, see example.conf
    -monitor_vfreq
    -monitor_dotclock
    +
    +
    -fb
    +
    specify the framebuffer device to use (/dev/fb0)
    + +
    -fbmode
    +
    mode name to use (according to /etc/fb.modes)
    + +
    -fbmodeconfig
    +
    config file of modes (default /etc/fb.modes)
    + +
    -monitor_hfreq
    +
    -monitor_vfreq
    +
    -monitor_dotclock
    +
    Important values, see example.conf
    +

    If you want to change to a specific mode, then use

    @@ -580,40 +591,31 @@

    WARNING: on non-Linux systems, use VIDIX for mga_vid!

    -

    To use it, you first have to compile mga_vid.o:

    - -

        cd drivers
    -     make

    - -

    Then create /dev/mga_vid device:

    - -

        mknod /dev/mga_vid c 178 0

    - -

    and load the driver with

    - -

        insmod mga_vid.o

    - -

    You should verify the memory size detection using the 'dmesg' command. If - it's bad, use the mga_ram_size option (rmmod mga_vid first), specify card's - memory size in MB:

    - -

        insmod mga_vid.o mga_ram_size=16

    - -

    To make it load/unload automatically when needed, first insert the following line - at the end of /etc/modules.conf:

    - -

        alias char-major-178 mga_vid

    - -

    Then copy the mga_vid.o module to the appropriate place under - /lib/modules/<kernel version>/somewhere.

    - -

    Then run

    - -

        depmod -a

    - -

    Now you have to (re)compile MPlayer, ./configure will detect /dev/mga_vid - and build the 'mga' driver. Using it from MPlayer goes by '-vo mga' if - you have matroxfb console, or '-vo xmga' under XFree86 3.x.x or 4.x.x.

    +

    Installation:

    +
      +
    1. To use it, you first have to compile mga_vid.o: +

      cd drivers
      + make

    2. +
    3. Then create the /dev/mga_vid device: +

      mknod /dev/mga_vid c 178 0

      +

      and load the driver with

      +

      insmod mga_vid.o

    4. +
    5. You should verify the memory size detection using the dmesg + command. If it's bad, use the mga_ram_size option + (rmmod mga_vid first), specify card's memory size in MB: +

      insmod mga_vid.o mga_ram_size=16

    6. +
    7. To make it load/unload automatically when needed, first insert the + following line at the end of /etc/modules.conf: +

      alias char-major-178 mga_vid

      +

      Then copy the mga_vid.o module to the appropriate place + under /lib/modules/<kernel version>/somewhere.

      +

      Then run

      +

      depmod -a

    8. +
    9. Now you have to (re)compile MPlayer, configure will + detect /dev/mga_vid and build the 'mga' driver. Using it from + MPlayer goes by -vo mga if you have matroxfb console, + or -vo xmga under XFree86 3.x.x or 4.x.x.
    10. +

    The mga_vid driver cooperates with Xv.

    @@ -674,20 +676,35 @@ 6set dithering mode (none, error distribution, Floyd Steinberg) 7invert image atoggles between aa and MPlayer control) - -

    The following command line options can be used:

    - -aaosdcolor=Vchange OSD color - -aasubcolor=Vchange subtitle color -

    where V can be: (0/normal, 1/dark, 2/bold, - 3/bold font, 4/reverse, 5/special)

    -

    AAlib itself provides a large sum of options. - Here are some important:

    - -aadriverset recommended aa driver (X11, curses, Linux) - -aaextendeduse all 256 characters - -aaeightuse eight bit ASCII - -aahelpprints out all aalib options +

    The following command line options can be used:

    +
    +
    -aaosdcolor=V
    +
    change OSD color
    + +
    -aasubcolor=V
    +
    change subtitle color +

    where V can be: (0/normal, 1/dark, 2/bold, 3/bold font, 4/reverse, + 5/special)

    +
    + +

    AAlib itself provides a large sum of options. + Here are some important:

    +
    +
    -aadriver
    +
    set recommended aa driver (X11, curses, Linux)
    + +
    -aaextended
    +
    use all 256 characters
    + +
    -aaeight
    +
    use eight bit ASCII
    + +
    -aahelp
    +
    prints out all aalib options
    +
    +

    NOTE: the rendering is very CPU intensive, especially when using AA-on-X (using aalib on X), and it's least CPU intensive on standard, non-framebuffer console. Use SVGATextMode to set up a big textmode, @@ -759,22 +776,33 @@

    Don't use this driver with GCC 2.96! It won't work!

    - - - - - - - - - - -

    These switches of command line currently are available for VESA:

      -vo vesa:optscurrently recognized: dga to force dga mode and nodga to +

    Command line options available for VESA:

    +
    +
    -vo vesa:opts
    +
    currently recognized: dga to force dga mode and nodga to disable dga mode. Note: you may omit these parameters to enable autodetect of dga mode. (In the future also will specify mode parameters such as refresh - rate, interlacing, doublescan and so on. Samples: i43, 85, d100)
    -screenw, -screenh, -bppforce userdefined mode
    -x, -yset userdefined prescaling
    -zoomenables userdefined prescaling
    -fsscales image to fullscreen
    -fs -zoomscales userdefined prescaling to fullscreen
    -doubleenables - double buffering mode. (Available only in DGA mode). Should be slower of - single buffering, but has no flickering effects.
    + rate, interlacing, doublescan and so on. Samples: i43, 85, d100) + +
    -screenw, -screenh, -bpp
    +
    force userdefined mode
    + +
    -x, -y
    +
    set userdefined prescaling
    + +
    -zoom
    +
    enables userdefined prescaling
    + +
    -fs
    +
    scales image to fullscreen
    + +
    -fs -zoom
    +
    scales userdefined prescaling to fullscreen
    + +
    -double
    +
    enables double buffering mode. (Available only in DGA mode). Should be + slower of single buffering, but has no flickering effects.
    +

Known problems and workaround:

@@ -830,8 +858,6 @@

2.3.1.14 VIDIX

-

WHAT IS VIDIX?

-

VIDIX is the abbreviation for VIDeo Interface for *niX.
VIDIX was designed and introduced as an interface for fast user-space drivers @@ -920,27 +946,33 @@ recognize :vidix subdevice. by command line arguments. MPlayer recognizes the following options:

- - - - - - - - - - - - - - - -
  -brightness  Adjust BRIGHTNESS of video output. It's not equal to brightness +
+
-brightness
+
Adjust BRIGHTNESS of video output. It's not equal to brightness adjusting on monitor panel or on TV. It changes intensity of RGB components of - video signal from black to white screen.
-contrastAdjust CONTRAST of video output. Works in similar manner as - brightness.
-saturationAdjust SATURATION of video output. You can get grayscale - output with this option.
-hueAdjust HUE of video signal. You can get colored negative - of image with this option.
-red_intensityAdjust intensity of RED component of video signal.
-green_intensityAdjust intensity of GREEN component of video signal.
-blue_intensityAdjust intensity of BLUE component of video signal.
+ video signal from black to white screen. + +
-contrast
+
Adjust CONTRAST of video output. Works in similar manner as + brightness.
+ +
-saturation
+
Adjust SATURATION of video output. You can get grayscale + output with this option.
+ +
-hue
+
Adjust HUE of video signal. You can get colored negative + of image with this option.
+ +
-red_intensity
+
Adjust intensity of RED component of video signal.
+ +
-green_intensity
+
Adjust intensity of GREEN component of video signal.
+ +
-blue_intensity
+
Adjust intensity of BLUE component of video signal.
+

Each parameter can accept values from -1000 to +1000.
Default value for each parameter is 0.

@@ -1104,11 +1136,10 @@ for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024 Linux site. Configure should detect your card automatically, compilation should go without any problems.

-

USAGE

- - - - - - - - - - - - -
  -vo dxr3:<noprebuf>:<codec>:<device>  Where <noprebuf> specifies turning off prebuffering. +

Usage:

+
+
-vo dxr3:<noprebuf>:<codec>:<device>
+
Where <noprebuf> specifies turning off prebuffering. This is done automatically on Athlons. If playback is out of sync try disabling prebuffering. If noprebuf is left out prebuffering is enabled (except on Athlons). @@ -1123,21 +1154,25 @@ for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024
Any of these options may be left out, but they must be specified in this order, i.e. dxr3:fame works, dxr3:1 works, but - dxr3:1:avcodec will not.
-ao oss:/dev/em8300_ma-XFor audio output, where X is the device number - (0 if one card).
-ac hwac3For digital instead of analog audio output.
-vc mpegpesForce hardware acceleration, only works with MPEG1/2.
-aop list=resample:fout=xxxxxIf sample rate is below 44100Hz, select either 44100Hz or 48000Hz + dxr3:1:avcodec will not. + +
-ao oss:/dev/em8300_ma-X
+
For audio output, where X is the device number + (0 if one card).
+ +
-ac hwac3
+
For digital instead of analog audio output.
+ +
-vc mpegpes
+
Force hardware acceleration, only works with MPEG1/2.
+ +
-aop list=resample:fout=xxxxx
+
If sample rate is below 44100Hz, select either 44100Hz or 48000Hz depending on which one matches closest. I.e. if the movie uses 22050Hz use 44100Hz as 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000 and so on. This does not work with digital audio output - (-ac hwac3).
+ (-ac hwac3). +

Overlay

@@ -1187,7 +1222,7 @@ for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024 You have to enable ALL matroxfb-specific feature during compilation (except MultiHead), and compile them into modules! You'll also need I2C enabled. -
    +
    1. Enter TVout/matroxset and type make. Install matroxset into somewhere in your PATH.
    2. @@ -1206,7 +1241,7 @@ for 16:9 TV: -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024 the TV (PAL) picture has some weird stripes on it, the script wasn't able to set the resolution correctly (to 640x512 by default). Use other menu items randomly and it'll be OK :) -
+

Yoh. Next task is to make the cursor on tty1 (or whatever) to disappear, and turn off screen blanking. Execute the following commands:

-- cgit v1.2.3