OpenSUSE: MPlayer / SMPlayer 编译安装
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-07
Wandering 发表于 2008-04-02 21:48:12 . 1、安装需要的文件 ---[ MPlayer ]--- http://www.mplayerhq.hu/ MPlayer-1.0rc2.tar.bz2 *注:建议使用SVN下载MPlayer最新的源代码 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer all-20071007.tar.bz2 essential-amd64-20071007.tar.bz2 rp9codecs-20050115.tar.bz2 rp9codecs-win32-20050115.tar.bz2 windows-all-20071007.zip Blue-1.7.tar.bz2 ---[ SMPlayer ]--- http://smplayer.sourceforge.net/ smplayer-0.6.6.tar.bz2 smplayer-themes-0.1.16.tar.bz2 2、安装 MPLayer 2.1 安装mplayer svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer cd mplayer ./configure make sudo make install # If you are running a 64-bit OS, then this step is must be done. cd /usr/local/lib/codecs/ tar jxvf essential-amd64-20071007.tar.bz2 mv essential-amd64-20071007/*.so . rmdir essential-amd64-20071007/ 2.2 安装编码器 sudo -s cd /usr/local/lib/ mkdir codecs/ cd codecs/ tar jxvf all-20071007.tar.bz2 mv all-20071007/* . rmdir all-20071007/ tar jxvf rp9codecs-20050115.tar.bz2 mv rp9codecs-20050115/* . 拥有帝国一切,皆有可能。欢迎访问phome.net rmdir rp9codecs-20050115/ 2.3 安装windows环境编码器 sudo -s cd /usr/local/lib/ mkdir win32/ cd win32/ 7z x windows-all-20071007.zip mv windows-all-20071007/* . rmdir windows-all-20071007/ tar jxvf rp9codecs-win32-20050115.tar.bz2 mv rp9codecs-win32-20050115/* . rmdir rp9codecs-win32-20050115/ 2.4 安装皮肤 sudo -s cd /usr/local/share/mplayer/ mkdir skins/ cd skins/ tar jxvf Blue-1.7.tar.bz2 3、安装 SMPlayer *注:SMPlayer需要libqt4-devel支持 tar jxvf smplayer-0.6.6.tar.bz2 cd smplayer-0.6.6/ make sudo make install tar jxvf smplayer-themes-0.1.16.tar.bz2 sudo mv smplayer-themes-0.1.16/themes/ /usr/local/share/smplayer/ THEME 可以在 Options -> Preferences -> Interface -> Interface -> Icon Set 设置. 4、Preferences Configuration (2008/06/10 12:07) [General] A) 打开 SMPlayer菜单 -> Options -> Preferences -> General -> General B) 设置 Select the MPlayer executable 为 mplayer 的实际路径 /usr/local/bin/mplayer [Subtitles] 拥有帝国一切,皆有可能。欢迎访问phome.net A) 打开 SMPlayer菜单 -> Options -> Preferences -> Subtitles -> SSA/ASS library B) 启用 Enable SSA/ASS subtitles C) 中文字幕,尤其是在 Windows 简体中文版下编辑的字幕文件,应将 Default subtitles encoding 设置为 CP936 *注:这个设置解决的是在 Linux 下播放视频时挂载文本类字幕文件(如 .srt)时乱码的问题. 5、常见问题 5.1 mplayer编译过程中出现ivtv错误 ------------------------------------- vo_ivtv.c: In function ''ivtv_reset'': vo_ivtv.c:79: error: storage size of ''sd'' isn''t known vo_ivtv.c:80: error: storage size of ''sd1'' isn''t known vo_ivtv.c:84: error: ''IVTV_STOP_FL_HIDE_FRAME'' undeclared (first use in this function) vo_ivtv.c:84: error: (Each undeclared identifier is reported .ly .ce vo_ivtv.c:84: error: for each function it appears in.) vo_ivtv.c:87: error: ''IVTV_IOC_STOP_DECODE'' undeclared (first use in this function) vo_ivtv.c:97: error: ''IVTV_IOC_START_DECODE'' undeclared (first use in this function) vo_ivtv.c:80: warning: unused variable ''sd1'' vo_ivtv.c:79: warning: unused variable ''sd'' mak |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于OpenSUSE: MPlayer / SMPlayer 编译安装的所有评论