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