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