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