Mercurial > mplayer.hg
comparison DOCS/faq.html @ 1682:dba45a1aafad
*** empty log message ***
author | gabucino |
---|---|
date | Fri, 24 Aug 2001 18:48:13 +0000 |
parents | a5cb1b1d47a8 |
children | 390bbb52e371 |
comparison
equal
deleted
inserted
replaced
1681:445ea1ce4180 | 1682:dba45a1aafad |
---|---|
1 <HTML> | 1 <HTML> |
2 | |
3 <BODY> | 2 <BODY> |
4 | 3 |
5 <PRE> | 4 <P><B><A NAME=5>5. FAQ section</A></B></P> |
6 | 5 |
7 <A NAME=5>5. FAQ section</A> | 6 <TABLE BORDER=0 WIDTH=100% ALIGN=left> |
8 | 7 |
9 | 8 <TD COLSPAN=3><P><B><A NAME=5.1>5.1 Compilation</A></B></P> |
10 <A NAME=5.1>5.1. Compilation</A> | 9 </TD><TR><TD COLSPAN=3> </TD><TR> |
11 | 10 |
12 <B>Q: What's the problem with gcc 2.96 ? | 11 <TD> </TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
13 </B>A: gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or | 12 What's the problem with gcc 2.96 ? |
14 RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY | 13 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
15 unsupported by <B>MPlayer</B>, because it simply SKIPS MMX codes, it just does | 14 gcc 2.96 is RedHat's UNOFFICIAL (it can be found only on RedHat sites, or |
16 not compile it. Important: this is NOT an <B>MPlayer</B>-specific problem, | 15 RedHat distributions) and BUGGY gcc release. gcc 2.96 is TOTALLY |
17 numerous other projects (DRI, avifile, etc..) have problems with this shit | 16 unsupported by <B>MPlayer</B>, because it simply SKIPS MMX codes, it just does |
18 too. | 17 not compile it. Important: this is NOT an <B>MPlayer</B>-specific problem, |
19 ** DO NOT USE gcc 2.96 !!! ** | 18 numerous other projects (DRI, avifile, etc..) have problems with this shit |
20 | 19 too.<BR>** DO NOT USE gcc 2.96 !!! ** |
21 <B>Q: Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--! | 20 </TD><TR><TD COLSPAN=3> </TD><TR> |
22 </B>A: No :) Their gcc 3.0.1 was compiled with gcc 2.96, so they are | 21 |
23 buggy shit too. | 22 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
24 | 23 Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--! |
25 <B>Q: Now then. What should I use? | 24 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
26 </B>A: Any of gcc 2.95 series. | 25 No :) Their gcc 3.0.1 was compiled with gcc 2.96, so they are |
27 | 26 buggy shit too. |
28 <B>Q: SDL output doesn't work or compile. Problem is .... | 27 </TD><TR><TD COLSPAN=3> </TD><TR> |
29 </B>A: It is tested with newest SDL (probably runs on 1.1.7+). | 28 |
30 It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask. | 29 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
31 | 30 Now then. What should I use? |
32 <B>Q: I am still having trouble compiling with SDL support. gcc says something | 31 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
33 about "undefined reference to `SDL_EnableKeyRepeat'" What's now? | 32 Any of gcc 2.95 series. |
34 </B>A: Where did you install the SDL library? If you installed in /usr/local | 33 </TD><TR><TD COLSPAN=3> </TD><TR> |
35 (the default) then edit the top level config.mak and add | 34 |
36 "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done! | 35 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
37 | 36 SDL output doesn't work or compile. Problem is .... |
38 <B>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things... | 37 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
39 </B>A: copy etc/inttypes.h to <B>MPlayer</B> directory (cp etc/inttypes.h .) | 38 It is tested with newest SDL (probably runs on 1.1.7+). |
40 try again... if fail, contact us | 39 It does NOT work with 1.1.6, 1.1.5 1.1.4 1.1.3 1.0.4 etc, don't ask. |
41 | 40 </TD><TR><TD COLSPAN=3> </TD><TR> |
42 <B>Q: I have Pentium III but ./configure doesn't detect SSE | 41 |
43 </B>A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but | 42 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
44 be prepared for problems) | 43 I am still having trouble compiling with SDL support. gcc says something |
45 | 44 about "undefined reference to `SDL_EnableKeyRepeat'" What's now? |
46 <B>Q: I have G200/G400, how to compile/use mga_vid driver? | 45 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
47 </B>A: Read all this documentation. | 46 Where did you install the SDL library? If you installed in /usr/local |
48 | 47 (the default) then edit the top level config.mak and add |
49 <B>Q: Are there rpm/deb/... packages of <B>MPlayer</B>? | 48 "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done! |
50 </B>A: You can make a .deb package for yourself, check section <A HREF="documentation.html#6.1">6.1</A> . | 49 </TD><TR><TD COLSPAN=3> </TD><TR> |
51 It's _STRONGLY_ discouraged to use precompiled packages | 50 |
52 of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time | 51 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
53 options and optimizations! | 52 It doesn't compile, and it misses uint64_t inttypes.h and similar things... |
54 Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team! | 53 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
55 | 54 copy etc/inttypes.h to <B>MPlayer</B> directory (cp etc/inttypes.h .) |
56 <B>Q: During 'make', <B>MPlayer</B> complains about X11 libraries. I don't understand, | 55 try again... if fail, contact us |
57 I DO have X installed!? | 56 </TD><TR><TD COLSPAN=3> </TD><TR> |
58 </B>A: ...but you don't have the X development package installed. Or not | 57 |
59 correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under | 58 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
60 Debian. Also check if the /usr/X11 symlink exists (this can be a problem on | 59 I have Pentium III but ./configure doesn't detect SSE |
61 Mandrake systems). It can be created with the | 60 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
62 $ ln -sf /usr/X11R6 /usr/X11 | 61 Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but |
63 command. Also check the /usr/include/X11 link : | 62 be prepared for problems) |
64 $ ln -sf /usr/X11R6/include/X11 /usr/include/X11 | 63 </TD><TR><TD COLSPAN=3> </TD><TR> |
65 Your distribution may differ from the Linux Filesystem Standard. | 64 |
66 | 65 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
67 <B>Q: What about DGA driver? I can't find it!!! | 66 I have G200/G400, how to compile/use mga_vid driver? |
68 </B>A: ./configure autodetects your DGA driver. If -vo help doesn't show | 67 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
69 DGA, then there's a problem with your X installation. | 68 Read all this documentation. |
70 Try ./configure --enable-dga (and RTFM) | 69 </TD><TR><TD COLSPAN=3> </TD><TR> |
71 Alternatively, try SDL's DGA driver with '-vo sdl:dga' options. | 70 |
72 | 71 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
73 <B>Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel. | 72 Are there rpm/deb/... packages of <B>MPlayer</B>? |
74 </B>A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out. | 73 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
75 | 74 You can make a .deb package for yourself, check section <A HREF="documentation.html#6.1">6.1</A>. |
76 <B>Q: I compiled <B>MPlayer</B> with libcss/libdivxdecore support, but when | 75 It's _STRONGLY_ discouraged to use precompiled packages |
77 I try to start it, it says : | 76 of <B>MPlayer</B>, since it (currently) _highly_ depends on compile-time |
78 > error while loading shared libraries: libcss.so.0: cannot load | 77 options and optimizations! |
79 > shared object file: No such file or directory | 78 Precompiled packages are COMPLETELY unsupported by the <B>MPlayer</B> team! |
80 I checked up on the file and it IS there in /usr/local/lib. | 79 </TD><TR><TD COLSPAN=3> </TD><TR> |
81 </B>A: What are you doing on Linux? Can't you install a library? Why do | 80 |
82 we get these questions? It's not <B>MPlayer</B> specific at all! Add | 81 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
83 /usr/local/lib to <B>/etc/ld.so.conf</B> and run <B>ldconfig</B> . | 82 During 'make', MPlayer complains about X11 libraries. I don't understand, |
84 Or install it to /usr/lib , because if you can't solve the /usr/local | 83 I DO have X installed!? |
85 problem, you are careless enough to do such things. | 84 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
86 | 85 ...but you don't have the X development package installed. Or not |
87 | 86 correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under |
88 <A NAME=5.2>5.2. General questions</A> | 87 Debian. Also check if the /usr/X11 symlink exists (this can be a problem on |
89 | 88 Mandrake systems). It can be created with the<BR> |
90 <B>Q: What about DVD playing ? | 89 <CODE>$ ln -sf /usr/X11R6 /usr/X11</CODE><BR> |
91 </B>A: Read the CD/DVD section . | 90 command. Also check the /usr/include/X11 link :<BR> |
92 | 91 <CODE>$ ln -sf /usr/X11R6/include/X11 /usr/include/X11</CODE><BR> |
93 <B>Q: -xy option doesn't work with x11 driver (-vo x11) | 92 Your distribution may differ from the Linux Filesystem Standard. |
94 </B>A: x11 driver doesn't support scaling, but XF86VidMode support is now | 93 </TD><TR><TD COLSPAN=3> </TD><TR> |
95 used: you must specify the -vm and the -fs switch, and you're done. | 94 |
96 Make sure you have the right Modelines in your XF86Config file, and | 95 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
97 try if the DGA driver (and SDL's DGA driver, see RTFM) works for you. | 96 What about DGA driver? I can't find it!!! |
98 It's much faster. If SDL's DGA works too, use that, it'll be EVEN | 97 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
99 faster! | 98 ./configure autodetects your DGA driver. If -vo help doesn't show |
100 | 99 DGA, then there's a problem with your X installation. |
101 <B>Q: what is the meaning of numbers in the status line? | 100 Try ./configure --enable-dga (and RTFM) |
102 </B>A: see: | 101 Alternatively, try SDL's DGA driver with '-vo sdl:dga' options. |
103 </B>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0 | 102 </TD><TR><TD COLSPAN=3> </TD><TR> |
104 - </B>A: audio position in seconds | 103 |
105 - V: video position in seconds | 104 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
106 - A-V: audio-video difference in seconds (delay) | 105 I can't compile SVGAlib.. I'm using 2.3/2.4 kernel. |
107 - ct: total A-V sync correction done | 106 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
108 - frames played (counting from last seek) | 107 You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out. |
109 - video codec cpu usage in percent (for mpeg it includes video_out too!) | 108 </TD><TR><TD COLSPAN=3> </TD><TR> |
110 - video_out cpu usage for avi, 0 for mpg (see above) | 109 |
111 - audio codec cpu usage in percent | 110 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
112 - frames needed to drop to maintain A-V sync | 111 I compiled MPlayer with libcss/libdivxdecore support, but when |
113 Most of them are for debug purposes, and will be removed soon. | 112 I try to start it, it says:<BR> |
114 | 113 <CODE>> error while loading shared libraries: libcss.so.0: cannot load |
115 <B>Q: Why is video_out cpu usage zero (0%) for mpeg files? | 114 shared object file: No such file or directory</CODE><BR> |
116 </B>A: It's not zero, but it's built in into codec, so can't be measured separated. | 115 I checked up on the file and it IS there in /usr/local/lib. |
117 You should try to play the file using -vo null and then -vo ... and check | 116 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
118 the difference to see video_out speed... | 117 What are you doing on Linux? Can't you install a library? Why do |
119 | 118 we get these questions? It's not <B>MPlayer</B> specific at all! Add |
120 <B>Q: What's XMMP? (is it XMMS or XMPS but mispelled?) | 119 /usr/local/lib to <B>/etc/ld.so.conf</B> and run <B>ldconfig</B> . |
121 </B>A: It's a new project, see http://frozenproductions.com for details | 120 Or install it to /usr/lib , because if you can't solve the /usr/local |
122 | 121 problem, you are careless enough to do such things. |
123 <B>Q: There are error messages about file not found /usr/lib/win32/.... | 122 </TD><TR><TD COLSPAN=3> </TD><TR> |
124 </B>A: Download & install w32codec.zip from *our* FTP | 123 |
125 (avifile's codec package has different DLL set) | 124 <TD COLSPAN=3><B><A NAME=5.2>5.2. General questions</A></B> |
126 | 125 </TD><TR><TD COLSPAN=3> </TD><TR> |
127 <B>Q: Are there any mailing lists on <B>MPlayer</B>? | 126 |
128 </B>A: Yes! See RTFM on how to subscribe them! | 127 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
129 | 128 What about DVD playing ? |
130 <B>Q: I've found a nasty bug when I tried to play my favourite video!! | 129 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
131 Who should I inform? | 130 Read the CD/DVD section . |
132 </B>A: See Appendix <A HREF="bugreports.html">C</A> . | 131 </TD><TR><TD COLSPAN=3> </TD><TR> |
133 | 132 |
134 <B>Q: I have problems playing files with ... codec. Can I use'em? | 133 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
135 </B>A: Check http://mplayerhq.hu/MPlayer/DOCS/codecs.html, | 134 -xy option doesn't work with x11 driver (-vo x11) |
136 if it doesn't contain your codec, read | 135 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
137 http://mplayerhq.hu/MPlayer/DOCS/CODECS, and contact us. | 136 x11 driver doesn't support scaling, but XF86VidMode support is now |
138 | 137 used: you must specify the -vm and the -fs switch, and you're done. |
139 <B>Q: Umm, what is "IdegCounter" ? | 138 Make sure you have the right Modelines in your XF86Config file, and |
140 </B>A: A mixture of a hungarian and an english word. In english, "Ideg" means | 139 try if the DGA driver (and SDL's DGA driver, see RTFM) works for you. |
141 "nerve", and is pronounced as something like "ydaegh" . It was first used | 140 It's much faster. If SDL's DGA works too, use that, it'll be EVEN faster! |
142 to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance | 141 </TD><TR><TD COLSPAN=3> </TD><TR> |
143 of CVS code ;) | 142 |
144 | 143 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
145 <B>Q: LIRC doesn't work, because ... | 144 What is the meaning of numbers in the status line? |
146 </B>A: Are you sure you use "mplayer_lirc" instead of "mplayer" ? | 145 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
147 | 146 See: <CODE>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0</CODE><BR> |
148 <B>Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow | 147 <UL> |
149 down the playing! I know it's unlikely... | 148 <LI>A: audio position in seconds |
150 </B>A: After running ./configure , edit config.h and replace #undef FAST_OSD with | 149 <LI>V: video position in seconds |
151 #define FAST_OSD . Then recompile. | 150 <LI>A-V: audio-video difference in seconds (delay) |
152 | 151 <LI>ct: total A-V sync correction done |
153 <B>Q: The OSD is flickering! | 152 <LI>frames played (counting from last seek) |
154 </B>A: You use a vo driver with single buffering (x11,xv). With xv, | 153 <LI>video codec cpu usage in percent (for mpeg it includes video_out too!) |
155 use -double option. | 154 <LI>video_out cpu usage for avi, 0 for mpg (see above) |
156 | 155 <LI>audio codec cpu usage in percent |
157 <B>Q: What exactly is this libavcodec? | 156 <LI>frames needed to drop to maintain A-V sync |
158 </B>A: It's from Gerard Lantau's ffmpeg package (http://ffmpeg.sourceforge.net). | 157 </UL> |
159 It has C language DivX ;-) and OpenDivX alpha 47 codec. Some benchmarks | 158 <I>Most of them are for debug purposes, and will be removed soon.</I> |
160 showed that its DivX seems to be even faster than DirectShow codec without | 159 </TD><TR><TD COLSPAN=3> </TD><TR> |
161 preprocessing, and only a few percent slower than ProjectMayo's DivX4 | 160 |
162 decoder. It uses YV12 pixel format, so old Voodoo users can use it for YUV. | 161 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
163 Also, open the possibility to play DivX on virtually every computer that | 162 Why is video_out cpu usage zero (0%) for mpeg files? |
164 has a C compiler. Kinda great stuff, isn't it? | 163 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
165 | 164 It's not zero, but it's built in into codec, so can't be measured separated. |
166 <B>Q: But configure tells me "Checking for libavcodec ... no"! | 165 You should try to play the file using -vo null and then -vo ... and check |
167 </B>A: You need to get libavcodec from FFmpeg's CVS. Read the instructions in | 166 the difference to see video_out speed... |
168 the <A HREF="codecs.html#2.1.2.2">ffmpeg section</A> . | 167 </TD><TR><TD COLSPAN=3> </TD><TR> |
169 | 168 |
170 | 169 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
171 <A NAME=5.3>5.3. File playing problems</A> | 170 What's XMMP? (is it XMMS or XMPS but mispelled?) |
172 | 171 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
173 <B>Q: ...... works with avifile/aviplay while doesn't with <B>MPlayer</B> | 172 It's a new project, see http://frozenproductions.com for details |
174 </B>A: <B>MPlayer</B> != avifile | 173 </TD><TR><TD COLSPAN=3> </TD><TR> |
175 The only common thing between these players is the Win32 DLL loader. | 174 |
176 The codecs (dll) sets, syncronization, demultiplexing etc is totaly | 175 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
177 different and shouldn't be compared. | 176 There are error messages about file not found /usr/lib/win32/.... |
178 If something works with aviplay it doesn't mean that <B>MPlayer</B> should do | 177 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
179 it and vice versa. | 178 Download & install w32codec.zip from *our* FTP |
180 | 179 (avifile's codec package has different DLL set) |
181 <B>Q: audio goes out of sync playing .avi file | 180 </TD><TR><TD COLSPAN=3> </TD><TR> |
182 </B>A: try with -bps or -nobps option | 181 |
183 if still bad, send me (upload to ftp) that file, I'll check. | 182 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
184 | 183 Are there any mailing lists on MPlayer? |
185 <B>Q: Indeo 3.x/4.x movies are viewed upside-down!!!? | 184 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
186 </B>A: It's a known bug (really it's a bug/limitation of the DLL codec) | 185 Yes! See RTFM on how to subscribe them! |
187 Try if your vo driver supports the -flip switch. | 186 </TD><TR><TD COLSPAN=3> </TD><TR> |
188 | 187 |
189 <B>Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok) | 188 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
190 </B>A: It's a known bug (really it's a bug/limitation of the DLL codec) | 189 I've found a nasty bug when I tried to play my favourite video!! |
191 | 190 Who should I inform? |
192 <B>Q: I've got '<B>MPlayer</B> interrupted by signal 11' in module audio_setup or | 191 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
193 decode_audio. | 192 See Appendix <A HREF="bugreports.html">C</A>. |
194 </B>A: This is highly unlikely, since the mp3lib rewrite. Contact us, it may be | 193 </TD><TR><TD COLSPAN=3> </TD><TR> |
195 a bug. Possibly it's a damaged file, try with -afm 4 . | 194 |
196 | 195 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
197 <B>Q: <B>MPlayer</B> exits with something error when using l3codeca.acm | 196 I have problems playing files with ... codec. Can I use'em? |
198 </B>A: Check 'ldd /usr/local/bin/mplayer' output. If it contains | 197 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
199 libc.so.6 => /lib/libc.so.6 (0x4???????) | 198 Check http://mplayer.sourceforge.net/DOCS/codecs.html, |
200 where "?" is any number then it's ok, the error is not here. If it is: | 199 if it doesn't contain your codec, read |
201 libc.so.6 => /lib/libc.so.6 (0x00??????) | 200 http://mplayer.sourceforge.net/DOCS/CODECS, and contact us. |
202 then there is problem with your kernel/libc. Maybe you are using some | 201 </TD><TR><TD COLSPAN=3> </TD><TR> |
203 security patches (for example Solar Designer's OpenWall patch) which | 202 |
204 forces loading libraries to very low addresses. | 203 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
205 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to | 204 Umm, what is "IdegCounter"? |
206 0x00400000, we can't change this. You should use non-patched kernel, | 205 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
207 or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm. | 206 A mixture of a hungarian and an english word. In english, "Ideg" means |
208 | 207 "nerve", and is pronounced as something like "ydaegh" . It was first used |
209 <B>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 | 208 to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance |
210 sound too slow. When I use -nosound switch, everything is ok (but quiet). | 209 of CVS code ;) |
211 </B>A: Those files probably have 48Khz audio, and your soundcard/driver can't play | 210 </TD><TR><TD COLSPAN=3> </TD><TR> |
212 it correctly. Audio downsampling isn't implemented in <B>MPlayer</B> (yet). | 211 |
213 Maybe use the SDL driver, with <B>-ao:sdl</B> | 212 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
213 LIRC doesn't work, because ... | |
214 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
215 Are you sure you use "mplayer_lirc" instead of "mplayer"? | |
216 </TD><TR><TD COLSPAN=3> </TD><TR> | |
217 | |
218 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
219 Subtitles are very nice, the most beautiful I've ever seen, but they slow | |
220 down the playing! I know it's unlikely... | |
221 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
222 After running ./configure , edit config.h and replace #undef FAST_OSD with | |
223 <CODE>#define FAST_OSD</CODE>. Then recompile. | |
224 </TD><TR><TD COLSPAN=3> </TD><TR> | |
225 | |
226 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
227 The OSD is flickering! | |
228 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
229 You use a vo driver with single buffering (x11,xv). With xv, | |
230 use -double option. | |
231 </TD><TR><TD COLSPAN=3> </TD><TR> | |
232 | |
233 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
234 What exactly is this libavcodec? | |
235 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
236 It's from Gerard Lantau's ffmpeg package (http://ffmpeg.sourceforge.net). | |
237 It has C language DivX ;-) and OpenDivX alpha 47 codec. Some benchmarks | |
238 showed that its DivX seems to be even faster than DirectShow codec without | |
239 preprocessing, and only a few percent slower than ProjectMayo's DivX4 | |
240 decoder. It uses YV12 pixel format, so old Voodoo users can use it for YUV. | |
241 Also, open the possibility to play DivX on virtually every computer that | |
242 has a C compiler. Kinda great stuff, isn't it? | |
243 </TD><TR><TD COLSPAN=3> </TD><TR> | |
244 | |
245 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
246 But configure tells me "Checking for libavcodec ... no"! | |
247 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
248 You need to get libavcodec from FFmpeg's CVS. Read the instructions in | |
249 the <A HREF="codecs.html#2.1.2.2">ffmpeg section</A>. | |
250 </TD><TR><TD COLSPAN=3> </TD><TR> | |
251 | |
252 <TD COLSPAN=3> | |
253 <B><A NAME=5.3>5.3. File playing problems</A></B> | |
254 </TD><TR><TD COLSPAN=3> </TD><TR> | |
255 | |
256 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
257 ...... works with avifile/aviplay while doesn't with MPlayer. | |
258 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
259 <B>MPlayer</B> != avifile | |
260 The only common thing between these players is the Win32 DLL loader. | |
261 The codecs (dll) sets, syncronization, demultiplexing etc is totaly | |
262 different and shouldn't be compared. | |
263 If something works with aviplay it doesn't mean that <B>MPlayer</B> should do | |
264 it and vice versa. | |
265 </TD><TR><TD COLSPAN=3> </TD><TR> | |
266 | |
267 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
268 Audio goes out of sync playing .avi file. | |
269 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
270 Try with -bps or -nobps option | |
271 if still bad, send me (upload to ftp) that file, I'll check. | |
272 </TD><TR><TD COLSPAN=3> </TD><TR> | |
273 | |
274 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
275 Indeo 3.x/4.x movies are viewed upside-down!!!? | |
276 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
277 It's a known bug (really it's a bug/limitation of the DLL codec) | |
278 Try if your vo driver supports the -flip switch. | |
279 </TD><TR><TD COLSPAN=3> </TD><TR> | |
280 | |
281 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
282 Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok). | |
283 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
284 It's a known bug (really it's a bug/limitation of the DLL codec). | |
285 </TD><TR><TD COLSPAN=3> </TD><TR> | |
286 | |
287 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
288 I've got 'MPlayer interrupted by signal 11' in module audio_setup or | |
289 decode_audio. | |
290 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
291 This is highly unlikely, since the mp3lib rewrite. Contact us, it may be | |
292 a bug. Possibly it's a damaged file, try with -afm 4. | |
293 </TD><TR><TD COLSPAN=3> </TD><TR> | |
294 | |
295 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
296 MPlayer exits with something error when using l3codeca.acm. | |
297 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
298 Check 'ldd /usr/local/bin/mplayer' output. If it contains<BR> | |
299 <CODE>libc.so.6 => /lib/libc.so.6 (0x4???????)</CODE><BR> | |
300 where "?" is any number then it's ok, the error is not here. If it is:<BR> | |
301 <CODE>libc.so.6 => /lib/libc.so.6 (0x00??????)</CODE><BR> | |
302 then there is problem with your kernel/libc. Maybe you are using some | |
303 security patches (for example Solar Designer's OpenWall patch) which | |
304 forces loading libraries to very low addresses. | |
305 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to | |
306 0x00400000, we can't change this. You should use non-patched kernel, | |
307 or use <B>MPlayer</B>'s -afm 1 option to disable using l3codeca.acm. | |
308 </TD><TR><TD COLSPAN=3> </TD><TR> | |
309 | |
310 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
311 My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 | |
312 sound too slow. When I use -nosound switch, everything is ok (but quiet). | |
313 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
314 Those files probably have 48Khz audio, and your soundcard/driver can't play | |
315 it correctly. Audio downsampling isn't implemented in <B>MPlayer</B> (yet). | |
316 Maybe use the SDL driver, with <B>-ao:sdl</B> | |
317 </TD><TR><TD COLSPAN=3> </TD><TR> | |
214 | 318 |
215 <B>Q: <B>MPlayer</B> dies with "<B>MPlayer</B> interrupted by signal 4 in module: decode_video". | 319 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
216 </B>A: Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't | 320 MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video". |
217 use <B>MPlayer</B> on different CPU than it was compiled on. | 321 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
218 | 322 Try running <B>MPlayer</B> on the machine you compiled on. Or recompile. Don't |
219 <B>Q: I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 | 323 use <B>MPlayer</B> on different CPU than it was compiled on. |
220 modes.. | 324 </TD><TR><TD COLSPAN=3> </TD><TR> |
221 </B>A1: Use the -fsmode switch. See example.conf or manpage. | 325 |
222 | 326 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
223 <B>Q: But it works with avifile ! | 327 I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes.. |
224 </B>A: So what? | 328 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
225 | 329 Use the -fsmode switch. See example.conf or manpage. |
226 <B>Q: Then avifile is better ! | 330 </TD><TR><TD COLSPAN=3> </TD><TR> |
227 </B>A: Then use avifile, it has nice GUI and nice C++ code :) | 331 |
228 | 332 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
229 <B>Q: I got this playing mpeg files: Can't find codec for video format 0x10000001 ! | 333 But it works with avifile! |
230 </B>A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/ | 334 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
231 | 335 So what? |
232 <B>Q: After starting mplayer under KDE(1/2) I just get a black screen and nothing | 336 </TD><TR><TD COLSPAN=3> </TD><TR> |
233 happens, after about one minute the video starts playing. | 337 |
234 </B>A: The KDE arts sound daemon is blocking the sound device, either wait the time | 338 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
235 until video starts or you disable the arts-daemon in kontrollcenter. | 339 Then avifile is better! |
236 If you want to use arts sound, specify audio output via SDL (ao=sdl), and | 340 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
237 make sure your SDL can handle arts sound. Yet another option is to start | 341 Then use avifile, it has nice GUI and nice C++ code :) |
238 mplayer with artsdsp. | 342 </TD><TR><TD COLSPAN=3> </TD><TR> |
239 | 343 |
240 <B>Q: I have an AVI that plays with grey screen with -vc odivx, and green | 344 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
241 with -vc divx4 . | 345 I got this playing mpeg files: Can't find codec for video format 0x10000001! |
242 </B>A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf. | 346 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
243 | 347 You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/ |
244 | 348 </TD><TR><TD COLSPAN=3> </TD><TR> |
245 <A NAME=5.4>5.4. Video/audio driver problems (vo/ao)</A> | 349 |
246 | 350 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
247 <B>Q: Ok, -vo help shows DGA driver, but it is babbling about permissions! | 351 After starting mplayer under KDE(1/2) I just get a black screen and nothing |
248 Help me! | 352 happens, after about one minute the video starts playing. |
249 </B>A: It works only if running as root! It's a DGA limitation. | 353 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
250 You should become to root (su -), and try again. | 354 The KDE arts sound daemon is blocking the sound device, either wait the time |
251 | 355 until video starts or you disable the arts-daemon in kontrollcenter. |
252 Another solution is making mplayer SUID root, but its NOT RECOMMENDED! | 356 If you want to use arts sound, specify audio output via SDL (ao=sdl), and |
253 | 357 make sure your SDL can handle arts sound. Yet another option is to start |
254 chown root /usr/local/bin/mplayer | 358 mplayer with artsdsp. |
255 chmod 750 /usr/local/bin/mplayer | 359 </TD><TR><TD COLSPAN=3> </TD><TR> |
256 chmod +s /usr/local/bin/mplayer | 360 |
257 | 361 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
258 !!!! BUT STAY TUNED !!!! | 362 I have an AVI that plays with grey screen with -vc odivx, and green with -vc divx4 . |
259 This is a *BIG* security risk! *NEVER* do this on a server or on a computer | 363 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
260 can be accessed by more people than only you because they can gain root | 364 It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf. |
261 privilegies through suid root mplayer!!! | 365 </TD><TR><TD COLSPAN=3> </TD><TR> |
262 !!!! SO YOU HAVE BEEN WARNED ... !!!! | 366 |
263 | 367 <TD COLSPAN=3> |
264 <B>Q: When using Xvideo, my Voodoo 3/Banshee says: | 368 <B><A NAME=5.4>5.4. Video/audio driver problems (vo/ao)</A></B> |
265 X Error of failed request: BadAccess (attempt to access private resource | 369 </TD><TR><TD COLSPAN=3> </TD><TR> |
266 denied) | 370 |
267 Major opcode of failed request: 147 (MIT-SHM) | 371 |
268 Minor opcode of failed request: 1 (X_ShmAttach) | 372 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
269 Serial number of failed request: 26 | 373 Ok, -vo help shows DGA driver, but it is babbling about permissions! |
270 Current serial number in output stream:27 | 374 Help me! |
271 </B>A: Your driver is old, update it. Either download (at least) DRI version 0.6 | 375 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
272 from http://dri.sourceforge.net , or use the DRI cvs. | 376 It works only if running as root! It's a DGA limitation. |
273 | 377 You should become to root (su -), and try again. |
274 <B>Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee ! | 378 Another solution is making mplayer SUID root, but its NOT RECOMMENDED!<BR> |
275 It says: | 379 <CODE>chown root /usr/local/bin/mplayer</CODE><BR> |
276 ... | 380 <CODE>chmod 750 /usr/local/bin/mplayer</CODE><BR> |
277 Xvideo image format: 0x32315659 (YV12) planar | 381 <CODE>chmod +s /usr/local/bin/mplayer</CODE><BR> |
278 Xvideo image format: 0x30323449 (I420) planar | 382 <B>!!!! BUT STAY TUNED !!!!</B><BR> |
279 ... | 383 This is a *BIG* security risk! *NEVER* do this on a server or on a computer |
280 </B>A1: See the previous answer. | 384 can be accessed by more people than only you because they can gain root |
281 A2: Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains | 385 privilegies through suid root mplayer!!!<BR> |
282 a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format | 386 !!!! SO YOU HAVE BEEN WARNED ... !!!! |
283 for output, thus it should work for you. Compile in libavcodec support. | 387 </TD><TR><TD COLSPAN=3> </TD><TR> |
284 | 388 |
285 <B>Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...) | 389 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
286 </B>A: your opengl driver doesn't support dynamic texture changes (glTexSubImage) | 390 When using Xvideo, my Voodoo 3/Banshee says:<BR> |
287 it's known not to work with nVidia's binary shit. | 391 X Error of failed request: BadAccess (attempt to access private resource denied)<BR> |
288 it's known to work with Utah-GLX/DRI and Matrox G400 card. Also with | 392 Major opcode of failed request: 147 (MIT-SHM)<BR> |
289 DRI and Radeon card. It won't work with DRI others than these. | 393 Minor opcode of failed request: 1 (X_ShmAttach)<BR> |
290 it will not work with 3DFX cards because the 256x256 texture size limit. | 394 Serial number of failed request: 26<BR> |
291 | 395 Current serial number in output stream:27<BR> |
292 <B>Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colours, | 396 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> |
293 right under the movie! Whose fault is this? | 397 Your driver is old, update it. Either download (at least) DRI version 0.6 |
294 </B>A: It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards, | 398 from <A HREF="http://dri.sourceforge.net">http://dri.sourceforge.net</A>, |
295 and we can't do anything about it, it's not our bug. | 399 or use the DRI cvs. |
296 | 400 </TD><TR><TD COLSPAN=3> </TD><TR> |
297 | 401 |
298 <A NAME=5.5>5.5. Feature requests</A> | 402 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> |
299 | 403 When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee! |
300 <B>Q: Is there a hint on how to watch QuickTime and RealMedia movies in MPlayer? | 404 It says:<BR> |
301 </B>A: There's no way to do it. Therefore these formats deserve to die in flames. | 405 ...<BR> |
302 Theoretically you can reverse engineer Real codecs built for Linux (they | 406 Xvideo image format: 0x32315659 (YV12) planar<BR> |
303 are available as .so files), but in practice that's really difficult, even | 407 Xvideo image format: 0x30323449 (I420) planar<BR> |
304 if you know how the compiler used by Real is making assembler code. | 408 ... |
305 As for QuickTime, it's possible to play some old movies and this | 409 </B></TD><TR><TD></TD><TD VALIGN=top>A1:</TD><TD> |
306 capability will be added to mplayer soon, but newer clips are all Sorenson | 410 See the previous answer. |
307 encoded, and that codec is built-in deep in the QT executable, there's | 411 </TD><TR><TD></TD><TD VALIGN=top>A2:</TD><TD> |
308 no way to use it. | 412 Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains |
309 | 413 a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format |
310 </PRE> | 414 for output, thus it should work for you. Compile in libavcodec support. |
415 </TD><TR><TD COLSPAN=3> </TD><TR> | |
416 | |
417 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
418 OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...). | |
419 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
420 Your opengl driver doesn't support dynamic texture changes (glTexSubImage) | |
421 It's known not to work with nVidia's binary shit. | |
422 It's known to work with Utah-GLX/DRI and Matrox G400 card. Also with | |
423 DRI and Radeon card. It won't work with DRI others than these. | |
424 it will not work with 3DFX cards because the 256x256 texture size limit. | |
425 </TD><TR><TD COLSPAN=3> </TD><TR> | |
426 | |
427 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
428 I have an nVidia TNT/TNT2 card, and I have a band with strange colours, | |
429 right under the movie! Whose fault is this? | |
430 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
431 It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards, | |
432 and we can't do anything about it, it's not our bug. | |
433 </TD><TR><TD COLSPAN=3> </TD><TR> | |
434 | |
435 <TD COLSPAN=3> | |
436 <B><A NAME=5.5>5.5. Feature requests</A></B> | |
437 </TD><TR><TD COLSPAN=3> </TD><TR> | |
438 | |
439 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH=100%><B> | |
440 Is there a hint on how to watch QuickTime and RealMedia movies in MPlayer? | |
441 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> | |
442 There's no way to do it. Therefore these formats deserve to die in flames. | |
443 Theoretically you can reverse engineer Real codecs built for Linux (they | |
444 are available as .so files), but in practice that's really difficult, even | |
445 if you know how the compiler used by Real is making assembler code. | |
446 As for QuickTime, it's possible to play some old movies and this | |
447 capability will be added to mplayer soon, but newer clips are all Sorenson | |
448 encoded, and that codec is built-in deep in the QT executable, there's | |
449 no way to use it. | |
450 </TD><TR><TD COLSPAN=3> </TD><TR> | |
451 | |
452 </TABLE> | |
453 | |
454 <BR> | |
455 <HR>MPlayer documentation project | |
311 | 456 |
312 </BODY> | 457 </BODY> |
313 | |
314 </HTML> | 458 </HTML> |