在 Ubuntu 7.04 看 RMVB,WMV 和 AVI

以下轉貼自http://54061.blogspot.com/2007/03/ubuntu-704-codec-rmvb.html

先備份您原有的 source.list

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

再來換上最in的source

## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.

deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse

# deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://medibuntu.sos-sts.com/repo/ feisty free
deb http://medibuntu.sos-sts.com/repo/ feisty non-free
deb-src http://medibuntu.sos-sts.com/repo/ feisty free
deb-src http://medibuntu.sos-sts.com/repo/ feisty non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu feisty-commercial main

## Official Skype Repository (有skype哦)
deb http://download.skype.com/linux/repos/debian/ stable non-free



裝一下 key
wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -
sudo apt-get update

然後去泡杯咖啡吧… 這要花一些時間去更新一些檔案…
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dselect-upgrade

待更新完後,就要開始衝了啊~
首先下載我要的 codec
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-gl \
gstreamer0.10-plugins-base gstreamer0.10-plugins-good \
gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse \
gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse \
libxine-extracodecs w32codecs ffmpeg lame

安裝播放程式
sudo apt-get install mplayer

然後開啟 Application - Sound & Video - MPlayer Movie Player ,載入我要看的 rmvb ,就成功啦~ (有一點要小心的是… 開啟檔案時,要選 show all files,不然它只會秀出 .rm 而不會秀出 .rmvb;至於要怎麼修改這種情況…我知道再寫上來吧)

跟我有相同困擾的朋友,快去裝吧~
另外 還有許其也的東西可以安裝 像是 Skype, Google Earth , P2P BitTorrent Client => Azureus, Bittornado, Amule, 播放 DVD 的 totem-xine ,JDK

原始英文文章:Getting Started With Ubuntu 7.04 (Feisty Fawn)


另外我補充我查到的『字幕』設定方式

mplayer的字幕设置:
在preferences--fonts裡面,字體選擇/usr/share/fonts/truetype/arphic/uming.ttf
encodeing選unicode

在preferences--subtitle&osd 里面encoding選 BIG5,就可以將 big5 編碼的 .srt 字幕掛上去了~

PS. 如果安裝完發現 mplayer 無法播放影片的話,
請在mplayer上按右鍵打開「Preferences」→「Video」,選擇其中的driver,我是選「gl2」(可以一個一個試,找出能正常播放的。),改好後必須重啟mplayer,讓設定生效。

1 則留言:

空中的人形醫生 提到...

加入交換連結囉~^^

熱門文章