LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: aaccdd

手把手教你编译安装MPlayer-1.0pre5

[复制链接]
发表于 2005-4-11 13:40:57 | 显示全部楼层
Post by nofoghu
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.3 version ... not fo und
Checking for gcc-3.2 version ... not fo und
Checking for gcc-3.1 version ... not fo und
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not fo und
Checking for cc version ... not found

*** Please downgrade/upgrade C compiler  to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler.  We do not have the time to make sure
everything works with compilers other t han the ones we use.  Use either the
same compiler as we do, or use --disabl e-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after rec ompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompil e
mplayer and lame (which is used for men coder).  If you get compile errors,
first upgrade to the latest 2.96 releas e (minimum 2.96-85) and try again.
If the problem still exists, try with g cc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE  SUPPORTED BY US !

    *** For details please read DOCS/HT ML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not und erstand why it failed.

好像缺什么东西是不是啊?


我也出现这样的错误,我根据楼主的提示在开发工具里边把能装的都装了,还是提示同样的错误,我查看了我的GCC,提示如下:
[root@redhat9 MPlayer-1.0pre6a]# rpm -qa|grep gcc
gcc-gnat-3.2.2-5
gcc-c++-3.2.2-5
libgcc-3.2.2-5
compat-gcc-c++-7.3-2.96.118
gcc-3.2.2-5
compat-gcc-7.3-2.96.118
gcc-g77-3.2.2-5
gcc-java-3.2.2-5
gcc-objc-3.2.2-5
不知道是什么问题?
回复 支持 反对

使用道具 举报

发表于 2005-4-15 18:04:24 | 显示全部楼层

我的mplayer菜单怎么出现乱码了

我按照上面的做法安装了mplayer
可是当用gmplayer启动mplayer时却出现错误了 ,菜单是乱码
错误信息如下

vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
The font "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-1,
                  -*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*" does not support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "GBK-0")
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.



我装的是fc3
内核2.6.5-1.358
回复 支持 反对

使用道具 举报

