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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
77 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
|
|
78 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
|
|
79 (Xv emulation on X 3.3.x !)
|
|
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!)
|
1
|
83 - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling)
|
9
|
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)
|
|
86 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)
|
70
|
87 - sdl: SDL >= v1.1.7 driver (slower than 'x11', but supports software scaling)
|
1
|
88 - null: Null output (for speed tests/benchmarking)
|
|
89 - pgm: PGM file output (for testing purposes)
|
|
90 - md5: MD5sum output (for mpeg conformance tests)
|
|
91 NOTE: not all are available for AVI files
|
|
92
|
|
93 Supported audio output devices:
|
|
94 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
95 - OSS driver
|
|
96 - ALSA driver with OSS emulation
|
|
97 - ESD with the esddsp utility
|
|
98
|
|
99 Speed:
|
|
100 ~~~~~~
|
|
101 Most of time-critical parts are optimized for MMX/SSE/3DNow!.
|
|
102 You can improve rendering speed by setting up MTRR registers, see doc in MTRR.
|
|
103 Some benchmark results can be found in the doc file SPEED.
|
|
104
|
|
105 Usage:
|
|
106 ~~~~~~
|
|
107 mplayer [options] [-vo driver] [path/]filename
|
|
108
|
|
109 Options:
|
|
110 see mplayer -h for options
|
|
111 see mplayer -vo help for available output drivers
|
|
112
|
|
113 Keys:
|
|
114 <- or -> seek backward/forward 10 seconds
|
|
115 up or down seek backward/forward 1 minute
|
|
116 p or SPACE pause movie (press any key to continue)
|
|
117 q or ^C stop playing and quit program
|
|
118
|
|
119 Examples:
|
|
120 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
|
121 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
|
122 mplayer -vcd 2 /dev/cdrom
|
|
123 mplayer -alsa -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
|
|
124
|
|
125 Note: for using Matrox YUV driver (-vo mga or xmga), you have to first
|
|
126 load the driver: insmod drivers/mga_vid.o
|
|
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
|
|
195 - output of make dep and make
|
|
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:
|
|
218 - you don't use OpenGL driver while have software-only opengl (DRI disabled,
|
|
219 or not yet installed, conflicting libs installed, or your hardware not
|
|
220 supported etc...)
|
|
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/).
|
|
224 - you have a fast machine (don't report that your 386 can't play DivX)
|
|
225 - try with Null output (-vo null) and check CPU usage (first % value)
|
|
226
|
|
227 7. sound-related problems:
|
|
228 - maybe your card doesn't support 48kHz playback and the movie requires it.
|
|
229 - try player with the -noalsa option
|
|
230 - delayed audio with some AVI files: try with -bps or -nobps option!
|
|
231 - if you experienced delayed audio, try to compensate with -delay or -abs.
|
|
232 you can specify audio card's buffer size in bytes with -abs option, or
|
|
233 specify audio delay in seconds (positive/negative float) with -delay
|
|
234 for example: mplayer -alsa -delay -0.75 test.avi
|
|
235 mplayer -abs 65536 -delay 0.3 test.mpg
|
|
236 - to play AVI files with VBR MP3 audio use the -mc 0 option!
|
|
237 - no sound at all: check that you have working OSS driver (/dev/dsp),
|
|
238 and it isn't used by another program (for example esd, xmms etc.)
|
|
239
|
|
240 8. unsupported codecs (AVI files):
|
|
241 We may add support for your movie, but we need the following things:
|
|
242 - the codec DLL file: find it in your WINDOWS directory. In the SYSTEM.INI
|
|
243 there will be a listing of the installed codecs (vids.<codecname>=DLLfile)
|
|
244 - a sample file encoded with that codec.
|
|
245
|
6
|
246 Contact information:
|
|
247 ~~~~~~~~~~~~~~~~~~~~
|
10
|
248 Homepage: http://mplayer.sourceforge.net
|
1
|
249
|
|
250 Mailing lists:
|
|
251 ~~~~~~~~~~~~~~
|
60
|
252 There are three public mailing lists on MPlayer. Subscribing can be achieved on
|
40
|
253 the following addresses:
|
1
|
254
|
|
255 - MPlayer-users
|
60
|
256 http://lists.sourceforge.net/lists/listinfo/mplayer-users
|
1
|
257 - MPlayer-announce
|
60
|
258 http://lists.sourceforge.net/lists/listinfo/mplayer-announce
|
|
259 - MPlayer-Matrox-users
|
|
260 http://lists.sourceforge.net/mailman/listinfo/mplayer-matrox
|
1
|
261
|
|
262 Standard Disclaimer:
|
|
263 ~~~~~~~~~~~~~~~~~~~~
|
|
264 Use only at your own risk! There may be errors and inaccuracies that could
|
|
265 be damaging to your system or your eye. Proceed with caution, and although
|
|
266 this is highly unlikely, I don't take any responsibility for that!
|