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