comparison DOCS/faq.html @ 6980:7e23c06a58b9

HTML restructured. Now using definition lists instead of tables. Content not changed.
author diego
date Sun, 11 Aug 2002 22:24:26 +0000
parents 3263d686e99a
children 83a386e88f9e
comparison
equal deleted inserted replaced
6979:e7748ba18900 6980:7e23c06a58b9
3 3
4 <HEAD> 4 <HEAD>
5 <TITLE>FAQ - MPlayer - The Movie Player for Linux</TITLE> 5 <TITLE>FAQ - MPlayer - The Movie Player for Linux</TITLE>
6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css"> 6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> 7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
8 <STYLE TYPE="text/css">
9 dt {
10 font-weight : bold;
11 }
12 </STYLE>
8 </HEAD> 13 </HEAD>
9 14
10 <BODY> 15 <BODY>
11 16
12 17
13 <P><B><A NAME="faq">5. FAQ section</A></B></P> 18 <P><B><A NAME="faq">5. FAQ</A></B></P>
14 19
15 <UL> 20 <UL>
16 <LI><A HREF="#compilation">5.1 Compilation</A></LI> 21 <LI><A HREF="#compilation">5.1 Compilation</A></LI>
17 <LI><A HREF="#general">5.2 General questions</A></LI> 22 <LI><A HREF="#general">5.2 General questions</A></LI>
18 <LI><A HREF="#playback">5.3 playback problems</A></LI> 23 <LI><A HREF="#file_playing">5.3 File playing problems</A></LI>
19 <LI><A HREF="#driver">5.4 Video/audio driver problems (vo/ao)</A></LI> 24 <LI><A HREF="#driver">5.4 Video/audio driver problems (vo/ao)</A></LI>
20 <LI><A HREF="#dvd">5.5 DVD playback</A></LI> 25 <LI><A HREF="#dvd">5.5 DVD playback</A></LI>
21 <LI><A HREF="#features">5.6 Feature requests</A></LI> 26 <LI><A HREF="#features">5.6 Feature requests</A></LI>
22 <LI><A HREF="#encoding">5.7 Encoding</A></LI> 27 <LI><A HREF="#encoding">5.7 Encoding</A></LI>
23 </UL> 28 </UL>
24 29
25 <TABLE BORDER=0 WIDTH="100%" ALIGN=left> 30
26 31 <P><B><A NAME="compilation">5.1 Compilation</A></B></P>
27 <TR><TD COLSPAN=3><P><B><A NAME="compilation">5.1 Compilation</A></B></P> 32
28 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 33 <DL>
29 34
30 <TD>&nbsp;&nbsp;</TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Compilation stops with an error message similar to this one: 35 <DT>Q: Compilation stops with an error message similar to this one:
31 <PRE> 36 <PRE>
32 In file included from mplayer.c:34: 37 In file included from mplayer.c:34:
33 mw.h: In function `mplMainDraw': 38 mw.h: In function `mplMainDraw':
34 mw.h:209: Internal compiler error in print_rtl_and_abort, at flow.c:6458 39 mw.h:209: Internal compiler error in print_rtl_and_abort, at flow.c:6458
35 Please submit a full bug report, 40 Please submit a full bug report,
36 with preprocessed source if appropriate. 41 with preprocessed source if appropriate.
37 </PRE> 42 </PRE>
38 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This is a known problem of gcc 43 </DT>
39 3.0.4, upgrade to 3.1 to solve the problem. How to install gcc is described 44 <DD>A: This is a known problem of gcc 3.0.4, upgrade to 3.1 to solve the
40 <A HREF="users_against_developers.html">here</A>. 45 problem. How to install gcc is described
41 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 46 <A HREF="users_against_developers.html#gcc">here</A>.</DD>
42 47 <DD>&nbsp;</DD>
43 <TD>&nbsp;&nbsp;</TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Configure ends with this text, and MPlayer won't compile!<BR> 48
44 <CODE>"Your gcc does not support even i386 for '-march' and '-mcpu'."</CODE> 49 <DT>Q: Configure ends with this text, and MPlayer won't compile!<BR>
45 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Your gcc isn't installed correctly, check the <CODE>config.log</CODE> file 50 <CODE>"Your gcc does not support even i386 for '-march' and '-mcpu'."</CODE>
46 for details. 51 </DT>
47 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 52 <DD>A: Your gcc isn't installed correctly, check the <CODE>config.log</CODE>
48 53 file for details.</DD>
49 <TD>&nbsp;&nbsp;</TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>What does "No such file or directory" mean? 54 <DD>&nbsp;</DD>
50 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Probably there is no such file or directory. 55
51 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 56 <DT>Q: What does "No such file or directory" mean?</DT>
52 57 <DD>A: Probably there is no such file or directory.</DD>
53 <TD>&nbsp;&nbsp;</TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>What's the problem with gcc 2.96? 58 <DD>&nbsp;</DD>
54 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><B>We strongly discourage the use of gcc 2.96!!!</B><BR> 59
55 Read <A HREF="users_against_developers.html#gcc">this</A> document for details 60 <DT>Q: What's the problem with gcc 2.96?</DT>
56 about why Red Hat released gcc 2.96 and what the problems are all about. If you 61 <DD>A: <B>We strongly discourage the use of gcc 2.96!!!</B><BR>
57 still really really want to use it, be sure to get the latest release and give 62 Read <A HREF="users_against_developers.html#gcc">this</A> document for
58 the <CODE>--disable-gcc-checking</CODE> option to configure. Remember that you 63 details about why Red Hat released gcc 2.96 and what the problems are all
59 are on your own from this point. Do <B>not</B> report bugs, do <B>not</B> ask 64 about. If you still really really want to use it, be sure to get the latest
60 for help on the mailing lists. We will <B>not</B> provide any support in case 65 release and give the <CODE>--disable-gcc-checking</CODE> option to
61 you run into problems. 66 configure. Remember that you are on your own from this point. Do <B>not</B>
62 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 67 report bugs, do <B>not</B> ask for help on the mailing lists. We will
63 68 <B>not</B> provide any support in case you run into problems.</DD>
64 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Great, I have gcc 3.0.1 from Red Hat/Mandrake, then I'm fine--! 69 <DD>&nbsp;</DD>
65 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>No, since there have been/are issues with these compilers as well.<BR> 70
66 To check the status of current compilers' MPlayer support, see the 71 <DT>Q: Great, I have gcc 3.0.1 from Red Hat/Mandrake, then I'm fine--!</DT>
67 <A HREF="documentation.html#installation">Installation</A> section. 72 <DD>A: No, since there have been/are issues with these compilers as well.
68 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 73 To check the status of current compilers' MPlayer support, see the
69 74 <A HREF="documentation.html#installation">Installation</A> section.</DD>
70 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I tried to compile MPlayer, but I got this output: 75 <DD>&nbsp;</DD>
71 <PRE> 76
72 In file included from /usr/include/g++-v3/bits/std_cwchar.h:42, 77 <DT>Q: I tried to compile MPlayer, but I got this output:
73 from /usr/include/g++-v3/bits/fpos.h:40, 78 <PRE>
74 from /usr/include/g++-v3/bits/char_traits.h:40, 79 In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
75 from /usr/include/g++-v3/bits/std_string.h:41, 80 from /usr/include/g++-v3/bits/fpos.h:40,
76 from /usr/include/g++-v3/string:31, 81 from /usr/include/g++-v3/bits/char_traits.h:40,
77 from libwin32.h:36, 82 from /usr/include/g++-v3/bits/std_string.h:41,
78 from DS_AudioDecoder.h:4, 83 from /usr/include/g++-v3/string:31,
79 from DS_AudioDec.cpp:5: 84 from libwin32.h:36,
80 /usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*, 85 from DS_AudioDecoder.h:4,
81 wchar_t**, int)': 86 from DS_AudioDec.cpp:5:
82 /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to 87 /usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*,
83 `const 88 wchar_t**, int)':
84 </PRE> 89 /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
85 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Upgrade your glibc to the latest release. On Mandrake, use 2.2.4-8mdk. 90 `const
86 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 91 </PRE>
87 92 </DT>
88 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>... gcc 2.96 ... (Yes, some people are STILL flaming about their gcc 2.96!!) 93 <DD>A: Upgrade your glibc to the latest release. On Mandrake, use 2.2.4-8mdk.</DD>
89 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Quoted from a 94 <DD>&nbsp;</DD>
90 <A HREF="http://www.mplayerhq.hu/pipermail/mplayer-users/2001-October/005351.html">mail</A> 95
91 A'rpi sent to the 96 <DT>Q: ... gcc 2.96 ... (Yes, some people are STILL flaming about gcc 2.96!!)</DT>
92 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A> 97 <DD>A: Quoted from a
93 list (the word 'ideg' is described below): 98 <A HREF="http://www.mplayerhq.hu/pipermail/mplayer-users/2001-October/005351.html">mail</A>
94 <BLOCKQUOTE> 99 A'rpi sent to the
95 <P>And we have idegs. And our idegcounter overflowed again and again.</P> 100 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>
96 101 list (the word 'ideg' is described below):
97 <P>Unfortunately MPlayer is out of our control. It's used by lamers, Linux users 102 <BLOCKQUOTE>
98 who can't even use Windows, and never tried to compile a kernel. They installed 103 <P>And we have idegs. And our idegcounter overflowed again and again.</P>
99 (with default options) Mandrake or Red Hat or SuSE, and without RTFM'ing they 104
100 send messages saying 'it doesn't work! help me! please! i'm new to Linux! 105 <P>Unfortunately MPlayer is out of our control. It's used by lamers, Linux
101 help! oh! help me!'. We can't stop them, but at least we try to force them to 106 users who can't even use Windows, and never tried to compile a kernel. They
102 RTFM and to read the messages of ./configure and MPlayer.</P> 107 installed (with default options) Mandrake or Red Hat or SuSE, and without
103 108 RTFM'ing they send messages saying 'it doesn't work! help me! please! i'm
104 <P>And you clever guys come and flame us with gcc 2.96 and binary packages. 109 new to Linux! help! oh! help me!'. We can't stop them, but at least we try
105 Instead of helping users or making patches to help solve problems.</P> 110 to force them to RTFM and to read the messages of ./configure and MPlayer.</P>
106 111
107 <P>Half of our spare/free time is spent by answering silly mails here and 112 <P>And you clever guys come and flame us with gcc 2.96 and binary packages.
108 making newer tricks and checks to configure to avoid such mails.</P> 113 Instead of helping users or making patches to help solve problems.</P>
109 114
110 <P>And there is a balance. On the one side are you, clever guys, saying we are 115 <P>Half of our spare/free time is spent by answering silly mails here and
111 very bad because we don't like buggy gcc 2.96, and on the other side there are 116 making newer tricks and checks to configure to avoid such mails.</P>
112 the 'new to Linux' guys who are showing us gcc 2.96 is buggy.</P> 117
113 118 <P>And there is a balance. On the one side are you, clever guys, saying we
114 <P>Conclusion: We can't be good. Half the people always will say we are bad.</P> 119 are very bad because we don't like buggy gcc 2.96, and on the other side
115 120 there are the 'new to Linux' guys who are showing us gcc 2.96 is buggy.</P>
116 <P>Maybe we should close the project, make it closed source, commercial, and 121
117 provide install support for it. then we could leave current work, so 122 <P>Conclusion: We can't be good. Half the people will always say we are bad.</P>
118 development could go faster, and we could earn lots of money with it and buy a 123
119 big house, etc etc. Do you really want it? It seems.</P> 124 <P>Maybe we should close the project, make it closed source, commercial, and
120 </BLOCKQUOTE> 125 provide install support for it. then we could leave current work, so
121 126 development could go faster, and we could earn lots of money with it and buy
122 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 127 a big house, etc etc. Do you really want it? It seems.</P>
123 128 </BLOCKQUOTE>
124 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>SDL output doesn't work or compile. The problem is ... 129 </DD>
125 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>It was tested to work with SDL 1.2.x and may run on SDL 1.1.7+. 130 <DD>&nbsp;</DD>
126 It does <B>not</B> work with any previous version. So if you choose to use such 131
127 a version, you are on your own. 132 <DT>Q: SDL output doesn't work or compile. The problem is ...</DT>
128 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 133 <DD>A: It was tested to work with SDL 1.2.x and may run on SDL 1.1.7+.
129 134 It does <B>not</B> work with any previous version. So if you choose to use
130 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I am still having trouble compiling with SDL support. gcc says something 135 such a version, you are on your own.</DD>
131 about "undefined reference to `SDL_EnableKeyRepeat'". What now? 136 <DD>&nbsp;</DD>
132 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Where did you install the SDL library? If you installed in /usr/local 137
133 (the default) then edit the top level config.mak and add 138 <DT>Q: I am still having trouble compiling with SDL support. gcc says
134 "-L/usr/local/lib" after "X_LIBS=". Now type make. You're done! 139 something about "undefined reference to `SDL_EnableKeyRepeat'". What
135 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 140 now?</DT>
136 141 <DD>A: Where did you install the SDL library? If you installed in /usr/local
137 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>It doesn't compile, and it misses uint64_t inttypes.h and similar things ... 142 (the default) then edit the top level config.mak and add
138 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Copy etc/inttypes.h to the <B>MPlayer</B> directory (<CODE>cp etc/inttypes.h .</CODE>) 143 "-L/usr/local/lib" after "X_LIBS=". Now type make. You're done!</DD>
139 and try again ... 144 <DD>&nbsp;</DD>
140 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 145
141 146 <DT>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar
142 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have Linux running on a Pentium III but <CODE>./configure</CODE> doesn't detect 147 things ...</DT>
143 SSE ... 148 <DD>A: Copy etc/inttypes.h to the <B>MPlayer</B> directory
144 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Only kernel versions 2.4.x support SSE (or try 2.2.19 or newer, but 149 (<CODE>cp etc/inttypes.h .</CODE>) and try again ...</DD>
145 be prepared for problems). 150 <DD>&nbsp;</DD>
146 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 151
147 152 <DT>Q: I have Linux running on a Pentium III but <CODE>./configure</CODE>
148 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have a G200/G400, how do I compile/use the mga_vid driver? 153 doesn't detect SSE ...</DT>
149 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Read the <A HREF="video.html#mga_vid">mga_vid documentation</A>. 154 <DD>A: Only kernel versions 2.4.x support SSE (or try 2.2.19 or newer, but
150 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 155 be prepared for problems).</DD>
151 156 <DD>&nbsp;</DD>
152 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Are there rpm/deb/... packages of <B>MPlayer</B>? 157
153 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You can make a .deb package for yourself, check the <A HREF="documentation.html#debian">Debian packaging</A> section. 158 <DT>Q: I have a G200/G400, how do I compile/use the mga_vid driver?</DT>
154 There are links to official Red Hat RPM packages available on our 159 <DD>A: Read the <A HREF="video.html#mga_vid">mga_vid documentation</A>.</DD>
155 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">download page</A>. 160 <DD>&nbsp;</DD>
156 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 161
157 162 <DT>Q: Are there rpm/deb/... packages of <B>MPlayer</B>?</DT>
158 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>During 'make', MPlayer complains about X11 libraries. I don't understand, 163 <DD>A: You can make a .deb package for yourself, check the
159 I DO have X installed!? 164 <A HREF="documentation.html#debian">Debian packaging</A> section.
160 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>... but you don't have the X development package installed. Or not 165 There are links to official Red Hat RPM packages available on our
161 correctly. It's called XFree86-devel* under Red Hat, and xlibs-dev under 166 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">download page</A>.</DD>
162 Debian. Also check if the <CODE>/usr/X11</CODE> and <CODE>/usr/include/X11</CODE> 167 <DD>&nbsp;</DD>
163 symlinks exist (this can be a problem on Mandrake systems). They can be created 168
164 with these commands:<BR> 169 <DT>Q: During 'make', MPlayer complains about X11 libraries. I don't
165 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>$ ln -sf /usr/X11R6 /usr/X11</CODE><BR> 170 understand, I DO have X installed!?</DT>
166 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>$ ln -sf /usr/X11R6/include/X11 /usr/include/X11</CODE><BR> 171 <DD>A: ... but you don't have the X development package installed. Or not
167 Your distribution may differ from the 172 correctly. It's called XFree86-devel* under Red Hat, and xlibs-dev under
168 <A HREF="http://www.pathname.com/fhs/">Filesystem Hierarchy Standard</A>. 173 Debian. Also check if the <CODE>/usr/X11</CODE> and <CODE>/usr/include/X11</CODE>
169 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 174 symlinks exist (this can be a problem on Mandrake systems). They can be
170 175 created with these commands:<BR>
171 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I can't compile SVGAlib. I'm using kernel 2.3/2.4 ... 176 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>$ ln -sf /usr/X11R6 /usr/X11</CODE><BR>
172 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You have to edit SVGAlib's Makefile.cfg and comment <CODE>BACKGROUND = y</CODE> out. 177 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>$ ln -sf /usr/X11R6/include/X11 /usr/include/X11</CODE><BR>
173 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 178 Your distribution may differ from the
174 179 <A HREF="http://www.pathname.com/fhs/">Filesystem Hierarchy Standard</A>.</DD>
175 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I compiled MPlayer with libdvdcss/libdivxdecore support, but when 180 <DD>&nbsp;</DD>
176 I try to start it, it says:<BR> 181
177 <CODE>&gt; error while loading shared libraries: lib*.so.0: cannot load 182 <DT>Q: I can't compile SVGAlib. I'm using kernel 2.3/2.4 ...</DT>
178 shared object file: No such file or directory</CODE><BR> 183 <DD>A: You have to edit SVGAlib's Makefile.cfg and comment
179 I checked up on the file and it IS there in <CODE>/usr/local/lib</CODE> ... 184 <CODE>BACKGROUND = y</CODE> out.</DD>
180 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Add <CODE>/usr/local/lib</CODE> to <CODE>/etc/ld.so.conf</CODE> and run <CODE>ldconfig</CODE>. 185 <DD>&nbsp;</DD>
181 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 186
182 187 <DT>Q: I compiled MPlayer with libdvdcss/libdivxdecore support, but when
183 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Hmm, strange. When loading the mga_vid.o kernel module, I found this in the logs:<BR> 188 I try to start it, it says:<BR>
184 <CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE> 189 <CODE>&gt; error while loading shared libraries: lib*.so.0: cannot load
185 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>The latest kernel modutils require a flag indicating the license (mainly 190 shared object file: No such file or directory</CODE><BR>
186 to avoid kernel hackers debugging closed source drivers). 191 I checked up on the file and it IS there in <CODE>/usr/local/lib</CODE> ...</DT>
187 Upgrade your kernel, modutils and <B>MPlayer</B>. 192 <DD>A: Add <CODE>/usr/local/lib</CODE> to <CODE>/etc/ld.so.conf</CODE> and run
188 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 193 <CODE>ldconfig</CODE>.</DD>
189 194 <DD>&nbsp;</DD>
190 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When compiling <B>MEncoder</B>, it segfaults at linking!!! 195
191 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This is a linker problem. Upgrading binutils should help (2.11.92.* or newer 196 <DT>Q: Hmm, strange. When loading the mga_vid.o kernel module, I found this in
192 should be good). Since it is not our fault, please do <B>not</B> report! 197 the logs:<BR>
193 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 198 <CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE></DT>
194 199 <DD>A: The latest kernel modutils require a flag indicating the license
195 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>MPlayer dies with segmentation fault upon pthread check! 200 (mainly to avoid kernel hackers debugging closed source drivers).
196 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>chmod 644 /usr/lib/libc.so 201 Upgrade your kernel, modutils and <B>MPlayer</B>.</DD>
197 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 202 <DD>&nbsp;</DD>
198 203
199 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I'd like to compile <B>MPlayer</B> on Minix! 204 <DT>Q: When compiling <B>MEncoder</B>, it segfaults at linking!!!</DT>
200 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Me too. :) 205 <DD>A: This is a linker problem. Upgrading binutils should help (2.11.92.*
201 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 206 or newer should be good). Since it is not our fault, please do <B>not</B>
202 207 report!</DD>
203 208 <DD>&nbsp;</DD>
204 <TD COLSPAN=3><B><A NAME="general">5.2 General questions</A></B> 209
205 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 210 <DT>Q: MPlayer dies with segmentation fault upon pthread check!</DT>
206 211 <DD>A: chmod 644 /usr/lib/libc.so</DD>
207 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>There is a timer in the upper 212 <DD>&nbsp;</DD>
208 left corner. How can I get rid of it? 213
209 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Press <CODE>o</CODE> and try the 214 <DT>Q: I'd like to compile <B>MPlayer</B> on Minix!</DT>
210 <CODE>-osdlevel</CODE> option. 215 <DD>A: Me too. :)</DD>
211 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 216
212 217 </DL>
213 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>The <CODE>-xy</CODE> or <CODE>-fs</CODE> option doesn't work with the x11 driver (<CODE>-vo x11</CODE>) ... 218
214 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>It does, but you have to explicitly specify software scaling (it's SLOW!) with 219
215 the <CODE>-zoom</CODE> option. You better use XF86VidMode support: 220 <P><B><A NAME="general">5.2 General questions</A></B></P>
216 you must specify the <CODE>-vm</CODE> and the <CODE>-fs</CODE> switch, and 221
217 you're done. Make sure you have the right modelines in your XF86Config file, and 222 <DL>
218 try to make the <A HREF="video.html#dga">DGA driver</A> and 223
219 <A HREF="video.html#sdl">SDL's DGA driver</A> work for you. 224 <DT>Q: There is a timer in the upper left corner. How can I get rid of it?</DT>
220 It's much faster. If SDL's DGA works, use that, it'll be EVEN faster! 225 <DD>A: Press <CODE>o</CODE> and try the <CODE>-osdlevel</CODE> option.</DD>
221 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 226 <DD>&nbsp;</DD>
222 227
223 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>What is the meaning of the numbers on the status line? 228 <DT>Q: The <CODE>-xy</CODE> or <CODE>-fs</CODE> option doesn't work with the
224 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Example: <CODE>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%</CODE><BR> 229 x11 driver (<CODE>-vo x11</CODE>) ...</DT>
225 <UL> 230 <DD>A: It does, but you have to explicitly specify software scaling (it's
226 <LI>A: audio position in seconds 231 SLOW!) with the <CODE>-zoom</CODE> option. You better use XF86VidMode
227 <LI>V: video position in seconds 232 support: You must specify the <CODE>-vm</CODE> and the <CODE>-fs</CODE>
228 <LI>A-V: audio-video difference in seconds (delay) 233 switch, and you're done. Make sure you have the right modelines in your
229 <LI>ct: total A-V sync correction done 234 XF86Config file, and try to make the <A HREF="video.html#dga">DGA driver</A>
230 <LI>frames played (counting from last seek) 235 and <A HREF="video.html#sdl">SDL's DGA driver</A> work for you.
231 <LI>frames decoded (counting from last seek) 236 It's much faster. If SDL's DGA works, use that, it'll be EVEN faster!</DD>
232 <LI>video codec cpu usage in percent (for slices and DR this includes video_out) 237 <DD>&nbsp;</DD>
233 <LI>video_out cpu usage 238
234 <LI>audio codec cpu usage in percent 239 <DT>Q: What is the meaning of the numbers on the status line?</DT>
235 <LI>frames needed to drop to maintain A-V sync 240 <DD>A: Example:
236 <LI>current level of image postprocessing (when using <CODE>-autoq</CODE>) 241 <CODE>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%</CODE>
237 <LI>current cache size used (around 50% is normal) 242 <UL>
238 </UL> 243 <LI>A: audio position in seconds</LI>
239 Most of them are for debug purposes and will be removed soon. 244 <LI>V: video position in seconds</LI>
240 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 245 <LI>A-V: audio-video difference in seconds (delay)</LI>
241 246 <LI>ct: total A-V sync correction done</LI>
242 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>What if I don't want them to appear? 247 <LI>frames played (counting from last seek)</LI>
243 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Use the <CODE>-quiet</CODE> option and read the man page. 248 <LI>frames decoded (counting from last seek)</LI>
244 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 249 <LI>video codec cpu usage in percent (for slices and DR this includes
245 250 video_out)</LI>
246 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Why is video_out cpu usage zero (0%) for some files? 251 <LI>video_out cpu usage</LI>
247 </B></TD><TR><TD></TD><TD VALIGN=top>A1:</TD><TD>It's not zero, but it's called from the codec and thus cannot be measured 252 <LI>audio codec cpu usage in percent</LI>
248 separately. You should try to play the file using <CODE>-vo null</CODE> and then 253 <LI>frames needed to drop to maintain A-V sync</LI>
249 <CODE>-vo ...</CODE> and check the difference to see the video_out speed. 254 <LI>current level of image postprocessing (when using <CODE>-autoq</CODE>)</LI>
250 </TD><TR><TD></TD><TD VALIGN=top>A2:</TD><TD>You are using Direct Rendering, 255 <LI>current cache size used (around 50% is normal)</LI>
251 where the codec renders to the video memory itself. In this case, the 256 </UL>
252 decoding percentage contains the display percentage, too. 257 Most of them are for debug purposes and will be removed at some point.</DD>
253 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 258 <DD>&nbsp;</DD>
254 259
255 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>There are error messages about file not found <CODE>/usr/lib/win32/</CODE> ... 260 <DT>Q: What if I don't want them to appear?</DT>
256 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Download the <A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/w32codec-0.90.tar.bz2">Win32 codecs</A> 261 <DD>A: Use the <CODE>-quiet</CODE> option and read the man page.</DD>
257 from <B>our</B> FTP site (avifile's codec package has a different DLL set) and 262 <DD>&nbsp;</DD>
258 install it. 263
259 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 264 <DT>Q: Why is video_out cpu usage zero (0%) for some files?</DT>
260 265 <DD>A1: It's not zero, but it's called from the codec and thus cannot be
261 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Are there any mailing lists on MPlayer? 266 measured separately. You should try to play the file using
262 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Yes! See the bottom of the info page on 267 <CODE>-vo null</CODE> and then <CODE>-vo ...</CODE> and check the
263 <A HREF="http://www.mplayerhq.hu/homepage/info.html">our homepage</A> to subscribe! 268 difference to see the video_out speed.</DD>
264 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 269 <DD>A2: You are using Direct Rendering,
265 270 where the codec renders to the video memory itself. In this case, the
266 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I've found a nasty bug when I tried to play my favorite video!! 271 decoding percentage contains the display percentage, too.</DD>
267 Who should I inform? 272 <DD>&nbsp;</DD>
268 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Please read the <A HREF="bugreports.html">bug reporting guidelines</A> and follow 273
269 the instructions. 274 <DT>Q: There are error messages about file not found
270 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 275 <CODE>/usr/lib/win32/</CODE> ...</DT>
271 276 <DD>A: Download the
272 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have problems playing files with the ... codec. Can I use them? 277 <A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/w32codec-0.90.tar.bz2">Win32 codecs</A>
273 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Check the <A HREF="http://www.mplayerhq.hu/DOCS/codecs-status.html">codec status</A>, 278 from <B>our</B> FTP site (avifile's codec package has a different DLL set)
274 if it doesn't contain your codec, read the 279 and install it.</DD>
275 <A HREF="codecs.html">codec documentation</A>, especially the 280 <DD>&nbsp;</DD>
276 <A HREF="codecs.html#importing">codec importing HOWTO</A> and contact us. 281
277 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 282 <DT>Q: Are there any mailing lists on MPlayer?</DT>
278 283 <DD>A: Yes! See the bottom of the info page on
279 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Umm, what is "IdegCounter"? 284 <A HREF="http://www.mplayerhq.hu/homepage/info.html">our homepage</A> to
280 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>A combination of a Hungarian and an English word. "Ideg" in Hungarian means 285 subscribe!</DD>
281 the same as "nerve" in English, and is pronounced as something like "ydaegh". 286 <DD>&nbsp;</DD>
282 It was first used to measure the nervousness of A'rpi, after some (umm) "mystic" 287
283 disappearance of CVS code ;) 288 <DT>Q: I've found a nasty bug when I tried to play my favorite video!!
284 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 289 Who should I inform?</DT>
285 290 <DD>A: Please read the <A HREF="bugreports.html">bug reporting guidelines</A>
286 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>And what is "Faszom(C)ounter"? 291 and follow the instructions.</DD>
287 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>"Fasz" is a Hungarian word you don't want to know, the others are connected to 292 <DD>&nbsp;</DD>
288 the perverted minds of the MPlayer developers. 293
289 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 294 <DT>Q: I have problems playing files with the ... codec. Can I use them?</DT>
290 295 <DD>A: Check the
291 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>LIRC doesn't work, because ... 296 <A HREF="http://www.mplayerhq.hu/DOCS/codecs-status.html">codec status</A>,
292 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Are you sure you are using <CODE>mplayer</CODE> instead of <CODE>mplayer_lirc</CODE>? 297 if it doesn't contain your codec, read the
293 Note that it was <CODE>mplayer_lirc</CODE> for a long time, including the 0.60 298 <A HREF="codecs.html">codec documentation</A>, especially the
294 release, but it was recently changed back to <CODE>mplayer</CODE>. 299 <A HREF="codecs.html#importing">codec importing HOWTO</A> and contact us.</DD>
295 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 300 <DD>&nbsp;</DD>
296 301
297 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Subtitles are very nice, the most beautiful I've ever seen, but they slow 302 <DT>Q: Umm, what is "IdegCounter"?</DT>
298 down playing! I know it's unlikely ... 303 <DD>A: A combination of a Hungarian and an English word. "Ideg" in Hungarian
299 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>After running <CODE>./configure</CODE> , edit <CODE>config.h</CODE> and replace 304 means the same as "nerve" in English, and is pronounced as something like
300 <CODE>#undef FAST_OSD</CODE> with <CODE>#define FAST_OSD</CODE>. Then recompile. 305 "ydaegh". It was first used to measure the nervousness of A'rpi, after some
301 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 306 (umm) "mysterious" disappearance of CVS code ;)</DD>
302 307 <DD>&nbsp;</DD>
303 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>The onscreen display (OSD) is flickering! 308
304 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You use a vo driver with single buffering (x11,xv). With xv, 309 <DT>Q: And what is "Faszom(C)ounter"?</DT>
305 use the <CODE>-double</CODE> option. Also try <CODE>-vop expand</CODE> 310 <DD>A: "Fasz" is a Hungarian word you don't want to know, the others are
306 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 311 connected to the perverted minds of the MPlayer developers.</DD>
307 312 <DD>&nbsp;</DD>
308 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>What exactly is this libavcodec thing? 313
309 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>See the <A HREF="codecs.html#libavcodec">libavcodec section</A>. 314 <DT>Q: LIRC doesn't work, because ...</DT>
310 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 315 <DD>A: Are you sure you are using <CODE>mplayer</CODE> instead of
311 316 <CODE>mplayer_lirc</CODE>? Note that it was <CODE>mplayer_lirc</CODE> for a
312 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>But configure tells me "Checking for libavcodec ... no"! 317 long time, including the 0.60 release, but it was recently changed back to
313 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You need to get libavcodec from FFmpeg's CVS. Read the instructions in 318 <CODE>mplayer</CODE>.</DD>
314 the <A HREF="codecs.html#libavcodec">libavcodec section</A>. 319 <DD>&nbsp;</DD>
315 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 320
316 321 <DT>Q: Subtitles are very nice, the most beautiful I've ever seen, but they
317 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Icewm's taskbar keeps covering the movie in fullscreen mode! 322 slow down playing! I know it's unlikely ...</DT>
318 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This shouldn't happen anymore, if it still does use the <CODE>-icelayer</CODE> 323 <DD>A: After running <CODE>./configure</CODE> , edit <CODE>config.h</CODE> and
319 option and report it to the 324 replace <CODE>#undef FAST_OSD</CODE> with <CODE>#define FAST_OSD</CODE>.
320 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A> 325 Then recompile.</DD>
321 mailing list. 326 <DD>&nbsp;</DD>
322 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 327
323 328 <DT>Q: The onscreen display (OSD) is flickering!</DT>
324 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I can't access the GUI menu. I press right click, but I can't access any 329 <DD>A: You use a vo driver with single buffering (x11,xv). With xv,
325 menu items! 330 use the <CODE>-double</CODE> option. Also try <CODE>-vop expand</CODE></DD>
326 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Are you using FVWM? Try the following:<BR> 331 <DD>&nbsp;</DD>
327 Start -&gt; Settings -&gt; Configuration -&gt; Base Configuration<BR> 332
328 Set "Use Applications position hints" to "Yes". 333 <DT>Q: What exactly is this libavcodec thing?</DT>
329 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 334 <DD>A: See the <A HREF="codecs.html#libavcodec">libavcodec section</A>.</DD>
330 335 <DD>&nbsp;</DD>
331 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>How can I run MPlayer in the background? 336
332 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Use: <CODE>mplayer &lt;options&gt; &lt;filename&gt; &lt; /dev/null &</CODE> 337 <DT>Q: But configure tells me "Checking for libavcodec ... no"!</DT>
333 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 338 <DD>A: You need to get libavcodec from FFmpeg's CVS. Read the instructions in
334 339 the <A HREF="codecs.html#libavcodec">libavcodec section</A>.</DD>
335 <TD COLSPAN=3> 340 <DD>&nbsp;</DD>
336 <B><A NAME="playback">5.3 playback problems</A></B> 341
337 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 342 <DT>Q: Icewm's taskbar keeps covering the movie in fullscreen mode!</DT>
338 343 <DD>A: This shouldn't happen anymore, if it still does use the
339 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I can play certain AVIs but I 344 <CODE>-icelayer</CODE> option and report it to the
340 get no sound and this kind of error: 345 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>
341 <PRE> 346 mailing list.</DD>
342 Detected audio codec: [divx] afm:4 (DivX audio (WMA)) 347 <DD>&nbsp;</DD>
343 Requested audio codec family [divx] (afm=4) not available (enable it at 348
344 compile time!) 349 <DT>Q: I can't access the GUI menu. I press right click, but I can't access
345 </PRE> 350 any menu items!</DT>
346 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Probably the audio uses a codec 351 <DD>A: Are you using FVWM? Try the following:<BR>
347 not natively supported by <B>MPlayer</B>. Install the Win32 codec package as 352 Start -&gt; Settings -&gt; Configuration -&gt; Base Configuration<BR>
348 described in the README or <A HREF="documentation.html#installation">here</A>. 353 Set "Use Applications position hints" to "Yes".</DD>
349 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 354 <DD>&nbsp;</DD>
350 355
351 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>... works with avifile/aviplay but doesn't with MPlayer. 356 <DT>Q: How can I run MPlayer in the background?</DT>
352 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><B>MPlayer</B> != avifile. 357 <DD>A: Use: <CODE>mplayer &lt;options&gt; &lt;filename&gt; &lt; /dev/null &amp;</CODE></DD>
353 The only common thing between these players is the Win32 DLL loader. 358
354 The codecs (DLL) set, synchronization, demultiplexing etc is totally 359 </DL>
355 different and shouldn't be compared. 360
356 If something works with aviplay it doesn't mean that <B>MPlayer</B> will work 361
357 and vice versa. 362 <P><B><A NAME="file_playing">5.3 File playing problems</A></B></P>
358 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 363
359 364 <DL>
360 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Audio goes out of sync playing an AVI file. 365
361 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Try the <CODE>-bps</CODE> or <CODE>-nobps</CODE> option. If it does not improve, 366 <DT>Q: I can play certain AVIs but I get no sound and this kind of error:
362 read <A HREF="bugreports.html">this</A> and upload the file to FTP. 367 <PRE>
363 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 368 Detected audio codec: [divx] afm:4 (DivX audio (WMA))
364 369 Requested audio codec family [divx] (afm=4) not available (enable it at
365 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>MPlayer exits with some error when using l3codeca.acm. 370 compile time!)
366 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Check <CODE>ldd /usr/local/bin/mplayer</CODE> output. If it contains<BR> 371 </PRE>
367 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>libc.so.6 => /lib/libc.so.6 (0x4???????)</CODE><BR> 372 </DT>
368 where "?" is any number then it's OK, the error is not here. If it is:<BR> 373 <DD>A: Probably the audio uses a codec not natively supported by
369 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>libc.so.6 => /lib/libc.so.6 (0x00??????)</CODE><BR> 374 <B>MPlayer</B>. Install the Win32 codec package as described in the README
370 then there is a problem with your kernel/libc. Maybe you are using some 375 or <A HREF="documentation.html#installation">here</A>.</DD>
371 security patches (for example Solar Designer's OpenWall patch) which 376 <DD>&nbsp;</DD>
372 forces loading libraries to very low addresses. 377
373 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to 378 <DT>Q: ... works with avifile/aviplay but doesn't with MPlayer.</DT>
374 0x00400000, we can't change this. You should use a non-patched kernel, 379 <DD>A: <B>MPlayer</B> != avifile.
375 or use <B>MPlayer</B>'s <CODE>-afm 1</CODE> option to disable using l3codeca.acm. 380 The only common thing between these players is the Win32 DLL loader.
376 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 381 The codecs (DLL) set, synchronization, demultiplexing etc is totally
377 382 different and shouldn't be compared.
378 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 383 If something works with aviplay it doesn't mean that <B>MPlayer</B> will
379 sound too slow. When I use -nosound switch, everything is OK (but quiet). 384 work and vice versa.</DD>
380 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Your machine is too slow or your soundcard driver is broken. Consult the documentation to see if you can improve 385 <DD>&nbsp;</DD>
381 performance. 386
382 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 387 <DT>Q: Audio goes out of sync playing an AVI file.</DT>
383 388 <DD>A: Try the <CODE>-bps</CODE> or <CODE>-nobps</CODE> option. If it does not
384 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video". 389 improve, read <A HREF="bugreports.html">this</A> and upload the file to FTP.</DD>
385 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Try running <B>MPlayer</B> on the machine you compiled on. Or recompile 390 <DD>&nbsp;</DD>
386 with runtime CPU detection 391
387 (<CODE>./configure --enable-runtime-cpudetection</CODE>). Don't 392 <DT>Q: MPlayer exits with some error when using l3codeca.acm.</DT>
388 use <B>MPlayer</B> on a CPU different from the one it was compiled on, 393 <DD>A: Check <CODE>ldd /usr/local/bin/mplayer</CODE> output. If it contains<BR>
389 without using the feature mentioned just now. 394 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>libc.so.6 => /lib/libc.so.6 (0x4???????)</CODE><BR>
390 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 395 where "?" is any number then it's OK, the error is not here. If it is:<BR>
391 396 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>libc.so.6 => /lib/libc.so.6 (0x00??????)</CODE><BR>
392 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... 397 then there is a problem with your kernel/libc. Maybe you are using some
393 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Read the <A HREF="bugreports.html">bug reporting guidelines</A> and send us a 398 security patches (for example Solar Designer's OpenWall patch) which
394 proper bug report. 399 forces loading libraries to very low addresses.
395 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 400 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to
396 401 0x00400000, we can't change this. You should use a non-patched kernel,
397 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I got this playing MPEG files: Can't find codec for video format 0x10000001! 402 or use <B>MPlayer</B>'s <CODE>-afm 1</CODE> option to disable using
398 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You have an old version of codecs.conf at <CODE>~/.mplayer/</CODE>. Upgrade it 403 l3codeca.acm.</DD>
399 from <CODE>/etc/</CODE>.<BR> 404 <DD>&nbsp;</DD>
400 <B>OR</B> you have the <CODE>vc=</CODE> option or something similar in your 405
401 config file(s). 406 <DT>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo
402 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 407 mp3 sound too slow. When I use -nosound switch, everything is OK (but
403 408 quiet).</DT>
404 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When starting MPlayer under KDE I just get a black screen and nothing happens. 409 <DD>A: Your machine is too slow or your soundcard driver is broken. Consult
405 After about one minute the video starts playing. 410 the documentation to see if you can improve performance.</DD>
406 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>The KDE arts sound daemon is blocking the sound device. Either wait until the 411 <DD>&nbsp;</DD>
407 video starts or disable the arts-daemon in kontrol center. If you want 412
408 to use arts sound, specify audio output via our native arts audio driver 413 <DT>Q: MPlayer dies with "MPlayer interrupted by signal 4 in module:
409 (<CODE>-ao arts</CODE>). If it fails or isn't compiled in, try SDL 414 decode_video".</DT>
410 (<CODE>-ao sdl</CODE>) and make sure your SDL can handle arts sound. Yet 415 <DD>A: Try running <B>MPlayer</B> on the machine you compiled on. Or recompile
411 another option is to start <B>MPlayer</B> with artsdsp. 416 with runtime CPU detection
412 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 417 (<CODE>./configure --enable-runtime-cpudetection</CODE>). Don't
413 418 use <B>MPlayer</B> on a CPU different from the one it was compiled on,
414 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have an AVI that produces a gray screen when played with <CODE>-vc odivx</CODE> 419 without using the feature mentioned just now.</DD>
415 and a green one with <CODE>-vc divx4</CODE>. 420 <DD>&nbsp;</DD>
416 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf. 421
417 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 422 <DT>Q: I have problems with [your window manager] and fullscreen
418 423 xv/xmga/sdl/x11 modes ...</DT>
419 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When I play this movie I get video-audio desync and/or MPlayer crashes with the following message:<BR> 424 <DD>A: Read the <A HREF="bugreports.html">bug reporting guidelines</A> and
420 <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE> 425 send us a proper bug report.</DD>
421 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This can have multiple reasons.<BR> 426 <DD>&nbsp;</DD>
422 <UL> 427
423 <LI>Your CPU <B>and/or</B> video card <B>and/or</B> bus is too SLOW. <B>MPlayer</B> 428 <DT>Q: I got this playing MPEG files: Can't find codec for video format
424 displays a message if this is the case (and the dropped frames counter goes up fast).</LI> 429 0x10000001!</DT>
425 <LI>If it is an AVI, maybe it has bad interleaving. Try the <CODE>-ni</CODE> option.</LI> 430 <DD>A: You have an old version of codecs.conf at <CODE>~/.mplayer/</CODE>.
426 <LI>Your sound driver is buggy, or you use ALSA 0.5 with <CODE>-ao oss</CODE>. 431 Upgrade it from <CODE>/etc/</CODE>.<BR>
427 See the <A HREF="sound.html">sound card section</A>.</LI> 432 <B>OR</B> you have the <CODE>vc=</CODE> option or something similar in your
428 <LI>The AVI has a bad header, try the <CODE>-nobps</CODE> option, and/or 433 config file(s).</DD>
429 <CODE>-mc 0</CODE>.</LI> 434 <DD>&nbsp;</DD>
430 </UL> 435
431 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 436 <DT>Q: When starting MPlayer under KDE I just get a black screen and nothing
432 437 happens. After about one minute the video starts playing.</DT>
433 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have an MJPEG file which works with other players but displays only a black 438 <DD>A: The KDE arts sound daemon is blocking the sound device. Either wait
434 image in MPlayer. 439 until the video starts or disable the arts-daemon in kontrol center. If you
435 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Disable the Windows DLL in <CODE>codecs.conf</CODE>, or use the 440 want to use arts sound, specify audio output via our native arts audio
436 <CODE>-vc ffmjpeg</CODE> option (compile MPlayer with libavcodec for this to work). 441 driver (<CODE>-ao arts</CODE>). If it fails or isn't compiled in, try SDL
437 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 442 (<CODE>-ao sdl</CODE>) and make sure your SDL can handle arts sound. Yet
438 443 another option is to start <B>MPlayer</B> with artsdsp.</DD>
439 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When I try to grab from my tuner, it works, but colors are strange. It's OK 444 <DD>&nbsp;</DD>
440 with other applications. 445
441 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Your card probably misreports its colorspace capacity. Try with YUY2 instead 446 <DT>Q: I have an AVI that produces a gray screen when played with
442 of default YV12 (see the <A HREF="documentation.html#tv">TV input documentation</A>). 447 <CODE>-vc odivx</CODE> and a green one with <CODE>-vc divx4</CODE>.</DT>
443 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 448 <DD>A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.</DD>
444 449 <DD>&nbsp;</DD>
445 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When I start playing, I get this message but everything seems fine:<BR> 450
446 <CODE>Linux RTC init: ioctl (rtc_pie_on): Permission denied</CODE> 451 <DT>Q: When I play this movie I get video-audio desync and/or MPlayer crashes
447 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You need root privileges or a 452 with the following message:<BR>
448 specially set up kernel to use the new timing code. For details see the 453 <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></DT>
449 <A HREF="documentation.html#rtc">RTC section</A> of the documentation. 454 <DD>A: This can have multiple reasons.
450 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 455 <UL>
451 456 <LI>Your CPU <B>and/or</B> video card <B>and/or</B> bus is too SLOW.
452 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have A/V sync problems. Some of my AVIs play fine, but some play with 457 <B>MPlayer</B>displays a message if this is the case (and the dropped
453 double speed! 458 frames counter goes up fast).</LI>
454 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and 459 <LI>If it is an AVI, maybe it has bad interleaving. Try the
455 you try to play a file which has 22050Hz audio. Try the resample audio plugin. 460 <CODE>-ni</CODE> option.</LI>
456 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 461 <LI>Your sound driver is buggy, or you use ALSA 0.5 with <CODE>-ao oss</CODE>.
457 462 See the <A HREF="sound.html">sound card section</A>.</LI>
458 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>All the WMV (or other..) files I play create a green/gray window and there is 463 <LI>The AVI has a bad header, try the <CODE>-nobps</CODE> option, and/or
459 only sound! MPlayer prints:<BR> 464 <CODE>-mc 0</CODE>.</LI>
460 <CODE>Detected video codec: [null] drv:0 (NULL codec (no decoding))</CODE> 465 </UL></DD>
461 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Update your <CODE>codecs.conf</CODE>. 466 <DD>&nbsp;</DD>
462 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 467
463 468 <DT>Q: I have an MJPEG file which works with other players but displays only a
464 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I get very strange percentage values (way too big) while playing files on my notebook. 469 black image in MPlayer.</DT>
465 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>It's an effect of the power management / power saving system of your notebook 470 <DD>A: Disable the Windows DLL in <CODE>codecs.conf</CODE>, or use the
466 (BIOS, not kernel). Plug the external power connector in <B>before</B> you power on your 471 <CODE>-vc ffmjpeg</CODE> option (compile MPlayer with libavcodec for this
467 notebook. 472 to work).</DD>
468 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 473 <DD>&nbsp;</DD>
469 474
470 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>The audio/video gets totally out of sync when I run MPlayer as root on my notebook. 475 <DT>Q: When I try to grab from my tuner, it works, but colors are strange.
471 It works normal when i run it as a user. 476 It's OK with other applications.</DT>
472 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This is again a power management effect (see above). Plug the external power 477 <DD>A: Your card probably misreports its colorspace capacity. Try with YUY2
473 connector in <B>before</B> you power on your notebook or use the 478 instead of default YV12 (see the <A HREF="documentation.html#tv">TV input
474 <CODE>-nortc</CODE> switch. 479 documentation</A>).</DD>
475 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 480 <DD>&nbsp;</DD>
476 481
477 <TD COLSPAN=3> 482 <DT>Q: When I start playing, I get this message but everything seems fine:<BR>
478 <B><A NAME="driver">5.4 Video/audio driver problems (vo/ao)</A></B> 483 <CODE>Linux RTC init: ioctl (rtc_pie_on): Permission denied</CODE></DT>
479 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 484 <DD>A: You need root privileges or a
480 485 specially set up kernel to use the new timing code. For details see the
481 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have no sound when playing a 486 <A HREF="documentation.html#rtc">RTC section</A> of the documentation.</DD>
482 video and get error messages similar to this one: 487 <DD>&nbsp;</DD>
483 <PRE> 488
484 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) 489 <DT>Q: I have A/V sync problems. Some of my AVIs play fine, but some play with
485 audio_setup: Can't open audio device /dev/dsp: Device or resource busy 490 double speed!</DT>
486 couldn't open/init audio device -> NOSOUND 491 <DD>A: You have a buggy sound card/driver. Most likely it's fixed at 44100Hz,
487 Audio: no sound!!! 492 and you try to play a file which has 22050Hz audio. Try the resample audio
488 Start playing... 493 plugin.</DD>
489 </PRE> 494 <DD>&nbsp;</DD>
490 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Are you running KDE or GNOME with 495
491 the arts or esd sound daemon? Try disabling the sound daemon, or use the 496 <DT>Q: All the WMV (or other..) files I play create a green/gray window and
492 <CODE>-ao arts</CODE> switch to make <B>MPlayer</B> use arts. 497 there is only sound! MPlayer prints:<BR>
493 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 498 <CODE>Detected video codec: [null] drv:0 (NULL codec (no decoding))</CODE></DT>
494 499 <DD>A: Update your <CODE>codecs.conf</CODE>.</DD>
495 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>What about the DGA driver? I can't find it!!! 500 <DD>&nbsp;</DD>
496 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD><CODE>./configure</CODE> autodetects your DGA driver. If <CODE>-vo help</CODE> doesn't show 501
497 DGA, then there's a problem with your X installation. 502 <DT>Q: I get very strange percentage values (way too big) while playing files
498 Try <CODE>./configure --enable-dga</CODE> and read the 503 on my notebook.</DT>
499 <A HREF="video.html#dga">documentation</A>. 504 <DD>A: It's an effect of the power management / power saving system of your
500 Alternatively, try SDL's DGA driver with the <CODE>-vo sdl:dga</CODE> option. 505 notebook (BIOS, not kernel). Plug the external power connector in
501 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 506 <B>before</B> you power on your notebook.</DD>
502 507 <DD>&nbsp;</DD>
503 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>OK, <CODE>-vo help</CODE> shows DGA driver, but it complains about permissions! 508
504 Help me! 509 <DT>Q: The audio/video gets totally out of sync when I run MPlayer as root on
505 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>It works only if running as root! It's a DGA limitation. 510 my notebook. It works normal when i run it as a user.</DT>
506 You should become root (<CODE>su -</CODE>), and try again. 511 <DD>A: This is again a power management effect (see above). Plug the external
507 Another solution is making <B>MPlayer</B> SUID root, but it's <B>NOT RECOMMENDED!</B><BR> 512 power connector in <B>before</B> you power on your notebook or use the
508 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chown root /usr/local/bin/mplayer</CODE><BR> 513 <CODE>-nortc</CODE> switch.</DD>
509 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chmod 755 /usr/local/bin/mplayer</CODE><BR> 514
510 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chmod +s /usr/local/bin/mplayer</CODE><BR> 515 </DL>
511 <B>!!!! BUT STAY TUNED !!!!</B><BR> 516
512 This is a *BIG* security risk! *NEVER* do this on a server or on a computer 517
513 that you do not control completely because other users can gain root 518 <P><B><A NAME="driver">5.4 Video/audio driver problems (vo/ao)</A></B></P>
514 privileges through SUID root MPlayer!!!<BR> 519
515 <B>!!!! SO YOU HAVE BEEN WARNED ... !!!!</B> 520 <DL>
516 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 521
517 522 <DT>Q: I have no sound when playing a video and get error messages similar to
518 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When using Xvideo, my Voodoo 3/Banshee says:<BR> 523 this one:
519 <CODE>X Error of failed request: BadAccess (attempt to access private resource denied)<BR> 524 <PRE>
520 &nbsp;&nbsp;Major opcode of failed request: 147 (MIT-SHM)<BR> 525 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
521 &nbsp;&nbsp;Minor opcode of failed request: 1 (X_ShmAttach)<BR> 526 audio_setup: Can't open audio device /dev/dsp: Device or resource busy
522 &nbsp;&nbsp;Serial number of failed request: 26<BR> 527 couldn't open/init audio device -> NOSOUND
523 &nbsp;&nbsp;Current serial number in output stream:27</CODE><BR> 528 Audio: no sound!!!
524 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>The "tdfx" driver in XFree86 4.0.2/4.0.3 had this bug. This was solved by 529 Start playing...
525 <A HREF="http://www.xfree86.org/cvs/changes_4_1.html">bugfix #621 of the XFree86 4.1.0 CVS log</A>. 530 </PRE>
526 So upgrade to XFree86 4.1.0 or later. Alternatively, either download (at least) 531 </DT>
527 DRI version 0.6 from the <A HREF="http://dri.sourceforge.net">DRI homepage</A>, 532 <DD>A: Are you running KDE or GNOME with the arts or esd sound daemon? Try
528 or use CVS DRI. 533 disabling the sound daemon, or use the <CODE>-ao arts</CODE> switch to make
529 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 534 <B>MPlayer</B> use arts.</DD>
530 535 <DD>&nbsp;</DD>
531 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>OpenGL (<CODE>-vo gl</CODE>) output doesn't work (hang/black window/X11 errors/...). 536
532 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). 537 <DT>Q: What about the DGA driver? I can't find it!!!</DT>
533 It's known not to work with nVidia's binary mess. 538 <DD>A: <CODE>./configure</CODE> autodetects your DGA driver. If
534 It's known to work with Utah-GLX/DRI and Matrox G400 cards. Also with 539 <CODE>-vo help</CODE> doesn't show DGA, then there's a problem with your X
535 DRI and Radeon cards. It won't work with DRI and other cards. 540 installation. Try <CODE>./configure --enable-dga</CODE> and read the
536 it will not work with 3DFX cards because of the 256x256 texture size limit. 541 <A HREF="video.html#dga">documentation</A>. Alternatively, try SDL's DGA
537 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 542 driver with the <CODE>-vo sdl:dga</CODE> option.</DD>
538 543 <DD>&nbsp;</DD>
539 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have an nVidia TNT/TNT2 card, and I have a band with strange colors, 544
540 right under the movie! Whose fault is this? 545 <DT>Q: OK, <CODE>-vo help</CODE> shows DGA driver, but it complains about
541 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This is a bug of nVidia's binary X driver. These bugs appear ONLY with the 546 permissions! Help me!</DT>
542 TNT/TNT2 cards, and we can't do anything about it. To fix the problem, upgrade 547 <DD>A: It works only if running as root! It's a DGA limitation.
543 to the latest nVidia binary driver version. If still bad, complain to nVidia! 548 You should become root (<CODE>su -</CODE>), and try again.
544 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 549 Another solution is making <B>MPlayer</B> SUID root, but it's
545 550 <B>NOT RECOMMENDED!</B><BR>
546 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I have an nVidia XYZ card, and when I click on the GUI's display window to toggle 551 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chown root /usr/local/bin/mplayer</CODE><BR>
547 displaying the GUI panel, a black square appears where I clicked. I have 552 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chmod 755 /usr/local/bin/mplayer</CODE><BR>
548 the newest driver. 553 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chmod +s /usr/local/bin/mplayer</CODE><BR>
549 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Yes, nVidia corrected a previous bug (above), and introduced a new one. Let's 554 <B>!!!! BUT STAY TUNED !!!!</B><BR>
550 congratulate them. UPDATE: According to 555 This is a *BIG* security risk! *NEVER* do this on a server or on a computer
551 <A HREF="users_against_developers.html#nvidia">nVidia</A>, this has already been 556 that you do not control completely because other users can gain root
552 fixed. 557 privileges through SUID root MPlayer!!!<BR>
553 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 558 <B>!!!! SO YOU HAVE BEEN WARNED ... !!!!</B></DD>
554 559 <DD>&nbsp;</DD>
555 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>When I use the GUI with SDL video output, a second video window is created. 560
556 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Known, don't use SDL for the GUI yet. 561 <DT>Q: When using Xvideo, my Voodoo 3/Banshee says:<BR>
557 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 562 <CODE>X Error of failed request: BadAccess (attempt to access private
558 563 resource denied)<BR>
559 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Oh the world is cruel ...! SDL has only <CODE>x11</CODE> target, but not 564 &nbsp;&nbsp;Major opcode of failed request: 147 (MIT-SHM)<BR>
560 <CODE>xv</CODE>! 565 &nbsp;&nbsp;Minor opcode of failed request: 1 (X_ShmAttach)<BR>
561 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Try that <CODE>x11</CODE> target again. Now try <CODE>-vo x11 -fs -zoom</CODE>. 566 &nbsp;&nbsp;Serial number of failed request: 26<BR>
562 See the difference? No?! OK, here comes the enlightenment: SDL's 567 &nbsp;&nbsp;Current serial number in output stream:27</CODE></DT>
563 <CODE>x11</CODE> target uses xv when available, you don't have to worry about 568 <DD>A: The "tdfx" driver in XFree86 4.0.2/4.0.3 had this bug. This was solved
564 it ... Note: you can force/disable Xv via SDL using <CODE>-forcexv</CODE> and <CODE>-noxv</CODE> 569 by <A HREF="http://www.xfree86.org/cvs/changes_4_1.html">bugfix #621 of the
565 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 570 XFree86 4.1.0 CVS log</A>. So upgrade to XFree86 4.1.0 or later.
566 571 Alternatively, either download (at least) DRI version 0.6 from the
567 <TD COLSPAN="3"> 572 <A HREF="http://dri.sourceforge.net">DRI homepage</A>, or use CVS DRI.</DD>
568 <B><A NAME="dvd">5.5 DVD playback</A></B> 573 <DD>&nbsp;</DD>
569 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 574
570 575 <DT>Q: OpenGL (<CODE>-vo gl</CODE>) output doesn't work (hang/black window/X11
571 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 576 errors/...).</DT>
572 While playing a DVD, I encountered this error:<BR> 577 <DD>A: Your OpenGL driver doesn't support dynamic texture changes
573 <CODE>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / 578 (glTexSubImage). It's known not to work with nVidia's binary mess.
574 sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</CODE> 579 It's known to work with Utah-GLX/DRI and Matrox G400 cards. Also with
575 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 580 DRI and Radeon cards. It won't work with DRI and other cards.
576 This is a known libdvdread 0.9.1/0.9.2 bug. 581 it will not work with 3DFX cards because of the 256x256 texture size limit.</DD>
577 Use <B>libmpdvdkit</B>, which is present in MPlayer source, and used by 582 <DD>&nbsp;</DD>
578 default. 583
579 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 584 <DT>Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colors,
580 585 right under the movie! Whose fault is this?</DT>
581 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 586 <DD>A: This is a bug of nVidia's binary X driver. These bugs appear ONLY with
582 Can I compile libdvdread and libdvdcss on my sweet SPARC under Solaris? 587 the TNT/TNT2 cards, and we can't do anything about it. To fix the problem,
583 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 588 upgrade to the latest nVidia binary driver version. If still bad, complain
584 Who knows ... It's said to work, so please test it and send feedback. Refer to 589 to nVidia!</DD>
585 the documentation of libdvdread and its homepage as well. We're not the authors 590 <DD>&nbsp;</DD>
586 of libdvdread. Use <B>libmpdvdkit</B>, which is present in MPlayer source, and used by 591
587 default. 592 <DT>Q: I have an nVidia XYZ card, and when I click on the GUI's display window
588 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 593 to toggle displaying the GUI panel, a black square appears where I clicked.
589 594 I have the newest driver.</DT>
590 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 595 <DD>A: Yes, nVidia corrected a previous bug (above), and introduced a new one.
591 What about subtitles? Can MPlayer display them? 596 Let's congratulate them. UPDATE: According to
592 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 597 <A HREF="users_against_developers.html#nvidia">nVidia</A>, this has already
593 Yes! See the <A HREF="cd-dvd.html#dvd">DVD chapter</A> of the documentation. 598 been fixed.</DD>
594 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 599 <DD>&nbsp;</DD>
595 600
596 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 601 <DT>Q: When I use the GUI with SDL video output, a second video window is
597 How can I set the region code of my DVD-drive? I don't have Windows! 602 created.</DT>
598 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 603 <DD>A: Known, don't use SDL for the GUI yet.</DD>
599 Use the 604 <DD>&nbsp;</DD>
600 <A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">regionset tool</A>. 605
601 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 606 <DT>Q: Oh the world is cruel ...! SDL has only <CODE>x11</CODE> target, but
602 607 not <CODE>xv</CODE>!</DT>
603 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 608 <DD>A: Try that <CODE>x11</CODE> target again. Now try
604 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play a DVD? 609 <CODE>-vo x11 -fs -zoom</CODE>. See the difference? No?! OK, here comes the
605 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 610 enlightenment: SDL's <CODE>x11</CODE> target uses xv when available, you
606 No, only for old-style DVD support. However you must have 611 don't have to worry about it ... Note: you can force/disable Xv via SDL
607 the proper rights on the DVD device entry (in <CODE>/dev/</CODE>). 612 using <CODE>-forcexv</CODE> and <CODE>-noxv</CODE></DD>
608 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 613
609 614 </DL>
610 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 615
611 Where can I get libdvdread and libdvdcss packages? 616
612 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 617 <P><B><A NAME="dvd">5.5 DVD playback</A></B></P>
613 You don't need to. Use <B>libmpdvdkit</B>, which is present in MPlayer source, and used by 618
614 default. 619 <DL>
615 Anyway, the packages mentioned can be get from the 620
616 <A HREF="http://www.dtek.chalmers.se/groups/dvd">Ogle site</A>. 621 <DT>Q: While playing a DVD, I encountered this error:<BR>
617 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 622 <CODE>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion
618 623 nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</CODE></DT>
619 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 624 <DD>A: This is a known libdvdread 0.9.1/0.9.2 bug. Use <B>libmpdvdkit</B>,
620 Is it possible to play/encode only selected chapters? 625 which is present in MPlayer source, and used by default.</DD>
621 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 626 <DD>&nbsp;</DD>
622 Yes, try the <CODE>-chapter</CODE> option. 627
623 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 628 <DT>Q: Can I compile libdvdread and libdvdcss on my sweet SPARC under
624 629 Solaris?</DT>
625 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> 630 <DD>A: Who knows ... It's said to work, so please test it and send feedback.
626 My DVD playback is sluggish! 631 Refer to the documentation of libdvdread and its homepage as well. We're not
627 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> 632 the authors of libdvdread. Use <B>libmpdvdkit</B>, which is present in
628 Use the <CODE>-cache</CODE> option (described in the man page) 633 <B>MPlayer</B> source, and used by default.</DD>
629 and try enabling DMA for the DVD drive with the hdparm tool (described in the 634 <DD>&nbsp;</DD>
630 <A HREF="cd-dvd.html#drives">CD/DVD drives</A> chapter of the documentation). 635
631 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 636 <DT>Q: What about subtitles? Can MPlayer display them?</DT>
632 637 <DD>A: Yes! See the <A HREF="cd-dvd.html#dvd">DVD chapter</A> of the
633 <TD COLSPAN=3> 638 documentation.</DD>
634 <B><A NAME="features">5.6 Feature requests</A></B> 639 <DD>&nbsp;</DD>
635 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 640
636 641 <DT>Q: How can I set the region code of my DVD-drive? I don't have
637 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>If <B>MPlayer</B> is paused 642 Windows!</DT>
638 and I try to seek or press any key at all, <B>MPlayer</B> ceases to be paused. 643 <DD>A: Use the
639 I would like to be able to seek in the paused movie. 644 <A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">regionset tool</A>.</DD>
640 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This is very tricky to implement 645 <DD>&nbsp;</DD>
641 without losing A/V synchronization. All attempts have failed so far, but patches 646
642 are welcome. 647 <DT>Q: Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play
643 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 648 a DVD?</DT>
644 649 <DD>A: No, only for old-style DVD support. However you must have
645 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I'd like to seek +/- 1 frames instead of 10 seconds. 650 the proper rights on the DVD device entry (in <CODE>/dev/</CODE>).</DD>
646 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>This won't be done. It was, but then it messed up A/V sync. Feel free to 651 <DD>&nbsp;</DD>
647 implement it, and send a patch. Don't ask for it. 652
648 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 653 <DT>Q: Where can I get libdvdread and libdvdcss packages?</DT>
649 654 <DD>A: You don't need to. Use <B>libmpdvdkit</B>, which is present in
650 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B> Where is the Windows version? 655 <B>MPlayer</B> source, and used by default. Anyway, the packages mentioned
651 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD> It's not released, and won't be. Look around the Windows scene (open source 656 can be get from the
652 ASF parsers, open source ASF encoders, etc) and you'll know why. We don't 657 <A HREF="http://www.dtek.chalmers.se/groups/dvd">Ogle site</A>.</DD>
653 want to go to jail. BTW you can compile it yourself, under 658 <DD>&nbsp;</DD>
654 <A HREF="documentation.html#cygwin">Cygwin</A>. 659
655 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 660 <DT>Q: Is it possible to play/encode only selected chapters?</DT>
656 661 <DD>A: Yes, try the <CODE>-chapter</CODE> option.</DD>
657 <TD COLSPAN=3> 662 <DD>&nbsp;</DD>
658 <B><A NAME="encoding">5.7 Encoding</A></B> 663
659 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 664 <DT>Q: My DVD playback is sluggish!</DT>
660 665 <DD>A: Use the <CODE>-cache</CODE> option (described in the man page)
661 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>How can I encode? 666 and try enabling DMA for the DVD drive with the hdparm tool (described in
662 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Read the <B>MEncoder</B> <A HREF="encoding.html">documentation</A>. 667 the <A HREF="cd-dvd.html#cd">CD chapter</A> of the documentation).</DD>
663 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 668
664 669 </DL>
665 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>How can I create VCDs? 670
666 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Try the <CODE>mencvcd</CODE> 671
667 script from the <CODE>TOOLS</CODE> subdirectory. With it you can encode DVDs or 672 <P><B><A NAME="features">5.6 Feature requests</A></B></P>
668 other movies to VCD or SVCD format and even burn them directly to CD.</A>. 673
669 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 674 <DL>
670 675
671 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>My tuner works, I can hear the sound and watch the video with MPlayer, but 676 <DT>Q: If <B>MPlayer</B> is paused and I try to seek or press any key at all,
672 MEncoder doesn't encode audio! 677 <B>MPlayer</B> ceases to be paused. I would like to be able to seek in the
673 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>TV audio encoding for Linux is currently unimplemented, we're working on it. 678 paused movie.</DT>
674 At the moment it works only on BSD. 679 <DD>A: This is very tricky to implement without losing A/V synchronization.
675 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 680 All attempts have failed so far, but patches are welcome.</DD>
676 681 <DD>&nbsp;</DD>
677 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I can't encode DVD subtitles into the AVI! 682
678 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>You have to specify the <CODE>-sid</CODE> option correctly! 683 <DT>Q: I'd like to seek +/- 1 frames instead of 10 seconds.</DT>
679 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 684 <DD>A: This won't be done. It was, but then it messed up A/V sync. Feel free
680 685 to implement it, and send a patch. Don't ask for it.</DD>
681 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>MEncoder segfaults on startup! 686 <DD>&nbsp;</DD>
682 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Upgrade DivX4Linux. 687
683 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 688 <DT>Q: Where is the Windows version?</DT>
684 689 <DD>A: It's not released, and won't be. Look around the Windows scene (open
685 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>How can I encode only selected chapters from a DVD? 690 source ASF parsers, open source ASF encoders, etc) and you'll know why. We
686 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Use the <CODE>-chapter</CODE> option correctly, like: <CODE>-chapter 5-7</CODE> 691 don't want to go to jail. BTW you can compile it yourself, under
687 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 692 <A HREF="documentation.html#cygwin">Cygwin</A>.</DD>
688 693 <DD>&nbsp;</DD>
689 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>I'm trying to work with 2GB+ files on a VFAT file system. Does it work? 694
690 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>No, VFAT doesn't support 2GB+ files. 695 </DL>
691 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR> 696
692 697
693 <TD></TD><TD VALIGN=top>Q:</TD><TD WIDTH="100%"><B>Why is the recommended bitrate printed by MEncoder negative? 698 <P><B><A NAME="encoding">5.7 Encoding</A></B></P>
694 </B></TD><TR><TD></TD><TD VALIGN=top>A:</TD><TD>Because the bitrate you encoded the audio with is too large to fit the 699
695 movie on any CD. Check if you have libmp3lame installed properly. 700 <DL>
696 </TD><TR><TD COLSPAN=3>&nbsp;</TD> 701
697 702 <DT>Q: How can I encode?</DT>
698 </TABLE> 703 <DD>A: Read the <B>MEncoder</B> <A HREF="encoding.html">documentation</A>.</DD>
704 <DD>&nbsp;</DD>
705
706 <DT>Q: How can I create VCDs?</DT>
707 <DD>A: Try the <CODE>mencvcd</CODE> script from the <CODE>TOOLS</CODE>
708 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD
709 format and even burn them directly to CD.</DD>
710 <DD>&nbsp;</DD>
711
712 <DT>Q: My tuner works, I can hear the sound and watch the video with MPlayer,
713 but MEncoder doesn't encode audio!</DT>
714 <DD>A: TV audio encoding for Linux is currently unimplemented, we're working
715 on it. At the moment it works only on BSD.</DD>
716 <DD>&nbsp;</DD>
717
718 <DT>Q: I can't encode DVD subtitles into the AVI!</DT>
719 <DD>A: You have to specify the <CODE>-sid</CODE> option correctly!</DD>
720 <DD>&nbsp;</DD>
721
722 <DT>Q: MEncoder segfaults on startup!</DT>
723 <DD>A: Upgrade DivX4Linux.</DD>
724 <DD>&nbsp;</DD>
725
726 <DT>Q: How can I encode only selected chapters from a DVD?</DT>
727 <DD>A: Use the <CODE>-chapter</CODE> option correctly, like:
728 <CODE>-chapter 5-7</CODE></DD>
729 <DD>&nbsp;</DD>
730
731 <DT>Q: I'm trying to work with 2GB+ files on a VFAT file system. Does it work?</DT>
732 <DD>A: No, VFAT doesn't support 2GB+ files.</DD>
733 <DD>&nbsp;</DD>
734
735 <DT>Q: Why is the recommended bitrate printed by MEncoder negative?</DT>
736 <DD>A: Because the bitrate you encoded the audio with is too large to fit the
737 movie on any CD. Check if you have libmp3lame installed properly.</DD>
738
739 </DL>
699 740
700 </BODY> 741 </BODY>
701 </HTML> 742 </HTML>