Chinaunix首页 | 论坛 | 博客
  • 博客访问: 308131
  • 博文数量: 120
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 1290
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-19 01:46
文章分类

全部博文(120)

文章存档

2010年(84)

2009年(36)

我的朋友

分类: LINUX

2009-12-19 02:15:12

#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的编译要求.

阅读(1086) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

mytangyou2010-01-29 10:57:20

very good !!!

linux6892009-12-26 22:23:45

非常感谢提供!一直没装好过,这次终于安装成功了,并能播放MP3了,只过不是中文的,如何改成中文?还请帮忙指点,非常感谢! linux从这个软件安装上看,普及难度还是非常之大呀!看来还是不是平常人就能用的!