733
|
1 MPlayer (CVS version) (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.
|
707
|
14 And what about the nice big antialiased shaded subtitles (.sub files) with
|
|
15 hungarian, english, cyrillic, czech, korean fonts, and OSD?
|
540
|
16
|
|
17 History:
|
|
18 ~~~~~~~~
|
1
|
19 Yes. Yet another movie player for linux.
|
|
20 What is the special with this? It works, at least for me :)
|
|
21 I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN,
|
|
22 xine,xanim,avifile,xmmp) but they all have some problem. Mostly with
|
|
23 special files or with audio/video sync. Most of them is unable to play
|
|
24 both mpeg1, mpeg2 and avi (DivX) files. Many players have image quality
|
|
25 or speed problems too. So I've decided to write/modify one...
|
|
26
|
540
|
27 - mpg12play v0.1-v0.3:
|
|
28 The first try, hacked together in a half hour!
|
|
29 I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3,
|
|
30 but there were image quality and speed problems with it.
|
|
31 - mpg12play v0.5-v0.87:
|
|
32 Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff,
|
|
33 but it was slow and was written in C++ (I hate C++!!!)
|
|
34 - mpg12play v0.9-v0.95pre5:
|
|
35 Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse.
|
|
36 It's great, optimized very fast C code with perfect image quality and
|
|
37 100% mpeg standard conformance.
|
|
38 - MPlayer v0.3-v0.9:
|
|
39 It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
|
|
40 player 'avip' based on avifile's Win32 DLL loader.
|
|
41 - MPlayer v0.10:
|
|
42 The mpeg and avi player in a single binary!
|
|
43 - MPlayer v0.11:
|
|
44 Added .asf file support, and OpenDivX (see www.projectmayo.com) en/decoding.
|
|
45 - MPlayer v0.17 "The IdegCounter"
|
|
46 The release version of the 0.11pre after 4 months of heavy development!
|
|
47 Try it, and be amazed! Thousands of new features added... and of course
|
|
48 old code was improved too, bugs removed etc.
|
1
|
49
|
|
50 As you see, I didn't write any codecs, just some players. But I spent
|
|
51 a lot of time finding the best way to parse bad damaged input files
|
|
52 (both mpg and avi) and to do perfect A-V sync with seeking ability.
|
|
53 My player is rock solid playing damaged mpeg files (useful for some VCDs),
|
|
54 and it plays bad AVI files which are unplayable with the famous
|
|
55 windows media player. Even AVI files without index chunk are playable!
|
|
56 As you see, stability and quality are the most important things for me,
|
|
57 speed has lower priority, but is still very important.
|
|
58
|
|
59 What about the GUI?
|
540
|
60 ~~~~~~~~~~~~~~~~~~~
|
1
|
61 I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console.
|
|
62 So the player has only keyboard control from the controlling console/xterm now.
|
|
63 But there is a GUI development for the player, coordinated by Pontscho/Fresh!
|
|
64 It's still under development, but it will be merged and released soon.
|
|
65 BTW he needs some nice skins, if you are a good graphician, contact him!!!
|
|
66
|
|
67 Supported input formats:
|
|
68 ~~~~~~~~~~~~~~~~~~~~~~~~
|
|
69 - VCD (Video CD) directly from CD-ROM or from CDRwin's .bin image file
|
540
|
70 - DVD, directly from your DVD disk, using optional libcss for decryption
|
|
71 - MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file formats
|
1
|
72 - RIFF AVI file format
|
|
73 - ASF 1.0 file format
|
693
|
74 - supports reading from file or stdin
|
1
|
75
|
352
|
76 Supported audio & video codecs:
|
|
77 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
745
|
78 *** See http://mplayer.sourceforge.net/DOCS/codecs.html ***
|
|
79 *** for the complete list ***
|
540
|
80
|
|
81 The most important video codecs:
|
|
82 - mpeg1 (VCD) and mpeg2 (DVD) video
|
|
83 - DivX, OpenDivX and other MPEG4 variants
|
|
84 - Windows Media Video 7 (WMV1) used in .wmv files
|
|
85 - Intel Indeo codecs (3.1,3.2,4.1,5.0)
|
|
86 - MJPEG, ASV2 and other hardware formats
|
|
87
|
|
88 The most important audio codecs:
|
|
89 - mpeg layer 2, and layer 3 (MP3) audio
|
|
90 - AC3 dolby audio
|
670
|
91 - Voxware audio
|
540
|
92 - alaw, msgsm, pcm and other simple old audio formats
|
1
|
93
|
744
|
94 If you have a codec not listed here, and not supported yet, just
|
745
|
95 read DOCS/CODECS to get info about its status or about
|
744
|
96 how to help us adding support for it!
|
670
|
97
|
1
|
98 Supported video output devices:
|
|
99 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
540
|
100 General:
|
|
101 - x11: X11 with SHM extension
|
|
102 - xv: X11 using overlays with the Xvideo extension (hardware YUV & scaling)
|
|
103 - gl: OpenGL renderer, works only with Utah-GLX! (no DRI or nVidia drivers)
|
|
104 - dga: X11 DGA extension
|
|
105 - fsdga:X11 DGA extension with fullscreen scaling (only 24/32bpp and MPEG!)
|
|
106 - fbdev:Output to general framebuffers
|
|
107 - svga: Output to SVGAlib
|
|
108 - sdl: SDL >= v1.1.7 driver (supports software scaling, and versions >=1.1.8
|
670
|
109 even support Xvideo (thus hardware rendering) and with >=1.2.0 aalib)
|
540
|
110
|
|
111 Card specific:
|
96
|
112 - mga: Matrox G200/G400 hardware YUV overlay via the mga_vid device
|
|
113 - xmga: Matrox G200/G400 overlay (mga_vid) in X11 window
|
1
|
114 (Xv emulation on X 3.3.x !)
|
670
|
115 - syncfb: Matrox G400 YUV support on framebuffer (obsoloted, use mga/xmga)
|
540
|
116 - 3dfx: Voodoo2/3 hardware YUV (/dev/3dfx) support (not yet tested, maybe broken)
|
|
117
|
|
118 Special:
|
|
119 - png: PNG files output (use -z switch to set compression)
|
670
|
120 - pgm: PGM files output (for testing purposes or ffmpeg encoding)
|
540
|
121 - md5: MD5sum output (for mpeg conformance tests)
|
|
122 - odivx:OpenDivX AVI File writer (use -br to set encoding bitrate)
|
352
|
123 - null: Null output (for speed tests/benchmarking)
|
96
|
124
|
281
|
125 NOTE: check DOCS/VIDEOCARDS !
|
1
|
126
|
|
127 Supported audio output devices:
|
|
128 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
129 - OSS driver
|
281
|
130 - ALSA driver with OSS emulation (NOT recommended, causes annoying delays)
|
522
|
131 - ESD with the esddsp utility (not tested, not recommended, see ALSA)
|
1
|
132
|
540
|
133 NOTE: check DOCS/SOUNDCARDS for details!
|
96
|
134
|
1
|
135 Speed:
|
|
136 ~~~~~~
|
540
|
137 Most of time-critical parts are optimized for MMX/MMXext/SSE/3DNow!.
|
1
|
138 You can improve rendering speed by setting up MTRR registers, see doc in MTRR.
|
540
|
139 Some *old* benchmark results can be found in the doc file SPEED.
|
1
|
140
|
|
141 Usage:
|
|
142 ~~~~~~
|
|
143 mplayer [options] [-vo driver] [path/]filename
|
|
144
|
|
145 Options:
|
540
|
146 see `mplayer -h' for options
|
|
147 see `mplayer -vo help' for list of available output drivers
|
1
|
148
|
|
149 Keys:
|
|
150 <- or -> seek backward/forward 10 seconds
|
|
151 up or down seek backward/forward 1 minute
|
|
152 p or SPACE pause movie (press any key to continue)
|
|
153 q or ^C stop playing and quit program
|
522
|
154 o toggle OSD : none / seek / seek+timer
|
|
155 / and * decrease/increase volume
|
|
156 m toggle using master/pcm channel for volume setting
|
670
|
157 f toggle fullscreen (only with -vo sdl)
|
1
|
158
|
|
159 Examples:
|
|
160 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
670
|
161 mplayer -vcd 2 /dev/cdrom
|
1
|
162 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
522
|
163 mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob
|
1
|
164 mplayer -alsa -abs 65536 -delay -0.4 -nobps ~/movies/test.avi
|
|
165
|
522
|
166 Note: in order to use Matrox YUV driver (-vo mga or xmga), first you'll have
|
|
167 to load the driver: insmod drivers/mga_vid.o , or to make it automatic
|
|
168 insert the following line at the end of /etc/modules.conf:
|
|
169 alias char-major-178 mga_vid
|
|
170 and run 'depmod -a' .
|
1
|
171
|
693
|
172 Playing from stdin:
|
|
173 ~~~~~~~~~~~~~~~~~~~
|
|
174 Now it's possible.
|
|
175
|
|
176 To play something by reading from stdin, just use '-' as filename:
|
|
177
|
|
178 cat test.mpg | mplayer -vo xv -
|
|
179
|
|
180 Restrictions:
|
|
181 mpg: no backward seeking
|
|
182 asf: no backward seeking
|
|
183 avi: no index reading -> no seeking at all, and playing of some files are
|
|
184 +impossible
|
|
185
|
|
186 No control from controlling terminal/xterm, but hotkeys and osd works
|
|
187 from the window. or course LIRC still works everywhere.
|
|
188
|
|
189 This feature combined with external wrappers extends possibilities.
|
|
190 For example, to play a movie just downloaded from your favourite divx
|
|
191 server:
|
|
192 rar p ast-nssvcd.rar | mplayer -vo xmga -fs -
|
|
193
|
|
194 With an asf grabber or http dump program you can play from the net.
|
694
|
195 wget ftp://micorsops.com/something.avi -O - | mplayer -
|
|
196
|
693
|
197 (however we planned to add direct asf/http/ftp inputs with seeking and other
|
|
198 stuff, but for now it's a good workaround)
|
|
199
|
1
|
200 TV output:
|
|
201 ~~~~~~~~~~
|
670
|
202 If you have a Matrox G400 Dual-Head card, you can watch movies on TV, using
|
|
203 the TV-out feature of the second head. Read DOCS/TVout-G400 for details!
|
1
|
204
|
670
|
205 Sending bugreports, comments, feature requests etc:
|
|
206 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
207 First please read all the docs in this package, most of the problems are
|
|
208 described somewhere. At least read DOCS/BUGS ! We don't like answering
|
|
209 questions which are already answered in this readme or other docs.
|
1
|
210
|
674
|
211 Read the DOCS/MPlayer-FAQ. Most common problems are answered there!
|
1
|
212
|
670
|
213 You should try the latest development version (from CVS) too, maybe your
|
|
214 bug is already fixed, but the new version hasn't been released.
|
|
215 If you couldn't solve the problem, then send a quality bugreport:
|
|
216 read DOCS/BUGREPORTS for instructions (where, what and how...)
|
1
|
217
|
670
|
218 Subscribe to the mplayer-users mailing list. There are many MPlayer
|
|
219 users, maybe they can help or know the solution to your problem.
|
|
220 You also should send ideas, feature requests, comments to there!
|
|
221 Please do not ask for features already listed in the DOCS/TODO!
|
1
|
222
|
6
|
223 Contact information:
|
|
224 ~~~~~~~~~~~~~~~~~~~~
|
10
|
225 Homepage: http://mplayer.sourceforge.net
|
1
|
226
|
|
227 Mailing lists:
|
|
228 ~~~~~~~~~~~~~~
|
107
|
229 There are some public mailing lists on MPlayer. Subscribing can be achieved on
|
40
|
230 the following addresses:
|
1
|
231
|
107
|
232 - MPlayer users list: (send your ideas, bugreports, feature requests here)
|
60
|
233 http://lists.sourceforge.net/lists/listinfo/mplayer-users
|
107
|
234
|
670
|
235 - MPlayer & Matrox G200/G400/G450 users: (about TV-out, mga_vid, syncfb, Xv)
|
|
236 http://lists.sourceforge.net/lists/listinfo/mplayer-matrox
|
|
237
|
|
238 - MPlayer developers list: (send your patches here)
|
|
239 http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
|
|
240
|
107
|
241 - MPlayer announce: (information about new releases or big changes in CVS)
|
60
|
242 http://lists.sourceforge.net/lists/listinfo/mplayer-announce
|
107
|
243
|
522
|
244 - MPlayer CVS-log: (announce about _every_ CVS commit)
|
107
|
245 http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
|
1
|
246
|
670
|
247 NOTE: language of above lists are ENGLISH. Please do not send there
|
|
248 messages using other language!
|
|
249
|
|
250 License:
|
|
251 ~~~~~~~~
|
|
252 Since MPlayer incorporates a lot of code from other projects, this isn't
|
|
253 decided yet. We're going for GPL (will be pretty hard, though).
|
|
254
|
1
|
255 Standard Disclaimer:
|
|
256 ~~~~~~~~~~~~~~~~~~~~
|
522
|
257 Use only at your own risk! There may be errors and inaccuracies that could
|
|
258 damage your system or your eye. Proceed with caution, and although this is
|
|
259 highly unlikely, we don't take any responsibility for that!
|