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