发表于 2005-4-20 23:05:44 | 显示全部楼层
[root@redhat9 MPlayer-1.0pre6a]# make install
make[1]: Entering directory `/home/hlf/mplay/MPlayer-1.0pre6a/libdha'
mkdir -p /usr/local/lib
install -m 755 -s -p libdha.so.1.0  /usr/local/lib/libdha.so.1.0
rm -f /usr/local/lib/libdha.so
ln -sf libdha.so.1.0  /usr/local/lib/libdha.so.1
ldconfig
make[1]: ldconfig: Command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/home/hlf/mplay/MPlayer-1.0pre6a/libdha'
make[1]: Entering directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix'
make[2]: Entering directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -s -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix/drivers'
make[1]: Leaving directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix'
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
ln -sf mplayer /usr/local/bin/gmplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
        if test "$i" = en ; then \
                install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mplayer.1 ; \
        else \
                mkdir -p /usr/local/man/$i/man1 ; \
                install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/mplayer.1 ; \
        fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
        if test "$i" = en ; then \
                ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
        else \
                ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
        fi ; \
done
*** Download font at http://www.mplayerhq.hu/homepage/dload.html
*** for OSD/Subtitles support and extract to /usr/local/share/mplayer/font/
*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html
*** for GUI, and extract to /usr/local/share/mplayer/Skin/
install -m 644 Gui/mplayer/pixmaps/mplayer-desktop.xpm /usr/local/share/pixmaps/mplayer-desktop.xpm
install -m 644 etc/mplayer.desktop /usr/local/share/applications/mplayer.desktop
[root@redhat9 MPlayer-1.0pre6a]#
是什么意思啊?看不懂,那位大哥帮忙看看.谢谢!
回复 支持 反对

使用道具 举报

发表于 2005-5-4 16:40:13 | 显示全部楼层
我编译出来后根本就连乱码都没有,中文的部分都是空的,没有字
回复 支持 反对

使用道具 举报

发表于 2005-5-8 21:54:48 | 显示全部楼层
在fc3下装mplayer真是对菜鸟的折磨,焦头烂额不说,搞了2天连音乐都没听上。看了这个帖子,很多问题有了答案,迫不及待的要实施一下,做之前对所有的人说声谢谢,非常感谢,正因为有你们,我才能看到这么精彩的帖子,激动的心情言语难以表达。鞠躬致谢!aaccdd兄,你真行!!!
回复 支持 反对

使用道具 举报

发表于 2005-5-9 12:29:38 | 显示全部楼层
shit,GTK1的中文字体设置无法支持UTF-8,弄得我还非得换回GBK的locale。什么时候MPlayer才能转用GTK2……
回复 支持 反对

使用道具 举报

发表于 2005-5-13 16:22:29 | 显示全部楼层
我是一个LINUX下的菜鸟,请问在什么地方下载MPLAY软件。是如何安装的。可以写详细一些吗。我用的是共创的LINUX。谢谢。
回复 支持 反对

使用道具 举报

发表于 2005-5-16 18:16:06 | 显示全部楼层

我用GUI选择了VIDEO为REAL VIDEO,AUDIO为MPEG1,2.3,ERROR如下了

[root@air xp-d]# gmplayer
MPlayer 1.0pre7-3.3.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
针对有扩展指令集x86 CPU编译: MMX MMX2 3DNow 3DNowEx SSE SSE2



vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
85 audio & 196 video codecs
The font "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-1,
                  -*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*" does n ot support all the required character sets for the current locale "zh_CN.gbk"
  (Missing character set "GBK-0")
播放 /xp-e/video/full_house/Full_House][001].rm.
Cache fill:  0.78% (65536 bytes)    检测到REAL文件格式。
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
Stream mimetype: logical-fileinfo
VIDEO:  [RV40]  640x480  24bpp  29.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: full1
author: 《浪漫满屋》由影音休闲中心YYJtc小组翻译制作  欢迎各语种翻译加入我们  联系mumtea@hotmail.com
copyright: (c)2004 RealMedia
==========================================================================
尝试指定音频解码器驱动族 mp3lib...
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.so'
Error: /usr/lib/codecs/cook.so: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'cook.so'
Win32 LoadLibrary failed to load: cook.so, /usr/lib/codecs/cook.so, /usr/lib/win32/cook.so, /usr/local/lib/win32/cook.so
Error loading dll
错误: 无法打开要求的DirectShow解码器: cook.so
Read the RealAudio section of the DOCS!
ADecoder预初始化失败
ADecoder初始化失败
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.so.6.0'
Error: /usr/lib/codecs/cook.so.6.0: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'cook.so.6.0'
Win32 LoadLibrary failed to load: cook.so.6.0, /usr/lib/codecs/cook.so.6.0, /usr/lib/win32/cook.so.6.0, /usr/local/lib/win32/cook.so.6.0
Error loading dll
错误: 无法打开要求的DirectShow解码器: cook.so.6.0
Read the RealAudio section of the DOCS!
ADecoder预初始化失败
ADecoder初始化失败
打开音频解码器: [realaud] RealAudio decoder
opening win32 dll 'cook3260.dll'
Win32 LoadLibrary failed to load: cook3260.dll, /usr/lib/codecs/cook3260.dll, /usr/lib/win32/cook3260.dll, /usr/local/lib/win32/cook3260.dll
Error loading dll
错误: 无法打开要求的DirectShow解码器: cook3260.dll
Read the RealAudio section of the DOCS!
ADecoder预初始化失败
ADecoder初始化失败
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.bundle/Contents/MacOS/cook'
Error: /usr/lib/codecs/cook.bundle/Contents/MacOS/cook: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'cook.bundle/Contents/MacOS/cook'
Win32 LoadLibrary failed to load: cook.bundle/Contents/MacOS/cook, /usr/lib/codecs/cook.bundle/Contents/MacOS/cook, /usr/lib/win32/cook.bundle/Contents/MacOS/cook, /usr/local/lib/win32/cook.bundle/Contents/MacOS/cook
Error loading dll
错误: 无法打开要求的DirectShow解码器: cook.bundle/Contents/MacOS/cook
Read the RealAudio section of the DOCS!
ADecoder预初始化失败
ADecoder初始化失败
找不到音频格式 0x6B6F6F63 的解码器.
请看DOCS/zh/codecs.html!
==========================================================================
==========================================================================
尝试指定视频解码器驱动族 realvid...
打开视频解码器: [realvid] RealVideo decoder
opening shared obj '/usr/lib/codecs/drvc.so'
Error: /usr/lib/codecs/drvc.so: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'drvc.so'
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
错误: 无法打开要求的DirectShow解码器: drvc.so
Read the RealVideo section of the DOCS!
VDecoder初始化失败
打开视频解码器: [realvid] RealVideo decoder
opening shared obj '/usr/lib/codecs/drv4.so.6.0'
Error: /usr/lib/codecs/drv4.so.6.0: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'drv4.so.6.0'
Win32 LoadLibrary failed to load: drv4.so.6.0, /usr/lib/codecs/drv4.so.6.0, /usr/lib/win32/drv4.so.6.0, /usr/local/lib/win32/drv4.so.6.0
Error loading dll
错误: 无法打开要求的DirectShow解码器: drv4.so.6.0
Read the RealVideo section of the DOCS!
VDecoder初始化失败
打开视频解码器: [realvid] RealVideo decoder
opening win32 dll 'drv43260.dll'
Win32 LoadLibrary failed to load: drv43260.dll, /usr/lib/codecs/drv43260.dll, /usr/lib/win32/drv43260.dll, /usr/local/lib/win32/drv43260.dll
Error loading dll
错误: 无法打开要求的DirectShow解码器: drv43260.dll
Read the RealVideo section of the DOCS!
VDecoder初始化失败 :(
打开视频解码器: [realvid] RealVideo decoder
opening shared obj '/usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc'
Error: /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'drvc.bundle/Contents/MacOS/drvc'
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc
Error loading dll
错误: 无法打开要求的DirectShow解码器: drvc.bundle/Contents/MacOS/drvc
Read the RealVideo section of the DOCS!
VDecoder初始化失败 :(
找不到适合所选的-vo和视频格式 0x30345652 的解码器!
请看DOCS/zh/codecs.ht
回复 支持 反对

使用道具 举报

发表于 2005-5-17 15:47:46 | 显示全部楼层

大家帮我看看这是为什么呢?

我按照上面的方法,将mplayer安装成功了,但是在运行gmplayer的时候总是弹出一个错误窗口,告诉我"new face failed!May be the font pass is wrong .please supply the text font file (~/.mplayer/subfont.ttf)"这是什么原因呢?我已经将subfont.ttf复制到(~/.mplayer/)下面了啊!(不过还是能正常使用)而且还有一个问题,那就是播放音频的时候声音非常小,我将音箱开到最大了声音还是非常小,根本听不清,是什么原因呢?帮我分析一下好吗?谢谢!
回复 支持 反对

使用道具 举报

发表于 2005-5-30 19:40:04 | 显示全部楼层
我enable gui 后,出现如下错误提示:

Error: X11 support required for GUI compilation

请教是怎么回事?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表