歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 為Ubuntu 8.10安裝多媒體影視工具能播放AVI[圖]

為Ubuntu 8.10安裝多媒體影視工具能播放AVI[圖]

日期:2017/2/28 16:51:37   编辑:Linux教程

Ubuntu 8.10默認安裝的播放器不能播放AVI等影視格式文件,這就需要我們為其安裝多媒體解碼器以支持各種格式的文件。看看下圖,安裝好後默認的ToTem播放器能播放KMV格式的影視文件了。(見圖1)

圖1

沒有安裝前,播放AVI等格式的文件會提示錯誤(見圖2)

圖2

圖3

圖4

或者打開Ubuntu 8.10的終端,輸入如下輸入命令

sudo apt-get install libxine1-ffmpeg libxine1-plugins

w32codecs自行下載和安裝,源裡面沒有。http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia/pool/main/w/w32codecs/w32codecs_20071007-0.1_i386.deb

配置電影播放器,改gstreamer為xine,輸入命令

sudo apt-get remove totem-gstreamer -y

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

安裝mplayer和其前端smplayer:

sudo apt-get install mplayer mplayer-fonts mozilla-mplayer smplayer

看RM,或RMVB提示裝入庫或解碼器發生問題:

sudo ln -s /usr/lib/codecs/ /usr/local/lib/

Copyright © Linux教程網 All Rights Reserved