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