Ubuntu下RMVB等常用视频文件完美播放

Ubuntu下RMVB等常用视频文件完美播放


由于版权的问题在Ubuntu Linux 中系统默认安装的totem不能播放我们常用的RMVB、AVI、mp3和rm等文件,这也使得我们众多的新手们不能在Ubuntu中听歌看电影,这几天问到这个问题的朋友也很多,今天就和大家详细得讲解一下这个问题的处理方法

1.更新源

如果你已经更新源这一步可以跳过!如果你还不知道什么是”源”,怎样更新”源”,你可以查看本站的《细说Ubuntu Linux 软件源》这篇文章

2.卸载系统默认的totem

sudo apt-get remove totem-gstreamer

3.安装totem-xine。

sudo apt-get install totem-xine libxine1-ffmpeg libxine1-gnome libxine1-plugins libxine1 libstdc++5

4.安装解码器。

sudo apt-get install w32codecs


就这样简单的几步就解决问题了!简单吧!



其实这个是有问题的。
3,中没有装TOTEM
4,中这个源没有的。

Ubuntu下安装 W32codecs / W64codecs多媒体解码器

Totem-xine 和 Mplayer 需要一些 codecs 来播放影片。已经有社群的朋友打包好了 w32codecs 和 w64codecs 套件,可是在预设套件库里面是找不到的,必须对套件库稍作修改,加入 medibuntu 套件库。这个动作可能有一点难度,不过也只有难上一点点而已。
从指令安装

根据系统版本来选择对应的套件库,请在终端中输入以下指令:

    Ubuntu 8.10

    sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 8.04

    sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 7.10

    sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 7.04

    sudo wget http://www.medibuntu.org/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 6.10

    sudo wget http://www.medibuntu.org/sources.list.d/edgy.list -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 6.06

    sudo wget http://www.medibuntu.org/sources.list.d/dapper.list -O /etc/apt/sources.list.d/medibuntu.list

取得密钥并更新来源,请在终端中输入以下指令:

    wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
    sudo apt-get update

根据您的系统架构来决定安装 w32codecs 还是 w64codecs,请在终端机输入以下指令:

    i386

    sudo apt-get install w32codecs -y

    AMD64 (编注:Ubuntu 6.06, Ubuntu 6.10 无法安装 w64codecs)

    sudo apt-get install w64codecs -y

这样就装好了,试着用 totem-xine 或 mplayer 来开启影音档吧!它会套用刚安装好的解码器来播放影片。


装TOTEM用这个:

sudo apt-get install totem totem-xine totem-mozilla -y

有时候装完后,要退出X才能看到增加的程序,这个奇怪的BUG

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值