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