654
|
1 MPlayer v0.17a "The 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)
|
646
|
102 - aalib:Text mode rendering (through SDL) (native driver in progress!)
|
540
|
103
|
|
104 Card specific:
|
96
|
105 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
|
|
106 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
|
1
|
107 (Xv emulation on X 3.3.x !)
|
352
|
108 - syncfb: Matrox G400 YUV support on framebuffer (not tested, maybe broken)
|
540
|
109 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)
|
|
110
|
|
111 Special:
|
|
112 - png: PNG files output (use -z switch to set compression)
|
|
113 - pgm: PGM files output (for testing purposes)
|
|
114 - md5: MD5sum output (for mpeg conformance tests)
|
|
115 - odivx:OpenDivX AVI File writer (use -br to set encoding bitrate)
|
352
|
116 - null: Null output (for speed tests/benchmarking)
|
96
|
117
|
281
|
118 NOTE: check DOCS/VIDEOCARDS !
|
1
|
119
|
|
120 Supported audio output devices:
|
|
121 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
122 - OSS driver
|
281
|
123 - ALSA driver with OSS emulation (NOT recommended, causes annoying delays)
|
522
|
124 - ESD with the esddsp utility (not tested, not recommended, see ALSA)
|
1
|
125
|
540
|
126 NOTE: check DOCS/SOUNDCARDS for details!
|
96
|
127
|
1
|
128 Speed:
|
|
129 ~~~~~~
|
540
|
130 Most of time-critical parts are optimized for MMX/MMXext/SSE/3DNow!.
|
1
|
131 You can improve rendering speed by setting up MTRR registers, see doc in MTRR.
|
540
|
132 Some *old* benchmark results can be found in the doc file SPEED.
|
1
|
133
|
|
134 Usage:
|
|
135 ~~~~~~
|
|
136 mplayer [options] [-vo driver] [path/]filename
|
|
137
|
|
138 Options:
|
540
|
139 see `mplayer -h' for options
|
|
140 see `mplayer -vo help' for list of available output drivers
|
1
|
141
|
|
142 Keys:
|
|
143 <- or -> seek backward/forward 10 seconds
|
|
144 up or down seek backward/forward 1 minute
|
|
145 p or SPACE pause movie (press any key to continue)
|
|
146 q or ^C stop playing and quit program
|
522
|
147 o toggle OSD : none / seek / seek+timer
|
|
148 / and * decrease/increase volume
|
|
149 m toggle using master/pcm channel for volume setting
|
1
|
150
|
|
151 Examples:
|
|
152 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
|
153 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
|
154 mplayer -vcd 2 /dev/cdrom
|
522
|
155 mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob
|
1
|
156 mplayer -alsa -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
|
|
157
|
522
|
158 Note: in order to use Matrox YUV driver (-vo mga or xmga), first you'll have
|
|
159 to load the driver: insmod drivers/mga_vid.o , or to make it automatic
|
|
160 insert the following line at the end of /etc/modules.conf:
|
|
161 alias char-major-178 mga_vid
|
|
162 and run 'depmod -a' .
|
1
|
163
|
|
164 License:
|
|
165 ~~~~~~~~
|
|
166 Since MPlayer incorporates a lot of code from other projects, this isn't
|
540
|
167 decided yet. We're going for GPL (will be pretty hard, though).
|
1
|
168
|
|
169 TV output:
|
|
170 ~~~~~~~~~~
|
|
171 If you have a Matrox G400 Dual-Head card, you can watch movies on TV,
|
|
172 using TV-out feature of the second head. You must have matroxfb support
|
|
173 enabled in your kernel (2.4.x kernels). You don't need X11 for this!
|
|
174 Tested only with PAL TV!
|
|
175
|
|
176 cd TVout
|
|
177 ./modules
|
|
178 ./cloning or ./independ
|
|
179 ./TV-704x528 (or another TV* script)
|
|
180
|
|
181 Sending bugreports:
|
|
182 ~~~~~~~~~~~~~~~~~~~
|
|
183 First please read all the docs in this package, most of the problems are
|
|
184 described somewhere. At least read the Troubleshooting section!
|
|
185 We don't like answering questions which are already answered in this
|
|
186 readme or other docs.
|
540
|
187 You should try the latest development version (from CVS) too, maybe your bug
|
1
|
188 is already fixed, but the new version hasn't been released.
|
|
189 If you couldn't solve the problem, then send a quality bugreport
|
40
|
190 via E-Mail to the MPlayer-users list : mplayer-users@lists.sourceforge.net
|
1
|
191
|
540
|
192 *NEVER* send attached AVIs, MPEGs, or any big files to this list or private!!!
|
657
|
193 Upload them to ftp://thot.banki.hu/MPlayer/incoming , and inform the list
|
540
|
194 about your upload.
|
1
|
195
|
|
196 Please include these:
|
|
197 - your kernel version number ('uname -a')
|
|
198 - linux distribution and glibc version (example: Slackware 7.1 + glibc 2.1.3)
|
|
199 - gcc and binutils version ('gcc -v' and 'as --version')
|
|
200 - your X11 version (example: X 4.0.2 + DRI snapshot2001jan12)
|
540
|
201 - video card vendor/model (example: Matrox G400 DH MAX AGP)
|
|
202 - sound card model+driver (example: Creative SBLive! with OSS (kernel) )
|
1
|
203 - CPU vendor and type (example: Intel Celeron2-566 at 850MHz)
|
|
204
|
|
205 Also include the required logs (as attachment, may be compressed zip/gz/bz2)
|
|
206 depending the problem type (see bellow at Troubleshooting section).
|
540
|
207 Do not send level-0 logs, always use the mplayer option '-v' when making log:
|
1
|
208
|
|
209 ./configure &>configure.log
|
540
|
210 make &>make.log
|
1
|
211 mplayer -v test.avi &>play.log
|
|
212
|
|
213 If we ask you for the file, then you have two choices:
|
657
|
214 - upload the file to ftp://thot.banki.hu/MPlayer/incoming (at least a few
|
|
215 megabytes)
|
1
|
216 - send the exact URL of the file, and we'll download it soon.
|
|
217
|
|
218 Please do not ask for features already listed in the TODO!
|
|
219
|
|
220 Troubleshooting:
|
|
221 ~~~~~~~~~~~~~~~~
|
|
222 1. Please read the docs first...
|
|
223
|
|
224 2. If you have compiling problems:
|
|
225 - if you are an experienced programmer, please try to fix it, and send
|
|
226 us the patch
|
|
227 - if gcc reports problems around inttypes.h, try to copy DOCS/inttypes.h
|
|
228 to the directory where the error occured. (or upgrade glibc to 2.1/newer)
|
|
229 - if gcc reports problems around video_out_gl.c, try disabling OpenGL
|
|
230 support: ./configure --disable-gl (you have broken OpenGL headers/libs)
|
|
231 - if you are a user, send us a bugreport (see above), including these:
|
|
232 - output of ./configure
|
522
|
233 - output of make
|
1
|
234 - config.h and all of config.mak files
|
|
235 Note: many users reported that SSE was not detected while running on P3.
|
|
236 Current stable 2.2.x kernels does NOT support SSE, so you can't use it
|
6
|
237 without patches or using the 2.4.x series. (or try latest 2.2.19 or newer)
|
1
|
238
|
|
239 3. If you have a problem with the player, please run it with -v option, and
|
|
240 send the output of it, with a detailed description of the problem.
|
|
241 - can't play AVI files: check that codec .DLL and .ACM files are installed to
|
|
242 /usr/lib/win32/ and are all lowercase (divxc32.dll instead of DivXc32.DLL)
|
|
243
|
|
244 4. If you have a file-specific problem (can't play a special file,
|
|
245 crashes with it or similar) then please run with -v -v -v (debug level 3).
|
|
246 Send us the output and the problem description via email bugreport.
|
|
247 We may ask you to upload the file.
|
|
248 - if it segfaults with an AVI file with MP3 audio, try with -afm 1 or -afm 4
|
|
249 - if it's still bad, try with -nosound
|
|
250
|
|
251 5. If you have problem with display driver, please first check the list above,
|
|
252 many of them isn't yet capable to AVI playing, and some of them are
|
|
253 untested and/or unfinished.
|
|
254
|
|
255 6. If you have speed problems (too slow playing), then please first check that:
|
281
|
256 - you don't use OpenGL driver while have software-only opengl (Utah-GLX
|
|
257 disabled, or not yet installed, conflicting libs installed, or your
|
|
258 hardware not supported etc...)
|
1
|
259 - you have set up MTRR registers properly (many new cards are really
|
|
260 slow without setting up MTRR registers. it's NOT done by X 3.3.x! Also,
|
|
261 there are older K6-2's, which lack MTRR support /stepping=0/).
|
281
|
262 Check DOCS/MTRR !
|
1
|
263 - you have a fast machine (don't report that your 386 can't play DivX)
|
|
264 - try with Null output (-vo null) and check CPU usage (first % value)
|
|
265
|
|
266 7. sound-related problems:
|
|
267 - maybe your card doesn't support 48kHz playback and the movie requires it.
|
522
|
268 - try MPlayer with the -noalsa option
|
|
269 - compile MPlayer with --disable-select
|
1
|
270 - delayed audio with some AVI files: try with -bps or -nobps option!
|
|
271 - if you experienced delayed audio, try to compensate with -delay or -abs.
|
|
272 you can specify audio card's buffer size in bytes with -abs option, or
|
|
273 specify audio delay in seconds (positive/negative float) with -delay
|
|
274 for example: mplayer -alsa -delay -0.75 test.avi
|
|
275 mplayer -abs 65536 -delay 0.3 test.mpg
|
|
276 - to play AVI files with VBR MP3 audio use the -mc 0 option!
|
|
277 - no sound at all: check that you have working OSS driver (/dev/dsp),
|
|
278 and it isn't used by another program (for example esd, xmms etc.)
|
281
|
279 - use OSS. If the problem persists, use ALSA ;)
|
1
|
280
|
|
281 8. unsupported codecs (AVI files):
|
281
|
282 Check DOCS/CODECS
|
1
|
283
|
6
|
284 Contact information:
|
|
285 ~~~~~~~~~~~~~~~~~~~~
|
10
|
286 Homepage: http://mplayer.sourceforge.net
|
1
|
287
|
|
288 Mailing lists:
|
|
289 ~~~~~~~~~~~~~~
|
107
|
290 There are some public mailing lists on MPlayer. Subscribing can be achieved on
|
40
|
291 the following addresses:
|
1
|
292
|
107
|
293 - MPlayer users list: (send your ideas, bugreports, feature requests here)
|
60
|
294 http://lists.sourceforge.net/lists/listinfo/mplayer-users
|
107
|
295
|
|
296 - MPlayer announce: (information about new releases or big changes in CVS)
|
60
|
297 http://lists.sourceforge.net/lists/listinfo/mplayer-announce
|
107
|
298
|
|
299 - MPlayer & Matrox G200/G400/G450 users: (about TV-out, mga_vid, syncfb, Xv)
|
|
300 http://lists.sourceforge.net/lists/listinfo/mplayer-matrox
|
|
301
|
522
|
302 - MPlayer CVS-log: (announce about _every_ CVS commit)
|
107
|
303 http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
|
1
|
304
|
|
305 Standard Disclaimer:
|
|
306 ~~~~~~~~~~~~~~~~~~~~
|
522
|
307 Use only at your own risk! There may be errors and inaccuracies that could
|
|
308 damage your system or your eye. Proceed with caution, and although this is
|
|
309 highly unlikely, we don't take any responsibility for that!
|