From 988e72ebc32f7e0c8252f111d25ff67645329152 Mon Sep 17 00:00:00 2001 From: gabucino Date: Thu, 7 Mar 2002 17:55:34 +0000 Subject: HTML: different font handling - idea from new hp dezign ocassional misc fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4983 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/faq.html | 485 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 247 insertions(+), 238 deletions(-) (limited to 'DOCS/faq.html') diff --git a/DOCS/faq.html b/DOCS/faq.html index 98f17da114..cd3617f843 100644 --- a/DOCS/faq.html +++ b/DOCS/faq.html @@ -1,47 +1,56 @@ + + + + + - +

5. FAQ section

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

5.1 Compilation

+

5.1 Compilation

 
  Q: +  Q: configure ends with this text, and MPlayer won't compile !
Your gcc does not support even i386 for '-march' and '-mcpu'. -
A: +
A: Your gcc isn't installed correctly, check config.log file for details.
 
  Q: +  Q: What does "No such file or directory" means ? -
A: +
A: Probably there is no such file or directory.
 
  Q: +  Q: What's the problem with gcc 2.96 ? -
A: +
A: To be short: DO NOT USE gcc 2.96 !!!
Check this and this texts! If you still really really want to do so, be sure to use the latest release.
 
Q: +Q: Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--! -
A: +
A: No, since there have been/are issues with those compilers.
Use 2.95.x series for reliability (not 2.96). Use the latest gcc 3.0.x (starting at 3.0.2) if you want to use a 3.0.x version.
 
Q: +Q: I tried to compile MPlayer, but I got this output:
 In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
@@ -57,13 +66,13 @@ In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
 /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
 `const
 
-
A: +
A: Upgrade your glibc to the newest. On Mandrake, use 2.2.4-8mdk .
 
Q: +Q: ...gcc 2.96... (yes, some people are STILL flaming about their gcc 2.96!!) -
A: +
A:

But we has idegs (the word 'ideg' is described further in the FAQ). And our idegcounters overflow again and again.

@@ -94,52 +103,52 @@ house, etc etc. Do you really want it? It seems.

Arpi (a mail on the mplayer-users list)

 
Q: +Q: Where can I find information about gcc 2.96 bugs ? -
A: +
A: In this documentation. And this documentation describes why RedHat released 2.96 and other interesting things.
 
Q: +Q: SDL output doesn't work or compile. Problem is .... -
A: +
A: It is tested with newest SDL (probably runs on 1.1.7+). It does NOT work with any previous version, so don't ask.
 
Q: +Q: I am still having trouble compiling with SDL support. gcc says something about "undefined reference to `SDL_EnableKeyRepeat'" What's now? -
A: +
A: Where did you install the SDL library? If you installed in /usr/local (the default) then edit the top level config.mak and add "-L/usr/local/lib " after "X_LIBS=" Now type make. You're done!
 
Q: +Q: It doesn't compile, and it misses uint64_t inttypes.h and similar things... -
A: +
A: copy etc/inttypes.h to MPlayer directory (cp etc/inttypes.h .) try again...
 
Q: +Q: I have Pentium III but ./configure doesn't detect SSE -
A: +
A: Only kernel versions 2.4.x supports SSE (or try latest 2.2.19 or newer, but be prepared for problems)
 
Q: +Q: I have G200/G400, how to compile/use mga_vid driver? -
A: +
A: Read all this documentation.
 
Q: +Q: Are there rpm/deb/... packages of MPlayer? -
A: +
A: You can make a .deb package for yourself, check section 6.1. It's _STRONGLY_ discouraged to use precompiled packages of MPlayer, since it (currently) _highly_ depends on compile-time @@ -147,10 +156,10 @@ options and optimizations! Precompiled packages are COMPLETELY unsupported by the MPlayer team!
 
Q: +Q: During 'make', MPlayer complains about X11 libraries. I don't understand, I DO have X installed!? -
A: +
A: ...but you don't have the X development package installed. Or not correctly. It's called XFree86-devel* under RedHat, and xlib6g-dev* under Debian. Also check if the /usr/X11 symlink exists (this can be a problem on @@ -161,74 +170,74 @@ Mandrake systems). It can be created with the
Your distribution may differ from the Linux Filesystem Standard.
 
Q: +Q: What about DGA driver? I can't find it!!! -
A: +
A: ./configure autodetects your DGA driver. If -vo help doesn't show DGA, then there's a problem with your X installation. Try ./configure --enable-dga (and RTFM) Alternatively, try SDL's DGA driver with '-vo sdl:dga' options.
 
