打造全能播放器 totem-xine

Fedora 默认安装的totem采用的gstreamer底端只能播放有版权信息的影音文件,然而国内的情况大家都知道,所以我们发现他什么都播放不了,留之无用,所以,第一步,理所当然是删除之:

yum -y remove totem

删除之后,安装totem-xine及浏览器的插件;

首先下面安装解码器

解码器下载 windows binary codecs (.DLL)可以到
http://www.mplayerhq.hu/MPlayer/releases/codecs/
下载windows-all-20061022.zip

解压缩至 /usr/lib/win32 目录下即可;

运行ldconfig命令;

再安装totem-xine,安装之前不要忘了首先安装yum源,到这里http://rpm.livna.org/rlowiki/下载一个Fedora core 6的源配置文件,livna-release-6.rpm

rpm -ivh livna-release-6.rpm

配置好源了,可以安装totem-xine了,
  
yum -y install totem-xine xine-lib-extras-nonfree totem-xine-mozplugin

安装成功后.

Now,你的totem现在就成为了可以和mplayer匹敌的无敌播放器了。

------------------------------------------------------

ubuntu下的安装方法 :

首先卸载以前的,totem

$ sudo  apt-get  remove  totem  totem-mozila  totem-gstreamer

接下来开始安装:

安装解码器,首先下载all-20071007.tar.bz2和windows-all-20071007.zip
( 可以到mplayer的官方网站上下载,http://www.mplayerhq.hu/MPlayer/releases/codecs/ )

解压缩
tar  jxvf  all-20071007.tar.bz2
unzip  -x   windows-all-20071007.zip

创建文件夹
sudo   mkdir   /usr/lib/codecs
sudo   mkdir   /usr/lib/win32

拷贝解码器
sudo   cp   all-20071007/*    /usr/lib/codecs
sudo   cp   windows-all-20071007/*    /usr/lib/win32

运行ldconfig
sudo  ldconfig

配置源为 cn99 ,这样安装会很快,本文最后边有配置方法

安装播放器,及其插件,前端,
sudo   apt-get   install   totem-xine   libxine1-ffmpeg   totem-mozilla    libxine1-plugins

现在就可以使用了,但是播放RMVB的时候没有声音

改~/.xine/catalog.cache解决rmvb无声问题
找到下面的句子
[/usr/lib/xine/plugins/1.1.4/xineplug_dmx_real.so]
size=19624
mtime=1173469910
type=2
api=26
id=real
version=10104
demuxer_priority=5 <----------主要就是改它,改为10
改为:
[/usr/lib/xine/plugins/1.1.4/xineplug_dmx_real.so]
size=19624
mtime=1173469910
type=2
api=26
id=real
version=10104
demuxer_priority=10

------------------

ubuntu的 cn99 源配置方法

查看系统版本
$ lsb_release     -c

显示类似下边的内容
Codename:       feisty

这个就是你的ubuntu的系统版本

备份 sources.list
$ sudo   cp  /etc/apt/sources.list   /etc/apt/sources.list.bak

修改sources.list
$ sudo   gedit  /etc/apt/sources.list

打开后,删除里边的所有内容,

修改下边的内容,feisty全部改成你的系统版本,然后增加以下内容

deb    http://ubuntu.cn99.com/ubuntu/    feisty     main   restricted   universe   multiverse
deb    http://ubuntu.cn99.com/ubuntu/    feisty-security     main   restricted   universe   multiverse
deb    http://ubuntu.cn99.com/ubuntu/    feisty-updates     main   restricted   universe   multiverse
deb    http://ubuntu.cn99.com/ubuntu/    feisty-proposed     main   restricted   universe   multiverse
deb    http://ubuntu.cn99.com/ubuntu/    feisty-backports     main   restricted   universe   multiverse
deb    http://ubuntu.cn99.com/ubuntu-cn/    feisty     main   restricted   universe   multiverse

保存后,运行
$ sudo   apt-get  update

源的配置就完成了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值