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