Q: +Q: I can't compile SVGAlib.. I'm using 2.3/2.4 kernel. -
A: +
A: You have to edit SVGAlib's Makefile.cfg and comment "BACKGROUND = y" out.
 
Q: +Q: I compiled MPlayer with libdvdcss/libdivxdecore support, but when I try to start it, it says:
> error while loading shared libraries: lib*.so.0: cannot load shared object file: No such file or directory
I checked up on the file and it IS there in /usr/local/lib. -
A: +
A: Add /usr/local/lib to /etc/ld.so.conf and run ldconfig .
 
Q: +Q: MPlayer doesn't seem to find my libcss. What am I doing wrong ? -
A: +
A: It's normal. MPlayer no longer depends on libcss to play a DVD. You have to install libdvdread and libdvdcss. Check for DVD Playback part here. libcss is to be used for example when you want to play encrypted VOB files from hard disk (not for general users).
 
Q: +Q: Hmm, strange. When loading the mga_vid.o kernel module, I found this in the logs:
Warning: loading mga_vid.o will taint the kernel: no license -
A: +
A: The latest kernels modules needs require a flag indicating its license (mainly to avoid kernel hackers' debugging closed sources drivers). Upgrade your kernel and your modutils and MPlayer.
 
Q: +Q: When compiling MEncoder, it segfaults at linking !!! -
A: +
A: Dunno, upgrading binutils should help (2.11.92.* or newer should be good). Not our fault, do NOT report!
 
Q: +Q: I'd like to compile MPlayer on Minix ! -
A: +
A: Me too. :)
 
5.2. General questions +5.2. General questions
 
Q: +Q: What about DVD playing ? -
A: +
A: Read the CD/DVD section in this page.
 
