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