1
|
1 Yes, this is the MPlayer FAQ.
|
|
2 =============================
|
|
3
|
|
4 About:
|
|
5 ~~~~~~
|
|
6 Many people asked same questions so I decided to write this stuff.
|
|
7 I know that people will never read this but at least i try to
|
|
8 pull down number of these mails.
|
|
9 And from now i can say that "read the fuckin' FAQ!" :-)
|
|
10
|
|
11 Let's ask!
|
|
12 ~~~~~~~~~~
|
507
|
13 Q: What about DVD playback?
|
|
14 A: Read files 'DVD' and 'DVD-FAQ'.
|
|
15
|
1
|
16 Q: SDL output doesn't work or compile. Problem is ....
|
749
|
17 A: It is tested with newest SDL (probably runs on 1.1.7+).
|
1
|
18 It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask.
|
|
19
|
|
20 Q: I am still having trouble compiling with SDL support. gcc says something
|
|
21 about "undefined reference to `SDL_EnableKeyRepeat'" What's now?
|
|
22 A: Where did you install the SDL library? If you installed in /usr/local
|
|
23 (the default) then edit the top level config.mak and add
|
|
24 "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done!
|
|
25
|
|
26 Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things...
|
|
27 A: copy DOCS/inttypes.h to MPlayer directory (cp DOCS/inttypes.h .)
|
1201
|
28 try again... if fail, contact us
|
1
|
29
|
|
30 Q: I have Pentium III but ./configure doesn't detect SSE
|
749
|
31 A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but
|
|
32 be prepared for problems)
|
1
|
33
|
522
|
34 Q: -xy option doesn't work with x11 driver (-vo x11)
|
281
|
35 A: x11 driver doesn't support scaling, but XF86VidMode support is now
|
|
36 used: you must specify the -vm and the -fs switch, and you're done.
|
|
37 Make sure you have the right Modelines in your XF86Config file, and
|
675
|
38 try if the DGA driver (and SDL's DGA driver, see VIDEOCARDS) works for you.
|
749
|
39 It's much faster. If SDL's DGA works too, use that, it'll be EVEN
|
|
40 faster!
|
1
|
41
|
|
42 Q: audio goes out of sync playing .avi file
|
|
43 A: try with -bps or -nobps option
|
|
44 if still bad, send me (upload to ftp) that file, I'll check.
|
|
45
|
|
46 Q: what is the meaning of numbers in the status line?
|
|
47 A: see:
|
|
48 A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0
|
|
49 - A: audio position in seconds
|
|
50 - V: video position in seconds
|
|
51 - A-V: audio-video difference in seconds (delay)
|
|
52 - ct: total A-V sync correction done
|
|
53 - frames played (counting from last seek)
|
|
54 - video codec cpu usage in percent (for mpeg it includes video_out too!)
|
|
55 - video_out cpu usage for avi, 0 for mpg (see above)
|
|
56 - audio codec cpu usage in percent
|
928
|
57 - frames needed to drop to maintain A-V sync
|
1
|
58 Most of them are for debug purposes, and will be removed soon.
|
|
59
|
|
60 Q: Why is video_out cpu usage zero (0%) for mpeg files?
|
|
61 A: It's not zero, but it's built in into codec, so can't be measured separated.
|
|
62 You should try to play the file using -vo null and then -vo ... and check
|
|
63 the difference to see video_out speed...
|
|
64
|
749
|
65 Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...)
|
936
|
66 A: your opengl driver doesn't support dynamic texture changes (glTexSubImage)
|
|
67 it's known not to work with nVidia's binary shit.
|
|
68 it's known to work with Utah-GLX/DRI and Matrox G400 card. Also with
|
|
69 DRI and Radeon card. It won't work with DRI others than these.
|
1
|
70 it will not work with 3DFX cards because the 256x256 texture size limit.
|
|
71
|
6
|
72 Q: I have G200/G400, how to compile/use mga_vid driver?
|
145
|
73 A: read VIDEOCARDS, INSTALL, README
|
1
|
74
|
1192
|
75 Q: What's XMMP? (is it XMMS or XMPS but mispelled?)
|
6
|
76 A: It's a new project, see http://frozenproductions.com for details
|
1
|
77
|
|
78 Q: There are error messages about file not found /usr/lib/win32/....
|
|
79 A: Download & install w32codec.zip from *our* FTP
|
|
80 (avifile's codec package has different DLL set)
|
|
81
|
|
82 Q: ...... works with avifile/aviplay while doesn't with MPlayer
|
|
83 A: MPlayer != avifile
|
|
84 The only common thing between these players is the Win32 DLL loader.
|
|
85 The codecs (dll) sets, syncronization, demultiplexing etc is totaly
|
|
86 different and shouldn't be compared.
|
|
87 If something works with aviplay it doesn't mean that MPlayer should do
|
928
|
88 it and vice versa.
|
1
|
89
|
|
90 Q: Indeo 3.x/4.x movies are viewed upside-down!!!?
|
|
91 A: It's a known bug (really it's a bug/limitation of the DLL codec)
|
811
|
92 Try if your vo driver supports the -flip switch.
|
1
|
93
|
|
94 Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok)
|
|
95 A: It's a known bug (really it's a bug/limitation of the DLL codec)
|
|
96
|
|
97 Q: I've got 'MPlayer interrupted by signal 11' in module audio_setup or
|
|
98 decode_audio.
|
749
|
99 A: This is highly unlikely, since the mp3lib rewrite. Contact us, it may be
|
|
100 a bug. Possibly it's a damaged file, try with -afm 4 .
|
1
|
101
|
|
102 Q: Are there rpm/deb/... packages of MPlayer?
|
281
|
103 A: You can make a .deb package for yourself, check DOCS/DEBIAN .
|
764
|
104 It's _STRONGLY_ discouraged to use precompiled packages
|
749
|
105 of MPlayer, since it (currently) _highly_ depends on compile-time
|
|
106 options and optimizations!
|
809
|
107 Precompiled packages are COMPLETELY unsupported by the MPlayer team!
|
1
|
108
|
|
109 Q: Are there any mailing lists on MPlayer?
|
|
110 A: Yes! See README on how to subscribe them!
|
|
111
|
|
112 Q: I've found a nasty bug when I tried to play my favourite video!!
|
|
113 Who should I inform?
|
764
|
114 A: See DOCS/BUGREPORTS
|
1
|
115
|
6
|
116 Q: During 'make', MPlayer complains about X11 libraries. I don't understand,
|
|
117 I DO have X installed!?
|
232
|
118 A: ...but you don't have the X development package installed. Or not
|
|
119 correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under
|
|
120 Debian. Also check if the /usr/X11 symlink exists (this can be a problem on
|
|
121 Mandrake systems). It can be created with the
|
|
122 $ ln -sf /usr/X11R6 /usr/X11
|
|
123 command. Also check the /usr/include/X11 link :
|
|
124 $ ln -sf /usr/X11R6/include/X11 /usr/include/X11
|
|
125 Your distribution may differ from the Linux Filesystem Standard.
|
35
|
126
|
46
|
127 Q: I have problems playing files with ... codec. Can I use'em?
|
745
|
128 A: Check http://mplayer.sourceforge.net/DOCS/codecs.html,
|
749
|
129 if it doesn't contain your codec, read
|
|
130 http://mplayer.sourceforge.net/DOCS/CODECS, and contact us.
|
51
|
131
|
|
132 Q: What about DGA driver? I can't find it!!!
|
74
|
133 A: ./configure autodetects your DGA driver. If -vo help doesn't show
|
|
134 DGA, then there's a problem with your X installation.
|
145
|
135 Try ./configure --enable-dga (and read VIDEOCARDS)
|
1208
|
136 Alternatively, try SDL's DGA driver with '-vo sdl:dga' options.
|
66
|
137
|
|
138 Q: Ok, -vo help shows DGA driver, but it is babbling about permissions!
|
|
139 Help me!
|
239
|
140 A: It works only if running as root! It's a DGA limitation.
|
|
141 You should become to root (su -), and try again.
|
|
142
|
|
143 Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
|
|
144 'chown root /usr/local/bin/mplayer'
|
|
145 'chmod 750 /usr/local/bin/mplayer'
|
|
146 'chmod +s /usr/local/bin/mplayer'
|
115
|
147 !!!! BUT STAY TUNED !!!!
|
505
|
148 This is a *BIG* security risk! *NEVER* do this on a server or on a computer
|
115
|
149 can be accessed by more people than only you because they can gain root
|
505
|
150 privilegies through suid root mplayer!!!
|
115
|
151 !!!! SO YOU HAVE BEEN WARNED ... !!!!
|
67
|
152
|
|
153 Q: The fsdga driver doesn't work with my xyz.avi file. Why is that?
|
|
154 A: Because it only works with MPEG. (yet)
|
222
|
155
|
|
156 Q: When using Xvideo, my Voodoo 3/Banshee says:
|
|
157 X Error of failed request: BadAccess (attempt to access private resource
|
|
158 denied)
|
|
159 Major opcode of failed request: 147 (MIT-SHM)
|
|
160 Minor opcode of failed request: 1 (X_ShmAttach)
|
|
161 Serial number of failed request: 26
|
|
162 Current serial number in output stream:27
|
830
|
163 A: Your driver is old, update it. Either download (at least) DRI version 0.6
|
|
164 from http://dri.sourceforge.net , or use the DRI cvs.
|
222
|
165
|
|
166 Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee !
|
|
167 It says:
|
|
168 ...
|
|
169 Xvideo image format: 0x32315659 (YV12) planar
|
|
170 Xvideo image format: 0x30323449 (I420) planar
|
|
171 ...
|
830
|
172 A: See the previous answer.
|
505
|
173
|
522
|
174 Q: Umm, what is "IdegCounter" ?
|
|
175 A: A mixture of a hungarian and an english word. In english, "Ideg" means
|
|
176 "nerve", and is pronounced as something like "ydaegh" . It was first used
|
|
177 to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance
|
|
178 of CVS code ;)
|
574
|
179
|
|
180 Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel.
|
|
181 A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out.
|
634
|
182
|
|
183 Q: LIRC doesn't work, because ...
|
|
184 A: Are you sure you use "mplayer_lirc" instead of "mplayer" ?
|
679
|
185
|
682
|
186 Q: MPlayer exits with something error when using l3codeca.acm
|
679
|
187 A: Check 'ldd /usr/local/bin/mplayer' output. If it contains
|
|
188 libc.so.6 => /lib/libc.so.6 (0x4???????)
|
|
189 where "?" is any number then it's ok, the error is not here. If it is:
|
682
|
190 libc.so.6 => /lib/libc.so.6 (0x00??????)
|
|
191 then there is problem with your kernel/libc. Maybe you are using some
|
|
192 security patches (for example Solar Designer's OpenWall patch) which
|
|
193 forces loading libraries to very low addresses.
|
|
194 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to
|
|
195 0x00400000, we can't change this. You should use non-patched kernel,
|
|
196 or use MPlayer's -afm 1 option to disable using l3codeca.acm.
|
699
|
197
|
|
198 Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3
|
|
199 sound too slow. When I use -nosound switch, everything is ok (but quiet).
|
749
|
200 A: Those files probably have 48Khz audio, and your soundcard/driver can't play
|
699
|
201 it correctly. Audio downsampling isn't implemented in MPlayer (yet).
|
794
|
202
|
806
|
203 Q: MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video".
|
|
204 A: Try running MPlayer on the machine you compiled on. Or recompile. Don't
|
811
|
205 use MPlayer on different CPU than it was compiled on.
|
899
|
206
|
1251
|
207 Q: I have problems with <your window manager> and fullscreen xv/xmga/sdl/x11
|
|
208 modes..
|
|
209 A: Yes, it's a bug. But not only our bug. We couldn't yet develop any
|
|
210 windowmanager-independent method to make window really fullscreen.
|
|
211 There was some version, but there are always users with problems.
|
|
212 I think the only solution is adding a new switch, for example -fsmode
|
|
213 to select which method should be used.
|
|
214 Unfortunately most common window managers aren't compatible with standards
|
|
215 or Motif wm. So standard ways to enable fullscreen doesn't work with them.
|
|
216 And non-standard modes not work for standard-compliant wm's.
|
1169
|
217
|
|
218 Q: But it works with avifile !
|
|
219 A: So what?
|
|
220
|
|
221 Q: Then avifile is better !
|
|
222 A: Then use avifile, it has nice GUI and nice C++ code :)
|
|
223
|
925
|
224 Q: I got this playing mpeg files: Can't find codec for video format 0x10000001 !
|
|
225 A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from DOCS/
|
|
226
|
938
|
227 Q: After starting mplayer under KDE(1/2) I just get a black screen and nothing
|
|
228 happens, after about one minute the video starts playing.
|
|
229 A: The KDE arts sound daemon is blocking the sound device, either wait the time
|
|
230 until video starts or you disable the arts-daemon in kontrollcenter.
|
|
231
|
948
|
232 Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow
|
|
233 down the playing! I know it's unlikely...
|
|
234 A: After running ./configure , edit config.h and replace #undef FAST_OSD with
|
|
235 #define FAST_OSD . Then recompile.
|
1051
|
236
|
|
237 Q: The OSD is flickering!
|
|
238 A: You use a vo driver with single buffering (x11,xv). With xv you can change
|
|
239 the number of buffers in libvo/vo_xv.c :
|
|
240 Increase #define NUM_BUFFERS 1
|
1056
|
241
|
|
242 Q: What's the problem with gcc 2.96 ?
|
|
243 A: gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or
|
|
244 RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY
|
|
245 unsupported by MPlayer, because it simply SKIPS MMX codes, it just does not
|
|
246 compile it. Important: this is NOT an MPlayer-specific problem, numerous
|
|
247 other projects (DRI, avifile, etc..) have problems with this shit too.
|
|
248 ** DO NOT USE gcc 2.96 !!! **
|
1171
|
249
|
|
250 Q: Is there a hint on how to watch QuickTime and RealMedia movies in mplayer?
|
|
251 A: There's no way to do it. Therefore these formats deserve to die in flames.
|
|
252 Theoretically you can reverse engineer Real codecs built for Linux (they
|
|
253 are available as .so files), but in practice that's really difficult, even
|
|
254 if you know how the compiler used by Real is making assembler code.
|
|
255 As for QuickTime, it's possible to play some old movies and this
|
|
256 capability will be added to mplayer soon, but newer clips are all Sorenson
|
|
257 encoded, and that codec is built-in deep in the QT executable, there's
|
|
258 no way to use it.
|
1174
|
259
|
|
260 Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colours,
|
|
261 right under the movie! Whose fault is this?
|
|
262 A: It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards,
|
|
263 and we can't do anything about it, it's not our bug.
|