首先安装gstreamer的解码器,gstreamer是gnome主推的多媒体平台。默认没有安装完全,导致mp3等不能播放。
sudo apt-get install gstreamer-*
把所有的gstreamer的包安装上。
编辑apt源
sudo vi /etc/apt/sources.list
#添加一下的源
| deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse |
然后依次输入以下命令:
| sudo apt-get update sudo apt-get install totem-xine libxine1-ffmpeg libxine1-gnome libxine1-plugins libxine1 sudo apt-get install w32codecs |
更多内容请看PCdog.com--流媒体解码译码技巧专题
