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 .)
|
|
28 try again... if fail, contact me
|
|
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
|
|
75 Q: What's XMMP? (it's 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)
|
749
|
136 Alternatively, try SDL's DGA driver with '-vo sdl -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
|
|
174 Q: I've downloaded an ASF with asfrecorder, but MPlayer can't play it !
|
522
|
175 A: asfrecorder, and the ASF format itself is a big crap.
|
|
176 Do not contact us, go to hell.
|
|
177
|
|
178 Q: Umm, what is "IdegCounter" ?
|
|
179 A: A mixture of a hungarian and an english word. In english, "Ideg" means
|
|
180 "nerve", and is pronounced as something like "ydaegh" . It was first used
|
|
181 to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance
|
|
182 of CVS code ;)
|
574
|
183
|
|
184 Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel.
|
|
185 A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out.
|
634
|
186
|
|
187 Q: LIRC doesn't work, because ...
|
|
188 A: Are you sure you use "mplayer_lirc" instead of "mplayer" ?
|
679
|
189
|
682
|
190 Q: MPlayer exits with something error when using l3codeca.acm
|
679
|
191 A: Check 'ldd /usr/local/bin/mplayer' output. If it contains
|
|
192 libc.so.6 => /lib/libc.so.6 (0x4???????)
|
|
193 where "?" is any number then it's ok, the error is not here. If it is:
|
682
|
194 libc.so.6 => /lib/libc.so.6 (0x00??????)
|
|
195 then there is problem with your kernel/libc. Maybe you are using some
|
|
196 security patches (for example Solar Designer's OpenWall patch) which
|
|
197 forces loading libraries to very low addresses.
|
|
198 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to
|
|
199 0x00400000, we can't change this. You should use non-patched kernel,
|
|
200 or use MPlayer's -afm 1 option to disable using l3codeca.acm.
|
699
|
201
|
|
202 Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3
|
|
203 sound too slow. When I use -nosound switch, everything is ok (but quiet).
|
749
|
204 A: Those files probably have 48Khz audio, and your soundcard/driver can't play
|
699
|
205 it correctly. Audio downsampling isn't implemented in MPlayer (yet).
|
794
|
206
|
|
207 Q: I'd like to use/port MPlayer on/to my <insert your favourite architecture
|
|
208 here> on <insert your favourite OS here> . Is it possible?
|
|
209 A: No.
|
|
210
|
|
211 Q: But...!
|
|
212 A: No.
|
|
213
|
|
214 Q: And if MPEG is sufficient?
|
|
215 A: Maybe. But you better look for already existant MPEG players on that
|
|
216 platform.
|
806
|
217
|
|
218 Q: MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video".
|
|
219 A: Try running MPlayer on the machine you compiled on. Or recompile. Don't
|
811
|
220 use MPlayer on different CPU than it was compiled on.
|
899
|
221
|
|
222 Q: I have problems with icewm and fullscreen xv mode..
|
|
223 A: Known problem, icewm sucks.
|
907
|
224
|
1051
|
225 Q: But it works with avifile !
|
|
226 A: So what?
|
|
227
|
|
228 Q: Then avifile is better !
|
|
229 A: Then use avifile, it has nice GUI and nice C++ code :)
|
|
230
|
925
|
231 Q: I got this playing mpeg files: Can't find codec for video format 0x10000001 !
|
|
232 A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from DOCS/
|
|
233
|
938
|
234 Q: After starting mplayer under KDE(1/2) I just get a black screen and nothing
|
|
235 happens, after about one minute the video starts playing.
|
|
236 A: The KDE arts sound daemon is blocking the sound device, either wait the time
|
|
237 until video starts or you disable the arts-daemon in kontrollcenter.
|
|
238
|
948
|
239 Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow
|
|
240 down the playing! I know it's unlikely...
|
|
241 A: After running ./configure , edit config.h and replace #undef FAST_OSD with
|
|
242 #define FAST_OSD . Then recompile.
|
1051
|
243
|
|
244 Q: The OSD is flickering!
|
|
245 A: You use a vo driver with single buffering (x11,xv). With xv you can change
|
|
246 the number of buffers in libvo/vo_xv.c :
|
|
247 Increase #define NUM_BUFFERS 1
|
1056
|
248
|
|
249 Q: What's the problem with gcc 2.96 ?
|
|
250 A: gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or
|
|
251 RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY
|
|
252 unsupported by MPlayer, because it simply SKIPS MMX codes, it just does not
|
|
253 compile it. Important: this is NOT an MPlayer-specific problem, numerous
|
|
254 other projects (DRI, avifile, etc..) have problems with this shit too.
|
|
255 ** DO NOT USE gcc 2.96 !!! **
|