Q: +Q: -xy or -fs option doesn't work with x11 driver (-vo x11) -
A: +
A: It does, but you have to explicitly specify software scaling (it's SLOW!) with the -zoom option. You better use XF86VidMode support: you must specify the -vm and the -fs switch, and you're done. @@ -237,12 +246,12 @@ try if the DGA driver (and SDL's DGA driver, see RTFM) works for you. It's much faster. If SDL's DGA works too, use that, it'll be EVEN faster!
 
Q: +Q: What is the meaning of numbers in the status line? -
A: -See: A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0 4 49%
+
A: +See: A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57 41% 0% 2.6% 0 4 49%
    -
  • A: audio position in seconds +
  • A: audio position in seconds
  • V: video position in seconds
  • A-V: audio-video difference in seconds (delay)
  • ct: total A-V sync correction done @@ -257,137 +266,137 @@ See: A: 2.1 V Most of them are for debug purposes, and will be removed soon.
 
Q: +Q: What if I don't want them to appear? -
A: +
A: Then you use the -quiet option, and read the manpage.
 
Q: +Q: Why is video_out cpu usage zero (0%) for mpeg files? -
A: +
A: It's not zero, but it's built in into codec, so can't be measured separated. You should try to play the file using -vo null and then -vo ... and check the difference to see video_out speed...
 
Q: +Q: What's XMMP? (is it XMMS or XMPS but mispelled?) -
A: +
A: It's a new project, see http://frozenproductions.com for details
 
Q: +Q: There are error messages about file not found /usr/lib/win32/.... -
A: +
A: Download w32codec.zip from *our* FTP (avifile's codec package has different DLL set). Install it.
 
Q: +Q: Are there any mailing lists on MPlayer? -
A: +
A: Yes! See RTFM on how to subscribe them!
 
Q: +Q: I've found a nasty bug when I tried to play my favourite video!! Who should I inform? -
A: +
A: See Appendix C.
 
Q: +Q: I have problems playing files with ... codec. Can I use'em? -
A: +
A: Check http://www.mplayerhq.hu/DOCS/codecs-status.html, if it doesn't contain your codec, read section 2.1.3, and contact us.
 
Q: +Q: Umm, what is "IdegCounter"? -
A: +
A: A mixture of a hungarian and an english word. In english, "Ideg" means "nerve", and is pronounced as something like "ydaegh" . It was first used to measure the nervousness of A'rpi, after some (umm) "mystic" disappearance of CVS code ;)
 
Q: +Q: And what is "Faszom(C)ounter" ? -
A: +
A: "Fasz" is a hungarian word you don't want to know, the others are in connection with the pervert minds of the MPlayer developers.
 
Q: +Q: LIRC doesn't work, because ... -
A: +
A: Are you sure you use "mplayer_lirc" instead of "mplayer"?
 
Q: +Q: Subtitles are very nice, the most beautiful I've ever seen, but they slow down the playing! I know it's unlikely... -
A: +
A: After running ./configure , edit config.h and replace #undef FAST_OSD with #define FAST_OSD. Then recompile.
 
Q: +Q: The OSD is flickering! -
A: +
A: You use a vo driver with single buffering (x11,xv). With xv, use -double option.
 
Q: +Q: What exactly is this libavcodec? -
A: +
A: See the 2.1.2.2 section.
 
Q: +Q: But configure tells me "Checking for libavcodec ... no"! -
A: +
A: You need to get libavcodec from FFmpeg's CVS. Read the instructions in the ffmpeg section.
 
Q: +Q: The GUI isn't usable with icewm, because some panel are over the movie!! -
A: +
A: Known, icewm is dictatoric. Unsolvable. In detail: its taskbar overrides GUI's window resize queries. If it asks for resize to 800x600, then it resizes window to 800x(600-taskbar_size). It's bad. Very bad.
 
Q: +Q: I can't access the GUI menu. I press right click, but I can't access any menu items ! -
A: +
A: Are you using FVWM ? Try the following :
Start -> Settings -> Configuration -> Base Configuration

Set "Use Applications position hints" to Yes.
 
Q: +Q: How can I run MPlayer in the background ? -
A: +
A: Use : mplayer <options> <filename> < /dev/null &
 
-5.3. File playing problems +5.3. File playing problems
 
Q: +Q: ...... works with avifile/aviplay while doesn't with MPlayer. -
A: +
A: MPlayer != avifile The only common thing between these players is the Win32 DLL loader. The codecs (dll) sets, syncronization, demultiplexing etc is totaly @@ -396,29 +405,29 @@ If something works with aviplay it doesn't mean that MPlayer should do it and vice versa.
 
Q: +Q: Audio goes out of sync playing .avi file. -
A: +
A: Try with -bps or -nobps option if still bad, send me (upload to ftp) that file, I'll check.
 
Q: +Q: Indeo 3.x/4.x movies are viewed upside-down!!!? -
A: +
A: It's a known bug (really it's a bug/limitation of the DLL codec) Try if your vo driver supports the -flip switch.
 
Q: +Q: Indeo 3.x,4.x video doesn't work at 32bpp resolutions (16,24 bpp are ok). -
A: +
A: It's a known bug (really it's a bug/limitation of the DLL codec).
 
Q: +Q: MPlayer exits with something error when using l3codeca.acm. -
A: +
A: Check 'ldd /usr/local/bin/mplayer' output. If it contains
    libc.so.6 => /lib/libc.so.6 (0x4???????)
where "?" is any number then it's ok, the error is not here. If it is:
@@ -431,50 +440,50 @@ Because l3codeca.acm is a non-relocatable DLL, it must be loaded to or use MPlayer's -afm 1 option to disable using l3codeca.acm.
 
Q: +Q: My computer plays M$ DivX AVIs with resolutions ~ 640x300 and stereo mp3 sound too slow. When I use -nosound switch, everything is ok (but quiet). -
A: +
A: Ok son, your machine is too slow. RTFM or anything.
 
Q: +Q: MPlayer dies with "MPlayer interrupted by signal 4 in module: decode_video". -
A: +
A: Try running MPlayer on the machine you compiled on. Or recompile. Don't use MPlayer on different CPU than it was compiled on.
 
Q: +Q: I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes.. -
A: +
A: Use the -fsmode switch. See example.conf or manpage.
 
Q: +Q: But it works with avifile! -
A: +
A: So what?
 
Q: +Q: Then avifile is better! -
A: +
A: Then use avifile, it has nice GUI and nice C++ code :)
 
Q: +Q: I got this playing mpeg files: Can't find codec for video format 0x10000001! -
A: +
A: You have old version of codecs.conf at ~/.mplayer/. Upgrade it from etc/
OR you have the vc= option or similar, in your config file(s).
 
