Mercurial > mplayer.hg
comparison DOCS/faq.html @ 7814:988498df1996
<B>MPlayer</B> ---> MPlayer
author | diego |
---|---|
date | Sun, 20 Oct 2002 12:20:39 +0000 |
parents | 502f6eff2c1a |
children | 626c13032310 |
comparison
equal
deleted
inserted
replaced
7813:76940a39405a | 7814:988498df1996 |
---|---|
143 "-L/usr/local/lib" after "X_LIBS=". Now type make. You're done!</DD> | 143 "-L/usr/local/lib" after "X_LIBS=". Now type make. You're done!</DD> |
144 <DD> </DD> | 144 <DD> </DD> |
145 | 145 |
146 <DT>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar | 146 <DT>Q: It doesn't compile, and it misses uint64_t inttypes.h and similar |
147 things ...</DT> | 147 things ...</DT> |
148 <DD>A: Copy etc/inttypes.h to the <B>MPlayer</B> directory | 148 <DD>A: Copy etc/inttypes.h to the MPlayer directory |
149 (<CODE>cp etc/inttypes.h .</CODE>) and try again ...</DD> | 149 (<CODE>cp etc/inttypes.h .</CODE>) and try again ...</DD> |
150 <DD> </DD> | 150 <DD> </DD> |
151 | 151 |
152 <DT>Q: I have Linux running on a Pentium III but <CODE>./configure</CODE> | 152 <DT>Q: I have Linux running on a Pentium III but <CODE>./configure</CODE> |
153 doesn't detect SSE ...</DT> | 153 doesn't detect SSE ...</DT> |
157 | 157 |
158 <DT>Q: I have a G200/G400, how do I compile/use the mga_vid driver?</DT> | 158 <DT>Q: I have a G200/G400, how do I compile/use the mga_vid driver?</DT> |
159 <DD>A: Read the <A HREF="video.html#mga_vid">mga_vid documentation</A>.</DD> | 159 <DD>A: Read the <A HREF="video.html#mga_vid">mga_vid documentation</A>.</DD> |
160 <DD> </DD> | 160 <DD> </DD> |
161 | 161 |
162 <DT>Q: Are there rpm/deb/... packages of <B>MPlayer</B>?</DT> | 162 <DT>Q: Are there rpm/deb/... packages of MPlayer?</DT> |
163 <DD>A: You can make a .deb package for yourself, check the | 163 <DD>A: You can make a .deb package for yourself, check the |
164 <A HREF="documentation.html#debian">Debian packaging</A> section. | 164 <A HREF="documentation.html#debian">Debian packaging</A> section. |
165 There are links to official Red Hat RPM packages available on our | 165 There are links to official Red Hat RPM packages available on our |
166 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">download page</A>.</DD> | 166 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">download page</A>.</DD> |
167 <DD> </DD> | 167 <DD> </DD> |
196 <DT>Q: Hmm, strange. When loading the mga_vid.o kernel module, I found this in | 196 <DT>Q: Hmm, strange. When loading the mga_vid.o kernel module, I found this in |
197 the logs:<BR> | 197 the logs:<BR> |
198 <CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE></DT> | 198 <CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE></DT> |
199 <DD>A: The latest kernel modutils require a flag indicating the license | 199 <DD>A: The latest kernel modutils require a flag indicating the license |
200 (mainly to avoid kernel hackers debugging closed source drivers). | 200 (mainly to avoid kernel hackers debugging closed source drivers). |
201 Upgrade your kernel, modutils and <B>MPlayer</B>.</DD> | 201 Upgrade your kernel, modutils and MPlayer.</DD> |
202 <DD> </DD> | 202 <DD> </DD> |
203 | 203 |
204 <DT>Q: When compiling <B>MEncoder</B>, it segfaults at linking!</DT> | 204 <DT>Q: When compiling MEncoder, it segfaults at linking!</DT> |
205 <DD>A: This is a linker problem. Upgrading binutils should help (2.11.92.* | 205 <DD>A: This is a linker problem. Upgrading binutils should help (2.11.92.* |
206 or newer should be good). Since it is not our fault, please do <B>not</B> | 206 or newer should be good). Since it is not our fault, please do <B>not</B> |
207 report!</DD> | 207 report!</DD> |
208 <DD> </DD> | 208 <DD> </DD> |
209 | 209 |
210 <DT>Q: MPlayer dies with segmentation fault upon pthread check!</DT> | 210 <DT>Q: MPlayer dies with segmentation fault upon pthread check!</DT> |
211 <DD>A: chmod 644 /usr/lib/libc.so</DD> | 211 <DD>A: chmod 644 /usr/lib/libc.so</DD> |
212 <DD> </DD> | 212 <DD> </DD> |
213 | 213 |
214 <DT>Q: I'd like to compile <B>MPlayer</B> on Minix!</DT> | 214 <DT>Q: I'd like to compile MPlayer on Minix!</DT> |
215 <DD>A: Me too. :)</DD> | 215 <DD>A: Me too. :)</DD> |
216 | 216 |
217 </DL> | 217 </DL> |
218 | 218 |
219 | 219 |
220 <H2><A NAME="general">5.2 General questions</A></H2> | 220 <H2><A NAME="general">5.2 General questions</A></H2> |
221 | 221 |
222 <DL> | 222 <DL> |
223 | 223 |
224 <DT>Q: How do I create a proper patch for <B>MPlayer</B>?</DT> | 224 <DT>Q: How do I create a proper patch for MPlayer?</DT> |
225 <DD>A: We made a <A HREF="tech/patches.txt">short document</A> describing | 225 <DD>A: We made a <A HREF="tech/patches.txt">short document</A> describing |
226 all the necessary details. Please follow the instructions.</DD> | 226 all the necessary details. Please follow the instructions.</DD> |
227 <DD> </DD> | 227 <DD> </DD> |
228 | 228 |
229 <DT>Q: How can I support <B>MPlayer</B> development?</DT> | 229 <DT>Q: How can I support MPlayer development?</DT> |
230 <DD>A: We are more than happy to accept your hardware and software | 230 <DD>A: We are more than happy to accept your hardware and software |
231 <A HREF="http://www.mplayerhq.hu/homepage/donations.html">donations</A>. | 231 <A HREF="http://www.mplayerhq.hu/homepage/donations.html">donations</A>. |
232 They help us in continuously improving <B>MPlayer</B>.</DD> | 232 They help us in continuously improving MPlayer.</DD> |
233 <DD> </DD> | 233 <DD> </DD> |
234 | 234 |
235 <DT>Q: How can I become an <B>MPlayer</B> developer?</DT> | 235 <DT>Q: How can I become an MPlayer developer?</DT> |
236 <DD>A: We always welcome coders and documenters. Read the | 236 <DD>A: We always welcome coders and documenters. Read the |
237 <A HREF="tech/">technical documentation</A> to get a first grasp. Then you | 237 <A HREF="tech/">technical documentation</A> to get a first grasp. Then you |
238 should subscribe to the | 238 should subscribe to the |
239 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</A> | 239 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</A> |
240 mailing list and start coding.</DD> | 240 mailing list and start coding.</DD> |
241 <DD> </DD> | 241 <DD> </DD> |
242 | 242 |
243 <DT>Q: Can I run multiple instances of <B>MPlayer</B>?</DT> | 243 <DT>Q: Can I run multiple instances of MPlayer?</DT> |
244 <DD>A: Yes. Some video out drivers like xv, dga or (x)mga are exclusive, some | 244 <DD>A: Yes. Some video out drivers like xv, dga or (x)mga are exclusive, some |
245 are exclusive in combination with certain graphics boards and drivers. You | 245 are exclusive in combination with certain graphics boards and drivers. You |
246 will not be able to run more than one instance of MPlayer with one of those | 246 will not be able to run more than one instance of MPlayer with one of those |
247 video out drivers. To a lesser degree this also applies to audio drivers. | 247 video out drivers. To a lesser degree this also applies to audio drivers. |
248 Not all allow playback of multiple streams on the same device.</DD> | 248 Not all allow playback of multiple streams on the same device.</DD> |
396 Requested audio codec family [divx] (afm=4) not available (enable it at | 396 Requested audio codec family [divx] (afm=4) not available (enable it at |
397 compile time!) | 397 compile time!) |
398 </PRE> | 398 </PRE> |
399 </DT> | 399 </DT> |
400 <DD>A: Probably the audio uses a codec not natively supported by | 400 <DD>A: Probably the audio uses a codec not natively supported by |
401 <B>MPlayer</B>. Install the Win32 codec package as described in the README | 401 MPlayer. Install the Win32 codec package as described in the README |
402 or in the <A HREF="documentation.html#installation">Installation</A> section.</DD> | 402 or in the <A HREF="documentation.html#installation">Installation</A> section.</DD> |
403 <DD> </DD> | 403 <DD> </DD> |
404 | 404 |
405 <DT>Q: ... works with avifile/aviplay but doesn't with MPlayer.</DT> | 405 <DT>Q: ... works with avifile/aviplay but doesn't with MPlayer.</DT> |
406 <DD>A: <B>MPlayer</B> is not avifile. | 406 <DD>A: MPlayer is not avifile. |
407 The only common thing between these players is the Win32 DLL loader. | 407 The only common thing between these players is the Win32 DLL loader. |
408 The codecs (DLL) set, synchronization, demultiplexing etc is totally | 408 The codecs (DLL) set, synchronization, demultiplexing etc is totally |
409 different and shouldn't be compared. | 409 different and shouldn't be compared. |
410 If something works with aviplay it doesn't mean that <B>MPlayer</B> will | 410 If something works with aviplay it doesn't mean that MPlayer will |
411 work and vice versa.</DD> | 411 work and vice versa.</DD> |
412 <DD> </DD> | 412 <DD> </DD> |
413 | 413 |
414 <DT>Q: Audio goes out of sync playing an AVI file.</DT> | 414 <DT>Q: Audio goes out of sync playing an AVI file.</DT> |
415 <DD>A: Try the <CODE>-bps</CODE> or <CODE>-nobps</CODE> option. If it does not | 415 <DD>A: Try the <CODE>-bps</CODE> or <CODE>-nobps</CODE> option. If it does not |
424 then there is a problem with your kernel/libc. Maybe you are using some | 424 then there is a problem with your kernel/libc. Maybe you are using some |
425 security patches (for example Solar Designer's OpenWall patch) which | 425 security patches (for example Solar Designer's OpenWall patch) which |
426 forces loading libraries to very low addresses. | 426 forces loading libraries to very low addresses. |
427 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to | 427 Because l3codeca.acm is a non-relocatable DLL, it must be loaded to |
428 0x00400000, we can't change this. You should use a non-patched kernel, | 428 0x00400000, we can't change this. You should use a non-patched kernel, |
429 or use <B>MPlayer</B>'s <CODE>-afm 1</CODE> option to disable using | 429 or use MPlayer's <CODE>-afm 1</CODE> option to disable using |
430 l3codeca.acm.</DD> | 430 l3codeca.acm.</DD> |
431 <DD> </DD> | 431 <DD> </DD> |
432 | 432 |
433 <DT>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo | 433 <DT>Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo |
434 mp3 sound too slow. When I use -nosound switch, everything is OK (but | 434 mp3 sound too slow. When I use -nosound switch, everything is OK (but |
437 the documentation to see if you can improve performance.</DD> | 437 the documentation to see if you can improve performance.</DD> |
438 <DD> </DD> | 438 <DD> </DD> |
439 | 439 |
440 <DT>Q: MPlayer dies with "MPlayer interrupted by signal 4 in module: | 440 <DT>Q: MPlayer dies with "MPlayer interrupted by signal 4 in module: |
441 decode_video".</DT> | 441 decode_video".</DT> |
442 <DD>A: Try running <B>MPlayer</B> on the machine you compiled on. Or recompile | 442 <DD>A: Try running MPlayer on the machine you compiled on. Or recompile |
443 with runtime CPU detection | 443 with runtime CPU detection |
444 (<CODE>./configure --enable-runtime-cpudetection</CODE>). Don't | 444 (<CODE>./configure --enable-runtime-cpudetection</CODE>). Don't |
445 use <B>MPlayer</B> on a CPU different from the one it was compiled on, | 445 use MPlayer on a CPU different from the one it was compiled on, |
446 without using the feature mentioned just now.</DD> | 446 without using the feature mentioned just now.</DD> |
447 <DD> </DD> | 447 <DD> </DD> |
448 | 448 |
449 <DT>Q: I have problems with [your window manager] and fullscreen | 449 <DT>Q: I have problems with [your window manager] and fullscreen |
450 xv/xmga/sdl/x11 modes ...</DT> | 450 xv/xmga/sdl/x11 modes ...</DT> |
465 <DD>A: The KDE arts sound daemon is blocking the sound device. Either wait | 465 <DD>A: The KDE arts sound daemon is blocking the sound device. Either wait |
466 until the video starts or disable the arts-daemon in kontrol center. If you | 466 until the video starts or disable the arts-daemon in kontrol center. If you |
467 want to use arts sound, specify audio output via our native arts audio | 467 want to use arts sound, specify audio output via our native arts audio |
468 driver (<CODE>-ao arts</CODE>). If it fails or isn't compiled in, try SDL | 468 driver (<CODE>-ao arts</CODE>). If it fails or isn't compiled in, try SDL |
469 (<CODE>-ao sdl</CODE>) and make sure your SDL can handle arts sound. Yet | 469 (<CODE>-ao sdl</CODE>) and make sure your SDL can handle arts sound. Yet |
470 another option is to start <B>MPlayer</B> with artsdsp.</DD> | 470 another option is to start MPlayer with artsdsp.</DD> |
471 <DD> </DD> | 471 <DD> </DD> |
472 | 472 |
473 <DT>Q: I have an AVI that produces a gray screen when played with | 473 <DT>Q: I have an AVI that produces a gray screen when played with |
474 <CODE>-vc odivx</CODE> and a green one with <CODE>-vc divx4</CODE>.</DT> | 474 <CODE>-vc odivx</CODE> and a green one with <CODE>-vc divx4</CODE>.</DT> |
475 <DD>A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.</DD> | 475 <DD>A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.</DD> |
479 with the following message:<BR> | 479 with the following message:<BR> |
480 <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></DT> | 480 <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></DT> |
481 <DD>A: This can have multiple reasons. | 481 <DD>A: This can have multiple reasons. |
482 <UL> | 482 <UL> |
483 <LI>Your CPU <B>and/or</B> video card <B>and/or</B> bus is too slow. | 483 <LI>Your CPU <B>and/or</B> video card <B>and/or</B> bus is too slow. |
484 <B>MPlayer</B> displays a message if this is the case (and the dropped | 484 MPlayer displays a message if this is the case (and the dropped |
485 frames counter goes up fast).</LI> | 485 frames counter goes up fast).</LI> |
486 <LI>If it is an AVI, maybe it has bad interleaving. Try the | 486 <LI>If it is an AVI, maybe it has bad interleaving. Try the |
487 <CODE>-ni</CODE> option.</LI> | 487 <CODE>-ni</CODE> option.</LI> |
488 <LI>Your sound driver is buggy, or you use ALSA 0.5 with <CODE>-ao oss</CODE>. | 488 <LI>Your sound driver is buggy, or you use ALSA 0.5 with <CODE>-ao oss</CODE>. |
489 See the <A HREF="sound.html">sound card section</A>.</LI> | 489 See the <A HREF="sound.html">sound card section</A>.</LI> |
558 Start playing... | 558 Start playing... |
559 </PRE> | 559 </PRE> |
560 </DT> | 560 </DT> |
561 <DD>A: Are you running KDE or GNOME with the arts or esd sound daemon? Try | 561 <DD>A: Are you running KDE or GNOME with the arts or esd sound daemon? Try |
562 disabling the sound daemon, or use the <CODE>-ao arts</CODE> switch to make | 562 disabling the sound daemon, or use the <CODE>-ao arts</CODE> switch to make |
563 <B>MPlayer</B> use arts.</DD> | 563 MPlayer use arts.</DD> |
564 <DD> </DD> | 564 <DD> </DD> |
565 | 565 |
566 <DT>Q: What about the DGA driver? I can't find it!</DT> | 566 <DT>Q: What about the DGA driver? I can't find it!</DT> |
567 <DD>A: <CODE>./configure</CODE> autodetects your DGA driver. If | 567 <DD>A: <CODE>./configure</CODE> autodetects your DGA driver. If |
568 <CODE>-vo help</CODE> doesn't show DGA, then there's a problem with your X | 568 <CODE>-vo help</CODE> doesn't show DGA, then there's a problem with your X |
573 | 573 |
574 <DT>Q: OK, <CODE>-vo help</CODE> shows DGA driver, but it complains about | 574 <DT>Q: OK, <CODE>-vo help</CODE> shows DGA driver, but it complains about |
575 permissions. Help me!</DT> | 575 permissions. Help me!</DT> |
576 <DD>A: It works only if running as root! It's a DGA limitation. | 576 <DD>A: It works only if running as root! It's a DGA limitation. |
577 You should become root (<CODE>su -</CODE>), and try again. | 577 You should become root (<CODE>su -</CODE>), and try again. |
578 Another solution is making <B>MPlayer</B> SUID root, but it's | 578 Another solution is making MPlayer SUID root, but it's |
579 <B>not recommended!</B><BR> | 579 <B>not recommended!</B><BR> |
580 <CODE>chown root /usr/local/bin/mplayer</CODE><BR> | 580 <CODE>chown root /usr/local/bin/mplayer</CODE><BR> |
581 <CODE>chmod 755 /usr/local/bin/mplayer</CODE><BR> | 581 <CODE>chmod 755 /usr/local/bin/mplayer</CODE><BR> |
582 <CODE>chmod +s /usr/local/bin/mplayer</CODE><BR> | 582 <CODE>chmod +s /usr/local/bin/mplayer</CODE><BR> |
583 <BLOCKQUOTE> | 583 <BLOCKQUOTE> |
584 <B>Warning: security risk</B><BR> | 584 <B>Warning: security risk</B><BR> |
585 This is a <B>big</B> security risk! <B>Never</B> do this on a server or | 585 This is a <B>big</B> security risk! <B>Never</B> do this on a server or |
586 on a computer that you do not control completely because other users can | 586 on a computer that you do not control completely because other users can |
587 gain root privileges through SUID root <B>MPlayer</B>. <B>You have been | 587 gain root privileges through SUID root MPlayer. <B>You have been |
588 warned.</B> | 588 warned.</B> |
589 </BLOCKQUOTE> | 589 </BLOCKQUOTE> |
590 </DD> | 590 </DD> |
591 <DD> </DD> | 591 <DD> </DD> |
592 | 592 |
668 <DT>Q: Can I compile libdvdread and libdvdcss on my sweet SPARC under | 668 <DT>Q: Can I compile libdvdread and libdvdcss on my sweet SPARC under |
669 Solaris?</DT> | 669 Solaris?</DT> |
670 <DD>A: Who knows ... It's said to work, so please test it and send feedback. | 670 <DD>A: Who knows ... It's said to work, so please test it and send feedback. |
671 Refer to the documentation of libdvdread and its homepage as well. We're not | 671 Refer to the documentation of libdvdread and its homepage as well. We're not |
672 the authors of libdvdread. Use <B>libmpdvdkit2</B>, which is present in | 672 the authors of libdvdread. Use <B>libmpdvdkit2</B>, which is present in |
673 <B>MPlayer</B> source, and used by default.</DD> | 673 MPlayer source, and used by default.</DD> |
674 <DD> </DD> | 674 <DD> </DD> |
675 | 675 |
676 <DT>Q: What about subtitles? Can MPlayer display them?</DT> | 676 <DT>Q: What about subtitles? Can MPlayer display them?</DT> |
677 <DD>A: Yes. See the <A HREF="cd-dvd.html#dvd">DVD chapter</A> of the | 677 <DD>A: Yes. See the <A HREF="cd-dvd.html#dvd">DVD chapter</A> of the |
678 documentation.</DD> | 678 documentation.</DD> |
711 | 711 |
712 <H2><A NAME="features">5.6 Feature requests</A></H2> | 712 <H2><A NAME="features">5.6 Feature requests</A></H2> |
713 | 713 |
714 <DL> | 714 <DL> |
715 | 715 |
716 <DT>Q: If <B>MPlayer</B> is paused and I try to seek or press any key at all, | 716 <DT>Q: If MPlayer is paused and I try to seek or press any key at all, |
717 <B>MPlayer</B> ceases to be paused. I would like to be able to seek in the | 717 MPlayer ceases to be paused. I would like to be able to seek in the |
718 paused movie.</DT> | 718 paused movie.</DT> |
719 <DD>A: This is very tricky to implement without losing A/V synchronization. | 719 <DD>A: This is very tricky to implement without losing A/V synchronization. |
720 All attempts have failed so far, but patches are welcome.</DD> | 720 All attempts have failed so far, but patches are welcome.</DD> |
721 <DD> </DD> | 721 <DD> </DD> |
722 | 722 |
738 <H2><A NAME="encoding">5.7 Encoding</A></H2> | 738 <H2><A NAME="encoding">5.7 Encoding</A></H2> |
739 | 739 |
740 <DL> | 740 <DL> |
741 | 741 |
742 <DT>Q: How can I encode?</DT> | 742 <DT>Q: How can I encode?</DT> |
743 <DD>A: Read the <B>MEncoder</B> <A HREF="encoding.html">documentation</A>.</DD> | 743 <DD>A: Read the MEncoder <A HREF="encoding.html">documentation</A>.</DD> |
744 <DD> </DD> | 744 <DD> </DD> |
745 | 745 |
746 <DT>Q: How can I create VCDs?</DT> | 746 <DT>Q: How can I create VCDs?</DT> |
747 <DD>A: Try the <CODE>mencvcd</CODE> script from the <CODE>TOOLS</CODE> | 747 <DD>A: Try the <CODE>mencvcd</CODE> script from the <CODE>TOOLS</CODE> |
748 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD | 748 subdirectory. With it you can encode DVDs or other movies to VCD or SVCD |