Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 12079:c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
author | paszczi |
---|---|
date | Sun, 28 Mar 2004 21:18:02 +0000 |
parents | 252b9e2f7417 |
children | bcb8260d93e4 |
rev | line source |
---|---|
9675 | 1 <?xml version="1.0" encoding="iso-8859-1"?> |
10913
49b1a67e7381
Add revision keyword to english xml files, to ease translation synchronization
lumag
parents:
10631
diff
changeset
|
2 <!-- $Revision$ --> |
9675 | 3 <chapter id="faq" xreflabel="FAQ"> |
4 <title>Frequently Asked Questions</title> | |
5 | |
10373 | 6 <qandaset defaultlabel="qanda"> |
7 | |
8 <qandadiv id="faq-development"> | |
9 <title>Development</title> | |
10 | |
11 <qandaentry> | |
12 <question><para> | |
13 How do I create a proper patch for <application>MPlayer</application>? | |
14 </para></question> | |
15 <answer><para> | |
16 We made a <ulink url="../../tech/patches.txt">short document</ulink> | |
17 describing all the necessary details. Please follow the instructions. | |
18 </para></answer> | |
19 </qandaentry> | |
20 | |
21 <qandaentry> | |
22 <question><para> | |
11813 | 23 How do I translate <application>MPlayer</application> to a new language? |
24 </para></question> | |
25 <answer><para> | |
26 Read the <ulink url="../../tech/translations.txt">translation HOWTO</ulink>, | |
27 it should explain everything. You can get further help on the | |
28 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">mplayer-docs</ulink> | |
29 mailing list. | |
30 </para></answer> | |
31 </qandaentry> | |
32 | |
33 <qandaentry> | |
34 <question><para> | |
10373 | 35 How can I support <application>MPlayer</application> development? |
36 </para></question> | |
37 <answer><para> | |
38 We are more than happy to accept your hardware and software | |
39 <ulink url="http://www.mplayerhq.hu/homepage/donations.html">donations</ulink>. | |
11540 | 40 They help us in continuously improving <application>MPlayer</application>. |
10373 | 41 </para></answer> |
42 </qandaentry> | |
43 | |
44 <qandaentry> | |
45 <question><para> | |
46 How can I become an <application>MPlayer</application> developer? | |
47 </para></question> | |
48 <answer><para> | |
49 We always welcome coders and documenters. Read the | |
50 <ulink url="../../tech/">technical documentation</ulink> | |
51 to get a first grasp. Then you should subscribe to the | |
52 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</ulink> | |
11813 | 53 mailing list and start coding. If you want to help out with the documentation, |
54 join the | |
55 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">mplayer-docs</ulink> | |
56 mailing list. | |
10373 | 57 </para></answer> |
58 </qandaentry> | |
59 | |
60 <qandaentry> | |
61 <question><para> | |
62 Why don't you use autoconf/automake? | |
63 </para></question> | |
64 <answer><para> | |
65 We have a modular, handwritten build system. It does a reasonably good | |
66 job, so why change? Besides, we dislike the auto* tools, just like | |
67 <ulink url="http://freshmeat.net/articles/view/889/">other people</ulink>. | |
68 </para></answer> | |
69 </qandaentry> | |
70 </qandadiv> | |
9675 | 71 |
72 <qandadiv id="faq-compilation"> | |
73 <title>Compilation</title> | |
74 <qandaentry> | |
75 <question><para> | |
10373 | 76 Are there binary (RPM/deb) packages of <application>MPlayer</application>? |
77 </para></question> | |
78 <answer><para> | |
79 See the <link linkend="debian">Debian</link> and <link linkend="rpm">RPM</link> | |
80 section for details. | |
81 </para></answer> | |
82 </qandaentry> | |
83 | |
84 <qandaentry> | |
85 <question><para> | |
9675 | 86 Compilation stops with an error message similar to this one: |
87 <screen> | |
11031 | 88 cfft.c: In function`passf2': |
89 cfft.c:556: unable to find a register to spill in class `FLOAT_REGS' | |
90 cfft.c:556: this is the insn: | |
91 (insn 235 233 246 (set (subreg:SF (reg/v:DI 29 rmm0 [110]) 0) | |
92 (minus:SF (mem:SF (plus:SI (mult:SI (reg:SI 1 edx [112]) | |
93 (const_int 8 [0x8])) | |
94 (reg/v/f:SI 3 ebx [62])) [4 S4 A32]) | |
95 (reg:SF 8 st(0) [132]))) 533 {*fop_sf_1_nosse} (insn_list | |
96 232 (nil)) (expr_list:REG_DEAD (reg:SF 8 st(0) [132]) | |
97 (nil))) | |
98 cfft.c:556: confused by earlier errors, bailing out | |
99 </screen> | |
100 </para></question> | |
101 <answer><para> | |
102 This is a known problem of <application>gcc</application> 3.2, upgrade | |
103 to 3.3 to solve the problem. How to install gcc is described in the | |
104 <link linkend="gcc-296">gcc 2.96</link> section. Alternatively you can use | |
105 an external FAAD library as described in the | |
106 <link linkend="aac">AAC</link> section. | |
107 </para></answer> | |
108 </qandaentry> | |
109 | |
110 <qandaentry> | |
111 <question><para> | |
112 Compilation stops with an error message similar to this one: | |
113 <screen> | |
9675 | 114 In file included from mplayer.c:34: |
115 mw.h: In function `mplMainDraw': | |
116 mw.h:209: Internal compiler error in print_rtl_and_abort, at flow.c:6458 | |
117 Please submit a full bug report, | |
118 with preprocessed source if appropriate. | |
119 </screen> | |
120 </para></question> | |
121 <answer><para> | |
122 This is a known problem of <application>gcc</application> 3.0.4, upgrade | |
123 to 3.1 to solve the problem. How to install gcc is described in the | |
124 <link linkend="gcc-296">gcc 2.96</link> section. | |
125 </para></answer> | |
126 </qandaentry> | |
127 | |
128 <qandaentry> | |
129 <question><para> | |
11540 | 130 Configure ends with this text, and <application>MPlayer</application> won't compile! |
9675 | 131 <screen>Your gcc does not support even i386 for '-march' and '-mcpu'</screen> |
132 </para></question> | |
133 <answer><para> | |
134 Your gcc isn't installed correctly, check the <filename>config.log</filename> | |
135 file for details. | |
136 </para></answer> | |
137 </qandaentry> | |
138 | |
139 <qandaentry> | |
140 <question><para> | |
141 What's the problem with gcc 2.96? | |
142 </para></question> | |
143 <answer><para> | |
144 <emphasis role="bold">We strongly discourage the use of gcc 2.96!</emphasis> | |
145 Read <link linkend="gcc-296">this</link> document for details about why Red Hat | |
146 released gcc 2.96 and what the problems are all about. If you still really really | |
147 want to use it, be sure to get the latest release and give the | |
148 <option>--disable-gcc-checking</option> option to configure. Remember that you | |
149 are on your own from this point. Do <emphasis role="bold">not</emphasis> report | |
150 bugs, do <emphasis role="bold">not</emphasis> ask for help on the mailing lists. | |
151 We will <emphasis role="bold">not</emphasis> provide any support in case you run | |
152 into problems. | |
153 </para></answer> | |
154 </qandaentry> | |
155 | |
156 <qandaentry> | |
157 <question><para> | |
158 Great, I have gcc 3.0.1 from Red Hat/Mandrake, then I'm fine! | |
159 </para></question> | |
160 <answer><para> | |
161 No, since there have been/are issues with these compilers as well. | |
11540 | 162 To check the status of current compilers' <application>MPlayer</application> |
163 support, see the <link linkend="install">Installation</link> section. | |
9675 | 164 </para></answer> |
165 </qandaentry> | |
166 | |
167 <qandaentry> | |
168 <question><para> | |
169 .. gcc 2.96 ... (Yes, some people are STILL flaming about gcc 2.96!) | |
170 </para></question> | |
171 <answer><para> | |
172 Quoted from a <ulink url="http://www.mplayerhq.hu/pipermail/mplayer-users/2001-October/005351.html">mail</ulink> | |
173 A'rpi sent to the <ulink url="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</ulink> | |
174 list (the word 'ideg' is described below): | |
175 <blockquote> | |
176 <para> | |
177 And we have idegs. And our idegcounter overflowed again and again. | |
178 </para> | |
179 <para> | |
11540 | 180 Unfortunately <application>MPlayer</application> is out of our control. |
181 It's used by lamers, Linux users who can't even use Windows, and never | |
182 tried to compile a kernel. They installed (with default options) Mandrake | |
183 or Red Hat or SuSE, and without RTFM'ing they send messages saying | |
184 'it doesn't work! help me! please! i'm new to Linux! help! oh! help me!'. | |
185 We can't stop them, but at least we try to force them to RTFM and to read | |
186 the messages of ./configure and <application>MPlayer</application>. | |
9675 | 187 </para> |
188 <para> | |
189 And you clever guys come and flame us with gcc 2.96 and binary packages. | |
190 Instead of helping users or making patches to help solve problems. | |
191 </para> | |
192 <para> | |
193 Half of our spare/free time is spent by answering silly mails here and | |
194 making newer tricks and checks to configure to avoid such mails. | |
195 </para> | |
196 <para> | |
197 And there is a balance. On the one side are you, clever guys, saying we | |
198 are very bad because we don't like buggy gcc 2.96, and on the other side | |
199 there are the 'new to Linux' guys who are showing us gcc 2.96 is buggy. | |
200 </para> | |
201 <para> | |
202 Conclusion: We can't be good. Half the people will always say we are bad. | |
203 </para> | |
204 <para> | |
205 Maybe we should close the project, make it closed source, commercial, and | |
206 provide install support for it. then we could leave current work, so development | |
207 could go faster, and we could earn lots of money with it and buy a big house, | |
208 etc etc. Do you really want it? It seems. | |
209 </para> | |
210 </blockquote> | |
211 </para></answer> | |
212 </qandaentry> | |
213 | |
214 <qandaentry> | |
215 <question><para> | |
216 SDL output doesn't work or compile. The problem is ... | |
217 </para></question> | |
218 <answer><para> | |
219 It was tested to work with SDL 1.2.x and may run on SDL 1.1.7+. It does | |
220 <emphasis role="bold">not</emphasis> work with any previous version. So | |
221 if you choose to use such a version, you are on your own. | |
222 </para></answer> | |
223 </qandaentry> | |
224 | |
225 <qandaentry> | |
226 <question><para> | |
227 I am still having trouble compiling with SDL support. gcc says something | |
11532 | 228 about <screen>undefined reference to SDL_EnableKeyRepeat</screen>. What now? |
9675 | 229 </para></question> |
230 <answer><para> | |
10042 | 231 Where did you install the SDL library? If you installed in |
232 <filename class="directory">/usr/local</filename> (the default) then edit the | |
11532 | 233 top level <filename>config.mak</filename> and add |
234 <systemitem>-L/usr/local/lib</systemitem> after <systemitem>X_LIBS=</systemitem>. | |
235 Now type <command>make</command>. You're done! | |
9675 | 236 </para></answer> |
237 </qandaentry> | |
238 | |
239 <qandaentry> | |
240 <question><para> | |
11532 | 241 It doesn't compile, and it misses <systemitem>uint64_t</systemitem>, |
242 <filename>inttypes.h</filename> and similar things ... | |
9675 | 243 </para></question> |
244 <answer><para> | |
11532 | 245 Copy <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/inttypes.h">this <filename>inttypes.h</filename></ulink> |
246 to <filename class="directory">/usr/local/include/</filename> or an equivalent | |
247 place and try again ... | |
9675 | 248 </para></answer> |
249 </qandaentry> | |
250 | |
251 <qandaentry> | |
252 <question><para> | |
253 I have Linux running on a Pentium III but <filename>./configure</filename> | |
254 doesn't detect SSE ... | |
255 </para></question> | |
256 <answer><para> | |
257 Only kernel versions 2.4.x support SSE (or try 2.2.19 or newer, but be | |
258 prepared for problems). | |
259 </para></answer> | |
260 </qandaentry> | |
261 | |
262 <qandaentry> | |
263 <question><para> | |
10373 | 264 I have a Matrox G200/G400/G450/G550, how do I compile/use the mga_vid driver? |
9675 | 265 </para></question> |
266 <answer><para> | |
10373 | 267 Read the <link linkend="mga_vid">mga_vid</link> section. |
9675 | 268 </para></answer> |
269 </qandaentry> | |
270 | |
271 <qandaentry> | |
272 <question><para> | |
10373 | 273 Hmm, strange. When loading the <filename>mga_vid.o</filename> kernel |
274 module, I found this in the logs: | |
275 <screen>Warning: loading mga_vid.o will taint the kernel: no license</screen> | |
9675 | 276 </para></question> |
277 <answer><para> | |
10373 | 278 The latest kernel modutils require a flag indicating the license |
279 (mainly to avoid kernel hackers debugging closed source drivers). | |
280 Upgrade your kernel, modutils and <application>MPlayer</application>. | |
9675 | 281 </para></answer> |
282 </qandaentry> | |
283 | |
284 <qandaentry> | |
285 <question><para> | |
11540 | 286 During 'make', <application>MPlayer</application> complains about X11 libraries. |
287 I don't understand, I DO have X installed!? | |
9675 | 288 </para></question> |
289 <answer><para> | |
290 ... but you don't have the X development package installed. Or not correctly. | |
291 It's called <filename>XFree86-devel*</filename> under Red Hat, and | |
292 <filename>xlibs-dev</filename> under Debian. Also check if the | |
293 <filename class="directory">/usr/X11</filename> and | |
294 <filename class="directory">/usr/include/X11</filename> symlinks exist (this | |
295 can be a problem on Mandrake systems). They can be created with these commands: | |
296 <screen> | |
11364
428974d67179
These directories are usually only writable by root, so insinuate being
diego
parents:
11272
diff
changeset
|
297 # ln -sf /usr/X11R6 /usr/X11 |
428974d67179
These directories are usually only writable by root, so insinuate being
diego
parents:
11272
diff
changeset
|
298 # ln -sf /usr/X11R6/include/X11 /usr/include/X11 |
9675 | 299 </screen> |
300 Your distribution may differ from the | |
301 <ulink url="http://www.pathname.com/fhs/">Filesystem Hierarchy Standard</ulink>. | |
302 </para></answer> | |
303 </qandaentry> | |
304 | |
305 <qandaentry> | |
306 <question><para> | |
307 I can't compile SVGAlib. I'm using kernel 2.3/2.4 ... | |
308 </para></question> | |
309 <answer><para> | |
310 You have to edit SVGAlib's <filename>Makefile.cfg</filename> and comment | |
311 <systemitem>BACKGROUND = y</systemitem> out. | |
312 </para></answer> | |
313 </qandaentry> | |
314 | |
315 <qandaentry> | |
316 <question><para> | |
11540 | 317 I compiled <application>MPlayer</application> with libdvdcss/libdivxdecore support, |
318 but when I try to start it, it says: | |
9675 | 319 <screen> |
320 error while loading shared libraries: lib*.so.0: cannot load shared object file: No such file or directory | |
321 </screen> | |
322 I checked up on the file and it IS there in <filename class="directory">/usr/local/lib</filename> ... | |
323 </para></question> | |
324 <answer><para> | |
325 Add <filename class="directory">/usr/local/lib</filename> to <filename>/etc/ld.so.conf</filename> | |
326 and run <command>ldconfig</command>. | |
327 </para></answer> | |
328 </qandaentry> | |
329 | |
330 <qandaentry> | |
331 <question><para> | |
332 When compiling <application>MEncoder</application>, it segfaults at linking! | |
333 </para></question> | |
334 <answer><para> | |
335 This is a linker problem. Upgrading binutils should help (2.11.92.* | |
336 or newer should be good). Since it is not our fault, please do | |
337 <emphasis role="bold">not</emphasis> report! | |
338 </para></answer> | |
339 </qandaentry> | |
340 | |
341 <qandaentry> | |
342 <question><para> | |
11540 | 343 <application>MPlayer</application> dies with segmentation fault upon pthread check! |
9675 | 344 </para></question> |
345 <answer><para> | |
346 <command>chmod 644 /usr/lib/libc.so</command> | |
347 </para></answer> | |
348 </qandaentry> | |
349 | |
350 <qandaentry> | |
351 <question><para> | |
352 I'd like to compile <application>MPlayer</application> on Minix! | |
353 </para></question> | |
354 <answer><para> | |
355 Me too. :) | |
356 </para></answer> | |
357 </qandaentry> | |
358 | |
359 </qandadiv> | |
360 | |
361 <qandadiv id="faq-general"> | |
362 <title>General questions</title> | |
10373 | 363 |
9675 | 364 <qandaentry> |
365 <question><para> | |
10373 | 366 Are there any mailing lists on <application>MPlayer</application>? |
9675 | 367 </para></question> |
368 <answer><para> | |
10373 | 369 Yes. See the <link linkend="mailinglists">mailing lists</link> |
370 section. | |
9675 | 371 </para></answer> |
372 </qandaentry> | |
373 | |
374 <qandaentry> | |
375 <question><para> | |
10373 | 376 I've found a nasty bug when I tried to play my favorite video! Who should I inform? |
9675 | 377 </para></question> |
378 <answer><para> | |
10373 | 379 Please read the |
380 <link linkend="bugreports">bug reporting guidelines</link> | |
381 and follow the instructions. | |
9675 | 382 </para></answer> |
383 </qandaentry> | |
384 | |
385 <qandaentry> | |
386 <question><para> | |
10373 | 387 I have problems playing files with the ... codec. Can I use them? |
9675 | 388 </para></question> |
389 <answer><para> | |
11990 | 390 Check the <ulink url="http://www.mplayerhq.hu/homepage/codecs-status.html">codec status</ulink>, |
10373 | 391 if it doesn't contain your codec, read the <link linkend="codecs">codec documentation</link>, |
392 especially the <link linkend="win32-codecs">codec importing HOWTO</link> and contact us. | |
9675 | 393 </para></answer> |
394 </qandaentry> | |
395 | |
396 <qandaentry> | |
397 <question><para> | |
10373 | 398 When I start playing, I get this message but everything seems fine: |
399 <screen>Linux RTC init: ioctl (rtc_pie_on): Permission denied</screen> | |
9675 | 400 </para></question> |
401 <answer><para> | |
10373 | 402 You need root privileges or a specially set up kernel to use the new timing |
11483 | 403 code. For details see the <link linkend="rtc">RTC</link> section of the documentation. |
9675 | 404 </para></answer> |
405 </qandaentry> | |
406 | |
407 <qandaentry> | |
408 <question><para> | |
409 There is a timer in the upper left corner. How can I get rid of it? | |
410 </para></question> | |
411 <answer><para> | |
412 Press <keycap>o</keycap> and try the <option>-osdlevel</option> option. | |
413 </para></answer> | |
414 </qandaentry> | |
415 | |
416 <qandaentry> | |
417 <question><para> | |
418 The <option>-xy</option> or <option>-fs</option> option doesn't work with | |
419 the x11 driver (<option>-vo x11</option>) ... | |
420 </para></question> | |
421 <answer><para> | |
422 It does, but you have to explicitly specify software scaling (very slow) with the | |
423 <option>-zoom</option> option. You better use XF86VidMode support: You must | |
424 specify the <option>-vm</option> and the <option>-fs</option> option, and you're | |
425 done. Make sure you have the right modelines in your <filename>XF86Config</filename> | |
426 file, and try to make the <link linkend="dga">DGA driver</link> and | |
427 <link linkend="sdl">SDL's DGA driver</link> work for you. It's much | |
428 faster. If SDL's DGA works, use that, it'll be even faster. | |
429 </para></answer> | |
430 </qandaentry> | |
431 | |
432 <qandaentry> | |
433 <question><para> | |
434 What is the meaning of the numbers on the status line? | |
435 </para></question> | |
436 <answer><para> | |
437 Example: | |
438 <screen>A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%</screen> | |
439 <itemizedlist> | |
440 <listitem><para>A: audio position in seconds</para></listitem> | |
441 <listitem><para>V: video position in seconds</para></listitem> | |
442 <listitem><para>A-V: audio-video difference in seconds (delay)</para></listitem> | |
443 <listitem><para>ct: total A-V sync correction done</para></listitem> | |
444 <listitem><para>frames played (counting from last seek)</para></listitem> | |
445 <listitem><para>frames decoded (counting from last seek)</para></listitem> | |
446 <listitem><para>video codec cpu usage in percent (for slices and DR this includes | |
447 video_out)</para></listitem> | |
448 <listitem><para>video_out cpu usage</para></listitem> | |
449 <listitem><para>audio codec cpu usage in percent</para></listitem> | |
450 <listitem><para>frames needed to drop to maintain A-V sync</para></listitem> | |
451 <listitem><para>current level of image postprocessing (when using | |
452 <option>-autoq</option>)</para></listitem> | |
453 <listitem><para>current cache size used (around 50% is normal)</para></listitem> | |
454 </itemizedlist> | |
455 Most of them are for debug purposes and will be removed at some point. | |
456 </para></answer> | |
457 </qandaentry> | |
458 | |
459 <qandaentry> | |
460 <question><para> | |
461 What if I don't want them to appear? | |
462 </para></question> | |
463 <answer><para> | |
464 Use the <option>-quiet</option> option and read the man page. | |
465 </para></answer> | |
466 </qandaentry> | |
467 | |
468 <qandaentry> | |
469 <question><para> | |
470 Why is video_out cpu usage zero (0%) for some files? | |
471 </para></question> | |
472 <answer><para> | |
473 It's not zero, but it's called from the codec and thus cannot be measured | |
474 separately. You should try to play the file using <option>-vo null</option> and | |
475 then <option>-vo ...</option> and check the difference to see the video_out speed. | |
476 </para></answer> | |
477 <answer><para> | |
478 You are using Direct Rendering, where the codec renders to the video memory | |
479 itself. In this case, the decoding percentage contains the display percentage, too. | |
480 </para></answer> | |
481 </qandaentry> | |
482 | |
483 <qandaentry> | |
484 <question><para> | |
10185
d927b21b57c1
/usr/local/lib/codecs is now the default codecs directory.
diego
parents:
10042
diff
changeset
|
485 There are error messages about file not found <filename>/usr/local/lib/codecs/</filename> ... |
9675 | 486 </para></question> |
487 <answer><para> | |
488 Download the Win32 codecs from our | |
489 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/codecs/">codecs page</ulink> | |
490 (avifile's codec package has a different DLL set) and install it. | |
491 </para></answer> | |
492 </qandaentry> | |
493 | |
494 <qandaentry> | |
495 <question><para> | |
496 Umm, what is "IdegCounter"? | |
497 </para></question> | |
498 <answer><para> | |
499 A combination of a Hungarian and an English word. "Ideg" in Hungarian | |
11400
0180e49c3b71
Missing & + quotes should be entities, pointed out by
diego
parents:
11364
diff
changeset
|
500 means the same as "nerve" in English, and is pronounced as something like |
0180e49c3b71
Missing & + quotes should be entities, pointed out by
diego
parents:
11364
diff
changeset
|
501 "ydaegh". It was first used to measure the nervousness of A'rpi, after |
9675 | 502 some (umm) "mysterious" disappearance of CVS code ;) |
503 </para></answer> | |
504 </qandaentry> | |
505 | |
506 <qandaentry> | |
507 <question><para> | |
10042 | 508 And what is "Faszom(C)ounter"? |
9675 | 509 </para></question> |
510 <answer><para> | |
511 "Fasz" is a Hungarian word you don't want to know, the others are | |
11540 | 512 connected to the perverted minds of the <application>MPlayer</application> developers. |
9675 | 513 </para></answer> |
514 </qandaentry> | |
515 | |
516 <qandaentry> | |
517 <question><para> | |
518 LIRC doesn't work, because ... | |
519 </para></question> | |
520 <answer><para> | |
521 Are you sure you are using <command>mplayer</command> instead of | |
522 <command>mplayer_lirc</command>? Note that it was <command>mplayer_lirc</command> | |
523 for a long time, including the 0.60 release, but it was recently changed back to | |
524 <command>mplayer</command>. | |
525 </para></answer> | |
526 </qandaentry> | |
527 | |
528 <qandaentry> | |
529 <question><para> | |
530 Subtitles are very nice, the most beautiful I've ever seen, but they | |
531 slow down playing! I know it's unlikely ... | |
532 </para></question> | |
533 <answer><para> | |
534 After running <filename>./configure</filename>, edit <filename>config.h</filename> | |
535 and replace <systemitem>#undef FAST_OSD</systemitem> with | |
536 <systemitem>#define FAST_OSD</systemitem>. Then recompile. | |
537 </para></answer> | |
538 </qandaentry> | |
539 | |
540 <qandaentry> | |
541 <question><para> | |
542 The onscreen display (OSD) is flickering! | |
543 </para></question> | |
544 <answer><para> | |
545 You use a vo driver with single buffering (x11,xv). With xv, use the | |
9677 | 546 <option>-double</option> option. Also try <option>-vf expand</option>. |
9675 | 547 </para></answer> |
548 </qandaentry> | |
549 | |
550 <qandaentry> | |
551 <question><para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
552 What exactly is this <systemitem class="library">libavcodec</systemitem> thing? |
9675 | 553 </para></question> |
554 <answer><para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
555 See the |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
556 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
557 section. |
9675 | 558 </para></answer> |
559 </qandaentry> | |
560 | |
561 <qandaentry> | |
562 <question><para> | |
11532 | 563 But configure tells me |
564 <screen>Checking for libavcodec ... no</screen> | |
9675 | 565 </para></question> |
566 <answer><para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
567 You need to get <systemitem class="library">libavcodec</systemitem> from |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
568 FFmpeg's CVS. Read the instructions in the |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
569 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11813
diff
changeset
|
570 section. |
9675 | 571 </para></answer> |
572 </qandaentry> | |
573 | |
574 <qandaentry> | |
575 <question><para> | |
10042 | 576 Icewm's taskbar keeps covering the movie in fullscreen mode! |
9675 | 577 </para></question> |
578 <answer><para> | |
579 This shouldn't happen anymore, if it still does use the <option>-fstype</option> | |
580 layer option and report it to the <ulink url="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</ulink> | |
581 mailing list. | |
582 </para></answer> | |
583 </qandaentry> | |
584 | |
585 <qandaentry> | |
586 <question><para> | |
10042 | 587 I can't access the GUI menu. I press right click, but I can't |
588 access any menu items! | |
589 </para></question> | |
590 <answer><para> | |
591 Are you using FVWM? Try the following: | |
592 <orderedlist> | |
593 <listitem><para>Start -> Settings -> Configuration -> Base Configuration</para></listitem> | |
11532 | 594 <listitem><para>Set <systemitem>Use Applications position hints</systemitem> |
595 to <systemitem>Yes</systemitem></para></listitem> | |
10042 | 596 </orderedlist> |
597 </para></answer> | |
598 </qandaentry> | |
599 | |
600 <qandaentry> | |
601 <question><para> | |
11540 | 602 How can I run <application>MPlayer</application> in the background? |
9675 | 603 </para></question> |
604 <answer><para> | |
605 Use: | |
606 <screen>mplayer <replaceable>options</replaceable> <replaceable>filename</replaceable> < /dev/null &</screen> | |
607 </para></answer> | |
608 </qandaentry> | |
609 </qandadiv> | |
610 | |
611 <qandadiv id="faq-playback"> | |
612 <title>Playback problems</title> | |
10490 | 613 |
614 <qandaentry> | |
615 <question><para> | |
616 I cannot pinpoint the cause of some strange playback problem. | |
617 </para></question> | |
618 <answer><para> | |
619 Do you have a stray <filename>codecs.conf</filename> file in | |
620 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
10505
cb83f897404c
Better explanation, as suggested by Ivan Kalvachev.
diego
parents:
10490
diff
changeset
|
621 <filename>/usr/local/etc/</filename> or a similar location? Remove it, |
cb83f897404c
Better explanation, as suggested by Ivan Kalvachev.
diego
parents:
10490
diff
changeset
|
622 outdated <filename>codecs.conf</filename> files can cause obscure |
11540 | 623 problems. <application>MPlayer</application> will use its builtin one instead. |
10490 | 624 </para></answer> |
625 </qandaentry> | |
626 | |
9675 | 627 <qandaentry> |
628 <question><para> | |
12026 | 629 Why doesn't <application>MPlayer</application> work on Fedora Core? |
630 </para></question> | |
631 <answer><para> | |
632 There is a bad interaction on Fedora between exec-shield, | |
633 prelink, and any applications which use Windows DLLs | |
634 (such as <application>MPlayer</application>). | |
635 </para> | |
636 <para> | |
637 The problem is that exec-shield randomizes the load addresses of all the | |
638 system libraries. This randomization happens at prelink time (once every | |
639 two weeks). | |
640 </para> | |
641 <para> | |
642 When <application>MPlayer</application> tries to load a Windows DLL it | |
643 wants to put it at a specific address (0x400000). If an important system | |
12079
c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
paszczi
parents:
12026
diff
changeset
|
644 library happens to be there already, <application>MPlayer</application> |
c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
paszczi
parents:
12026
diff
changeset
|
645 will crash. |
12026 | 646 (A typical symptom would be a segmentation fault when trying |
647 to play Windows Media 9 files.) | |
648 </para> | |
649 <para> | |
650 If you run into this problem you have two options: | |
651 <itemizedlist> | |
652 <listitem><para>Wait two weeks. It might start working again.</para></listitem> | |
653 <listitem><para>Relink all the binaries on the system with different | |
654 prelink options. Here are step by step instructions:</para> | |
655 <para> | |
656 <orderedlist> | |
657 <listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> | |
658 <para> | |
659 <programlisting> | |
660 PRELINK_OPTS=-mR | |
661 </programlisting> | |
662 </para> | |
663 <para> | |
664 to | |
665 <programlisting> | |
666 PRELINK_OPTS="-mR --no-exec-shield" | |
667 </programlisting> | |
668 </para> | |
669 </listitem> | |
670 <listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> | |
671 <listitem><para><command>/etc/cron.daily/prelink</command> | |
672 (This relinks all the applications, and it takes | |
673 quite a while.)</para></listitem> | |
674 <listitem> | |
675 <para><command>execstack -s <replaceable>/path/to/</replaceable>mplayer</command> | |
12079
c931c69d2525
added <application> tag and some 10l, patch by frogu <l_j_p@wp.pl>
paszczi
parents:
12026
diff
changeset
|
676 (This turns off exec-shield for the <application>MPlayer</application> binary.) |
12026 | 677 </para> |
678 </listitem> | |
679 </orderedlist> | |
680 </para> | |
681 </listitem> | |
682 </itemizedlist> | |
683 </para></answer> | |
684 </qandaentry> | |
685 | |
686 <qandaentry> | |
687 <question><para> | |
10373 | 688 ... works with <application>xine/avifile/...</application> but doesn't with |
10042 | 689 <application>MPlayer</application>. |
9675 | 690 </para></question> |
691 <answer><para> | |
10373 | 692 <application>MPlayer</application> is not <application>xine/avifile/...</application>. |
693 Although these players have some code in common, the codecs (DLL) set, | |
694 synchronization, demultiplexing etc is different and should not be | |
695 compared. If you have a file <application>MPlayer</application> fails to | |
696 play correctly but works in another player, please read the | |
697 <link linkend="bugreports">bug reporting guidelines</link> and upload | |
698 the file to our FTP server. | |
9675 | 699 </para></answer> |
700 </qandaentry> | |
10373 | 701 |
9675 | 702 <qandaentry> |
703 <question><para> | |
704 Audio goes out of sync playing an AVI file. | |
705 </para></question> | |
706 <answer><para> | |
707 Try the <option>-bps</option> or <option>-nobps</option> option. If it does not | |
708 improve, read <link linkend="bugreports">this</link> and upload the file to FTP. | |
709 </para></answer> | |
710 </qandaentry> | |
10373 | 711 |
9675 | 712 <qandaentry> |
713 <question><para> | |
714 <application>MPlayer</application> exits with some error when using <filename>l3codeca.acm</filename>. | |
715 </para></question> | |
716 <answer><para> | |
717 Check <command>ldd /usr/local/bin/mplayer</command> output. If it contains | |
718 <screen>libc.so.6 => /lib/libc.so.6 (0x4???????)</screen> | |
719 where "?" is any number then it's OK, the error is not here. If it is: | |
720 <screen>libc.so.6 => /lib/libc.so.6 (0x00??????)</screen> | |
721 then there is a problem with your kernel/libc. Maybe you are using some security | |
722 patches (for example Solar Designer's OpenWall patch) which forces loading | |
723 libraries to very low addresses. Because <filename>l3codeca.acm</filename> is a | |
724 non-relocatable DLL, it must be loaded to <literal>0x00400000</literal>, we can't | |
11540 | 725 change this. You should use a non-patched kernel, or use <application>MPlayer's</application> |
9675 | 726 <option>-afm 1</option> option to disable using <filename>l3codeca.acm</filename>. |
727 </para></answer> | |
728 </qandaentry> | |
10373 | 729 |
9675 | 730 <qandaentry> |
731 <question><para> | |
732 My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo mp3 sound | |
733 too slow. When I use <option>-nosound</option> option, everything is OK (but quiet). | |
734 </para></question> | |
735 <answer><para> | |
736 Your machine is too slow or your soundcard driver is broken. Consult the | |
737 documentation to see if you can improve performance. | |
738 </para></answer> | |
739 </qandaentry> | |
10373 | 740 |
9675 | 741 <qandaentry> |
742 <question><para> | |
11532 | 743 <application>MPlayer</application> dies with |
744 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 745 </para></question> |
746 <answer><para> | |
11540 | 747 Try running <application>MPlayer</application> on the machine you compiled on. |
748 Or recompile with runtime CPU detection | |
749 (<command>./configure --enable-runtime-cpudetection</command>). | |
750 Don't use <application>MPlayer</application> on a CPU different from the one | |
751 it was compiled on, without using the feature mentioned just now. | |
9675 | 752 </para></answer> |
753 </qandaentry> | |
10373 | 754 |
9675 | 755 <qandaentry> |
756 <question><para> | |
757 I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... | |
758 </para></question> | |
759 <answer><para> | |
760 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us | |
761 a proper bug report. | |
762 </para></answer> | |
763 </qandaentry> | |
10373 | 764 |
9675 | 765 <qandaentry> |
766 <question><para> | |
767 I got this playing MPEG files: Can't find codec for video format 0x10000001! | |
768 </para></question> | |
769 <answer><para> | |
10407 | 770 You have an old version of <filename>codecs.conf</filename> in |
10403 | 771 <filename class="directory">~/.mplayer/</filename>, |
772 <filename class="directory">/etc/</filename>, | |
11124 | 773 <filename class="directory">/usr/local/etc/</filename> or similar. Remove it, |
774 it's not needed anymore. | |
9675 | 775 <emphasis role="bold">OR</emphasis> you have the <option>vc=</option> option or |
776 something similar in your config file(s). | |
777 </para></answer> | |
778 </qandaentry> | |
10373 | 779 |
9675 | 780 <qandaentry> |
781 <question><para> | |
782 When starting <application>MPlayer</application> under KDE I just get a black | |
783 screen and nothing happens. After about one minute the video starts playing. | |
784 </para></question> | |
785 <answer><para> | |
786 The KDE arts sound daemon is blocking the sound device. Either wait until the | |
11272 | 787 video starts or disable the arts-daemon in control center. If you want to use |
9675 | 788 arts sound, specify audio output via our native arts audio driver |
789 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL | |
790 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet | |
10042 | 791 another option is to start <application>MPlayer</application> with artsdsp. |
9675 | 792 </para></answer> |
793 </qandaentry> | |
10373 | 794 |
9675 | 795 <qandaentry> |
796 <question><para> | |
797 I have an AVI that produces a gray screen when played with <option>-vc odivx</option> | |
798 and a green one with <option>-vc divx4</option>. | |
799 </para></question> | |
800 <answer><para> | |
10407 | 801 It's not a DivX file, but an MS MPEG4v3. |
802 If you have an old version of <filename>codecs.conf</filename> in | |
803 <filename class="directory">~/.mplayer/</filename>, | |
804 <filename class="directory">/etc/</filename>, | |
805 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 806 </para></answer> |
807 </qandaentry> | |
10373 | 808 |
9675 | 809 <qandaentry> |
810 <question><para> | |
811 When I play this movie I get video-audio desync and/or <application>MPlayer</application> | |
812 crashes with the following message: | |
813 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> | |
814 </para></question> | |
815 <answer><para> | |
816 This can have multiple reasons. | |
817 <itemizedlist> | |
818 <listitem><para> | |
819 Your CPU <emphasis role="bold">and/or</emphasis> video card <emphasis role="bold">and/or</emphasis> | |
11540 | 820 bus is too slow. <application>MPlayer</application> displays a message if this is the case (and the |
9675 | 821 dropped frames counter goes up fast). |
822 </para></listitem> | |
823 <listitem><para> | |
824 If it is an AVI, maybe it has bad interleaving. Try the <option>-ni</option> option. | |
825 </para></listitem> | |
826 <listitem><para> | |
827 Your sound driver is buggy, or you use ALSA 0.5 with <option>-ao oss</option>. | |
828 See the <link linkend="audio-dev">sound card section</link>. | |
829 </para></listitem> | |
830 <listitem><para> | |
831 The AVI has a bad header, try the <option>-nobps</option> option, and/or <option>-mc 0</option>. | |
832 </para></listitem> | |
833 </itemizedlist> | |
834 </para></answer> | |
835 </qandaentry> | |
10373 | 836 |
9675 | 837 <qandaentry> |
838 <question><para> | |
839 I have an MJPEG file which works with other players but displays only a black image in | |
840 <application>MPlayer</application> | |
841 </para></question> | |
842 <answer><para> | |
10407 | 843 Use another codec to play the file, try <option>-vc ffmjpeg</option>. |
9675 | 844 </para></answer> |
845 </qandaentry> | |
10373 | 846 |
9675 | 847 <qandaentry> |
848 <question><para> | |
849 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
850 applications. | |
851 </para></question> | |
852 <answer><para> | |
853 Your card probably misreports its colorspace capacity. Try with YUY2 instead of | |
10373 | 854 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 855 </para></answer> |
856 </qandaentry> | |
10373 | 857 |
9675 | 858 <qandaentry> |
859 <question><para> | |
860 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! | |
861 </para></question> | |
862 <answer><para> | |
863 You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you | |
864 try to play a file which has 22050Hz audio. Try the resample audio plugin. | |
865 </para></answer> | |
866 </qandaentry> | |
10373 | 867 |
9675 | 868 <qandaentry> |
869 <question><para> | |
870 All the WMV (or other..) files I play create a green/gray window and there is | |
871 only sound! <application>MPlayer</application> prints: | |
872 <screen>Detected video codec: [null] drv:0 (NULL codec (no decoding))</screen> | |
873 </para></question> | |
874 <answer><para> | |
10407 | 875 If you have an old version of <filename>codecs.conf</filename> in |
876 <filename class="directory">~/.mplayer/</filename>, | |
877 <filename class="directory">/etc/</filename>, | |
878 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 879 </para></answer> |
880 </qandaentry> | |
10373 | 881 |
9675 | 882 <qandaentry> |
883 <question><para> | |
884 I get very strange percentage values (way too big) while playing files on my notebook. | |
885 </para></question> | |
886 <answer><para> | |
887 It's an effect of the power management / power saving system of your notebook | |
10042 | 888 (BIOS, not kernel). Plug the external power connector in |
889 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
890 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink> | |
891 (a SpeedStep interface for Linux) helps you. | |
9675 | 892 </para></answer> |
893 </qandaentry> | |
10373 | 894 |
9675 | 895 <qandaentry> |
896 <question><para> | |
897 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
898 as root on my notebook. It works normal when i run it as a user. | |
899 </para></question> | |
900 <answer><para> | |
901 This is again a power management effect (see above). Plug the external power | |
902 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
903 or use the <option>-nortc</option> option. | |
904 </para></answer> | |
905 </qandaentry> | |
10373 | 906 |
907 <qandaentry> | |
9722 | 908 <question><para> |
10042 | 909 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 910 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
911 </para></question> | |
912 <answer><para> | |
10042 | 913 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 914 Try <option>-nocache</option>. |
915 </para></answer> | |
916 </qandaentry> | |
9675 | 917 |
11124 | 918 <qandaentry> |
919 <question><para> | |
11532 | 920 How can I play MPEG Layer 2 (mp2) audio files? |
11124 | 921 </para></question> |
922 <answer><para> | |
11140 | 923 You have to use <option>-rawaudio on:format=0x50</option>. |
11124 | 924 </para></answer> |
925 </qandaentry> | |
926 </qandadiv> | |
927 | |
928 | |
9675 | 929 <qandadiv id="faq-driver"> |
930 <title>Video/audio driver problems (vo/ao)</title> | |
931 <qandaentry> | |
932 <question><para> | |
933 I have no sound when playing a video and get error messages similar to this one: | |
934 <screen> | |
935 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
936 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
937 couldn't open/init audio device -> NOSOUND | |
938 Audio: no sound!!! | |
939 Start playing... | |
940 </screen> | |
941 </para></question> | |
942 <answer><para> | |
943 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling | |
944 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> | |
11540 | 945 option to make <application>MPlayer</application> use ARTS or ESD. |
9675 | 946 </para></answer> |
947 </qandaentry> | |
10373 | 948 |
9675 | 949 <qandaentry> |
950 <question><para> | |
951 What about the DGA driver? I can't find it! | |
952 </para></question> | |
953 <answer><para> | |
954 <filename>./configure</filename> autodetects your DGA driver. If <option>-vo help</option> | |
955 doesn't show DGA, then there's a problem with your X installation. Try | |
956 <command>./configure --enable-dga</command> and read the | |
10373 | 957 <link linkend="dga">DGA</link> section. Alternatively, try SDL's DGA driver |
9675 | 958 with the <option>-vo sdl:dga</option> option. |
959 </para></answer> | |
960 </qandaentry> | |
10373 | 961 |
9675 | 962 <qandaentry> |
963 <question><para> | |
964 OK, <option>-vo help</option> shows DGA driver, but it complains about permissions. | |
965 Help me! | |
966 </para></question> | |
967 <answer><para> | |
968 It works only if running as root! It's a DGA limitation. You should become root | |
11540 | 969 (<command>su -</command>), and try again. Another solution is making |
970 <application>MPlayer</application> SUID root, but it's not recommended! | |
9675 | 971 <screen> |
972 chown root /usr/local/bin/mplayer | |
973 chmod 755 /usr/local/bin/mplayer | |
974 chmod +s /usr/local/bin/mplayer | |
975 </screen> | |
976 <warning><para> | |
977 This is a <emphasis role="bold">big</emphasis> security risk! <emphasis role="bold">Never</emphasis> | |
978 do this on a server or on a computer that you do not control completely because | |
11540 | 979 other users can gain root privileges through SUID root <application>MPlayer</application>. |
9675 | 980 <emphasis role="bold">You have been warned</emphasis>. |
981 </para></warning> | |
982 </para></answer> | |
983 </qandaentry> | |
10373 | 984 |
9675 | 985 <qandaentry> |
986 <question><para> | |
987 When using Xvideo, my Voodoo 3/Banshee says: | |
988 <screen> | |
989 X Error of failed request: BadAccess (attempt to access private resource denied) | |
990 Major opcode of failed request: 147 (MIT-SHM) | |
991 Minor opcode of failed request: 1 (X_ShmAttach) | |
992 Serial number of failed request: 26 | |
993 Current serial number in output stream:27 | |
994 </screen> | |
995 </para></question> | |
996 <answer><para> | |
11532 | 997 The <systemitem>tdfx</systemitem> driver in XFree86 4.0.2/4.0.3 had this bug. This was |
9675 | 998 solved by <ulink url="http://www.xfree86.org/cvs/changes_4_1.html">bugfix #621 |
999 of the XFree86 4.1.0 CVS log</ulink>. So upgrade to XFree86 4.1.0 or later. | |
1000 Alternatively, either download (at least) DRI version 0.6 from the | |
1001 <ulink url="http://dri.sourceforge.net">DRI homepage</ulink>, or use CVS DRI. | |
1002 </para></answer> | |
1003 </qandaentry> | |
10373 | 1004 |
9675 | 1005 <qandaentry> |
1006 <question><para> | |
1007 OpenGL (<option>-vo gl</option>) output doesn't work (hang/black window/X11 | |
1008 errors/...). | |
1009 </para></question> | |
1010 <answer><para> | |
1011 Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). | |
1012 It's known not to work with nVidia's binary mess. It's known to work with | |
1013 Utah-GLX/DRI and Matrox G400 cards. Also with DRI and Radeon cards. It won't | |
1014 work with DRI and other cards. it will not work with 3DFX cards because of | |
1015 the 256x256 texture size limit. | |
1016 </para></answer> | |
1017 </qandaentry> | |
10373 | 1018 |
9675 | 1019 <qandaentry> |
1020 <question><para> | |
1021 I have an nVidia TNT/TNT2 card, and I have a band with strange colors, right | |
1022 under the movie! Whose fault is this? | |
1023 </para></question> | |
1024 <answer><para> | |
1025 This is a bug of nVidia's binary X driver. These bugs appear ONLY with the | |
1026 TNT/TNT2 cards, and we can't do anything about it. To fix the problem, upgrade | |
1027 to the latest nVidia binary driver version. If still bad, complain to nVidia! | |
1028 </para></answer> | |
1029 </qandaentry> | |
10373 | 1030 |
9675 | 1031 <qandaentry> |
1032 <question><para> | |
1033 I have an nVidia XYZ card, and when I click on the GUI's display window to | |
1034 toggle displaying the GUI panel, a black square appears where I clicked. I have | |
1035 the newest driver. | |
1036 </para></question> | |
1037 <answer><para> | |
1038 Yes, nVidia corrected a previous bug (above), and introduced a new one. | |
1039 Let's congratulate them. UPDATE: According to <link linkend="nvidia">nVidia</link>, | |
1040 this has already been fixed. | |
1041 </para></answer> | |
1042 </qandaentry> | |
10373 | 1043 |
9675 | 1044 <qandaentry> |
1045 <question><para> | |
1046 Oh the world is cruel ...! SDL has only <systemitem>x11</systemitem> target, | |
1047 but not <systemitem>xv</systemitem>! | |
1048 </para></question> | |
1049 <answer><para> | |
1050 Try that <systemitem>x11</systemitem> target again. Now try <option>-vo x11 | |
1051 -fs -zoom</option>. See the difference? No?! OK, here comes the enlightenment: | |
1052 SDL's <systemitem>x11</systemitem> target uses xv when available, you don't have | |
11532 | 1053 to worry about it ... Note: With SDL you can force/disable Xv using |
1054 <option>-forcexv</option> and <option>-noxv</option>. | |
9675 | 1055 </para></answer> |
1056 </qandaentry> | |
1057 </qandadiv> | |
1058 | |
1059 <qandadiv id="faq-dvd"> | |
1060 <title>DVD playback</title> | |
1061 <qandaentry> | |
1062 <question><para> | |
1063 What about DVD navigation? | |
1064 </para></question> | |
1065 <answer><para> | |
1066 Support for dvdnav in <application>MPlayer</application> is currently broken, | |
1067 normal playback does work, though. If you want to have fancy menus, you will | |
1068 have to use another player like <application>Xine</application> or | |
1069 <application>Ogle</application>. If you care about DVD navigation, send a | |
1070 <ulink url="../../tech/patches.txt">patch</ulink>. | |
1071 </para></answer> | |
1072 </qandaentry> | |
10373 | 1073 |
9675 | 1074 <qandaentry> |
1075 <question><para> | |
1076 While playing a DVD, I encountered this error: | |
1077 <screen>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</screen> | |
1078 </para></question> | |
1079 <answer><para> | |
1080 This is a known libdvdread 0.9.1/0.9.2 bug. Use <emphasis role="bold">libmpdvdkit2</emphasis>, | |
1081 which is present in <application>MPlayer</application> source, and used by default. | |
1082 </para></answer> | |
1083 </qandaentry> | |
10373 | 1084 |
9675 | 1085 <qandaentry> |
1086 <question><para> | |
10042 | 1087 Can I compile libdvdread and libdvdcss on my sweet SPARC under Solaris? |
1088 </para></question> | |
1089 <answer><para> | |
1090 Who knows ... It's said to work, so please test it and send feedback. Refer to | |
1091 the documentation of libdvdread and its homepage as well. We're not the authors | |
1092 of libdvdread. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is present | |
1093 in <application>MPlayer</application> source, and used by default. | |
1094 </para></answer> | |
1095 </qandaentry> | |
10373 | 1096 |
10042 | 1097 <qandaentry> |
1098 <question><para> | |
11540 | 1099 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 1100 </para></question> |
1101 <answer><para> | |
10373 | 1102 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 1103 </para></answer> |
1104 </qandaentry> | |
10373 | 1105 |
9675 | 1106 <qandaentry> |
1107 <question><para> | |
1108 How can I set the region code of my DVD-drive? I don't have Windows! | |
1109 </para></question> | |
1110 <answer><para> | |
10042 | 1111 Use the <ulink url="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">regionset tool</ulink>. |
9675 | 1112 </para></answer> |
1113 </qandaentry> | |
10373 | 1114 |
9675 | 1115 <qandaentry> |
1116 <question><para> | |
1117 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play a DVD? | |
1118 </para></question> | |
1119 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
1120 No. However you must have the proper rights |
9675 | 1121 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
1122 </para></answer> | |
1123 </qandaentry> | |
10373 | 1124 |
9675 | 1125 <qandaentry> |
1126 <question><para> | |
1127 Where can I get libdvdread and libdvdcss packages? | |
1128 </para></question> | |
1129 <answer><para> | |
1130 You don't need to. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is | |
11540 | 1131 present in the <application>MPlayer</application> source, and used by default. |
1132 You can get the mentioned packages from the | |
1133 <ulink url="http://www.dtek.chalmers.se/groups/dvd/">Ogle site</ulink>. | |
9675 | 1134 </para></answer> |
1135 </qandaentry> | |
10373 | 1136 |
9675 | 1137 <qandaentry> |
1138 <question><para> | |
1139 Is it possible to play/encode only selected chapters? | |
1140 </para></question> | |
1141 <answer><para> | |
1142 Yes, try the <option>-chapter</option> option. | |
1143 </para></answer> | |
1144 </qandaentry> | |
10373 | 1145 |
9675 | 1146 <qandaentry> |
1147 <question><para> | |
1148 My DVD playback is sluggish! | |
1149 </para></question> | |
1150 <answer><para> | |
1151 Use the <option>-cache</option> option (described in the man page) and try | |
1152 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 1153 in the <link linkend="drives">CD chapter</link>). |
9675 | 1154 </para></answer> |
1155 </qandaentry> | |
1156 </qandadiv> | |
1157 | |
1158 <qandadiv id="faq-features"> | |
1159 <title>Feature requests</title> | |
1160 <qandaentry> | |
1161 <question><para> | |
11540 | 1162 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
1163 <application>MPlayer</application> ceases to be paused. I would like to be able | |
1164 to seek in the paused movie. | |
9675 | 1165 </para></question> |
1166 <answer><para> | |
1167 This is very tricky to implement without losing A/V synchronization. | |
1168 All attempts have failed so far, but patches are welcome. | |
1169 </para></answer> | |
1170 </qandaentry> | |
10373 | 1171 |
9675 | 1172 <qandaentry> |
1173 <question><para> | |
1174 I'd like to seek +/- 1 frames instead of 10 seconds. | |
1175 </para></question> | |
1176 <answer><para> | |
1177 This won't be done. It was, but then it messed up A/V sync. | |
1178 Feel free to implement it, and send a patch. Don't ask for it. | |
1179 </para></answer> | |
1180 </qandaentry> | |
10373 | 1181 |
9675 | 1182 <qandaentry> |
1183 <question><para> | |
11540 | 1184 How can I make <application>MPlayer</application> remember the options I use |
1185 for this particular file? | |
9675 | 1186 </para></question> |
1187 <answer><para> | |
1188 Create a file named <filename>movie.avi.conf</filename> with the file-specific | |
1189 options in it and put it in <filename class="directory">~/.mplayer</filename> or | |
1190 in the same directory as the file. | |
1191 </para></answer> | |
1192 </qandaentry> | |
1193 </qandadiv> | |
1194 | |
1195 <qandadiv id="faq-encoding"> | |
1196 <title>Encoding</title> | |
1197 <qandaentry> | |
1198 <question><para> | |
10042 | 1199 How can I encode? |
1200 </para></question> | |
1201 <answer><para> | |
11540 | 1202 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
1203 section. | |
10042 | 1204 </para></answer> |
1205 </qandaentry> | |
10373 | 1206 |
10042 | 1207 <qandaentry> |
1208 <question><para> | |
1209 How can I create VCDs? | |
1210 </para></question> | |
1211 <answer><para> | |
1212 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
1213 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
1214 and even burn them directly to CD. | |
1215 </para></answer> | |
1216 </qandaentry> | |
10373 | 1217 |
10042 | 1218 <qandaentry> |
1219 <question><para> | |
1220 How can I join two video files? | |
1221 </para></question> | |
1222 <answer><para> | |
1223 This has been discussed to no end on mplayer-users. Go search the | |
11908 | 1224 <ulink url="http://mplayerhq.hu/cgi-bin/s-arch.cgi?sbm=mplayer-users">archives</ulink> |
10042 | 1225 for a complete answer. This is a complicated topic and your mileage may vary a |
1226 lot depending on the kind of files you want to merge. MPEGs can be concatenated | |
1227 into a single file with luck. For AVIs there are two tools, | |
1228 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and | |
1229 <application>avimerge</application> (part of the | |
1230 <ulink url="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</ulink> | |
1231 tool set), available that might do the job. You can also try <application>MEncoder</application> | |
1232 if you have two files sharing the same dimensions and codec. Try | |
1233 <screen> | |
1234 cat file1 file2 > file3 | |
1235 mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi | |
1236 </screen> | |
1237 </para></answer> | |
1238 </qandaentry> | |
10373 | 1239 |
10042 | 1240 <qandaentry> |
1241 <question><para> | |
1242 My tuner works, I can hear the sound and watch the video with <application>MPlayer</application>, | |
1243 but <application>MEncoder</application> doesn't encode audio! | |
9675 | 1244 </para></question> |
1245 <answer><para> | |
1246 TV audio encoding for Linux is currently unimplemented, we're working | |
1247 on it. At the moment it works only on BSD. | |
1248 </para></answer> | |
1249 </qandaentry> | |
10373 | 1250 |
9675 | 1251 <qandaentry> |
1252 <question><para> | |
1253 I can't encode DVD subtitles into the AVI! | |
1254 </para></question> | |
1255 <answer><para> | |
1256 You have to specify the <option>-sid</option> option correctly! | |
1257 </para></answer> | |
1258 </qandaentry> | |
10373 | 1259 |
9675 | 1260 <qandaentry> |
1261 <question><para> | |
10042 | 1262 <application>MEncoder</application> segfaults on startup! |
9675 | 1263 </para></question> |
1264 <answer><para> | |
1265 Upgrade DivX4Linux. | |
1266 </para></answer> | |
1267 </qandaentry> | |
10373 | 1268 |
9675 | 1269 <qandaentry> |
1270 <question><para> | |
1271 How can I encode only selected chapters from a DVD? | |
1272 </para></question> | |
1273 <answer><para> | |
1274 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option> | |
1275 </para></answer> | |
1276 </qandaentry> | |
10373 | 1277 |
9675 | 1278 <qandaentry> |
1279 <question><para> | |
1280 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1281 </para></question> | |
1282 <answer><para> | |
1283 No, VFAT doesn't support 2GB+ files. | |
1284 </para></answer> | |
1285 </qandaentry> | |
10373 | 1286 |
9675 | 1287 <qandaentry> |
1288 <question><para> | |
10042 | 1289 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 1290 </para></question> |
1291 <answer><para> | |
1292 Because the bitrate you encoded the audio with is too large to fit the | |
1293 movie on any CD. Check if you have libmp3lame installed properly. | |
1294 </para></answer> | |
1295 </qandaentry> | |
10448 | 1296 |
1297 <qandaentry> | |
1298 <question><para> | |
1299 I can't encode ASF files to AVI/DivX because it uses 1000 fps? | |
1300 </para></question> | |
1301 <answer><para> | |
1302 Because ASF uses variable frame rate but AVI uses a fixed one, you | |
10461 | 1303 have to set it by hand using <option>-ofps</option>. |
10448 | 1304 </para></answer> |
1305 </qandaentry> | |
1306 | |
10631 | 1307 |
1308 <qandaentry> | |
1309 <question><para> | |
1310 How can I put subtitles in the output file? | |
1311 </para></question> | |
1312 <answer><para> | |
1313 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
11540 | 1314 <option>-vobsub</option>, respectively) option to <application>MEncoder</application>. |
10631 | 1315 </para></answer> |
1316 </qandaentry> | |
1317 | |
9675 | 1318 </qandadiv> |
1319 </qandaset> | |
1320 | |
1321 </chapter> |