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