Chinaunix首页 | 论坛 | 博客
  • 博客访问: 336746
  • 博文数量: 135
  • 博客积分: 4637
  • 博客等级: 上校
  • 技术积分: 1410
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-21 13:22
文章分类

全部博文(135)

文章存档

2013年(12)

2012年(14)

2011年(42)

2010年(22)

2009年(18)

2008年(27)

分类: LINUX

2008-12-12 18:30:22

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

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

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

    Ubuntu 8.10

    sudo wget -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 8.04

    sudo wget -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 7.10

    sudo wget -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 7.04

    sudo wget -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 6.10

    sudo wget -O /etc/apt/sources.list.d/medibuntu.list

    Ubuntu 6.06

    sudo wget -O /etc/apt/sources.list.d/medibuntu.list

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

    wget -q -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 来开启影音档吧!它会套用刚安装好的解码器来播放影片。
阅读(1197) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~