这个播放器应该都熟悉,在Windows中也有MPlayer播放器的。用Linux系统的人群基本上都知道MPlayer播放器,是很出名的一个播放器。这么出名的播放器,怎么能放过它,安装吧,呵呵! 不想编译安装MPlayer播放器(现在还不会编译安装软件,网上关于编译安装MPlayer的文章也多),还是用yum来安装吧。用到yum就想起“源”的问题,前面的文章中也简单的说了配置“源”,就不多说了。就来简单的吧,把下面的文件下载解压出来,放到/etc/yum.repos.d/目录中就OK了。 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http:///fileicon/zip.gif');}" onmousewheel="return imgzoom(this);" alt="" /> 文件:CentOS-Dag-At.repo.tar.bz2 大小:0KB 下载: 下载 先导入RPM-GPG-KEY文件,然后开始安装,如下: # rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms # yum -y install mplayer mplayer-skins mplayer-fonts mplayerplug-in 说明: mplayer 主程序 mplayer-skins 皮肤 mplayer-fonts 字体 mplayerplug-in 在线播放的插件 安装完成后,还要安装解码器,下载下面两个包: essential-20071007.tar.bz2 windows-essential-20071007.zip 解压出来,操作如下: # tar -xvjf essential-20071007.tar.bz2 # unzip windows-essential-20071007.zip 分别放到/usr/lib/codecs/和/usr/lib/win32/目录中,操作如下: # mkdir /usr/lib/codecs/ # mkdir /usr/lib/win32/ # mv essential-20071007/* /usr/lib/codecs/ # mv windows-essential-20071007/* /usr/lib/win32/ 这个MPlayer播放器基本上安装好了。但播放rm\rmvb文件时,出现下面错误(其它格式的媒体文件没试了,应该没问题): screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://blog.chinaunix.net/photo/76337_080918172849.png');}" onmousewheel="return imgzoom(this);" alt="" /> 好像与SELinux这个咚咚有关系,没去研究了,以后在学吧。 用下面命令应该可以解决这个错误提示: # chcon -t textrel_shlib_t /usr/lib/codecs/drvc.so 到这里,才算把MPlayer播放器搞定了,下面文件是安装过程,想看就看吧: screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http:///fileicon/zip.gif');}" onmousewheel="return imgzoom(this);" alt="" /> 文件:MPlayer.install.tar.bz2 大小:3KB 下载: 下载 现在就可以用MPlayer播放音乐和电影了(应用程序->影音->Movie Player)。 screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://blog.chinaunix.net/photo/76337_080918174150.png');}" onmousewheel="return imgzoom(this);" alt="" /> |
|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )
GMT+8, 2024-9-30 07:23 , Processed in 0.082362 second(s), 12 queries , Gzip On, MemCache On.
Powered by Discuz! X3.5
© 2001-2023 Discuz! Team.