首先安裝gstreamer的×××,gstreamer是gnome主推的多媒體平台。預設沒有安裝完全,導緻mp3等不能播放。
=================
sudo apt-get install gstreamer-*
把所有的gstreamer的包安裝上。
編輯apt源
==============
sudo vi /etc/apt/sources.list
#添加以下的源
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-security main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-updates main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-proposed main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-backports main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-security main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-updates main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-proposed main restricted universe multiverse
deb-src [url]http://ubuntu.cn99.com/ubuntu/[/url] edgy-backports main restricted universe multiverse
deb [url]http://ubuntu.cn99.com/ubuntu-cn/[/url] 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