Mercurial > mplayer.hg
annotate DOCS/xml/en/faq.xml @ 14955:081167e3d000
missing declaration, fixes:
muxer.c:36: warning: implicit declaration of function `muxer_init_muxer_lavf'
author | rathann |
---|---|
date | Fri, 18 Mar 2005 01:59:43 +0000 |
parents | e76a8c56d81b |
children | 9c2052060e45 |
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> |
840 <question><para> | |
841 When starting <application>MPlayer</application> under KDE I just get a black | |
842 screen and nothing happens. After about one minute the video starts playing. | |
843 </para></question> | |
844 <answer><para> | |
845 The KDE arts sound daemon is blocking the sound device. Either wait until the | |
11272 | 846 video starts or disable the arts-daemon in control center. If you want to use |
9675 | 847 arts sound, specify audio output via our native arts audio driver |
848 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL | |
849 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet | |
10042 | 850 another option is to start <application>MPlayer</application> with artsdsp. |
9675 | 851 </para></answer> |
852 </qandaentry> | |
10373 | 853 |
9675 | 854 <qandaentry> |
855 <question><para> | |
856 I have an AVI that produces a gray screen when played with <option>-vc odivx</option> | |
857 and a green one with <option>-vc divx4</option>. | |
858 </para></question> | |
859 <answer><para> | |
10407 | 860 It's not a DivX file, but an MS MPEG4v3. |
861 If you have an old version of <filename>codecs.conf</filename> in | |
862 <filename class="directory">~/.mplayer/</filename>, | |
863 <filename class="directory">/etc/</filename>, | |
864 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 865 </para></answer> |
866 </qandaentry> | |
10373 | 867 |
9675 | 868 <qandaentry> |
869 <question><para> | |
870 When I play this movie I get video-audio desync and/or <application>MPlayer</application> | |
871 crashes with the following message: | |
872 <screen>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</screen> | |
873 </para></question> | |
874 <answer><para> | |
875 This can have multiple reasons. | |
876 <itemizedlist> | |
877 <listitem><para> | |
878 Your CPU <emphasis role="bold">and/or</emphasis> video card <emphasis role="bold">and/or</emphasis> | |
11540 | 879 bus is too slow. <application>MPlayer</application> displays a message if this is the case (and the |
9675 | 880 dropped frames counter goes up fast). |
881 </para></listitem> | |
882 <listitem><para> | |
883 If it is an AVI, maybe it has bad interleaving. Try the <option>-ni</option> option. | |
884 </para></listitem> | |
885 <listitem><para> | |
886 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
|
887 See the <link linkend="audio">sound card section</link>. |
9675 | 888 </para></listitem> |
889 <listitem><para> | |
890 The AVI has a bad header, try the <option>-nobps</option> option, and/or <option>-mc 0</option>. | |
891 </para></listitem> | |
892 </itemizedlist> | |
893 </para></answer> | |
894 </qandaentry> | |
10373 | 895 |
9675 | 896 <qandaentry> |
897 <question><para> | |
898 I have an MJPEG file which works with other players but displays only a black image in | |
899 <application>MPlayer</application> | |
900 </para></question> | |
901 <answer><para> | |
10407 | 902 Use another codec to play the file, try <option>-vc ffmjpeg</option>. |
9675 | 903 </para></answer> |
904 </qandaentry> | |
10373 | 905 |
9675 | 906 <qandaentry> |
907 <question><para> | |
908 When I try to grab from my tuner, it works, but colors are strange. It's OK with other | |
909 applications. | |
910 </para></question> | |
911 <answer><para> | |
12348 | 912 Your card probably reports some colorspaces as supported when in fact |
913 it does not support them. Try with YUY2 instead of the | |
10373 | 914 default YV12 (see the <link linkend="tv-input">TV</link> section). |
9675 | 915 </para></answer> |
916 </qandaentry> | |
10373 | 917 |
9675 | 918 <qandaentry> |
919 <question><para> | |
920 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed! | |
921 </para></question> | |
922 <answer><para> | |
923 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
|
924 try to play a file which has 22050Hz audio. Try the resample audio filter. |
9675 | 925 </para></answer> |
926 </qandaentry> | |
10373 | 927 |
9675 | 928 <qandaentry> |
929 <question><para> | |
930 All the WMV (or other..) files I play create a green/gray window and there is | |
931 only sound! <application>MPlayer</application> prints: | |
932 <screen>Detected video codec: [null] drv:0 (NULL codec (no decoding))</screen> | |
933 </para></question> | |
934 <answer><para> | |
10407 | 935 If you have an old version of <filename>codecs.conf</filename> in |
936 <filename class="directory">~/.mplayer/</filename>, | |
937 <filename class="directory">/etc/</filename>, | |
938 <filename class="directory">/usr/local/etc/</filename> or similar, remove it. | |
9675 | 939 </para></answer> |
940 </qandaentry> | |
10373 | 941 |
9675 | 942 <qandaentry> |
943 <question><para> | |
944 I get very strange percentage values (way too big) while playing files on my notebook. | |
945 </para></question> | |
946 <answer><para> | |
947 It's an effect of the power management / power saving system of your notebook | |
10042 | 948 (BIOS, not kernel). Plug the external power connector in |
949 <emphasis role="bold">before</emphasis> you power on your notebook. You can also | |
950 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink> | |
951 (a SpeedStep interface for Linux) helps you. | |
9675 | 952 </para></answer> |
953 </qandaentry> | |
10373 | 954 |
9675 | 955 <qandaentry> |
956 <question><para> | |
957 The audio/video gets totally out of sync when I run <application>MPlayer</application> | |
958 as root on my notebook. It works normal when i run it as a user. | |
959 </para></question> | |
960 <answer><para> | |
961 This is again a power management effect (see above). Plug the external power | |
962 connector in <emphasis role="bold">before</emphasis> you power on your notebook | |
963 or use the <option>-nortc</option> option. | |
964 </para></answer> | |
965 </qandaentry> | |
10373 | 966 |
967 <qandaentry> | |
9722 | 968 <question><para> |
10042 | 969 While playing a movie it suddenly gets jerky and I get the following message: |
9722 | 970 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen> |
971 </para></question> | |
972 <answer><para> | |
10042 | 973 Badly interleaved files and <option>-cache</option> don't work well together. |
9722 | 974 Try <option>-nocache</option>. |
975 </para></answer> | |
976 </qandaentry> | |
9675 | 977 |
11124 | 978 <qandaentry> |
979 <question><para> | |
12348 | 980 How can I play MPEG Layer 2 (MP2) audio files? |
11124 | 981 </para></question> |
982 <answer><para> | |
11140 | 983 You have to use <option>-rawaudio on:format=0x50</option>. |
11124 | 984 </para></answer> |
985 </qandaentry> | |
986 </qandadiv> | |
987 | |
988 | |
9675 | 989 <qandadiv id="faq-driver"> |
990 <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
|
991 |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
992 <qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
993 <question><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
994 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
|
995 <application>MPlayer</application>? |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
996 </para></question> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
997 <answer><para> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
998 After setting up your |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
999 <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
|
1000 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
|
1001 </para></answer> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1002 </qandaentry> |
144af0141ac4
How to take a screenshot, how to use dmix, how to choose languages and
diego
parents:
13511
diff
changeset
|
1003 |
9675 | 1004 <qandaentry> |
1005 <question><para> | |
1006 I have no sound when playing a video and get error messages similar to this one: | |
1007 <screen> | |
1008 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) | |
1009 audio_setup: Can't open audio device /dev/dsp: Device or resource busy | |
1010 couldn't open/init audio device -> NOSOUND | |
1011 Audio: no sound!!! | |
1012 Start playing... | |
1013 </screen> | |
1014 </para></question> | |
1015 <answer><para> | |
1016 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling | |
1017 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option> | |
11540 | 1018 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
|
1019 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
|
1020 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
|
1021 directly use the ALSA audio output driver. |
9675 | 1022 </para></answer> |
1023 </qandaentry> | |
10373 | 1024 |
9675 | 1025 <qandaentry> |
1026 <question><para> | |
1027 What about the DGA driver? I can't find it! | |
1028 </para></question> | |
1029 <answer><para> | |
1030 <filename>./configure</filename> autodetects your DGA driver. If <option>-vo help</option> | |
1031 doesn't show DGA, then there's a problem with your X installation. Try | |
1032 <command>./configure --enable-dga</command> and read the | |
10373 | 1033 <link linkend="dga">DGA</link> section. Alternatively, try SDL's DGA driver |
9675 | 1034 with the <option>-vo sdl:dga</option> option. |
1035 </para></answer> | |
1036 </qandaentry> | |
10373 | 1037 |
9675 | 1038 <qandaentry> |
1039 <question><para> | |
1040 OK, <option>-vo help</option> shows DGA driver, but it complains about permissions. | |
1041 Help me! | |
1042 </para></question> | |
1043 <answer><para> | |
1044 It works only if running as root! It's a DGA limitation. You should become root | |
11540 | 1045 (<command>su -</command>), and try again. Another solution is making |
1046 <application>MPlayer</application> SUID root, but it's not recommended! | |
9675 | 1047 <screen> |
1048 chown root /usr/local/bin/mplayer | |
1049 chmod 755 /usr/local/bin/mplayer | |
1050 chmod +s /usr/local/bin/mplayer | |
1051 </screen> | |
1052 <warning><para> | |
1053 This is a <emphasis role="bold">big</emphasis> security risk! <emphasis role="bold">Never</emphasis> | |
1054 do this on a server or on a computer that you do not control completely because | |
11540 | 1055 other users can gain root privileges through SUID root <application>MPlayer</application>. |
9675 | 1056 <emphasis role="bold">You have been warned</emphasis>. |
1057 </para></warning> | |
1058 </para></answer> | |
1059 </qandaentry> | |
10373 | 1060 |
9675 | 1061 <qandaentry> |
1062 <question><para> | |
12349 | 1063 When using XVideo, my Voodoo 3/Banshee says: |
9675 | 1064 <screen> |
1065 X Error of failed request: BadAccess (attempt to access private resource denied) | |
1066 Major opcode of failed request: 147 (MIT-SHM) | |
1067 Minor opcode of failed request: 1 (X_ShmAttach) | |
1068 Serial number of failed request: 26 | |
1069 Current serial number in output stream:27 | |
1070 </screen> | |
1071 </para></question> | |
1072 <answer><para> | |
11532 | 1073 The <systemitem>tdfx</systemitem> driver in XFree86 4.0.2/4.0.3 had this bug. This was |
12348 | 1074 solved by <ulink url="http://www.xfree86.org/cvs/changes_4_1.html">bug fix #621 |
9675 | 1075 of the XFree86 4.1.0 CVS log</ulink>. So upgrade to XFree86 4.1.0 or later. |
1076 Alternatively, either download (at least) DRI version 0.6 from the | |
13977 | 1077 <ulink url="http://dri.sf.net">DRI homepage</ulink>, or use CVS DRI. |
9675 | 1078 </para></answer> |
1079 </qandaentry> | |
10373 | 1080 |
9675 | 1081 <qandaentry> |
1082 <question><para> | |
1083 OpenGL (<option>-vo gl</option>) output doesn't work (hang/black window/X11 | |
1084 errors/...). | |
1085 </para></question> | |
1086 <answer><para> | |
1087 Your OpenGL driver doesn't support dynamic texture changes (glTexSubImage). | |
1088 It's known not to work with nVidia's binary mess. It's known to work with | |
1089 Utah-GLX/DRI and Matrox G400 cards. Also with DRI and Radeon cards. It won't | |
1090 work with DRI and other cards. it will not work with 3DFX cards because of | |
1091 the 256x256 texture size limit. | |
1092 </para></answer> | |
1093 </qandaentry> | |
10373 | 1094 |
9675 | 1095 <qandaentry> |
1096 <question><para> | |
1097 I have an nVidia TNT/TNT2 card, and I have a band with strange colors, right | |
1098 under the movie! Whose fault is this? | |
1099 </para></question> | |
1100 <answer><para> | |
1101 This is a bug of nVidia's binary X driver. These bugs appear ONLY with the | |
1102 TNT/TNT2 cards, and we can't do anything about it. To fix the problem, upgrade | |
1103 to the latest nVidia binary driver version. If still bad, complain to nVidia! | |
1104 </para></answer> | |
1105 </qandaentry> | |
10373 | 1106 |
9675 | 1107 <qandaentry> |
1108 <question><para> | |
1109 I have an nVidia XYZ card, and when I click on the GUI's display window to | |
1110 toggle displaying the GUI panel, a black square appears where I clicked. I have | |
1111 the newest driver. | |
1112 </para></question> | |
1113 <answer><para> | |
1114 Yes, nVidia corrected a previous bug (above), and introduced a new one. | |
1115 Let's congratulate them. UPDATE: According to <link linkend="nvidia">nVidia</link>, | |
1116 this has already been fixed. | |
1117 </para></answer> | |
1118 </qandaentry> | |
10373 | 1119 |
9675 | 1120 <qandaentry> |
1121 <question><para> | |
1122 Oh the world is cruel ...! SDL has only <systemitem>x11</systemitem> target, | |
1123 but not <systemitem>xv</systemitem>! | |
1124 </para></question> | |
1125 <answer><para> | |
1126 Try that <systemitem>x11</systemitem> target again. Now try <option>-vo x11 | |
1127 -fs -zoom</option>. See the difference? No?! OK, here comes the enlightenment: | |
1128 SDL's <systemitem>x11</systemitem> target uses xv when available, you don't have | |
11532 | 1129 to worry about it ... Note: With SDL you can force/disable Xv using |
1130 <option>-forcexv</option> and <option>-noxv</option>. | |
9675 | 1131 </para></answer> |
1132 </qandaentry> | |
1133 </qandadiv> | |
1134 | |
1135 <qandadiv id="faq-dvd"> | |
1136 <title>DVD playback</title> | |
1137 <qandaentry> | |
1138 <question><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
1139 What about DVD navigation/menus? |
9675 | 1140 </para></question> |
1141 <answer><para> | |
13419
1167f25567ef
Better explain why we have no DVD menus and what to do about it (DIY).
diego
parents:
12957
diff
changeset
|
1142 <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
|
1143 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
|
1144 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
|
1145 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
|
1146 <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
|
1147 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
|
1148 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
|
1149 undertaking. |
9675 | 1150 </para></answer> |
1151 </qandaentry> | |
10373 | 1152 |
9675 | 1153 <qandaentry> |
1154 <question><para> | |
1155 While playing a DVD, I encountered this error: | |
1156 <screen>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.</screen> | |
1157 </para></question> | |
1158 <answer><para> | |
1159 This is a known libdvdread 0.9.1/0.9.2 bug. Use <emphasis role="bold">libmpdvdkit2</emphasis>, | |
1160 which is present in <application>MPlayer</application> source, and used by default. | |
1161 </para></answer> | |
1162 </qandaentry> | |
10373 | 1163 |
9675 | 1164 <qandaentry> |
1165 <question><para> | |
10042 | 1166 Can I compile libdvdread and libdvdcss on my sweet SPARC under Solaris? |
1167 </para></question> | |
1168 <answer><para> | |
1169 Who knows ... It's said to work, so please test it and send feedback. Refer to | |
1170 the documentation of libdvdread and its homepage as well. We're not the authors | |
1171 of libdvdread. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is present | |
1172 in <application>MPlayer</application> source, and used by default. | |
1173 </para></answer> | |
1174 </qandaentry> | |
10373 | 1175 |
10042 | 1176 <qandaentry> |
1177 <question><para> | |
11540 | 1178 What about subtitles? Can <application>MPlayer</application> display them? |
9675 | 1179 </para></question> |
1180 <answer><para> | |
10373 | 1181 Yes. See the <link linkend="dvd">DVD chapter</link>. |
9675 | 1182 </para></answer> |
1183 </qandaentry> | |
10373 | 1184 |
9675 | 1185 <qandaentry> |
1186 <question><para> | |
1187 How can I set the region code of my DVD-drive? I don't have Windows! | |
1188 </para></question> | |
1189 <answer><para> | |
14113 | 1190 Use the <ulink url="http://linvdr.org/projects/regionset/">regionset tool</ulink>. |
9675 | 1191 </para></answer> |
1192 </qandaentry> | |
10373 | 1193 |
9675 | 1194 <qandaentry> |
1195 <question><para> | |
12957
f5dd97090f64
fibmap_mplayer is long obsolete, noticed by Torinthiel.
diego
parents:
12815
diff
changeset
|
1196 Do I need to be (setuid) root to be able to play a DVD? |
9675 | 1197 </para></question> |
1198 <answer><para> | |
11598
d18111ea13d0
removing last pitiful traces of old-style DVD support, with no remorse, but
gabucino
parents:
11540
diff
changeset
|
1199 No. However you must have the proper rights |
9675 | 1200 on the DVD device entry (in <filename class="directory">/dev/</filename>). |
1201 </para></answer> | |
1202 </qandaentry> | |
10373 | 1203 |
9675 | 1204 <qandaentry> |
1205 <question><para> | |
1206 Where can I get libdvdread and libdvdcss packages? | |
1207 </para></question> | |
1208 <answer><para> | |
1209 You don't need to. Use <emphasis role="bold">libmpdvdkit2</emphasis>, which is | |
11540 | 1210 present in the <application>MPlayer</application> source, and used by default. |
1211 You can get the mentioned packages from the | |
1212 <ulink url="http://www.dtek.chalmers.se/groups/dvd/">Ogle site</ulink>. | |
9675 | 1213 </para></answer> |
1214 </qandaentry> | |
10373 | 1215 |
9675 | 1216 <qandaentry> |
1217 <question><para> | |
1218 Is it possible to play/encode only selected chapters? | |
1219 </para></question> | |
1220 <answer><para> | |
1221 Yes, try the <option>-chapter</option> option. | |
1222 </para></answer> | |
1223 </qandaentry> | |
10373 | 1224 |
9675 | 1225 <qandaentry> |
1226 <question><para> | |
1227 My DVD playback is sluggish! | |
1228 </para></question> | |
1229 <answer><para> | |
1230 Use the <option>-cache</option> option (described in the man page) and try | |
1231 enabling DMA for the DVD drive with the <command>hdparm</command> tool (described | |
10373 | 1232 in the <link linkend="drives">CD chapter</link>). |
9675 | 1233 </para></answer> |
1234 </qandaentry> | |
13511 | 1235 |
1236 <qandaentry> | |
1237 <question><para> | |
1238 I copied a DVD using vobcopy. How do I play/encode it from my hard disk? | |
1239 </para></question> | |
1240 <answer><para> | |
1241 Use the <option>-dvd-device</option> option to refer to the directory | |
1242 that contains the files: | |
1243 <screen> | |
1244 mplayer dvd://1 -dvd-device /path/to/directory | |
1245 </screen> | |
1246 </para></answer> | |
1247 </qandaentry> | |
9675 | 1248 </qandadiv> |
1249 | |
1250 <qandadiv id="faq-features"> | |
1251 <title>Feature requests</title> | |
1252 <qandaentry> | |
1253 <question><para> | |
11540 | 1254 If <application>MPlayer</application> is paused and I try to seek or press any key at all, |
1255 <application>MPlayer</application> ceases to be paused. I would like to be able | |
1256 to seek in the paused movie. | |
9675 | 1257 </para></question> |
1258 <answer><para> | |
1259 This is very tricky to implement without losing A/V synchronization. | |
1260 All attempts have failed so far, but patches are welcome. | |
1261 </para></answer> | |
1262 </qandaentry> | |
10373 | 1263 |
9675 | 1264 <qandaentry> |
1265 <question><para> | |
1266 I'd like to seek +/- 1 frames instead of 10 seconds. | |
1267 </para></question> | |
1268 <answer><para> | |
14312 | 1269 You can step forward one frame by pressing <keycap>.</keycap>. |
14320 | 1270 If the movie was not paused it will be paused afterwards |
1271 (see the man page for details). | |
14309 | 1272 Stepping backwards is unlikely to be implemented anytime soon. |
9675 | 1273 </para></answer> |
1274 </qandaentry> | |
10373 | 1275 |
9675 | 1276 <qandaentry> |
1277 <question><para> | |
11540 | 1278 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
|
1279 for a particular file, e.g. <filename>movie.avi</filename>? |
9675 | 1280 </para></question> |
1281 <answer><para> | |
1282 Create a file named <filename>movie.avi.conf</filename> with the file-specific | |
1283 options in it and put it in <filename class="directory">~/.mplayer</filename> or | |
1284 in the same directory as the file. | |
1285 </para></answer> | |
1286 </qandaentry> | |
1287 </qandadiv> | |
1288 | |
1289 <qandadiv id="faq-encoding"> | |
1290 <title>Encoding</title> | |
1291 <qandaentry> | |
1292 <question><para> | |
10042 | 1293 How can I encode? |
1294 </para></question> | |
1295 <answer><para> | |
11540 | 1296 Read the <link linkend="mencoder"><application>MEncoder</application></link> |
1297 section. | |
10042 | 1298 </para></answer> |
1299 </qandaentry> | |
10373 | 1300 |
10042 | 1301 <qandaentry> |
1302 <question><para> | |
1303 How can I create VCDs? | |
1304 </para></question> | |
1305 <answer><para> | |
1306 Try the <filename>mencvcd</filename> script from the <filename class="directory">TOOLS</filename> | |
1307 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format | |
1308 and even burn them directly to CD. | |
1309 </para></answer> | |
1310 </qandaentry> | |
10373 | 1311 |
10042 | 1312 <qandaentry> |
1313 <question><para> | |
1314 How can I join two video files? | |
1315 </para></question> | |
1316 <answer><para> | |
1317 This has been discussed to no end on mplayer-users. Go search the | |
11908 | 1318 <ulink url="http://mplayerhq.hu/cgi-bin/s-arch.cgi?sbm=mplayer-users">archives</ulink> |
10042 | 1319 for a complete answer. This is a complicated topic and your mileage may vary a |
1320 lot depending on the kind of files you want to merge. MPEGs can be concatenated | |
1321 into a single file with luck. For AVIs there are two tools, | |
1322 <ulink url="http://fixounet.free.fr/avidemux/">avidemux</ulink> and | |
1323 <application>avimerge</application> (part of the | |
1324 <ulink url="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</ulink> | |
1325 tool set), available that might do the job. You can also try <application>MEncoder</application> | |
1326 if you have two files sharing the same dimensions and codec. Try | |
1327 <screen> | |
1328 cat file1 file2 > file3 | |
1329 mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi | |
1330 </screen> | |
1331 </para></answer> | |
1332 </qandaentry> | |
10373 | 1333 |
10042 | 1334 <qandaentry> |
1335 <question><para> | |
9675 | 1336 I can't encode DVD subtitles into the AVI! |
1337 </para></question> | |
1338 <answer><para> | |
1339 You have to specify the <option>-sid</option> option correctly! | |
1340 </para></answer> | |
1341 </qandaentry> | |
10373 | 1342 |
9675 | 1343 <qandaentry> |
1344 <question><para> | |
1345 How can I encode only selected chapters from a DVD? | |
1346 </para></question> | |
1347 <answer><para> | |
1348 Use the <option>-chapter</option> option correctly, like: <option>-chapter 5-7</option> | |
1349 </para></answer> | |
1350 </qandaentry> | |
10373 | 1351 |
9675 | 1352 <qandaentry> |
1353 <question><para> | |
1354 I'm trying to work with 2GB+ files on a VFAT file system. Does it work? | |
1355 </para></question> | |
1356 <answer><para> | |
1357 No, VFAT doesn't support 2GB+ files. | |
1358 </para></answer> | |
1359 </qandaentry> | |
10373 | 1360 |
9675 | 1361 <qandaentry> |
1362 <question><para> | |
10042 | 1363 Why is the recommended bitrate printed by <application>MEncoder</application> negative? |
9675 | 1364 </para></question> |
1365 <answer><para> | |
1366 Because the bitrate you encoded the audio with is too large to fit the | |
1367 movie on any CD. Check if you have libmp3lame installed properly. | |
1368 </para></answer> | |
1369 </qandaentry> | |
10448 | 1370 |
1371 <qandaentry> | |
1372 <question><para> | |
14024 | 1373 I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. |
10448 | 1374 </para></question> |
1375 <answer><para> | |
12815 | 1376 Because ASF uses variable frame rate but AVI uses a fixed one, you |
10461 | 1377 have to set it by hand using <option>-ofps</option>. |
10448 | 1378 </para></answer> |
1379 </qandaentry> | |
1380 | |
10631 | 1381 |
1382 <qandaentry> | |
1383 <question><para> | |
1384 How can I put subtitles in the output file? | |
1385 </para></question> | |
1386 <answer><para> | |
1387 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | |
12815 | 1388 respectively) option to <application>MEncoder</application>. |
10631 | 1389 </para></answer> |
1390 </qandaentry> | |
1391 | |
14060
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1392 <qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1393 <question><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1394 How do I encode only sound from a music video? |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1395 </para></question> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1396 <answer><para> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1397 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
|
1398 <emphasis role="bold">&</emphasis> at the end of |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1399 <command>mplayer</command> command): |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1400 <screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1401 mkfifo encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1402 mplayer -ao pcm -aofile encode dvd://1 & |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1403 lame <replaceable>your_opts</replaceable> encode music.mp3 |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1404 rm encode |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1405 </screen> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1406 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
|
1407 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
|
1408 above command. |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1409 </para></answer> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1410 </qandaentry> |
9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
rathann
parents:
14024
diff
changeset
|
1411 |
9675 | 1412 </qandadiv> |
1413 </qandaset> | |
1414 | |
1415 </chapter> |