Mercurial > mplayer.hg
annotate DOCS/README @ 532:a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
author | gabucino |
---|---|
date | Thu, 19 Apr 2001 21:06:58 +0000 |
parents | b63c485a530d |
children | 4d0ad0f6b7dc |
rev | line source |
---|---|
522 | 1 MoviePlayer v0.12 "IdegCounter" (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team) |
2 =============================== * See the file AUTHORS for the complete list * | |
1 | 3 |
4 About: | |
5 ~~~~~~ | |
6 Yes. Yet another movie player for linux. | |
7 What is the special with this? It works, at least for me :) | |
8 I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN, | |
9 xine,xanim,avifile,xmmp) but they all have some problem. Mostly with | |
10 special files or with audio/video sync. Most of them is unable to play | |
11 both mpeg1, mpeg2 and avi (DivX) files. Many players have image quality | |
12 or speed problems too. So I've decided to write/modify one... | |
13 | |
14 Short history: | |
15 - mpg12play v0.1 has born, using libmpeg3 from www.heroinewarrior.com | |
16 - mpg12play 2nd generation (v0.5-), using dvdview by Dirk Farin | |
17 - mpg12play 3nd generation (v0.9-), using libmpeg2 (mpeg2dec) by Aaron Holtzman | |
522 | 18 - MPlayer has born, containing mpg12play 0.90pre5 and a new simple avi player |
19 - MPlayer 0.10, mpeg and avi player in a single binary | |
20 - MPlayer 0.11: added .asf file support, and OpenDivX en/decoding | |
21 - MPlayer 0.12 "IdegCounter" | |
22 The release version of the 0.11 development code. Far too many enhancements | |
23 to fit here (A'rpi?). Try it, and be amazed. | |
1 | 24 |
25 As you see, I didn't write any codecs, just some players. But I spent | |
26 a lot of time finding the best way to parse bad damaged input files | |
27 (both mpg and avi) and to do perfect A-V sync with seeking ability. | |
28 My player is rock solid playing damaged mpeg files (useful for some VCDs), | |
29 and it plays bad AVI files which are unplayable with the famous | |
30 windows media player. Even AVI files without index chunk are playable! | |
31 As you see, stability and quality are the most important things for me, | |
32 speed has lower priority, but is still very important. | |
33 | |
34 What about the GUI? | |
35 I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console. | |
36 So the player has only keyboard control from the controlling console/xterm now. | |
37 But there is a GUI development for the player, coordinated by Pontscho/Fresh! | |
38 It's still under development, but it will be merged and released soon. | |
39 BTW he needs some nice skins, if you are a good graphician, contact him!!! | |
40 | |
41 Win32 codecs? | |
352 | 42 Yes, we are using Win32 (Video for Windows, DirectShow) codecs for AVI/ASF |
43 decoding. They must be installed to the /usr/lib/win32/ directory, with all | |
44 lower case. You can grab the codecs package from our homepage, or can be found | |
389 | 45 in your C:\WINDOWS\SYSTEM\ dir, see codecs.conf for filenames. |
1 | 46 |
47 Supported input formats: | |
48 ~~~~~~~~~~~~~~~~~~~~~~~~ | |
49 - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file | |
50 - MPEG 1/2 System Stream (PS/VOB) and Elementary Stream (ES) file formats | |
51 - RIFF AVI file format | |
52 - ASF 1.0 file format | |
522 | 53 - (De)crypted VOB files from DVD (experimental!) |
1 | 54 |
352 | 55 Supported audio & video codecs: |
56 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
57 See DOCS/CODECS for complete list. | |
1 | 58 |
59 Supported video output devices: | |
60 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
96 | 61 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device |
62 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window | |
1 | 63 (Xv emulation on X 3.3.x !) |
352 | 64 - syncfb: Matrox G400 YUV support on framebuffer (not tested, maybe broken) |
96 | 65 - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling) |
352 | 66 - x11: X11 with SHM extension |
96 | 67 - gl: OpenGL renderer, works only with Utah-GLX! (no DRI or nVidia drivers) |
352 | 68 - dga: X11 DGA extension |
69 - fsdga:X11 DGA extension with fullscreen scaling (only 24/32bpp and MPEG!) | |
70 - sdl: SDL >= v1.1.7 driver (supports software scaling, and versions >=1.1.8 | |
71 even support Xvideo, thus hardware rendering) | |
72 (NOT supported by us! Don't submit SDL bugreports!) | |
73 - fbdev:Output to general framebuffers | |
74 - svga: Output to SVGAlib | |
532
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
522
diff
changeset
|
75 - png: PNG file output (use -z switch to set compression) |
352 | 76 - null: Null output (for speed tests/benchmarking) |
96 | 77 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken) |
352 | 78 - odivx:OpenDivX AVI File writer |
96 | 79 - pgm: PGM file output (for testing purposes) |
80 - md5: MD5sum output (for mpeg conformance tests) | |
81 | |
281 | 82 NOTE: check DOCS/VIDEOCARDS ! |
1 | 83 |
84 Supported audio output devices: | |
85 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
86 - OSS driver | |
281 | 87 - ALSA driver with OSS emulation (NOT recommended, causes annoying delays) |
522 | 88 - ESD with the esddsp utility (not tested, not recommended, see ALSA) |
1 | 89 |
96 | 90 NOTE: check DOCS/SOUNDCARDS ! |
91 | |
1 | 92 Speed: |
93 ~~~~~~ | |
94 Most of time-critical parts are optimized for MMX/SSE/3DNow!. | |
95 You can improve rendering speed by setting up MTRR registers, see doc in MTRR. | |
96 Some benchmark results can be found in the doc file SPEED. | |
97 | |
98 Usage: | |
99 ~~~~~~ | |
100 mplayer [options] [-vo driver] [path/]filename | |
101 | |
102 Options: | |
103 see mplayer -h for options | |
104 see mplayer -vo help for available output drivers | |
105 | |
106 Keys: | |
107 <- or -> seek backward/forward 10 seconds | |
108 up or down seek backward/forward 1 minute | |
109 p or SPACE pause movie (press any key to continue) | |
110 q or ^C stop playing and quit program | |
522 | 111 o toggle OSD : none / seek / seek+timer |
112 / and * decrease/increase volume | |
113 m toggle using master/pcm channel for volume setting | |
1 | 114 |
115 Examples: | |
116 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg | |
117 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob | |
118 mplayer -vcd 2 /dev/cdrom | |
522 | 119 mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob |
1 | 120 mplayer -alsa -abs 65536 -delay -0.4 -nobps ~/movies/test.avi |
121 | |
522 | 122 Note: in order to use Matrox YUV driver (-vo mga or xmga), first you'll have |
123 to load the driver: insmod drivers/mga_vid.o , or to make it automatic | |
124 insert the following line at the end of /etc/modules.conf: | |
125 alias char-major-178 mga_vid | |
126 and run 'depmod -a' . | |
1 | 127 |
128 License: | |
129 ~~~~~~~~ | |
130 Since MPlayer incorporates a lot of code from other projects, this isn't | |
131 decided yet. | |
132 We're going for GPL (will be pretty hard, though). | |
133 | |
134 TV output: | |
135 ~~~~~~~~~~ | |
136 If you have a Matrox G400 Dual-Head card, you can watch movies on TV, | |
137 using TV-out feature of the second head. You must have matroxfb support | |
138 enabled in your kernel (2.4.x kernels). You don't need X11 for this! | |
139 Tested only with PAL TV! | |
140 | |
141 cd TVout | |
142 ./modules | |
143 ./cloning or ./independ | |
144 ./TV-704x528 (or another TV* script) | |
145 | |
146 Sending bugreports: | |
147 ~~~~~~~~~~~~~~~~~~~ | |
148 First please read all the docs in this package, most of the problems are | |
149 described somewhere. At least read the Troubleshooting section! | |
150 We don't like answering questions which are already answered in this | |
151 readme or other docs. | |
152 You should try the latest test (pre) release version too, maybe your bug | |
153 is already fixed, but the new version hasn't been released. | |
154 If you couldn't solve the problem, then send a quality bugreport | |
40 | 155 via E-Mail to the MPlayer-users list : mplayer-users@lists.sourceforge.net |
1 | 156 |
157 *NEVER* send attached AVIs, MPEGs, or any big files to this list!!! | |
158 Upload them to ftp://thot.banki.hu/incoming , and inform the list about | |
159 your upload. | |
160 | |
161 Please include these: | |
162 - your kernel version number ('uname -a') | |
163 - linux distribution and glibc version (example: Slackware 7.1 + glibc 2.1.3) | |
164 - gcc and binutils version ('gcc -v' and 'as --version') | |
165 - your X11 version (example: X 4.0.2 + DRI snapshot2001jan12) | |
166 - video card vendor/model (example: Matrox G400 MAX AGP) | |
167 - CPU vendor and type (example: Intel Celeron2-566 at 850MHz) | |
168 | |
169 Also include the required logs (as attachment, may be compressed zip/gz/bz2) | |
170 depending the problem type (see bellow at Troubleshooting section). | |
171 | |
172 To log output to a file, use the &> shell operator. For example: | |
173 ./configure &>configure.log | |
174 mplayer -v test.avi &>play.log | |
175 | |
176 If we ask you for the file, then you have two choices: | |
177 - upload the file to ftp://thot.banki.hu/incoming (at least a few megabytes) | |
178 - send the exact URL of the file, and we'll download it soon. | |
179 | |
180 Please do not ask for features already listed in the TODO! | |
181 | |
182 Troubleshooting: | |
183 ~~~~~~~~~~~~~~~~ | |
184 1. Please read the docs first... | |
185 | |
186 2. If you have compiling problems: | |
187 - if you are an experienced programmer, please try to fix it, and send | |
188 us the patch | |
189 - if gcc reports problems around inttypes.h, try to copy DOCS/inttypes.h | |
190 to the directory where the error occured. (or upgrade glibc to 2.1/newer) | |
191 - if gcc reports problems around video_out_gl.c, try disabling OpenGL | |
192 support: ./configure --disable-gl (you have broken OpenGL headers/libs) | |
193 - if you are a user, send us a bugreport (see above), including these: | |
194 - output of ./configure | |
522 | 195 - output of make |
1 | 196 - config.h and all of config.mak files |
197 Note: many users reported that SSE was not detected while running on P3. | |
198 Current stable 2.2.x kernels does NOT support SSE, so you can't use it | |
6 | 199 without patches or using the 2.4.x series. (or try latest 2.2.19 or newer) |
1 | 200 |
201 3. If you have a problem with the player, please run it with -v option, and | |
202 send the output of it, with a detailed description of the problem. | |
203 - can't play AVI files: check that codec .DLL and .ACM files are installed to | |
204 /usr/lib/win32/ and are all lowercase (divxc32.dll instead of DivXc32.DLL) | |
205 | |
206 4. If you have a file-specific problem (can't play a special file, | |
207 crashes with it or similar) then please run with -v -v -v (debug level 3). | |
208 Send us the output and the problem description via email bugreport. | |
209 We may ask you to upload the file. | |
210 - if it segfaults with an AVI file with MP3 audio, try with -afm 1 or -afm 4 | |
211 - if it's still bad, try with -nosound | |
212 | |
213 5. If you have problem with display driver, please first check the list above, | |
214 many of them isn't yet capable to AVI playing, and some of them are | |
215 untested and/or unfinished. | |
216 | |
217 6. If you have speed problems (too slow playing), then please first check that: | |
281 | 218 - you don't use OpenGL driver while have software-only opengl (Utah-GLX |
219 disabled, or not yet installed, conflicting libs installed, or your | |
220 hardware not supported etc...) | |
1 | 221 - you have set up MTRR registers properly (many new cards are really |
222 slow without setting up MTRR registers. it's NOT done by X 3.3.x! Also, | |
223 there are older K6-2's, which lack MTRR support /stepping=0/). | |
281 | 224 Check DOCS/MTRR ! |
1 | 225 - you have a fast machine (don't report that your 386 can't play DivX) |
226 - try with Null output (-vo null) and check CPU usage (first % value) | |
227 | |
228 7. sound-related problems: | |
229 - maybe your card doesn't support 48kHz playback and the movie requires it. | |
522 | 230 - try MPlayer with the -noalsa option |
231 - compile MPlayer with --disable-select | |
1 | 232 - delayed audio with some AVI files: try with -bps or -nobps option! |
233 - if you experienced delayed audio, try to compensate with -delay or -abs. | |
234 you can specify audio card's buffer size in bytes with -abs option, or | |
235 specify audio delay in seconds (positive/negative float) with -delay | |
236 for example: mplayer -alsa -delay -0.75 test.avi | |
237 mplayer -abs 65536 -delay 0.3 test.mpg | |
238 - to play AVI files with VBR MP3 audio use the -mc 0 option! | |
239 - no sound at all: check that you have working OSS driver (/dev/dsp), | |
240 and it isn't used by another program (for example esd, xmms etc.) | |
281 | 241 - use OSS. If the problem persists, use ALSA ;) |
1 | 242 |
243 8. unsupported codecs (AVI files): | |
281 | 244 Check DOCS/CODECS |
1 | 245 |
6 | 246 Contact information: |
247 ~~~~~~~~~~~~~~~~~~~~ | |
10 | 248 Homepage: http://mplayer.sourceforge.net |
1 | 249 |
250 Mailing lists: | |
251 ~~~~~~~~~~~~~~ | |
107 | 252 There are some public mailing lists on MPlayer. Subscribing can be achieved on |
40 | 253 the following addresses: |
1 | 254 |
107 | 255 - MPlayer users list: (send your ideas, bugreports, feature requests here) |
60 | 256 http://lists.sourceforge.net/lists/listinfo/mplayer-users |
107 | 257 |
258 - MPlayer announce: (information about new releases or big changes in CVS) | |
60 | 259 http://lists.sourceforge.net/lists/listinfo/mplayer-announce |
107 | 260 |
261 - MPlayer & Matrox G200/G400/G450 users: (about TV-out, mga_vid, syncfb, Xv) | |
262 http://lists.sourceforge.net/lists/listinfo/mplayer-matrox | |
263 | |
522 | 264 - MPlayer CVS-log: (announce about _every_ CVS commit) |
107 | 265 http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog |
1 | 266 |
267 Standard Disclaimer: | |
268 ~~~~~~~~~~~~~~~~~~~~ | |
522 | 269 Use only at your own risk! There may be errors and inaccuracies that could |
270 damage your system or your eye. Proceed with caution, and although this is | |
271 highly unlikely, we don't take any responsibility for that! |