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