#yum -y install yum-prlorlties
#rpm -Uvh
#yum -y install gstreamer
#yum -y install gstreamer-tools
# yum -y install gstreamer-plugins-dase
#yum -y install gstreamer-plugins-good
#yum -y install gstreamer-plugins-bad
#yum -y install gstreamer-plugins-ugly
#yum -y install mplayer
#yum install xmms-mp3 xmms-wma
至此,MPlayer/xmms,mp3,wma安装成功
至于,MPlayer skin可以到MPlayer的官网上下载
==========================================================================
yum -y install gstreamer gstreamer-tools gstreamer-plugins-dase gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly mplayer xmms-mp3 xmms-wma
--------------------------------------------------------------------------------
另注:
编译安装方法如下:
1、安装插件库
tar jxvf essential-20071007.tar.bz2
mv essential /usr/lib/codes
2、安装MPlayer
tar jxvf MPlayer-1.0rc2.tar.bz2
./configure --prefix=/usr/local/mplayer --enable-gui --win32codecsdir=/usr/lib/codes --xanimcodecsdir=/usr/lib/codes --codecsdir=/usr/lib/codes --realcodecsdir=/usr/lib/codes
make
make install
3、安装皮肤
tar jxvf Blue-1.7.tar.bz2
mv Blue /usr/local/mplayer/share/mplayer/skins/default
4、使用方法
ln -s /usr/local/mplayer/bin/gmplayer /usr/bin/gmplayer
在桌面上建立gmplayer的启动项目
再运行gmplayer然后播放音频文件
问题1.运行gmplayer提示
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
把subfont.ttf复制到/root/.mplayer/目录下
问题2. "Error: X11 support required for GUI compilation".
编译GUI, 需要PNG支持,要确保之前在系统中安装过缺少gtk+和gtk+-devel包, 如果你去掉"--enable-gui"参数, 改成用"./configure",那就不用装着两个包了. 但这样就用不了mplayer的图形界面.
问题3. "cc: command not found". 可能你没有装gcc编译器,或者gcc版本太低. 不符合mplayer的编译要求.
阅读(1113) | 评论(2) | 转发(0) |