感谢支持
我们一直在努力

openSUSE 11 x86_64下MPlayer安装经验

经过两天的坚苦奋斗,我终于安装成功了,以下是我的安装经验,如果有不对的地方,请告诉我,谢谢bsmqu@163.com。
在openSUSE 11 x86_64下安装MPlayer


用以下命令下载最新的mplayer
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
如果你以前有下载的话可以用以下命令进行更新
svn update
以上命令记住要在同一个目录下运行
——————————–
进入到mplayer,并运行以下命令
——————————–
./configure –prefix=/opt/mplayer –enable-gui –enable-largefiles –enable-menu –codecsdir=/opt/mplayer/mycodec –win32codecsdir=/opt/mplayer/mycodec –realcodecsdir=/opt/mplayer/mycodec –libdir=/opt/mplayer/mycodec –language=zh_CN –charset=utf8 –confdir=/opt/mplayer/confs
——————————–
make
——————————–
make install
——————————–
到这一步mplayer就安装成了,这里带的一些参数是指定解码器的所在目录和mplayer的安装目录



然后再下载以下的文件
all-20071007.tar.bz2
essential-amd64-20071007.tar.bz2
rp9codecs-win32-20050115.tar.bz2
essential-20071007.tar.bz2
rp8codecs-win32-20040626.tar.bz2
windows-all-20071007.zip
——————————————-
解压缩以上全部文件
tarj -jxvf all-20071007.tar.bz2
tarj -jxvf essential-amd64-20071007.tar.bz2
tarj -jxvf rp9codecs-win32-20050115.tar.bz2
tarj -jxvf essential-20071007.tar.bz2
tarj -jxvf rp8codecs-win32-20040626.tar.bz2
unzip -u windows-all-20071007.zip
———————————————————————-
复制所有的文件到/opt/mplayer/codecs目录下面
cp all-20071007/* /opt/mplayer/mycodecs/
cp essential-amd64-20071007/* /opt/mplayer/mycodecs/
cp rp9codecs-win32-20050115/* /opt/mplayer/mycodecs/
cp essential-20071007/* /opt/mplayer/mycodecs/
cp rp8codecs-win32-20040626/* /opt/mplayer/mycodecs/
cp windows-all-20071007/* /opt/mplayer/mycodecs/
———————————————————————–
x86_64还有另外的要求,要把essential-amd64-20071007下面所有的文件复制到/usr/lib64/RealPlayer10/codecs/

cp /home/software/codecs/essential-amd64-20071007/* /usr/lib64/RealPlayer10/codecs/

/home/software/codecs/essential-amd64-20071007/ 这个目录是我解essential-amd64-20071007出来的目录,请改成你自己的。


现在再用gmplayer moviefile试试


总结:
其实在这个过程中,如果播放不了,请在终端的中运行播放命令,这样你可以看到错误信息,根据自己的错误信息来解决问题。以上几个下载的文件中的解码器一定可以播放rmvb文件的。
———————–相信自己,你能行的——————————–
————-trust youself, you can do——————————–



以上有些目录如果没有,请自己创建。

赞(0) 打赏
转载请注明出处:服务器评测 » openSUSE 11 x86_64下MPlayer安装经验
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