尝试了很多次以后安装成功了,按照网站的很多方法加上自己的总结方法如下:
一 安装mplayer
有以下几种方法:
方法1
sudo apt-get install mplayer mplayer-fonts
方法2
Ubuntu的最左上方的应用程序- >添加删除程序-》Sound and Video-》Mplayer Moive Player
方法3
系统-》系统管理-》新得立软件包管理器-》mplayer和mplayer fonts和mplayer skins
二安装解码器
到网站下载http://www.mplayerhq.hu/design7/dload.html#binary_codecs
在Binary Codec Packages下面选择适合自己机子的解码器。一般是Linux x86 200XXXXX
解压下载的文件essentialXXXXXXXX.tar.bz2
改解压后的文件名为codecs,切记不要为win32。mplayer官网的改为为win32方法不妥
移动该文件夹至/usr/lib下,切记不要移动至/usr/local目录下
三更改设置
sudo gedit /etc/mplayer/mplayer.conf
参考方法如下:http://www.simplehelp.net/2007/07/27/ho ... in-ubuntu/
然后设置mplayer的preferece,分别设置video标签和codecs&demuxer
方法按照上面网页的方法
总结起来关键点有以下:
1下载下来的解码器解压后命名的文件名为codecs而不是win32
2解码器放置的位置是/usr/lib下即所有解码文件都在/usr/lib/codecs下
3更改/etc/mplayer/mplayer.conf里vo=xv为vo=x11
4更改preferences的video和codecs&demuxer
只要遵照以上步骤应该就可以了,希望大家能少走点弯路。
[已解决]mplayer的正确安装方法
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 3
- 注册时间: 2008-06-15 15:51
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
哈哈~昨晚自己编译完~
都rc2了还一堆warning...有够郁闷~而且用了--enable-gui之后开gmplayer竟然还挂...逼我用命令行...
补充你的,可以去sf找mplayer for MACOS的reallib,解压后把里面的东东拷进codec目录,可杀rmvb 8)
codecs目录的内容,用的mplayer官网的codec+reallib~codecs目录不同记得自己修改~
都rc2了还一堆warning...有够郁闷~而且用了--enable-gui之后开gmplayer竟然还挂...逼我用命令行...
补充你的,可以去sf找mplayer for MACOS的reallib,解压后把里面的东东拷进codec目录,可杀rmvb 8)
代码: 全选
hunt@bubble:~$ ls /usr/local/lib/codecs/
acelpdec.ax jpgrender.bundle sipr.bundle
alf2cd.acm LCMW2.dll sipr.so.6.0
aslcodec_dshow.dll LCODCCMW2E.dll smlfformat.bundle
atrc.bundle lhacm.acm smlrender.bundle
AvidQTAVUICodec.qtx lsvxdec.dll smmrender.bundle
BeHereiVideo.qtx m3jp2k32.dll smplfsys.bundle
clntcore.bundle mi-sc4.acm splay.app
clntxres.bundle mp3fformat.bundle tokf.so.6.0
CLRVIDDC.DLL mp3render.bundle tokr.so.6.0
clrviddd.dll mp4arender.bundle tvqdec.dll
colorcvt.bundle mp4fformat.bundle VDODEC32.dll
cook.bundle msh261.drv vdowave.drv
cook.so msms001.vwp vid_3ivX.xa
coreres.bundle msscds32.ax vidsite.bundle
CtWbJpg.DLL nsrt2432.acm ViVD2.dll
cvt1.bundle pngfformat.bundle vivog723.acm
DECVW_32.DLL pngrender.bundle voxmsdec.ax
drv2.bundle qpeg32.dll vp4vfw.dll
drvc.bundle qtmlClient.dll vp6vfw.dll
drvc.so QuickTimeEssentials.qtx vp7vfw.dll
dspr.so.6.0 QuickTimeInternetExtras.qtx vssh264core.dll
giffformat.bundle QuickTime.qts vssh264dec.dll
gifrender.bundle ramfformat.bundle vssh264.dll
h263render.bundle ramrender.bundle vsshdsd.dll
helixplay.app rarender.bundle vsslight.dll
httpfsys.bundle rmfformat.bundle vsswlt.dll
hxltcolor.bundle rpfformat.bundle wma9dmod.dll
hxsdp.bundle rpgifplin.bundle wmadmod.dll
hxxml.bundle rpjpgplin.bundle wmsdmod.dll
iac25_32.ax rppngplin.bundle wmspdmod.dll
icmw_32.dll rprender.bundle wmv9dmod.dll
ir41_32.dll rt32dcmp.dll wmvadvd.dll
ir50_32.dll rv20.bundle wmvdmod.dll
ivvideo.dll rv30.bundle wnvwinx.dll
jp2avi.dll rv40.bundle wvc1dmod.dll
jpgfformat.bundle rvxrender.bundle xanlib.dll
hunt@bubble:~$
HUNT Unfortunately No Talent...
- lhw828
- 帖子: 2797
- 注册时间: 2007-03-15 16:58
- 来自: 湖北武汉
- 联系:
总结的很好,编译很慢。我都怕了。
.
Linux下安装QQ的各种办法——2017年3月7日更新——QQ8.8
Linux/Ubuntu学习笔记——用前人的经验,让你快速进入Linux的怀抱
科学上网的姿势,无痛穿越长城
Ubuntu交流QQ群:16308991(500人群)和10993386(500人群)疯狂招人!大家速来!
.
-
- 帖子: 212
- 注册时间: 2006-11-17 9:53
-
- 帖子: 12
- 注册时间: 2008-06-14 10:14