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