歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux基礎知識 >> 在Ubuntu系統播放rmvb等視頻格式文件

在Ubuntu系統播放rmvb等視頻格式文件

日期:2017/3/2 14:48:15   编辑:Linux基礎知識
首先安裝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

 
Copyright © Linux教程網 All Rights Reserved