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