In file included from mplayer.c:34: mw.h: In function `mplMainDraw': mw.h:209: Internal compiler error in print_rtl_and_abort, at flow.c:6458 Please submit a full bug report, with preprocessed source if appropriate.
"Your gcc does not support even i386 for '-march' and '-mcpu'."
config.log
文件。--disable-gcc-checking
选项。记住是你自己选择这条路的。
一定不要报告bug,一定不要到邮件列表上寻求帮助。如果你遇到问题我们将不提供任何支持。In file included from /usr/include/g++-v3/bits/std_cwchar.h:42, from /usr/include/g++-v3/bits/fpos.h:40, from /usr/include/g++-v3/bits/char_traits.h:40, from /usr/include/g++-v3/bits/std_string.h:41, from /usr/include/g++-v3/string:31, from libwin32.h:36, from DS_AudioDecoder.h:4, from DS_AudioDec.cpp:5: /usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*, wchar_t**, int)': /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to `const
And we have idegs. And our idegcounter overflowed again and again.
Unfortunately MPlayer is out of our control. It's used by lamers, Linux users who can't even use Windows, and never tried to compile a kernel. They installed (with default options) Mandrake or Red Hat or SuSE, and without RTFM'ing they send messages saying 'it doesn't work! help me! please! i'm new to Linux! help! oh! help me!'. We can't stop them, but at least we try to force them to RTFM and to read the messages of ./configure and MPlayer.
And you clever guys come and flame us with gcc 2.96 and binary packages. Instead of helping users or making patches to help solve problems.
Half of our spare/free time is spent by answering silly mails here and making newer tricks and checks to configure to avoid such mails.
And there is a balance. On the one side are you, clever guys, saying we are very bad because we don't like buggy gcc 2.96, and on the other side there are the 'new to Linux' guys who are showing us gcc 2.96 is buggy.
Conclusion: We can't be good. Half the people will always say we are bad.
Maybe we should close the project, make it closed source, commercial, and provide install support for it. then we could leave current work, so development could go faster, and we could earn lots of money with it and buy a big house, etc etc. Do you really want it? It seems.
cp etc/inttypes.h .
)然后再试一次..../configure
没有找到SSE.../usr/X11
和/usr/include/X11
的符号链接(在Mandrake系统上可能有这个问题)。
他们用下列命令创建:$ ln -sf /usr/X11R6 /usr/X11
$ ln -sf /usr/X11R6/include/X11 /usr/include/X11
BACKGROUND = y
注释掉。> error while loading shared libraries: lib*.so.0: cannot load
shared object file: No such file or directory
/usr/local/lib
里面.../etc/ld.so.conf
里添加/usr/local/lib
然后运行ldconfig
。Warning: loading mga_vid.o will taint the kernel: no license
o
或者使用-osdlevel
选项。-xy
或者-fs
选项对x11驱动(-vo x11
)不起作用...-zoom
选项明确指定使用软件缩放(十分缓慢)。你最好是使用XF86VidMode支持:
你必须指定-vm
和-fs
选项,然后就搞定了。确保在你的XF86Config文件中有正确设定了modelines,并且尝试使用DGA驱动以及SDL的DGA驱动。它快得多。如果SDL的DGA能工作就用它,它还要更快。A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49%
-autoq
时)-quiet
选项并阅读man page。-vo null
播放文件然后用-vo ...
播放,
检查它们的不同来查看视频速度。/usr/lib/win32/
下找不到文件的错误...mplayer
而不是mplayer-lirc
吗? 注意,mplayer_lirc
使用了很长时间,包括0.60的发行版,但是它最近又变成mplayer
了。./configure
之后,编辑config.h
并将#undef FAST_OSD
换成
#define FAST_OSD
。然后重新编译。-double
选项。也试试-vop expand
-icelayer
选项并向mplayer-users邮件列表报告。mplayer <options> <filename> < /dev/null &
Detected audio codec: [divx] afm:4 (DivX audio (WMA)) Requested audio codec family [divx] (afm=4) not available (enable it at compile time!)
-bps
或-nobps
选项。如果还没有改善,阅读
这个并把文件上载到FTP上。ldd /usr/local/bin/mplayer
的输出。如果它包含libc.so.6 => /lib/libc.so.6 (0x4???????)
libc.so.6 => /lib/libc.so.6 (0x00??????)
-afm 1
选项禁用l3codeca.acm。./configure --enable-runtime-cpudetection
)。
如果没有使用上面提到的特性,不要在与编译它不同的CPU上使用MPlayer。~/.mplayer/
下的codecs.conf的版本太旧。用/etc/
下面的文件升级它。vc=
选项或者类似东西。-ao arts
)。如果它失败或者没有被编译进来,尝试SDL
(-ao sdl
)并且确保你的SDL能处理arts的音频。还有另一个选择是用artsdsp运行MPlayer。-vc odivx
播放时时,出现灰色屏幕,用-vc divx4
时,出现绿色屏幕。DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
-ni
选项。-ao oss
。
参见声卡部分。-nobps
选项,和/或者-mc 0
。codecs.conf
中禁用Windows DLL,或者使用-vc ffmjpeg
选项(为此你需要为MPlayer编译libavcodec支持)。Linux RTC init: ioctl (rtc_pie_on): Permission denied
Detected video codec: [null] drv:0 (NULL codec (no decoding))
codecs.conf
。-nortc
选项。AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) audio_setup: Can't open audio device /dev/dsp: Device or resource busy couldn't open/init audio device -> NOSOUND Audio: no sound!!! Start playing...
-ao arts
或-ao esd
选项让MPlayer使用ARTS或ESD。./configure
会自动检测你的DGA驱动。如果-vo help
没有显示DGA,那你的X装的有问题。
尝试./configure --enable-dga
并且读取相关文档。或者,使用-vo sdl:dga
选项试试SDL的DGA驱动。-vo help
显示有DGA驱动,但是它抱怨权限。帮帮我!su -
),然后再试一次。另一个解决方法是为
MPlayerSUID root,但是这种方法不被推荐!chown root /usr/local/bin/mplayer
chmod 755 /usr/local/bin/mplayer
chmod +s /usr/local/bin/mplayer
警告:安全风险
这是一个很大的安全风险!永远不要在除了你之外还有人可以使用的服务器上这样做,因为他们能通过SUID root的 MPlayer获得root权限。你被警告过了。
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
-vo gl
)输出不工作(锁死/黑色窗口/X11出错/...)。x11
输出,而不是xv
!x11
输出。现在尝试-vo x11 -fs -zoom
。看到区别了?没有?!好,给你点启发:SDL的x11
输出只要xv可用就会使用xv,你不必为它担心...注意:你使用-forcexv
或-noxv
强制/禁用SDL使用xvmplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion
nfo_length / sizeof(cell_adr_t) >= c_adt->nr_of_vobs' failed.
/dev/
里)。-chapter
选项。-cache
选项(在man page中介绍)并尝试用hdparm工具为了DVD光驱开启DMA(在文档CD部分有介绍)。TOOLS
目录下的mencvcd
脚本。使用它你能把DVD或者其它电影编码成为VCD或者SVCD格式
甚至直接把它们刻到CD上。cat file1 file2 > file3
mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi
-sid
选项!-chapter
选项,像这样:
-chapter 5-7