Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 12681:6d815f12e3e5
rtc-device cmd option by James Noble
author | alex |
---|---|
date | Sat, 26 Jun 2004 10:51:44 +0000 |
parents | 8f429708a95a |
children | 3c99b7a8c840 |
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> | |
12348 | 446 <listitem><para>video codec CPU usage in percent (for slices and DR this includes |
9675 | 447 video_out)</para></listitem> |
12348 | 448 <listitem><para>video_out CPU usage</para></listitem> |
449 <listitem><para>audio codec CPU usage in percent</para></listitem> | |
9675 | 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> | |
12348 | 470 Why is video_out CPU usage zero (0%) for some files? |
9675 | 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> | |
12437 | 616 I'm trying to play a random stream off the internet but it fails. |
617 </para></question> | |
618 <answer><para> | |
619 Try playing the stream with the <option>-playlist</option> option. | |
620 </para></answer> | |
621 </qandaentry> | |
622 | |
623 <qandaentry> | |
624 <question><para> | |
12323 | 625 I downloaded a movie off a P2P network and it doesn't work! |
626 </para></question> | |
627 <answer><para> | |
628 Your file is most probably broken or a fake file. If you got it from | |
629 a friend, and he says it works, try comparing | |
630 <application>md5sum</application> hashes. | |
631 </para></answer> | |
632 </qandaentry> | |
633 | |
634 <qandaentry> | |
635 <question><para> | |
12241
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
636 I've just installed <application>MPlayer</application>. When I want to |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
637 open a video file it causes a fatal error: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
638 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
639 Error opening/initializing the selected video_out (-vo) device. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
640 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
641 How can I solve my problem? |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
642 </para></question> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
643 <answer><para> |
12348 | 644 Just change your video output device. Issue the following command to get |
12241
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
645 a list of available video output drivers: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
646 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
647 mplayer -vo help |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
648 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
649 After you've chosen the correct video output driver, add it to |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
650 your configuration file. Add |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
651 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
652 vo = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
653 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
654 to <filename>~/.mplayer/config</filename> and/or |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
655 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
656 vo_driver = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
657 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
658 to <filename>~/.mplayer/gui.conf</filename>. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
659 </para></answer> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
660 </qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
661 |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
662 <qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
663 <question><para> |
12323 | 664 I'm having trouble getting my subtitles to display, help!! |
665 </para></question> | |
666 <answer><para> | |
667 Make sure you have installed fonts properly. Run through the steps in the | |
668 <link linkend="mpsub-install">OSD and subtitle</link> part of the installation | |
669 section again. If you are using TrueType fonts, verify that you have the | |
670 <systemitem class="library">freetype</systemitem> library installed. | |
671 Other things include checking your subtitles in a text editor or with other | |
672 players. Also try converting them to another format. | |
673 </para></answer> | |
674 </qandaentry> | |
675 | |
676 <qandaentry> | |
677 <question><para> | |
10490 | 678 I cannot pinpoint the cause of some strange playback problem. |
679 </para></question> | |
680 <answer><para> | |
681 Do you have a stray <filename>codecs.conf</filename> file in | |
682 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
10505
cb83f897404c
Better explanation, as suggested by Ivan Kalvachev.
diego
parents:
10490
diff
changeset
|
683 <filename>/usr/local/etc/</filename> or a similar location? Remove it, |
cb83f897404c
Better explanation, as suggested by Ivan Kalvachev.
diego
parents:
10490
diff
changeset
|
684 outdated <filename>codecs.conf</filename> files can cause obscure |
12348 | 685 problems. <application>MPlayer</application> will use its built-in one instead. |
10490 | 686 </para></answer> |
687 </qandaentry> | |
688 | |
9675 | 689 <qandaentry> |
690 <question><para> | |
12026 | 691 Why doesn't <application>MPlayer</application> work on Fedora Core? |
692 </para></question> | |
693 <answer><para> | |
694 There is a bad interaction on Fedora between exec-shield, | |
695 prelink, and any applications which use Windows DLLs | |
696 (such as <application>MPlayer</application>). | |
697 </para> | |
698 <para> | |
699 The problem is that exec-shield randomizes the load addresses of all the | |
700 system libraries. This randomization happens at prelink time (once every | |
701 two weeks). | |
702 </para> | |
703 <para> | |
704 When <application>MPlayer</application> tries to load a Windows DLL it | |
705 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
|
706 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
|
707 will crash. |
12026 | 708 (A typical symptom would be a segmentation fault when trying |
709 to play Windows Media 9 files.) | |
710 </para> | |
711 <para> | |
712 If you run into this problem you have two options: | |
713 <itemizedlist> | |
714 <listitem><para>Wait two weeks. It might start working again.</para></listitem> | |
715 <listitem><para>Relink all the binaries on the system with different | |
716 prelink options. Here are step by step instructions:</para> | |
717 <para> | |
718 <orderedlist> | |
719 <listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> | |
720 <para> | |
721 <programlisting> | |
722 PRELINK_OPTS=-mR | |
723 </programlisting> | |
724 </para> | |
725 <para> | |
726 to | |
727 <programlisting> | |
728 PRELINK_OPTS="-mR --no-exec-shield" | |
729 </programlisting> | |
730 </para> | |
731 </listitem> | |
732 <listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> | |
733 <listitem><para><command>/etc/cron.daily/prelink</command> | |
734 (This relinks all the applications, and it takes | |
735 quite a while.)</para></listitem> | |
736 <listitem> | |
737 <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
|
738 (This turns off exec-shield for the <application>MPlayer</application> binary.) |
12026 | 739 </para> |
740 </listitem> | |
741 </orderedlist> | |
742 </para> | |
743 </listitem> | |
744 </itemizedlist> | |
745 </para></answer> | |
746 </qandaentry> | |
747 | |
748 <qandaentry> | |
749 <question><para> | |
10373 | 750 ... works with <application>xine/avifile/...</application> but doesn't with |
10042 | 751 <application>MPlayer</application>. |
9675 | 752 </para></question> |
753 <answer><para> | |
10373 | 754 <application>MPlayer</application> is not <application>xine/avifile/...</application>. |
755 Although these players have some code in common, the codecs (DLL) set, | |
756 synchronization, demultiplexing etc is different and should not be | |
757 compared. If you have a file <application>MPlayer</application> fails to | |
758 play correctly but works in another player, please read the | |
759 <link linkend="bugreports">bug reporting guidelines</link> and upload | |
760 the file to our FTP server. | |
9675 | 761 </para></answer> |
762 </qandaentry> | |
10373 | 763 |
9675 | 764 <qandaentry> |
765 <question><para> | |
766 Audio goes out of sync playing an AVI file. | |
767 </para></question> | |
768 <answer><para> | |
769 Try the <option>-bps</option> or <option>-nobps</option> option. If it does not | |
770 improve, read <link linkend="bugreports">this</link> and upload the file to FTP. | |
771 </para></answer> | |
772 </qandaentry> | |
10373 | 773 |
9675 | 774 <qandaentry> |
775 <question><para> | |
776 <application>MPlayer</application> exits with some error when using <filename>l3codeca.acm</filename>. | |
777 </para></question> | |
778 <answer><para> | |
779 Check <command>ldd /usr/local/bin/mplayer</command> output. If it contains | |
780 <screen>libc.so.6 => /lib/libc.so.6 (0x4???????)</screen> | |
781 where "?" is any number then it's OK, the error is not here. If it is: | |
782 <screen>libc.so.6 => /lib/libc.so.6 (0x00??????)</screen> | |
783 then there is a problem with your kernel/libc. Maybe you are using some security | |
784 patches (for example Solar Designer's OpenWall patch) which forces loading | |
785 libraries to very low addresses. Because <filename>l3codeca.acm</filename> is a | |
786 non-relocatable DLL, it must be loaded to <literal>0x00400000</literal>, we can't | |
12348 | 787 change this. You should use a non-patched kernel, or use <application>MPlayer</application>'s |
9675 | 788 <option>-afm 1</option> option to disable using <filename>l3codeca.acm</filename>. |
789 </para></answer> | |
790 </qandaentry> | |
10373 | 791 |
9675 | 792 <qandaentry> |
793 <question><para> | |
12348 | 794 My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound |
9675 | 795 too slow. When I use <option>-nosound</option> option, everything is OK (but quiet). |
796 </para></question> | |
797 <answer><para> | |
12348 | 798 Your machine is too slow or your sound card driver is broken. Consult the |
9675 | 799 documentation to see if you can improve performance. |
800 </para></answer> | |
801 </qandaentry> | |
10373 | 802 |
9675 | 803 <qandaentry> |
804 <question><para> | |
11532 | 805 <application>MPlayer</application> dies with |
806 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 807 </para></question> |
808 <answer><para> | |
11540 | 809 Try running <application>MPlayer</application> on the machine you compiled on. |
810 Or recompile with runtime CPU detection | |
811 (<command>./configure --enable-runtime-cpudetection</command>). | |
812 Don't use <application>MPlayer</application> on a CPU different from the one | |
813 it was compiled on, without using the feature mentioned just now. | |
9675 | 814 </para></answer> |
815 </qandaentry> | |
10373 | 816 |
9675 | 817 <qandaentry> |
818 <question><para> | |
819 I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... | |
820 </para></question> | |
821 <answer><para> | |
822 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us | |
823 a proper bug report. | |
824 </para></answer> | |
825 </qandaentry> | |
10373 | 826 |
9675 | 827 <qandaentry> |
828 <question><para> | |
829 I got this playing MPEG files: Can't find codec for video format 0x10000001! | |
830 </para></question> | |
831 <answer><para> | |
10407 | 832 You have an old version of <filename>codecs.conf</filename> in |
10403 | 833 <filename class="directory">~/.mplayer/</filename>, |
834 <filename class="directory">/etc/</filename>, | |
11124 | 835 <filename class="directory">/usr/local/etc/</filename> or similar. Remove it, |
836 it's not needed anymore. | |
9675 | 837 <emphasis role="bold">OR</emphasis> you have the <option>vc=</option> option or |
838 something similar in your config file(s). | |
839 </para></answer> | |
840 </qandaentry> | |
10373 | 841 |
9675 | 842 <qandaentry> |
843 <question><para> | |
844 When starting <application>MPlayer</application> under KDE I just get a black | |
845 screen and nothing happens. After about one minute the video starts playing. | |
846 </para></question> | |
847 <answer><para> | |
848 The KDE arts sound daemon is blocking the sound device. Either wait until the | |
11272 | 849 video starts or disable the arts-daemon in control center. If you want to use |
9675 | 850 arts sound, specify audio output via our native arts audio driver |
851 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL | |
852 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet | |
10042 | 853 another option is to start <application>MPlayer</application> with artsdsp. |
9675 | 854 </para></answer> |
855 </qandaentry> | |
10373 | 856 |
9675 | 857 <qandaentry> |
858 <question><para> | |
859 I have an AVI that produces a gray screen when played with <option>-vc odivx</option> | |
860 and a green one with <option>-vc divx4</option>. | |
861 </para></question> | |
862 <answer><para> | |
10407 | 863 It's not a DivX file, but an MS MPEG4v3. |
864 If you have an old version of <filename>codecs.conf</filename> in | |
865 <filename class="directory">~/.mplayer/</filename>, | |
866 <filename class="directory">/etc/</filename>, | |
867 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 868 </para></answer> |
869 </qandaentry> | |
10373 | 870 |
9675 | 871 <qandaentry> |
872 <question><para> | |
873 When I play this movie I get video-audio desync and/or <application>MPlayer</application> | |
874 crashes with the following message: | |
875 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> | |
876 </para></question> | |
877 <answer><para> | |
878 This can have multiple reasons. | |
879 <itemizedlist> | |
880 <listitem><para> | |
881 Your CPU <emphasis role="bold">and/or</emphasis> video card <emphasis role="bold">and/or</emphasis> | |
11540 | 882 bus is too slow. <application>MPlayer</application> displays a message if this is the case (and the |
9675 | 883 dropped frames counter goes up fast). |
884 </para></listitem> | |
885 <listitem><para> | |
886 If it is an AVI, maybe it has bad interleaving. Try the <option>-ni</option> option. | |
887 </para></listitem> | |
888 <listitem><para> | |
889 Your sound driver is buggy, or you use ALSA 0.5 with <option>-ao oss</option>. | |
890 See the <link linkend="audio-dev">sound card section</link>. | |
891 </para></listitem> | |
892 <listitem><para> | |
893 The AVI has a bad header, try the <option>-nobps</option> option, and/or <option>-mc 0</option>. | |
894 </para></listitem> | |
895 </itemizedlist> | |
896 </para></answer> | |
897 </qandaentry> | |
10373 | 898 |
9675 | 899 <qandaentry> |
900 <question><para> | |
901 I have an MJPEG file which works with other players but displays only a black image in | |
902 <application>MPlayer</application> | |
903 </para></question> | |
904 <answer><para> | |
10407 | 905 Use another codec to play the file, try <option>-vc ffmjpeg</option>. |
9675 | 906 </para></answer> |
907 </qandaentry> | |
10373 | 908 |
9675 | 909 <qandaentry> |
910 <question><para> | |
911 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
912 applications. | |
913 </para></question> | |
914 <answer><para> | |
12348 | 915 Your card probably reports some colorspaces as supported when in fact |
916 it does not support them. Try with YUY2 instead of the | |
10373 | 917 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 918 </para></answer> |
919 </qandaentry> | |
10373 | 920 |
9675 | 921 <qandaentry> |
922 <question><para> | |
923 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! | |
924 </para></question> | |
925 <answer><para> | |
926 You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you | |
927 try to play a file which has 22050Hz audio. Try the resample audio plugin. | |
928 </para></answer> | |
929 </qandaentry> | |
10373 | 930 |
9675 | 931 <qandaentry> |
932 <question><para> | |
933 All the WMV (or other..) files I play create a green/gray window and there is | |
934 only sound! <application>MPlayer</application> prints: | |
935 <screen>Detected video codec: [null] drv:0 (NULL codec (no decoding))</screen> | |
936 </para></question> | |
937 <answer><para> | |
10407 | 938 If you have an old version of <filename>codecs.conf</filename> in |
939 <filename class="directory">~/.mplayer/</filename>, | |
940 <filename class="directory">/etc/</filename>, | |
941 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 942 </para></answer> |
943 </qandaentry> | |
10373 | 944 |
9675 | 945 <qandaentry> |
946 <question><para> | |
947 I get very strange percentage values (way too big) while playing files on my notebook. | |
948 </para></question> | |
949 <answer><para> | |
950 It's an effect of the power management / power saving system of your notebook | |
10042 | 951 (BIOS, not kernel). Plug the external power connector in |
952 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
953 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink> | |
954 (a SpeedStep interface for Linux) helps you. | |
9675 | 955 </para></answer> |
956 </qandaentry> | |
10373 | 957 |
9675 | 958 <qandaentry> |
959 <question><para> | |
960 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
961 as root on my notebook. It works normal when i run it as a user. | |
962 </para></question> | |
963 <answer><para> | |
964 This is again a power management effect (see above). Plug the external power | |
965 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
966 or use the <option>-nortc</option> option. | |
967 </para></answer> | |
968 </qandaentry> | |
10373 | 969 |
970 <qandaentry> | |
9722 | 971 <question><para> |
10042 | 972 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 973 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
974 </para></question> | |
975 <answer><para> | |
10042 | 976 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 977 Try <option>-nocache</option>. |
978 </para></answer> | |
979 </qandaentry> | |
9675 | 980 |
11124 | 981 <qandaentry> |
982 <question><para> | |
12348 | 983 How can I play MPEG Layer 2 (MP2) audio files? |
11124 | 984 </para></question> |
985 <answer><para> | |
11140 | 986 You have to use <option>-rawaudio on:format=0x50</option>. |
11124 | 987 </para></answer> |
988 </qandaentry> | |
989 </qandadiv> | |
990 | |
991 | |
9675 | 992 <qandadiv id="faq-driver"> |
993 <title>Video/audio driver problems (vo/ao)</title> | |
994 <qandaentry> | |
995 <question><para> | |
996 I have no sound when playing a video and get error messages similar to this one: | |
997 <screen> | |
998 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
999 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
1000 couldn't open/init audio device -> NOSOUND | |
1001 Audio: no sound!!! | |
1002 Start playing... | |
1003 </screen> | |
1004 </para></question> | |
1005 <answer><para> | |
1006 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling | |
1007 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> | |
11540 | 1008 option to make <application>MPlayer</application> use ARTS or ESD. |
9675 | 1009 </para></answer> |
1010 </qandaentry> | |
10373 | 1011 |
9675 | 1012 <qandaentry> |
1013 <question><para> | |
1014 What about the DGA driver? I can't find it! | |
1015 </para></question> | |
1016 <answer><para> | |
1017 <filename>./configure</filename> autodetects your DGA driver. If <option>-vo help</option> | |
1018 doesn't show DGA, then there's a problem with your X installation. Try | |
1019 <command>./configure --enable-dga</command> and read the | |
10373 | 1020 <link linkend="dga">DGA</link> section. Alternatively, try SDL's DGA driver |
9675 | 1021 with the <option>-vo sdl:dga</option> option. |
1022 </para></answer> | |
1023 </qandaentry> | |
10373 | 1024 |
9675 | 1025 <qandaentry> |
1026 <question><para> | |
1027 OK, <option>-vo help</option> shows DGA driver, but it complains about permissions. | |
1028 Help me! | |
1029 </para></question> | |
1030 <answer><para> | |
1031 It works only if running as root! It's a DGA limitation. You should become root | |
11540 | 1032 (<command>su -</command>), and try again. Another solution is making |
1033 <application>MPlayer</application> SUID root, but it's not recommended! | |
9675 | 1034 <screen> |
1035 chown root /usr/local/bin/mplayer | |
1036 chmod 755 /usr/local/bin/mplayer | |
1037 chmod +s /usr/local/bin/mplayer | |
1038 </screen> | |
1039 <warning><para> | |
1040 This is a <emphasis role="bold">big</emphasis> security risk! <emphasis role="bold">Never</emphasis> | |
1041 do this on a server or on a computer that you do not control completely because | |
11540 | 1042 other users can gain root privileges through SUID root <application>MPlayer</application>. |
9675 | 1043 <emphasis role="bold">You have been warned</emphasis>. |
1044 </para></warning> | |
1045 </para></answer> | |
1046 </qandaentry> | |
10373 | 1047 |
9675 | 1048 <qandaentry> |
1049 <question><para> | |
12349 | 1050 When using XVideo, my Voodoo 3/Banshee says: |
9675 | 1051 <screen> |
1052 X Error of failed request: BadAccess (attempt to access private resource denied) | |
1053 Major opcode of failed request: 147 (MIT-SHM) | |
1054 Minor opcode of failed request: 1 (X_ShmAttach) | |
1055 Serial number of failed request: 26 | |
1056 Current serial number in output stream:27 | |
1057 </screen> | |
1058 </para></question> | |
1059 <answer><para> | |
11532 | 1060 The <systemitem>tdfx</systemitem> driver in XFree86 4.0.2/4.0.3 had this bug. This was |
12348 | 1061 solved by <ulink url="http://www.xfree86.org/cvs/changes_4_1.html">bug fix #621 |
9675 | 1062 of the XFree86 4.1.0 CVS log</ulink>. So upgrade to XFree86 4.1.0 or later. |
1063 Alternatively, either download (at least) DRI version 0.6 from the | |
1064 <ulink url="http://dri.sourceforge.net">DRI homepage</ulink>, or use CVS DRI. | |
1065 </para></answer> | |
1066 </qandaentry> | |
10373 | 1067 |
9675 | 1068 <qandaentry> |
1069 <question><para> | |
1070 OpenGL (<option>-vo gl</option>) output doesn't work (hang/black window/X11 | |
1071 errors/...). | |
1072 </para></question> | |
1073 <answer><para> | |
1074 Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). | |
1075 It's known not to work with nVidia's binary mess. It's known to work with | |
1076 Utah-GLX/DRI and Matrox G400 cards. Also with DRI and Radeon cards. It won't | |
1077 work with DRI and other cards. it will not work with 3DFX cards because of | |
1078 the 256x256 texture size limit. | |
1079 </para></answer> | |
1080 </qandaentry> | |
10373 | 1081 |
9675 | 1082 <qandaentry> |
1083 <question><para> | |
1084 I have an nVidia TNT/TNT2 card, and I have a band with strange colors, right | |
1085 under the movie! Whose fault is this? | |
1086 </para></question> | |
1087 <answer><para> | |
1088 This is a bug of nVidia's binary X driver. These bugs appear ONLY with the | |
1089 TNT/TNT2 cards, and we can't do anything about it. To fix the problem, upgrade | |
1090 to the latest nVidia binary driver version. If still bad, complain to nVidia! | |
1091 </para></answer> | |
1092 </qandaentry> | |
10373 | 1093 |
9675 | 1094 <qandaentry> |
1095 <question><para> | |
1096 I have an nVidia XYZ card, and when I click on the GUI's display window to | |
1097 toggle displaying the GUI panel, a black square appears where I clicked. I have | |
1098 the newest driver. | |
1099 </para></question> | |
1100 <answer><para> | |
1101 Yes, nVidia corrected a previous bug (above), and introduced a new one. | |
1102 Let's congratulate them. UPDATE: According to <link linkend="nvidia">nVidia</link>, | |
1103 this has already been fixed. | |
1104 </para></answer> | |
1105 </qandaentry> | |
10373 | 1106 |
9675 | 1107 <qandaentry> |
1108 <question><para> | |
1109 Oh the world is cruel ...! SDL has only <systemitem>x11</systemitem> target, | |
1110 but not <systemitem>xv</systemitem>! | |
1111 </para></question> | |
1112 <answer><para> | |
1113 Try that <systemitem>x11</systemitem> target again. Now try <option>-vo x11 | |
1114 -fs -zoom</option>. See the difference? No?! OK, here comes the enlightenment: | |
1115 SDL's <systemitem>x11</systemitem> target uses xv when available, you don't have | |
11532 | 1116 to worry about it ... Note: With SDL you can force/disable Xv using |
1117 <option>-forcexv</option> and <option>-noxv</option>. | |
9675 | 1118 </para></answer> |
1119 </qandaentry> | |
1120 </qandadiv> | |
1121 | |
1122 <qandadiv id="faq-dvd"> | |
1123 <title>DVD playback</title> | |
1124 <qandaentry> | |
1125 <question><para> | |
1126 What about DVD navigation? | |
1127 </para></question> | |
1128 <answer><para> | |
1129 Support for dvdnav in <application>MPlayer</application> is currently broken, | |
1130 normal playback does work, though. If you want to have fancy menus, you will | |
1131 have to use another player like <application>Xine</application> or | |
1132 <application>Ogle</application>. If you care about DVD navigation, send a | |
1133 <ulink url="../../tech/patches.txt">patch</ulink>. | |
1134 </para></answer> | |
1135 </qandaentry> | |
10373 | 1136 |
9675 | 1137 <qandaentry> |
1138 <question><para> | |
1139 While playing a DVD, I encountered this error: | |
1140 <screen>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</screen> | |
1141 </para></question> | |
1142 <answer><para> | |
1143 This is a known libdvdread 0.9.1/0.9.2 bug. Use <emphasis role="bold">libmpdvdkit2</emphasis>, | |
1144 which is present in <application>MPlayer</application> source, and used by default. | |
1145 </para></answer> | |
1146 </qandaentry> | |
10373 | 1147 |
9675 | 1148 <qandaentry> |
1149 <question><para> | |
10042 | 1150 Can I compile libdvdread and libdvdcss on my sweet SPARC under Solaris? |
1151 </para></question> | |
1152 <answer><para> | |
1153 Who knows ... It's said to work, so please test it and send feedback. Refer to | |
1154 the documentation of libdvdread and its homepage as well. We're not the authors | |
1155 of libdvdread. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is present | |
1156 in <application>MPlayer</application> source, and used by default. | |
1157 </para></answer> | |
1158 </qandaentry> | |
10373 | 1159 |
10042 | 1160 <qandaentry> |
1161 <question><para> | |
11540 | 1162 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 1163 </para></question> |
1164 <answer><para> | |
10373 | 1165 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 1166 </para></answer> |
1167 </qandaentry> | |
10373 | 1168 |
9675 | 1169 <qandaentry> |
1170 <question><para> | |
1171 How can I set the region code of my DVD-drive? I don't have Windows! | |
1172 </para></question> | |
1173 <answer><para> | |
10042 | 1174 Use the <ulink url="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">regionset tool</ulink>. |
9675 | 1175 </para></answer> |
1176 </qandaentry> | |
10373 | 1177 |
9675 | 1178 <qandaentry> |
1179 <question><para> | |
1180 Do I need to be (setuid) root/setuid fibmap_mplayer to be able to play a DVD? | |
1181 </para></question> | |
1182 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
1183 No. However you must have the proper rights |
9675 | 1184 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
1185 </para></answer> | |
1186 </qandaentry> | |
10373 | 1187 |
9675 | 1188 <qandaentry> |
1189 <question><para> | |
1190 Where can I get libdvdread and libdvdcss packages? | |
1191 </para></question> | |
1192 <answer><para> | |
1193 You don't need to. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is | |
11540 | 1194 present in the <application>MPlayer</application> source, and used by default. |
1195 You can get the mentioned packages from the | |
1196 <ulink url="http://www.dtek.chalmers.se/groups/dvd/">Ogle site</ulink>. | |
9675 | 1197 </para></answer> |
1198 </qandaentry> | |
10373 | 1199 |
9675 | 1200 <qandaentry> |
1201 <question><para> | |
1202 Is it possible to play/encode only selected chapters? | |
1203 </para></question> | |
1204 <answer><para> | |
1205 Yes, try the <option>-chapter</option> option. | |
1206 </para></answer> | |
1207 </qandaentry> | |
10373 | 1208 |
9675 | 1209 <qandaentry> |
1210 <question><para> | |
1211 My DVD playback is sluggish! | |
1212 </para></question> | |
1213 <answer><para> | |
1214 Use the <option>-cache</option> option (described in the man page) and try | |
1215 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 1216 in the <link linkend="drives">CD chapter</link>). |
9675 | 1217 </para></answer> |
1218 </qandaentry> | |
1219 </qandadiv> | |
1220 | |
1221 <qandadiv id="faq-features"> | |
1222 <title>Feature requests</title> | |
1223 <qandaentry> | |
1224 <question><para> | |
11540 | 1225 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
1226 <application>MPlayer</application> ceases to be paused. I would like to be able | |
1227 to seek in the paused movie. | |
9675 | 1228 </para></question> |
1229 <answer><para> | |
1230 This is very tricky to implement without losing A/V synchronization. | |
1231 All attempts have failed so far, but patches are welcome. | |
1232 </para></answer> | |
1233 </qandaentry> | |
10373 | 1234 |
9675 | 1235 <qandaentry> |
1236 <question><para> | |
1237 I'd like to seek +/- 1 frames instead of 10 seconds. | |
1238 </para></question> | |
1239 <answer><para> | |
1240 This won't be done. It was, but then it messed up A/V sync. | |
1241 Feel free to implement it, and send a patch. Don't ask for it. | |
1242 </para></answer> | |
1243 </qandaentry> | |
10373 | 1244 |
9675 | 1245 <qandaentry> |
1246 <question><para> | |
11540 | 1247 How can I make <application>MPlayer</application> remember the options I use |
1248 for this particular file? | |
9675 | 1249 </para></question> |
1250 <answer><para> | |
1251 Create a file named <filename>movie.avi.conf</filename> with the file-specific | |
1252 options in it and put it in <filename class="directory">~/.mplayer</filename> or | |
1253 in the same directory as the file. | |
1254 </para></answer> | |
1255 </qandaentry> | |
1256 </qandadiv> | |
1257 | |
1258 <qandadiv id="faq-encoding"> | |
1259 <title>Encoding</title> | |
1260 <qandaentry> | |
1261 <question><para> | |
10042 | 1262 How can I encode? |
1263 </para></question> | |
1264 <answer><para> | |
11540 | 1265 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
1266 section. | |
10042 | 1267 </para></answer> |
1268 </qandaentry> | |
10373 | 1269 |
10042 | 1270 <qandaentry> |
1271 <question><para> | |
1272 How can I create VCDs? | |
1273 </para></question> | |
1274 <answer><para> | |
1275 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
1276 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
1277 and even burn them directly to CD. | |
1278 </para></answer> | |
1279 </qandaentry> | |
10373 | 1280 |
10042 | 1281 <qandaentry> |
1282 <question><para> | |
1283 How can I join two video files? | |
1284 </para></question> | |
1285 <answer><para> | |
1286 This has been discussed to no end on mplayer-users. Go search the | |
11908 | 1287 <ulink url="http://mplayerhq.hu/cgi-bin/s-arch.cgi?sbm=mplayer-users">archives</ulink> |
10042 | 1288 for a complete answer. This is a complicated topic and your mileage may vary a |
1289 lot depending on the kind of files you want to merge. MPEGs can be concatenated | |
1290 into a single file with luck. For AVIs there are two tools, | |
1291 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and | |
1292 <application>avimerge</application> (part of the | |
1293 <ulink url="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</ulink> | |
1294 tool set), available that might do the job. You can also try <application>MEncoder</application> | |
1295 if you have two files sharing the same dimensions and codec. Try | |
1296 <screen> | |
1297 cat file1 file2 > file3 | |
1298 mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi | |
1299 </screen> | |
1300 </para></answer> | |
1301 </qandaentry> | |
10373 | 1302 |
10042 | 1303 <qandaentry> |
1304 <question><para> | |
1305 My tuner works, I can hear the sound and watch the video with <application>MPlayer</application>, | |
1306 but <application>MEncoder</application> doesn't encode audio! | |
9675 | 1307 </para></question> |
1308 <answer><para> | |
1309 TV audio encoding for Linux is currently unimplemented, we're working | |
1310 on it. At the moment it works only on BSD. | |
1311 </para></answer> | |
1312 </qandaentry> | |
10373 | 1313 |
9675 | 1314 <qandaentry> |
1315 <question><para> | |
1316 I can't encode DVD subtitles into the AVI! | |
1317 </para></question> | |
1318 <answer><para> | |
1319 You have to specify the <option>-sid</option> option correctly! | |
1320 </para></answer> | |
1321 </qandaentry> | |
10373 | 1322 |
9675 | 1323 <qandaentry> |
1324 <question><para> | |
10042 | 1325 <application>MEncoder</application> segfaults on startup! |
9675 | 1326 </para></question> |
1327 <answer><para> | |
1328 Upgrade DivX4Linux. | |
1329 </para></answer> | |
1330 </qandaentry> | |
10373 | 1331 |
9675 | 1332 <qandaentry> |
1333 <question><para> | |
1334 How can I encode only selected chapters from a DVD? | |
1335 </para></question> | |
1336 <answer><para> | |
1337 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option> | |
1338 </para></answer> | |
1339 </qandaentry> | |
10373 | 1340 |
9675 | 1341 <qandaentry> |
1342 <question><para> | |
1343 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1344 </para></question> | |
1345 <answer><para> | |
1346 No, VFAT doesn't support 2GB+ files. | |
1347 </para></answer> | |
1348 </qandaentry> | |
10373 | 1349 |
9675 | 1350 <qandaentry> |
1351 <question><para> | |
10042 | 1352 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 1353 </para></question> |
1354 <answer><para> | |
1355 Because the bitrate you encoded the audio with is too large to fit the | |
1356 movie on any CD. Check if you have libmp3lame installed properly. | |
1357 </para></answer> | |
1358 </qandaentry> | |
10448 | 1359 |
1360 <qandaentry> | |
1361 <question><para> | |
1362 I can't encode ASF files to AVI/DivX because it uses 1000 fps? | |
1363 </para></question> | |
1364 <answer><para> | |
1365 Because ASF uses variable frame rate but AVI uses a fixed one, you | |
10461 | 1366 have to set it by hand using <option>-ofps</option>. |
10448 | 1367 </para></answer> |
1368 </qandaentry> | |
1369 | |
10631 | 1370 |
1371 <qandaentry> | |
1372 <question><para> | |
1373 How can I put subtitles in the output file? | |
1374 </para></question> | |
1375 <answer><para> | |
1376 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
11540 | 1377 <option>-vobsub</option>, respectively) option to <application>MEncoder</application>. |
10631 | 1378 </para></answer> |
1379 </qandaentry> | |
1380 | |
9675 | 1381 </qandadiv> |
1382 </qandaset> | |
1383 | |
1384 </chapter> |