Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 15210:425dd164a133
Some fixes
author | wight |
---|---|
date | Mon, 18 Apr 2005 09:09:33 +0000 |
parents | ba68f417b416 |
children | da146d62612b |
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 | |
15029 | 28 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-docs</ulink> |
11813 | 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 | |
15029 | 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 | |
15029 | 55 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-docs">MPlayer-docs</ulink> |
11813 | 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> | |
15029 | 203 A'rpi sent to the <ulink url="http://mplayerhq.hu/pipermail/mplayer-users/">MPlayer-users</ulink> |
9675 | 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> | |
14995 | 590 I cannot pinpoint the cause of some strange playback problem. |
591 </para></question> | |
592 <answer><para> | |
593 Do you have a stray <filename>codecs.conf</filename> file in | |
594 <filename>~/.mplayer/</filename>, <filename>/etc/</filename>, | |
595 <filename>/usr/local/etc/</filename> or a similar location? Remove it, | |
15027
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
596 an outdated <filename>codecs.conf</filename> file can cause obscure |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
597 problems and is intended for use only by developers working on codec |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
598 support. It overrides <application>MPlayer</application>'s internal |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
599 codec settings, which will wreak havoc if incompatible changes are |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
600 made in newer program versions. Unless used by experts it is a recipe |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
601 for disaster in the form of seemingly random and very hard to localize |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
602 crashes and playback problems. If you still have it somewhere on your |
2165a2306f02
Rephrase codecs.conf entry to warn more clearly against using it.
diego
parents:
14995
diff
changeset
|
603 system, you should remove it now. |
14995 | 604 </para></answer> |
605 </qandaentry> | |
606 | |
607 <qandaentry> | |
608 <question><para> | |
13547
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
609 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
|
610 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
611 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
612 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
|
613 (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
|
614 (subtitle language), for example: |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
615 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
616 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
|
617 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
|
618 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
619 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
|
620 <screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
621 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
|
622 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
|
623 </screen> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
624 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
625 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
626 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
627 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
628 <question><para> |
12437 | 629 I'm trying to play a random stream off the internet but it fails. |
630 </para></question> | |
631 <answer><para> | |
632 Try playing the stream with the <option>-playlist</option> option. | |
633 </para></answer> | |
634 </qandaentry> | |
635 | |
636 <qandaentry> | |
637 <question><para> | |
12323 | 638 I downloaded a movie off a P2P network and it doesn't work! |
639 </para></question> | |
640 <answer><para> | |
641 Your file is most probably broken or a fake file. If you got it from | |
642 a friend, and he says it works, try comparing | |
643 <application>md5sum</application> hashes. | |
644 </para></answer> | |
645 </qandaentry> | |
646 | |
647 <qandaentry> | |
648 <question><para> | |
12241
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
649 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
|
650 open a video file it causes a fatal error: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
651 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
652 Error opening/initializing the selected video_out (-vo) device. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
653 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
654 How can I solve my problem? |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
655 </para></question> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
656 <answer><para> |
12348 | 657 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
|
658 a list of available video output drivers: |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
659 <screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
660 mplayer -vo help |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
661 </screen> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
662 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
|
663 your configuration file. Add |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
664 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
665 vo = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
666 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
667 to <filename>~/.mplayer/config</filename> and/or |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
668 <programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
669 vo_driver = <replaceable>selected_vo</replaceable> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
670 </programlisting> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
671 to <filename>~/.mplayer/gui.conf</filename>. |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
672 </para></answer> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
673 </qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
674 |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
675 <qandaentry> |
bcb8260d93e4
Common -vo driver problem solution explained by Lukasz Proszek.
diego
parents:
12079
diff
changeset
|
676 <question><para> |
12323 | 677 I'm having trouble getting my subtitles to display, help!! |
678 </para></question> | |
679 <answer><para> | |
680 Make sure you have installed fonts properly. Run through the steps in the | |
681 <link linkend="mpsub-install">OSD and subtitle</link> part of the installation | |
682 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
|
683 <systemitem class="library">FreeType</systemitem> library installed. |
12323 | 684 Other things include checking your subtitles in a text editor or with other |
685 players. Also try converting them to another format. | |
686 </para></answer> | |
687 </qandaentry> | |
688 | |
689 <qandaentry> | |
690 <question><para> | |
12026 | 691 Why doesn't <application>MPlayer</application> work on Fedora Core? |
692 </para></question> | |
693 <answer><para> | |
694 There is a bad interaction on Fedora between exec-shield, | |
695 prelink, and any applications which use Windows DLLs | |
696 (such as <application>MPlayer</application>). | |
697 </para> | |
698 <para> | |
699 The problem is that exec-shield randomizes the load addresses of all the | |
700 system libraries. This randomization happens at prelink time (once every | |
701 two weeks). | |
702 </para> | |
703 <para> | |
704 When <application>MPlayer</application> tries to load a Windows DLL it | |
705 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
|
706 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
|
707 will crash. |
12026 | 708 (A typical symptom would be a segmentation fault when trying |
709 to play Windows Media 9 files.) | |
710 </para> | |
711 <para> | |
712 If you run into this problem you have two options: | |
713 <itemizedlist> | |
714 <listitem><para>Wait two weeks. It might start working again.</para></listitem> | |
715 <listitem><para>Relink all the binaries on the system with different | |
716 prelink options. Here are step by step instructions:</para> | |
717 <para> | |
718 <orderedlist> | |
719 <listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para> | |
720 <para> | |
721 <programlisting> | |
722 PRELINK_OPTS=-mR | |
723 </programlisting> | |
724 </para> | |
725 <para> | |
726 to | |
727 <programlisting> | |
728 PRELINK_OPTS="-mR --no-exec-shield" | |
729 </programlisting> | |
730 </para> | |
731 </listitem> | |
732 <listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem> | |
733 <listitem><para><command>/etc/cron.daily/prelink</command> | |
734 (This relinks all the applications, and it takes | |
735 quite a while.)</para></listitem> | |
736 <listitem> | |
737 <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
|
738 (This turns off exec-shield for the <application>MPlayer</application> binary.) |
12026 | 739 </para> |
740 </listitem> | |
741 </orderedlist> | |
742 </para> | |
743 </listitem> | |
744 </itemizedlist> | |
745 </para></answer> | |
746 </qandaentry> | |
747 | |
748 <qandaentry> | |
749 <question><para> | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
750 ... works with <application>xine/vlc/...</application> but doesn't with |
10042 | 751 <application>MPlayer</application>. |
9675 | 752 </para></question> |
753 <answer><para> | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
754 <application>MPlayer</application> is not <application>xine/vlc/...</application>. |
10373 | 755 Although these players have some code in common, the codecs (DLL) set, |
756 synchronization, demultiplexing etc is different and should not be | |
757 compared. If you have a file <application>MPlayer</application> fails to | |
758 play correctly but works in another player, please read the | |
759 <link linkend="bugreports">bug reporting guidelines</link> and upload | |
760 the file to our FTP server. | |
9675 | 761 </para></answer> |
762 </qandaentry> | |
10373 | 763 |
9675 | 764 <qandaentry> |
765 <question><para> | |
766 Audio goes out of sync playing an AVI file. | |
767 </para></question> | |
768 <answer><para> | |
769 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
|
770 improve, read the |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
771 <link linkend="bugreports">bug reporting guidelines</link> |
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
772 and upload the file to FTP. |
9675 | 773 </para></answer> |
774 </qandaentry> | |
10373 | 775 |
9675 | 776 <qandaentry> |
777 <question><para> | |
778 <application>MPlayer</application> exits with some error when using <filename>l3codeca.acm</filename>. | |
779 </para></question> | |
780 <answer><para> | |
781 Check <command>ldd /usr/local/bin/mplayer</command> output. If it contains | |
782 <screen>libc.so.6 => /lib/libc.so.6 (0x4???????)</screen> | |
783 where "?" is any number then it's OK, the error is not here. If it is: | |
784 <screen>libc.so.6 => /lib/libc.so.6 (0x00??????)</screen> | |
785 then there is a problem with your kernel/libc. Maybe you are using some security | |
786 patches (for example Solar Designer's OpenWall patch) which forces loading | |
787 libraries to very low addresses. Because <filename>l3codeca.acm</filename> is a | |
14680 | 788 non-relocatable DLL, it must be loaded to <literal>0x40000000</literal>, we can't |
12348 | 789 change this. You should use a non-patched kernel, or use <application>MPlayer</application>'s |
9675 | 790 <option>-afm 1</option> option to disable using <filename>l3codeca.acm</filename>. |
791 </para></answer> | |
792 </qandaentry> | |
10373 | 793 |
9675 | 794 <qandaentry> |
795 <question><para> | |
12348 | 796 My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound |
9675 | 797 too slow. When I use <option>-nosound</option> option, everything is OK (but quiet). |
798 </para></question> | |
799 <answer><para> | |
12348 | 800 Your machine is too slow or your sound card driver is broken. Consult the |
9675 | 801 documentation to see if you can improve performance. |
802 </para></answer> | |
803 </qandaentry> | |
10373 | 804 |
9675 | 805 <qandaentry> |
806 <question><para> | |
11532 | 807 <application>MPlayer</application> dies with |
808 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> | |
9675 | 809 </para></question> |
810 <answer><para> | |
11540 | 811 Try running <application>MPlayer</application> on the machine you compiled on. |
812 Or recompile with runtime CPU detection | |
813 (<command>./configure --enable-runtime-cpudetection</command>). | |
814 Don't use <application>MPlayer</application> on a CPU different from the one | |
815 it was compiled on, without using the feature mentioned just now. | |
9675 | 816 </para></answer> |
817 </qandaentry> | |
10373 | 818 |
9675 | 819 <qandaentry> |
820 <question><para> | |
821 I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... | |
822 </para></question> | |
823 <answer><para> | |
824 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us | |
825 a proper bug report. | |
14615
f1c2f7046748
Remove overly outdated entries, update a few others.
diego
parents:
14320
diff
changeset
|
826 Also try experimenting with the <option>-fstype</option> option. |
9675 | 827 </para></answer> |
828 </qandaentry> | |
10373 | 829 |
9675 | 830 <qandaentry> |
831 <question><para> | |
832 I got this playing MPEG files: Can't find codec for video format 0x10000001! | |
833 </para></question> | |
834 <answer><para> | |
10407 | 835 You have an old version of <filename>codecs.conf</filename> in |
10403 | 836 <filename class="directory">~/.mplayer/</filename>, |
837 <filename class="directory">/etc/</filename>, | |
11124 | 838 <filename class="directory">/usr/local/etc/</filename> or similar. Remove it, |
839 it's not needed anymore. | |
9675 | 840 <emphasis role="bold">OR</emphasis> you have the <option>vc=</option> option or |
841 something similar in your config file(s). | |
842 </para></answer> | |
843 </qandaentry> | |
10373 | 844 |
9675 | 845 <qandaentry> |
846 <question><para> | |
847 When starting <application>MPlayer</application> under KDE I just get a black | |
848 screen and nothing happens. After about one minute the video starts playing. | |
849 </para></question> | |
850 <answer><para> | |
851 The KDE arts sound daemon is blocking the sound device. Either wait until the | |
11272 | 852 video starts or disable the arts-daemon in control center. If you want to use |
9675 | 853 arts sound, specify audio output via our native arts audio driver |
854 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL | |
855 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet | |
10042 | 856 another option is to start <application>MPlayer</application> with artsdsp. |
9675 | 857 </para></answer> |
858 </qandaentry> | |
10373 | 859 |
9675 | 860 <qandaentry> |
861 <question><para> | |
862 I have an AVI that produces a gray screen when played with <option>-vc odivx</option> | |
863 and a green one with <option>-vc divx4</option>. | |
864 </para></question> | |
865 <answer><para> | |
10407 | 866 It's not a DivX file, but an MS MPEG4v3. |
867 If you have an old version of <filename>codecs.conf</filename> in | |
868 <filename class="directory">~/.mplayer/</filename>, | |
869 <filename class="directory">/etc/</filename>, | |
870 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 871 </para></answer> |
872 </qandaentry> | |
10373 | 873 |
9675 | 874 <qandaentry> |
875 <question><para> | |
876 When I play this movie I get video-audio desync and/or <application>MPlayer</application> | |
877 crashes with the following message: | |
878 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> | |
879 </para></question> | |
880 <answer><para> | |
881 This can have multiple reasons. | |
882 <itemizedlist> | |
883 <listitem><para> | |
884 Your CPU <emphasis role="bold">and/or</emphasis> video card <emphasis role="bold">and/or</emphasis> | |
11540 | 885 bus is too slow. <application>MPlayer</application> displays a message if this is the case (and the |
9675 | 886 dropped frames counter goes up fast). |
887 </para></listitem> | |
888 <listitem><para> | |
889 If it is an AVI, maybe it has bad interleaving. Try the <option>-ni</option> option. | |
890 </para></listitem> | |
891 <listitem><para> | |
892 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
|
893 See the <link linkend="audio">sound card section</link>. |
9675 | 894 </para></listitem> |
895 <listitem><para> | |
896 The AVI has a bad header, try the <option>-nobps</option> option, and/or <option>-mc 0</option>. | |
897 </para></listitem> | |
898 </itemizedlist> | |
899 </para></answer> | |
900 </qandaentry> | |
10373 | 901 |
9675 | 902 <qandaentry> |
903 <question><para> | |
904 I have an MJPEG file which works with other players but displays only a black image in | |
905 <application>MPlayer</application> | |
906 </para></question> | |
907 <answer><para> | |
10407 | 908 Use another codec to play the file, try <option>-vc ffmjpeg</option>. |
9675 | 909 </para></answer> |
910 </qandaentry> | |
10373 | 911 |
9675 | 912 <qandaentry> |
913 <question><para> | |
914 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
915 applications. | |
916 </para></question> | |
917 <answer><para> | |
12348 | 918 Your card probably reports some colorspaces as supported when in fact |
919 it does not support them. Try with YUY2 instead of the | |
10373 | 920 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 921 </para></answer> |
922 </qandaentry> | |
10373 | 923 |
9675 | 924 <qandaentry> |
925 <question><para> | |
926 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! | |
927 </para></question> | |
928 <answer><para> | |
929 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
|
930 try to play a file which has 22050Hz audio. Try the resample audio filter. |
9675 | 931 </para></answer> |
932 </qandaentry> | |
10373 | 933 |
9675 | 934 <qandaentry> |
935 <question><para> | |
936 All the WMV (or other..) files I play create a green/gray window and there is | |
937 only sound! <application>MPlayer</application> prints: | |
938 <screen>Detected video codec: [null] drv:0 (NULL codec (no decoding))</screen> | |
939 </para></question> | |
940 <answer><para> | |
10407 | 941 If you have an old version of <filename>codecs.conf</filename> in |
942 <filename class="directory">~/.mplayer/</filename>, | |
943 <filename class="directory">/etc/</filename>, | |
944 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 945 </para></answer> |
946 </qandaentry> | |
10373 | 947 |
9675 | 948 <qandaentry> |
949 <question><para> | |
950 I get very strange percentage values (way too big) while playing files on my notebook. | |
951 </para></question> | |
952 <answer><para> | |
953 It's an effect of the power management / power saving system of your notebook | |
10042 | 954 (BIOS, not kernel). Plug the external power connector in |
955 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
956 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink> | |
957 (a SpeedStep interface for Linux) helps you. | |
9675 | 958 </para></answer> |
959 </qandaentry> | |
10373 | 960 |
9675 | 961 <qandaentry> |
962 <question><para> | |
963 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
964 as root on my notebook. It works normal when i run it as a user. | |
965 </para></question> | |
966 <answer><para> | |
967 This is again a power management effect (see above). Plug the external power | |
968 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
969 or use the <option>-nortc</option> option. | |
970 </para></answer> | |
971 </qandaentry> | |
10373 | 972 |
973 <qandaentry> | |
9722 | 974 <question><para> |
10042 | 975 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 976 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
977 </para></question> | |
978 <answer><para> | |
10042 | 979 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 980 Try <option>-nocache</option>. |
981 </para></answer> | |
982 </qandaentry> | |
9675 | 983 |
11124 | 984 <qandaentry> |
985 <question><para> | |
12348 | 986 How can I play MPEG Layer 2 (MP2) audio files? |
11124 | 987 </para></question> |
988 <answer><para> | |
11140 | 989 You have to use <option>-rawaudio on:format=0x50</option>. |
11124 | 990 </para></answer> |
991 </qandaentry> | |
992 </qandadiv> | |
993 | |
994 | |
9675 | 995 <qandadiv id="faq-driver"> |
996 <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
|
997 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
998 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
999 <question><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1000 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
|
1001 <application>MPlayer</application>? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1002 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1003 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1004 After setting up your |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1005 <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
|
1006 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
|
1007 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1008 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1009 |
9675 | 1010 <qandaentry> |
1011 <question><para> | |
1012 I have no sound when playing a video and get error messages similar to this one: | |
1013 <screen> | |
1014 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
1015 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
1016 couldn't open/init audio device -> NOSOUND | |
1017 Audio: no sound!!! | |
1018 Start playing... | |
1019 </screen> | |
1020 </para></question> | |
1021 <answer><para> | |
1022 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling | |
1023 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> | |
11540 | 1024 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
|
1025 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
|
1026 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
|
1027 directly use the ALSA audio output driver. |
9675 | 1028 </para></answer> |
1029 </qandaentry> | |
10373 | 1030 |
9675 | 1031 <qandaentry> |
1032 <question><para> | |
1033 What about the DGA driver? I can't find it! | |
1034 </para></question> | |
1035 <answer><para> | |
1036 <filename>./configure</filename> autodetects your DGA driver. If <option>-vo help</option> | |
1037 doesn't show DGA, then there's a problem with your X installation. Try | |
1038 <command>./configure --enable-dga</command> and read the | |
10373 | 1039 <link linkend="dga">DGA</link> section. Alternatively, try SDL's DGA driver |
9675 | 1040 with the <option>-vo sdl:dga</option> option. |
1041 </para></answer> | |
1042 </qandaentry> | |
10373 | 1043 |
9675 | 1044 <qandaentry> |
1045 <question><para> | |
1046 OK, <option>-vo help</option> shows DGA driver, but it complains about permissions. | |
1047 Help me! | |
1048 </para></question> | |
1049 <answer><para> | |
1050 It works only if running as root! It's a DGA limitation. You should become root | |
11540 | 1051 (<command>su -</command>), and try again. Another solution is making |
1052 <application>MPlayer</application> SUID root, but it's not recommended! | |
9675 | 1053 <screen> |
1054 chown root /usr/local/bin/mplayer | |
1055 chmod 755 /usr/local/bin/mplayer | |
1056 chmod +s /usr/local/bin/mplayer | |
1057 </screen> | |
1058 <warning><para> | |
1059 This is a <emphasis role="bold">big</emphasis> security risk! <emphasis role="bold">Never</emphasis> | |
1060 do this on a server or on a computer that you do not control completely because | |
11540 | 1061 other users can gain root privileges through SUID root <application>MPlayer</application>. |
9675 | 1062 <emphasis role="bold">You have been warned</emphasis>. |
1063 </para></warning> | |
1064 </para></answer> | |
1065 </qandaentry> | |
10373 | 1066 |
9675 | 1067 <qandaentry> |
1068 <question><para> | |
12349 | 1069 When using XVideo, my Voodoo 3/Banshee says: |
9675 | 1070 <screen> |
1071 X Error of failed request: BadAccess (attempt to access private resource denied) | |
1072 Major opcode of failed request: 147 (MIT-SHM) | |
1073 Minor opcode of failed request: 1 (X_ShmAttach) | |
1074 Serial number of failed request: 26 | |
1075 Current serial number in output stream:27 | |
1076 </screen> | |
1077 </para></question> | |
1078 <answer><para> | |
11532 | 1079 The <systemitem>tdfx</systemitem> driver in XFree86 4.0.2/4.0.3 had this bug. This was |
12348 | 1080 solved by <ulink url="http://www.xfree86.org/cvs/changes_4_1.html">bug fix #621 |
9675 | 1081 of the XFree86 4.1.0 CVS log</ulink>. So upgrade to XFree86 4.1.0 or later. |
1082 Alternatively, either download (at least) DRI version 0.6 from the | |
13977 | 1083 <ulink url="http://dri.sf.net">DRI homepage</ulink>, or use CVS DRI. |
9675 | 1084 </para></answer> |
1085 </qandaentry> | |
10373 | 1086 |
9675 | 1087 <qandaentry> |
1088 <question><para> | |
1089 OpenGL (<option>-vo gl</option>) output doesn't work (hang/black window/X11 | |
1090 errors/...). | |
1091 </para></question> | |
1092 <answer><para> | |
1093 Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). | |
1094 It's known not to work with nVidia's binary mess. It's known to work with | |
1095 Utah-GLX/DRI and Matrox G400 cards. Also with DRI and Radeon cards. It won't | |
1096 work with DRI and other cards. it will not work with 3DFX cards because of | |
1097 the 256x256 texture size limit. | |
1098 </para></answer> | |
1099 </qandaentry> | |
10373 | 1100 |
9675 | 1101 <qandaentry> |
1102 <question><para> | |
1103 I have an nVidia TNT/TNT2 card, and I have a band with strange colors, right | |
1104 under the movie! Whose fault is this? | |
1105 </para></question> | |
1106 <answer><para> | |
1107 This is a bug of nVidia's binary X driver. These bugs appear ONLY with the | |
1108 TNT/TNT2 cards, and we can't do anything about it. To fix the problem, upgrade | |
1109 to the latest nVidia binary driver version. If still bad, complain to nVidia! | |
1110 </para></answer> | |
1111 </qandaentry> | |
10373 | 1112 |
9675 | 1113 <qandaentry> |
1114 <question><para> | |
1115 I have an nVidia XYZ card, and when I click on the GUI's display window to | |
1116 toggle displaying the GUI panel, a black square appears where I clicked. I have | |
1117 the newest driver. | |
1118 </para></question> | |
1119 <answer><para> | |
1120 Yes, nVidia corrected a previous bug (above), and introduced a new one. | |
1121 Let's congratulate them. UPDATE: According to <link linkend="nvidia">nVidia</link>, | |
1122 this has already been fixed. | |
1123 </para></answer> | |
1124 </qandaentry> | |
10373 | 1125 |
9675 | 1126 <qandaentry> |
1127 <question><para> | |
1128 Oh the world is cruel ...! SDL has only <systemitem>x11</systemitem> target, | |
1129 but not <systemitem>xv</systemitem>! | |
1130 </para></question> | |
1131 <answer><para> | |
1132 Try that <systemitem>x11</systemitem> target again. Now try <option>-vo x11 | |
1133 -fs -zoom</option>. See the difference? No?! OK, here comes the enlightenment: | |
1134 SDL's <systemitem>x11</systemitem> target uses xv when available, you don't have | |
11532 | 1135 to worry about it ... Note: With SDL you can force/disable Xv using |
1136 <option>-forcexv</option> and <option>-noxv</option>. | |
9675 | 1137 </para></answer> |
1138 </qandaentry> | |
1139 </qandadiv> | |
1140 | |
1141 <qandadiv id="faq-dvd"> | |
1142 <title>DVD playback</title> | |
1143 <qandaentry> | |
1144 <question><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
1145 What about DVD navigation/menus? |
9675 | 1146 </para></question> |
1147 <answer><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
1148 <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
|
1149 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
|
1150 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
|
1151 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
|
1152 <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
|
1153 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
|
1154 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
|
1155 undertaking. |
9675 | 1156 </para></answer> |
1157 </qandaentry> | |
10373 | 1158 |
9675 | 1159 <qandaentry> |
1160 <question><para> | |
1161 While playing a DVD, I encountered this error: | |
1162 <screen>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</screen> | |
1163 </para></question> | |
1164 <answer><para> | |
1165 This is a known libdvdread 0.9.1/0.9.2 bug. Use <emphasis role="bold">libmpdvdkit2</emphasis>, | |
1166 which is present in <application>MPlayer</application> source, and used by default. | |
1167 </para></answer> | |
1168 </qandaentry> | |
10373 | 1169 |
9675 | 1170 <qandaentry> |
1171 <question><para> | |
10042 | 1172 Can I compile libdvdread and libdvdcss on my sweet SPARC under Solaris? |
1173 </para></question> | |
1174 <answer><para> | |
1175 Who knows ... It's said to work, so please test it and send feedback. Refer to | |
1176 the documentation of libdvdread and its homepage as well. We're not the authors | |
1177 of libdvdread. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is present | |
1178 in <application>MPlayer</application> source, and used by default. | |
1179 </para></answer> | |
1180 </qandaentry> | |
10373 | 1181 |
10042 | 1182 <qandaentry> |
1183 <question><para> | |
11540 | 1184 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 1185 </para></question> |
1186 <answer><para> | |
10373 | 1187 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 1188 </para></answer> |
1189 </qandaentry> | |
10373 | 1190 |
9675 | 1191 <qandaentry> |
1192 <question><para> | |
1193 How can I set the region code of my DVD-drive? I don't have Windows! | |
1194 </para></question> | |
1195 <answer><para> | |
14113 | 1196 Use the <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>. |
9675 | 1197 </para></answer> |
1198 </qandaentry> | |
10373 | 1199 |
9675 | 1200 <qandaentry> |
1201 <question><para> | |
12957
f5dd97090f64
fibmap_mplayer is long obsolete, noticed by Torinthiel.
diego
parents:
12815
diff
changeset
|
1202 Do I need to be (setuid) root to be able to play a DVD? |
9675 | 1203 </para></question> |
1204 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
1205 No. However you must have the proper rights |
9675 | 1206 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
1207 </para></answer> | |
1208 </qandaentry> | |
10373 | 1209 |
9675 | 1210 <qandaentry> |
1211 <question><para> | |
1212 Where can I get libdvdread and libdvdcss packages? | |
1213 </para></question> | |
1214 <answer><para> | |
1215 You don't need to. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is | |
11540 | 1216 present in the <application>MPlayer</application> source, and used by default. |
1217 You can get the mentioned packages from the | |
1218 <ulink url="http://www.dtek.chalmers.se/groups/dvd/">Ogle site</ulink>. | |
9675 | 1219 </para></answer> |
1220 </qandaentry> | |
10373 | 1221 |
9675 | 1222 <qandaentry> |
1223 <question><para> | |
1224 Is it possible to play/encode only selected chapters? | |
1225 </para></question> | |
1226 <answer><para> | |
1227 Yes, try the <option>-chapter</option> option. | |
1228 </para></answer> | |
1229 </qandaentry> | |
10373 | 1230 |
9675 | 1231 <qandaentry> |
1232 <question><para> | |
1233 My DVD playback is sluggish! | |
1234 </para></question> | |
1235 <answer><para> | |
1236 Use the <option>-cache</option> option (described in the man page) and try | |
1237 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 1238 in the <link linkend="drives">CD chapter</link>). |
9675 | 1239 </para></answer> |
1240 </qandaentry> | |
13511 | 1241 |
1242 <qandaentry> | |
1243 <question><para> | |
1244 I copied a DVD using vobcopy. How do I play/encode it from my hard disk? | |
1245 </para></question> | |
1246 <answer><para> | |
1247 Use the <option>-dvd-device</option> option to refer to the directory | |
1248 that contains the files: | |
1249 <screen> | |
1250 mplayer dvd://1 -dvd-device /path/to/directory | |
1251 </screen> | |
1252 </para></answer> | |
1253 </qandaentry> | |
9675 | 1254 </qandadiv> |
1255 | |
1256 <qandadiv id="faq-features"> | |
1257 <title>Feature requests</title> | |
1258 <qandaentry> | |
1259 <question><para> | |
11540 | 1260 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
1261 <application>MPlayer</application> ceases to be paused. I would like to be able | |
1262 to seek in the paused movie. | |
9675 | 1263 </para></question> |
1264 <answer><para> | |
1265 This is very tricky to implement without losing A/V synchronization. | |
1266 All attempts have failed so far, but patches are welcome. | |
1267 </para></answer> | |
1268 </qandaentry> | |
10373 | 1269 |
9675 | 1270 <qandaentry> |
1271 <question><para> | |
1272 I'd like to seek +/- 1 frames instead of 10 seconds. | |
1273 </para></question> | |
1274 <answer><para> | |
14312 | 1275 You can step forward one frame by pressing <keycap>.</keycap>. |
14320 | 1276 If the movie was not paused it will be paused afterwards |
1277 (see the man page for details). | |
14309 | 1278 Stepping backwards is unlikely to be implemented anytime soon. |
9675 | 1279 </para></answer> |
1280 </qandaentry> | |
10373 | 1281 |
9675 | 1282 <qandaentry> |
1283 <question><para> | |
11540 | 1284 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
|
1285 for a particular file, e.g. <filename>movie.avi</filename>? |
9675 | 1286 </para></question> |
1287 <answer><para> | |
1288 Create a file named <filename>movie.avi.conf</filename> with the file-specific | |
1289 options in it and put it in <filename class="directory">~/.mplayer</filename> or | |
1290 in the same directory as the file. | |
1291 </para></answer> | |
1292 </qandaentry> | |
1293 </qandadiv> | |
1294 | |
1295 <qandadiv id="faq-encoding"> | |
1296 <title>Encoding</title> | |
1297 <qandaentry> | |
1298 <question><para> | |
10042 | 1299 How can I encode? |
1300 </para></question> | |
1301 <answer><para> | |
11540 | 1302 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
1303 section. | |
10042 | 1304 </para></answer> |
1305 </qandaentry> | |
10373 | 1306 |
10042 | 1307 <qandaentry> |
1308 <question><para> | |
1309 How can I create VCDs? | |
1310 </para></question> | |
1311 <answer><para> | |
1312 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
1313 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
1314 and even burn them directly to CD. | |
1315 </para></answer> | |
1316 </qandaentry> | |
10373 | 1317 |
10042 | 1318 <qandaentry> |
1319 <question><para> | |
1320 How can I join two video files? | |
1321 </para></question> | |
1322 <answer><para> | |
14975 | 1323 MPEG files can be concatenated into a single file with luck. |
1324 For AVI files, you can use <application>MEncoder</application>'s | |
1325 multiple file support like this: | |
1326 <screen> | |
1327 mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi | |
1328 </screen> | |
1329 This will only work if the files are of the same resolution and codec. | |
1330 You can also try | |
10042 | 1331 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and |
1332 <application>avimerge</application> (part of the | |
14975 | 1333 <ulink url="http://www.transcoding.org/">transcode</ulink> |
1334 tool set). | |
10042 | 1335 </para></answer> |
1336 </qandaentry> | |
10373 | 1337 |
10042 | 1338 <qandaentry> |
1339 <question><para> | |
15130 | 1340 How can I fix AVI files with broken index or interleaving? |
15112
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1341 </para></question> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1342 <answer><para> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1343 Simply copy the video and audio streams into a new file, and |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1344 <application>MEncoder</application> generates the index. |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1345 Of course this cannot fix possible bugs in the video and/or audio streams. |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1346 It also fixes files with broken interleaving, thus the |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1347 <option>-ni</option> option will not be needed for them anymore. |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1348 <screen> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1349 mencoder -idx <replaceable>input.avi</replaceable> -ovc copy -oac copy -o <replaceable>output.avi</replaceable> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1350 </screen> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1351 </para></answer> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1352 </qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1353 |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1354 <qandaentry> |
4433dd310657
Move here the entry "How can I fix an AVIs with broken index or interleaving?"
gpoirier
parents:
15029
diff
changeset
|
1355 <question><para> |
9675 | 1356 I can't encode DVD subtitles into the AVI! |
1357 </para></question> | |
1358 <answer><para> | |
1359 You have to specify the <option>-sid</option> option correctly! | |
1360 </para></answer> | |
1361 </qandaentry> | |
10373 | 1362 |
9675 | 1363 <qandaentry> |
1364 <question><para> | |
1365 How can I encode only selected chapters from a DVD? | |
1366 </para></question> | |
1367 <answer><para> | |
1368 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option> | |
1369 </para></answer> | |
1370 </qandaentry> | |
10373 | 1371 |
9675 | 1372 <qandaentry> |
1373 <question><para> | |
1374 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1375 </para></question> | |
1376 <answer><para> | |
1377 No, VFAT doesn't support 2GB+ files. | |
1378 </para></answer> | |
1379 </qandaentry> | |
10373 | 1380 |
9675 | 1381 <qandaentry> |
1382 <question><para> | |
10042 | 1383 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 1384 </para></question> |
1385 <answer><para> | |
1386 Because the bitrate you encoded the audio with is too large to fit the | |
1387 movie on any CD. Check if you have libmp3lame installed properly. | |
1388 </para></answer> | |
1389 </qandaentry> | |
10448 | 1390 |
1391 <qandaentry> | |
1392 <question><para> | |
14024 | 1393 I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. |
10448 | 1394 </para></question> |
1395 <answer><para> | |
12815 | 1396 Because ASF uses variable frame rate but AVI uses a fixed one, you |
10461 | 1397 have to set it by hand using <option>-ofps</option>. |
10448 | 1398 </para></answer> |
1399 </qandaentry> | |
1400 | |
10631 | 1401 |
1402 <qandaentry> | |
1403 <question><para> | |
1404 How can I put subtitles in the output file? | |
1405 </para></question> | |
1406 <answer><para> | |
1407 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
12815 | 1408 respectively) option to <application>MEncoder</application>. |
10631 | 1409 </para></answer> |
1410 </qandaentry> | |
1411 | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1412 <qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1413 <question><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1414 How do I encode only sound from a music video? |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1415 </para></question> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1416 <answer><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1417 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
|
1418 <emphasis role="bold">&</emphasis> at the end of |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1419 <command>mplayer</command> command): |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1420 <screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1421 mkfifo encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1422 mplayer -ao pcm -aofile encode dvd://1 & |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1423 lame <replaceable>your_opts</replaceable> encode music.mp3 |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1424 rm encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1425 </screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1426 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
|
1427 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
|
1428 above command. |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1429 </para></answer> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1430 </qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1431 |
9675 | 1432 </qandadiv> |
1433 </qandaset> | |
1434 | |
1435 </chapter> |