Q: +Q: After starting mplayer under KDE(1/2) I just get a black screen and nothing happens, after about one minute the video starts playing. -
A: +
A: The KDE arts sound daemon is blocking the sound device, either wait the time until video starts or you disable the arts-daemon in kontrollcenter. If you want to use arts sound, specify audio output via SDL (ao=sdl), and @@ -482,16 +491,16 @@ make sure your SDL can handle arts sound. Yet another option is to start mplayer with artsdsp.
 
Q: +Q: I have an AVI that plays with grey screen with -vc odivx, and green with -vc divx4 . -
A: +
A: It's not a DivX file, but an M$ MPEG4v3 . Update your codecs.conf.
 
Q: +Q: There this movie is, and when I play it I get video-audio desync and/or MPlayer crashes with the following:
DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer! -
A: +
A: This can have multiple reasons.
  • your CPU and/or video card and/or bus is too SLOW. MPlayer displays a message if this is the case. (and the dropped frames counter is going up fast)
  • @@ -500,57 +509,57 @@ This can have multiple reasons.
  • the AVI has bad header, try with the -nobps option, and/or -mc 0 .
  •  
    Q: +Q: I have an MJPEG file which works with other players but displays only black image in MPlayer. -
    A: +
    A: Disable the Windows DLL in codecs.conf, or use -vc ffmjpeg option (you have to compile MPlayer with libavcodec).
     
    Q: +Q: When I try to grab from my tuner, it works, but colors are strange. It's ok with other applications. -
    A: +
    A: Your card probably misreports its colorspace capacity. Try with YUY2 instead of default YV12 (see TV input documentation).
     
    Q: +Q: When I try to start playing, I get this message, but playing is good :
    Linux RTC init: ioctl (rtc_pie_on): Permission denied -
    A: +
    A: See the Installation section. The part about new sync code.
     
    Q: +Q: I have A/V sync problems. Some of my AVIs play fine, but some play with double speed ! -
    A: +
    A: You have buggy soundcard/driver. Most likely it's fixed at 44100Hz, and you try to play a file which has 22050Hz audio. Try the -ao sdl driver.
     
    Q: +Q: All the WMV (or other..) files I play gives green/gray window and there is only sound! It prints:
    Detected video codec: [null] drv:0 (NULL codec (no decoding)) -
    A: +
    A: Update your codecs.conf
     
    -5.4. Video/audio driver problems (vo/ao) +5.4. Video/audio driver problems (vo/ao)
     
    Q: +Q: Ok, -vo help shows DGA driver, but it is babbling about permissions! Help me! -
    A: +
    A: It works only if running as root! It's a DGA limitation. You should become to root (su -), and try again. Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
    @@ -564,37 +573,37 @@ privilegies through suid root mplayer!!!
    !!!! SO YOU HAVE BEEN WARNED ... !!!!
     
    Q: +Q: When using Xvideo, my Voodoo 3/Banshee says:
    X Error of failed request: BadAccess (attempt to access private resource denied)
      Major opcode of failed request: 147 (MIT-SHM)
      Minor opcode of failed request: 1 (X_ShmAttach)
      Serial number of failed request: 26
      Current serial number in output stream:27

    -
    A: +
    A: Your driver is old, update it. Either download (at least) DRI version 0.6 from http://dri.sourceforge.net, or use the DRI cvs.
     
    Q: +Q: When using Xvideo, I can't play DivX avis with my Voodoo 3/Banshee! It says:
    ...
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    ... -
    A1: +
    A1: See the previous answer. -
    A2: +
    A2: Since 0.18pre4 we support libavcodec from the ffmpeg package. It contains a C language DivX and OpenDivX decoder. The DivX decoder uses YV12 format for output, thus it should work for you. Compile in libavcodec support.
     
    Q: +Q: OpenGL (-vo gl) output doesn't work (hangup/black window/X11 errors/...). -
    A: +
    A: Your opengl driver doesn't support dynamic texture changes (glTexSubImage) It's known not to work with nVidia's binary mess. It's known to work with Utah-GLX/DRI and Matrox G400 card. Also with @@ -602,140 +611,140 @@ DRI and Radeon card. It won't work with DRI others than these. it will not work with 3DFX cards because the 256x256 texture size limit.
     
    Q: +Q: I have an nVidia TNT/TNT2 card, and I have a band with strange colours, right under the movie! Whose fault is this? -
    A: +
    A: It's the nVidia X driver's. These bugs are ONLY with the TNT/TNT2 cards, and we can't do anything about it, it's not our bug. UPDATE : it's fixed in newest drivers, at last..
     
    Q: +Q: I have an nVidia XYZ card, and when I click on the GUI's diplay window to toggle displaying the GUI panel, a black square appears where I clicked. I have the newest driver. -
    A: +
    A: Yes, nvidia corrected a previous bug (above), and implemented a new one. Let's congratule them. UPDATE : according to NVidia, this is already corrected.
     
    Q: +Q: When I use the GUI with SDL video output, a second video window is created. -
    A: +
    A: Known, don't use SDL for GUI yet.
     
    -5.5. Feature requests +5.5. Feature requests
     
    Q: +Q: Is there a hint on how to watch RealMedia movies in MPlayer? -
    A: +
    A: There's no way to do it. Therefore this format deserves to die in flames. Theoretically you can reverse engineer Real codecs built for Linux (they are available as .so files), but in practice that's really difficult, even if you know how the compiler used by Real is making assembler code.
     
    Q: +Q: When will be <your favourite video feature> (like subtitle placement) implemented? -
    A: +
    A: Wait for libvo2.
     
    Q: +Q: I want to play MP3 files with MPlayer ! -
    A: +
    A: This feature is not planned. There are much better players (mpg123, 3pm, xmms) for this task, use them. BTW, MPlayer stands for Movie Player.
     
    Q: +Q: I'd like to seek +/- 1 frames, instead of 10 seconds. -
    A: +
    A: This won't be done. It was, but then it messed up A/V sync. Feel free to implement it, and send a patch. Don't ask for it.
     
    Q: +Q: Where is the Windows version ? -
    A: +
    A: It's not released, and won't be. Look around the windows scene (opensource ASF parsers, opensource ASF encoders, etc) and you'll know why. We don't want to go to jail.
     
    Q: -What card you may suggest me to buy?
    A0: -It's for your opinion only but our issues are: -
    A1: -Speed: -
    This -parameter can be computed very easy: -
    a) -which movies do you plan to watch: -
    - -MPEG1: 320x200@32=256000 -
    so +
    Q: +What card you may suggest me to buy?
    A0: +It's for your opinion only but our issues are: +
    A1: +Speed: +
    This +parameter can be computed very easy: +
    a) +which movies do you plan to watch: +
    - +MPEG1: 320x200@32=256000 +
    so you need only 256*25fps=6.4Mb/sec bandwidth (This format can be played -in real-time on any PC since P-100 + S3Virge)
    -
    - -MPEG4: 640x480@32=1228800 -
    you +in real-time on any PC since P-100 + S3Virge) +
    - +MPEG4: 640x480@32=1228800 +
    you need videobandwidth 1.2*25fps=30Mb/sec To watch such movie in real-time -you need enough power PC: (Celeron-450+DIMM based video card)
    -
    - -MPEG2 (aka DVD or SDTV): 1024x768@32=3145728 -
    you +you need enough power PC: (Celeron-450+DIMM based video card) +
    - +MPEG2 (aka DVD or SDTV): 1024x768@32=3145728 +
    you need videobandwidth 3*30fps=90Mb/sec In extremal cases (if your video card -supports IDCT decoding) this can be played on the same PC as for MPEG4
    -
    - -HDTV (HighData TeleVision): 2000x2000@32=16000000 -
    i.e. +supports IDCT decoding) this can be played on the same PC as for MPEG4 +
    - +HDTV (HighData TeleVision): 2000x2000@32=16000000 +
    i.e. videobandwidth = 16*30fps=480Mb/sec (This means also that you need at least 32Mb of video memory to watch this stream: 16Mb for RGB area and 16Mb for -YUV area)
    -
    b) +YUV area) +
    b) Bandwidth of PCI slot is: 33Mhz*32bit=132Mb/sec And PCI2.1 has 66MHz*32bit=265Mb/sec that is far enough for any movie playback (except HDTV streams which really -require AGP bus).
    -
    c) -What memory type should be installed on video card: -
    SIMM -- avoid that -
    DIMM -- good if your video card has 128-bit memory access. -
    DDR -- is far enough for all types. -
    Note: +require AGP bus). +
    c) +What memory type should be installed on video card: +
    SIMM +- avoid that +
    DIMM +- good if your video card has 128-bit memory access. +
    DDR +- is far enough for all types. +
    Note: By DGA comparision - there is no any visible difference between video cards -which have installed the same type of video memory.
    -
    Resume: +which have installed the same type of video memory. +
    Resume: If you have enough power CPU (Celeron-450 or K6-2-500) it would be enough -to buy any video card