522
|
1 MoviePlayer v0.12 "IdegCounter" (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)
|
|
2 =============================== * See the file AUTHORS for the complete list *
|
1
|
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
|
522
|
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 - MPlayer 0.12 "IdegCounter"
|
|
22 The release version of the 0.11 development code. Far too many enhancements
|
|
23 to fit here (A'rpi?). Try it, and be amazed.
|
1
|
24
|
|
25 As you see, I didn't write any codecs, just some players. But I spent
|
|
26 a lot of time finding the best way to parse bad damaged input files
|
|
27 (both mpg and avi) and to do perfect A-V sync with seeking ability.
|
|
28 My player is rock solid playing damaged mpeg files (useful for some VCDs),
|
|
29 and it plays bad AVI files which are unplayable with the famous
|
|
30 windows media player. Even AVI files without index chunk are playable!
|
|
31 As you see, stability and quality are the most important things for me,
|
|
32 speed has lower priority, but is still very important.
|
|
33
|
|
34 What about the GUI?
|
|
35 I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console.
|
|
36 So the player has only keyboard control from the controlling console/xterm now.
|
|
37 But there is a GUI development for the player, coordinated by Pontscho/Fresh!
|
|
38 It's still under development, but it will be merged and released soon.
|
|
39 BTW he needs some nice skins, if you are a good graphician, contact him!!!
|
|
40
|
|
41 Win32 codecs?
|
352
|
42 Yes, we are using Win32 (Video for Windows, DirectShow) codecs for AVI/ASF
|
|
43 decoding. They must be installed to the /usr/lib/win32/ directory, with all
|
|
44 lower case. You can grab the codecs package from our homepage, or can be found
|
389
|
45 in your C:\WINDOWS\SYSTEM\ dir, see codecs.conf for filenames.
|
1
|
46
|
|
47 Supported input formats:
|
|
48 ~~~~~~~~~~~~~~~~~~~~~~~~
|
|
49 - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file
|
|
50 - MPEG 1/2 System Stream (PS/VOB) and Elementary Stream (ES) file formats
|
|
51 - RIFF AVI file format
|
|
52 - ASF 1.0 file format
|
522
|
53 - (De)crypted VOB files from DVD (experimental!)
|
1
|
54
|
352
|
55 Supported audio & video codecs:
|
|
56 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
57 See DOCS/CODECS for complete list.
|
1
|
58
|
|
59 Supported video output devices:
|
|
60 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
96
|
61 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
|
|
62 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
|
1
|
63 (Xv emulation on X 3.3.x !)
|
352
|
64 - syncfb: Matrox G400 YUV support on framebuffer (not tested, maybe broken)
|
96
|
65 - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling)
|
352
|
66 - x11: X11 with SHM extension
|
96
|
67 - gl: OpenGL renderer, works only with Utah-GLX! (no DRI or nVidia drivers)
|
352
|
68 - dga: X11 DGA extension
|
|
69 - fsdga:X11 DGA extension with fullscreen scaling (only 24/32bpp and MPEG!)
|
|
70 - sdl: SDL >= v1.1.7 driver (supports software scaling, and versions >=1.1.8
|
|
71 even support Xvideo, thus hardware rendering)
|
|
72 (NOT supported by us! Don't submit SDL bugreports!)
|
|
73 - fbdev:Output to general framebuffers
|
|
74 - svga: Output to SVGAlib
|
|
75 - null: Null output (for speed tests/benchmarking)
|
96
|
76 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)
|
352
|
77 - odivx:OpenDivX AVI File writer
|
96
|
78 - pgm: PGM file output (for testing purposes)
|
|
79 - md5: MD5sum output (for mpeg conformance tests)
|
|
80
|
281
|
81 NOTE: check DOCS/VIDEOCARDS !
|
1
|
82
|
|
83 Supported audio output devices:
|
|
84 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
85 - OSS driver
|
281
|
86 - ALSA driver with OSS emulation (NOT recommended, causes annoying delays)
|
522
|
87 - ESD with the esddsp utility (not tested, not recommended, see ALSA)
|
1
|
88
|
96
|
89 NOTE: check DOCS/SOUNDCARDS !
|
|
90
|
1
|
91 Speed:
|
|
92 ~~~~~~
|
|
93 Most of time-critical parts are optimized for MMX/SSE/3DNow!.
|
|
94 You can improve rendering speed by setting up MTRR registers, see doc in MTRR.
|
|
95 Some benchmark results can be found in the doc file SPEED.
|
|
96
|
|
97 Usage:
|
|
98 ~~~~~~
|
|
99 mplayer [options] [-vo driver] [path/]filename
|
|
100
|
|
101 Options:
|
|
102 see mplayer -h for options
|
|
103 see mplayer -vo help for available output drivers
|
|
104
|
|
105 Keys:
|
|
106 <- or -> seek backward/forward 10 seconds
|
|
107 up or down seek backward/forward 1 minute
|
|
108 p or SPACE pause movie (press any key to continue)
|
|
109 q or ^C stop playing and quit program
|
522
|
110 o toggle OSD : none / seek / seek+timer
|
|
111 / and * decrease/increase volume
|
|
112 m toggle using master/pcm channel for volume setting
|
1
|
113
|
|
114 Examples:
|
|
115 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
|
116 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
|
117 mplayer -vcd 2 /dev/cdrom
|
522
|
118 mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob
|
1
|
119 mplayer -alsa -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
|
|
120
|
522
|
121 Note: in order to use Matrox YUV driver (-vo mga or xmga), first you'll have
|
|
122 to load the driver: insmod drivers/mga_vid.o , or to make it automatic
|
|
123 insert the following line at the end of /etc/modules.conf:
|
|
124 alias char-major-178 mga_vid
|
|
125 and run 'depmod -a' .
|
1
|
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
|
40
|
154 via E-Mail to the MPlayer-users list : mplayer-users@lists.sourceforge.net
|
1
|
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
|
522
|
194 - output of make
|
1
|
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:
|
281
|
217 - you don't use OpenGL driver while have software-only opengl (Utah-GLX
|
|
218 disabled, or not yet installed, conflicting libs installed, or your
|
|
219 hardware not supported etc...)
|
1
|
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/).
|
281
|
223 Check DOCS/MTRR !
|
1
|
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.
|
522
|
229 - try MPlayer with the -noalsa option
|
|
230 - compile MPlayer with --disable-select
|
1
|
231 - delayed audio with some AVI files: try with -bps or -nobps option!
|
|
232 - if you experienced delayed audio, try to compensate with -delay or -abs.
|
|
233 you can specify audio card's buffer size in bytes with -abs option, or
|
|
234 specify audio delay in seconds (positive/negative float) with -delay
|
|
235 for example: mplayer -alsa -delay -0.75 test.avi
|
|
236 mplayer -abs 65536 -delay 0.3 test.mpg
|
|
237 - to play AVI files with VBR MP3 audio use the -mc 0 option!
|
|
238 - no sound at all: check that you have working OSS driver (/dev/dsp),
|
|
239 and it isn't used by another program (for example esd, xmms etc.)
|
281
|
240 - use OSS. If the problem persists, use ALSA ;)
|
1
|
241
|
|
242 8. unsupported codecs (AVI files):
|
281
|
243 Check DOCS/CODECS
|
1
|
244
|
6
|
245 Contact information:
|
|
246 ~~~~~~~~~~~~~~~~~~~~
|
10
|
247 Homepage: http://mplayer.sourceforge.net
|
1
|
248
|
|
249 Mailing lists:
|
|
250 ~~~~~~~~~~~~~~
|
107
|
251 There are some public mailing lists on MPlayer. Subscribing can be achieved on
|
40
|
252 the following addresses:
|
1
|
253
|
107
|
254 - MPlayer users list: (send your ideas, bugreports, feature requests here)
|
60
|
255 http://lists.sourceforge.net/lists/listinfo/mplayer-users
|
107
|
256
|
|
257 - MPlayer announce: (information about new releases or big changes in CVS)
|
60
|
258 http://lists.sourceforge.net/lists/listinfo/mplayer-announce
|
107
|
259
|
|
260 - MPlayer & Matrox G200/G400/G450 users: (about TV-out, mga_vid, syncfb, Xv)
|
|
261 http://lists.sourceforge.net/lists/listinfo/mplayer-matrox
|
|
262
|
522
|
263 - MPlayer CVS-log: (announce about _every_ CVS commit)
|
107
|
264 http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
|
1
|
265
|
|
266 Standard Disclaimer:
|
|
267 ~~~~~~~~~~~~~~~~~~~~
|
522
|
268 Use only at your own risk! There may be errors and inaccuracies that could
|
|
269 damage your system or your eye. Proceed with caution, and although this is
|
|
270 highly unlikely, we don't take any responsibility for that!
|