1
|
1 MoviePlayer v0.11 (C) 2000-2001. by Arpad Gereoffy (A'rpi/ESP-team)
|
|
2 ================= * See the file AUTHORS for the complete list! *
|
|
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
|
|
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
|
|
22 As you see, I didn't write any codecs, just some players. But I spent
|
|
23 a lot of time finding the best way to parse bad damaged input files
|
|
24 (both mpg and avi) and to do perfect A-V sync with seeking ability.
|
|
25 My player is rock solid playing damaged mpeg files (useful for some VCDs),
|
|
26 and it plays bad AVI files which are unplayable with the famous
|
|
27 windows media player. Even AVI files without index chunk are playable!
|
|
28 As you see, stability and quality are the most important things for me,
|
|
29 speed has lower priority, but is still very important.
|
|
30
|
|
31 What about the GUI?
|
|
32 I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console.
|
|
33 So the player has only keyboard control from the controlling console/xterm now.
|
|
34 But there is a GUI development for the player, coordinated by Pontscho/Fresh!
|
|
35 It's still under development, but it will be merged and released soon.
|
|
36 BTW he needs some nice skins, if you are a good graphician, contact him!!!
|
|
37
|
|
38 Win32 codecs?
|
|
39 Yes, we are using Win32 (Video for Windows) codecs for AVI/ASF decoding.
|
|
40 They must be installed to the /usr/lib/win32/ directory, with all lower case.
|
|
41 You can grab the codecs package from
|
|
42 ftp://thot.banki.hu/esp-team/linux/MPlayer/w32codec.zip
|
|
43 or can be found in your C:\WINDOWS\SYSTEM\ dir, see codecs.c for filenames.
|
|
44 Some people asked why don't we use ActiveMovie/DirectShow codecs. The reason is
|
|
45 simple: we'd have to emulate the whole DirectX architecture and implement the
|
|
46 (patented!) COM interface to be able to use them. BTW the old VfW DivX codec
|
|
47 is faster than the new .AX version, but it has no quality/CPU setting
|
|
48 option (this is an improper name, since it doesn't affect the decoder. If
|
|
49 it's set to 1 or higher, it applies a filter which decreases blockiness and
|
|
50 eats away CPU cycles).
|
|
51
|
|
52 Supported input formats:
|
|
53 ~~~~~~~~~~~~~~~~~~~~~~~~
|
|
54 - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file
|
|
55 - MPEG 1/2 System Stream (PS/VOB) and Elementary Stream (ES) file formats
|
|
56 - RIFF AVI file format
|
|
57 - ASF 1.0 file format
|
|
58
|
|
59 Supported audio codecs:
|
|
60 ~~~~~~~~~~~~~~~~~~~~~~~
|
|
61 - PCM (uncompressed) audio (8/16 bit, mono/stereo)
|
|
62 - MPEG layer 2/3 audio (using mp3lib, based on mpg123)
|
|
63 - AC3 audio (using ac3dec/libac3)
|
|
64 - Win32 ACM audio codecs (the *.ACM files) [Only in the AVI player]
|
|
65 tested with: DivX audio, MS-ADPCM
|
|
66 - aLaw audio (using code from xanim)
|
|
67 - MS-GSM audio (using modified xa_gsm.c from avifile)
|
|
68
|
|
69 Supported video codecs:
|
|
70 ~~~~~~~~~~~~~~~~~~~~~~~
|
|
71 - MPEG 1 and MPEG 2 video decoder (using mpeg2dec/libmpeg2, supports
|
|
72 3DNow! and MMX)
|
|
73 - Win32 ICM (VfW) video codecs (for example DivX using DIVXC32.DLL)
|
|
74 - OpenDivX encore & decore (see ProjectMayo)
|
|
75
|
|
76 Supported video output devices:
|
|
77 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
78 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
|
|
79 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
|
|
80 (Xv emulation on X 3.3.x !)
|
|
81 - x11: X11 optionally with SHM extension
|
|
82 - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling)
|
9
|
83 - gl: OpenGL renderer, works only with Utah-GLX! (no DRI or nVidia drivers)
|
1
|
84 - syncfb: Matrox G400 YUV support on framebuffer (not tested, maybe broken)
|
|
85 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)
|
|
86 - sdl: SDL v1.1.7 driver (slower than 'x11', but supports software scaling)
|
|
87 - null: Null output (for speed tests/benchmarking)
|
|
88 - pgm: PGM file output (for testing purposes)
|
|
89 - md5: MD5sum output (for mpeg conformance tests)
|
|
90 NOTE: not all are available for AVI files
|
|
91
|
|
92 Supported audio output devices:
|
|
93 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
94 - OSS driver
|
|
95 - ALSA driver with OSS emulation
|
|
96 - ESD with the esddsp utility
|
|
97
|
|
98 Speed:
|
|
99 ~~~~~~
|
|
100 Most of time-critical parts are optimized for MMX/SSE/3DNow!.
|
|
101 You can improve rendering speed by setting up MTRR registers, see doc in MTRR.
|
|
102 Some benchmark results can be found in the doc file SPEED.
|
|
103
|
|
104 Usage:
|
|
105 ~~~~~~
|
|
106 mplayer [options] [-vo driver] [path/]filename
|
|
107
|
|
108 Options:
|
|
109 see mplayer -h for options
|
|
110 see mplayer -vo help for available output drivers
|
|
111
|
|
112 Keys:
|
|
113 <- or -> seek backward/forward 10 seconds
|
|
114 up or down seek backward/forward 1 minute
|
|
115 p or SPACE pause movie (press any key to continue)
|
|
116 q or ^C stop playing and quit program
|
|
117
|
|
118 Examples:
|
|
119 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
|
120 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
|
121 mplayer -vcd 2 /dev/cdrom
|
|
122 mplayer -alsa -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
|
|
123
|
|
124 Note: for using Matrox YUV driver (-vo mga or xmga), you have to first
|
|
125 load the driver: insmod drivers/mga_vid.o
|
|
126
|
|
127 License:
|
|
128 ~~~~~~~~
|
|
129 Since MPlayer incorporates a lot of code from other projects, this isn't
|
|
130 decided yet.
|
|
131 We're going for GPL (will be pretty hard, though).
|
|
132
|
|
133 TV output:
|
|
134 ~~~~~~~~~~
|
|
135 If you have a Matrox G400 Dual-Head card, you can watch movies on TV,
|
|
136 using TV-out feature of the second head. You must have matroxfb support
|
|
137 enabled in your kernel (2.4.x kernels). You don't need X11 for this!
|
|
138 Tested only with PAL TV!
|
|
139
|
|
140 cd TVout
|
|
141 ./modules
|
|
142 ./cloning or ./independ
|
|
143 ./TV-704x528 (or another TV* script)
|
|
144
|
|
145 Sending bugreports:
|
|
146 ~~~~~~~~~~~~~~~~~~~
|
|
147 First please read all the docs in this package, most of the problems are
|
|
148 described somewhere. At least read the Troubleshooting section!
|
|
149 We don't like answering questions which are already answered in this
|
|
150 readme or other docs.
|
|
151 You should try the latest test (pre) release version too, maybe your bug
|
|
152 is already fixed, but the new version hasn't been released.
|
|
153 If you couldn't solve the problem, then send a quality bugreport
|
|
154 via E-Mail to the MPlayer-users list : mplayer@alan.umcs.lublin.pl
|
|
155
|
|
156 *NEVER* send attached AVIs, MPEGs, or any big files to this list!!!
|
|
157 Upload them to ftp://thot.banki.hu/incoming , and inform the list about
|
|
158 your upload.
|
|
159
|
|
160 Please include these:
|
|
161 - your kernel version number ('uname -a')
|
|
162 - linux distribution and glibc version (example: Slackware 7.1 + glibc 2.1.3)
|
|
163 - gcc and binutils version ('gcc -v' and 'as --version')
|
|
164 - your X11 version (example: X 4.0.2 + DRI snapshot2001jan12)
|
|
165 - video card vendor/model (example: Matrox G400 MAX AGP)
|
|
166 - CPU vendor and type (example: Intel Celeron2-566 at 850MHz)
|
|
167
|
|
168 Also include the required logs (as attachment, may be compressed zip/gz/bz2)
|
|
169 depending the problem type (see bellow at Troubleshooting section).
|
|
170
|
|
171 To log output to a file, use the &> shell operator. For example:
|
|
172 ./configure &>configure.log
|
|
173 mplayer -v test.avi &>play.log
|
|
174
|
|
175 If we ask you for the file, then you have two choices:
|
|
176 - upload the file to ftp://thot.banki.hu/incoming (at least a few megabytes)
|
|
177 - send the exact URL of the file, and we'll download it soon.
|
|
178
|
|
179 Please do not ask for features already listed in the TODO!
|
|
180
|
|
181 Troubleshooting:
|
|
182 ~~~~~~~~~~~~~~~~
|
|
183 1. Please read the docs first...
|
|
184
|
|
185 2. If you have compiling problems:
|
|
186 - if you are an experienced programmer, please try to fix it, and send
|
|
187 us the patch
|
|
188 - if gcc reports problems around inttypes.h, try to copy DOCS/inttypes.h
|
|
189 to the directory where the error occured. (or upgrade glibc to 2.1/newer)
|
|
190 - if gcc reports problems around video_out_gl.c, try disabling OpenGL
|
|
191 support: ./configure --disable-gl (you have broken OpenGL headers/libs)
|
|
192 - if you are a user, send us a bugreport (see above), including these:
|
|
193 - output of ./configure
|
|
194 - output of make dep and make
|
|
195 - config.h and all of config.mak files
|
|
196 Note: many users reported that SSE was not detected while running on P3.
|
|
197 Current stable 2.2.x kernels does NOT support SSE, so you can't use it
|
6
|
198 without patches or using the 2.4.x series. (or try latest 2.2.19 or newer)
|
1
|
199
|
|
200 3. If you have a problem with the player, please run it with -v option, and
|
|
201 send the output of it, with a detailed description of the problem.
|
|
202 - can't play AVI files: check that codec .DLL and .ACM files are installed to
|
|
203 /usr/lib/win32/ and are all lowercase (divxc32.dll instead of DivXc32.DLL)
|
|
204
|
|
205 4. If you have a file-specific problem (can't play a special file,
|
|
206 crashes with it or similar) then please run with -v -v -v (debug level 3).
|
|
207 Send us the output and the problem description via email bugreport.
|
|
208 We may ask you to upload the file.
|
|
209 - if it segfaults with an AVI file with MP3 audio, try with -afm 1 or -afm 4
|
|
210 - if it's still bad, try with -nosound
|
|
211
|
|
212 5. If you have problem with display driver, please first check the list above,
|
|
213 many of them isn't yet capable to AVI playing, and some of them are
|
|
214 untested and/or unfinished.
|
|
215
|
|
216 6. If you have speed problems (too slow playing), then please first check that:
|
|
217 - you don't use OpenGL driver while have software-only opengl (DRI disabled,
|
|
218 or not yet installed, conflicting libs installed, or your hardware not
|
|
219 supported etc...)
|
|
220 - you have set up MTRR registers properly (many new cards are really
|
|
221 slow without setting up MTRR registers. it's NOT done by X 3.3.x! Also,
|
|
222 there are older K6-2's, which lack MTRR support /stepping=0/).
|
|
223 - you have a fast machine (don't report that your 386 can't play DivX)
|
|
224 - try with Null output (-vo null) and check CPU usage (first % value)
|
|
225
|
|
226 7. sound-related problems:
|
|
227 - maybe your card doesn't support 48kHz playback and the movie requires it.
|
|
228 - try player with the -noalsa option
|
|
229 - delayed audio with some AVI files: try with -bps or -nobps option!
|
|
230 - if you experienced delayed audio, try to compensate with -delay or -abs.
|
|
231 you can specify audio card's buffer size in bytes with -abs option, or
|
|
232 specify audio delay in seconds (positive/negative float) with -delay
|
|
233 for example: mplayer -alsa -delay -0.75 test.avi
|
|
234 mplayer -abs 65536 -delay 0.3 test.mpg
|
|
235 - to play AVI files with VBR MP3 audio use the -mc 0 option!
|
|
236 - no sound at all: check that you have working OSS driver (/dev/dsp),
|
|
237 and it isn't used by another program (for example esd, xmms etc.)
|
|
238
|
|
239 8. unsupported codecs (AVI files):
|
|
240 We may add support for your movie, but we need the following things:
|
|
241 - the codec DLL file: find it in your WINDOWS directory. In the SYSTEM.INI
|
|
242 there will be a listing of the installed codecs (vids.<codecname>=DLLfile)
|
|
243 - a sample file encoded with that codec.
|
|
244
|
6
|
245 Contact information:
|
|
246 ~~~~~~~~~~~~~~~~~~~~
|
1
|
247 Download: ftp://thot.banki.hu/esp-team/linux/MPlayer/
|
|
248 or: http://thot.banki.hu/esp-ftp/linux/MPlayer/
|
|
249 Homepage: http://thot.banki.hu/esp-team/MPlayer.html
|
|
250
|
|
251 Mailing lists:
|
|
252 ~~~~~~~~~~~~~~
|
|
253 There are two public mailing lists on MPlayer. Subscribing can be achieved by
|
|
254 writing to the following addresses, and specifying "subscribe" in the Subject,
|
|
255 or message body.
|
|
256
|
|
257 - MPlayer-users
|
|
258 Write an e-mail to mplayer-request@alan.umcs.lublin.pl
|
|
259 - MPlayer-announce
|
|
260 Write an e-mail to mplayer-announce-request@alan.umcs.lublin.pl
|
|
261
|
|
262 Special thanks to Dariusz Pietrzak for the list hosting!
|
|
263
|
|
264 Standard Disclaimer:
|
|
265 ~~~~~~~~~~~~~~~~~~~~
|
|
266 Use only at your own risk! There may be errors and inaccuracies that could
|
|
267 be damaging to your system or your eye. Proceed with caution, and although
|
|
268 this is highly unlikely, I don't take any responsibility for that!
|