From f833f5b1a50296bac3d3f91be656660e7055c92d Mon Sep 17 00:00:00 2001
From: diego with
where it made sense (to me :-)).
* Moved "Developer Cries" into the appendix (as Appendix F)
with s/Flame Wars/Developer Cries/ and
s/In medias res/Developer Cries/.
* Renamed "Appendix X" to "Appendix E".
* Put a "Hint" inside
.
* Converted 3-pass encoding and mga_vid installation
instructions to lists.
* Converted options tables (video eq, SDL, fbdev, VESA, DXR3, TV input,
DivX4Linux, AAlib) to
lists.
* The "sections" for MPsub and INSTALLING OSD are numbered and displayed
in the TOC now.
* Changed the text inside some
tags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7100 b3059339-0415-0410-9bf9-f77b7e298cf2
---
DOCS/video.html | 277 +++++++++++++++++++++++++++++++-------------------------
1 file changed, 156 insertions(+), 121 deletions(-)
(limited to 'DOCS/video.html')
diff --git a/DOCS/video.html b/DOCS/video.html
index cfb6e9c91a..ab4852b50a 100644
--- a/DOCS/video.html
+++ b/DOCS/video.html
@@ -40,7 +40,7 @@
01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
Memory at d8000000 (32-bit, prefetchable)
dmesg
mga_mem_base = d8000000
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
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 |
SDL Keys: | |||
F | toggles fullscreen/windowed mode | ||
C | cycles available fullscreen modes | ||
W/S | mappings for * and / (mixer control) |
The FBdev output takes some additional parameters above the others:
--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 | IMPORTANT values, see example.conf | ||
-monitor_vfreq | |||
-monitor_dotclock |
-fb
-fbmode
-fbmodeconfig
-monitor_hfreq
-monitor_vfreq
-monitor_dotclock
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:
+cd drivers
+ make
/dev/mga_vid
device:
+ mknod /dev/mga_vid c 178 0
and load the driver with
+insmod mga_vid.o
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
/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
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.The mga_vid driver cooperates with Xv.
@@ -674,20 +676,35 @@6
7
a
The following command line options can be used:
-aaosdcolor=V
-aasubcolor=V
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
-aaextended
-aaeight
-aahelp
The following command line options can be used:
+-aaosdcolor=V
-aasubcolor=V
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
-aaextended
-aaeight
-aahelp
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:opts | - | currently recognized: dga to force dga mode and nodga to
+ Command line options available for VESA: +
| |
-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. |
-screenw, -screenh, -bpp
-x, -y
-zoom
-fs
-fs -zoom
-double
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
+
| |
-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. |
-contrast
-saturation
-hue
-red_intensity
-green_intensity
-blue_intensity
Each parameter can accept values from -1000 to +1000.
Default value for each parameter is 0.
-vo dxr3:<noprebuf>:<codec>:<device> | - | Where <noprebuf> specifies turning off prebuffering.
+Usage:+
| |
-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
+ dxr3:1:avcodec will not.
+
+ -ao oss:/dev/em8300_ma-X X is the device number
+ (0 if one card).-ac hwac3 -vc mpegpes -aop list=resample:fout=xxxxx -ac hwac3 ). |
-ac hwac3
).
+
TVout/matroxset
and type make
. Install
matroxset
into somewhere in your PATH.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