歡迎您光臨本站 註冊首頁

不用打補丁在FC4,GCC4.0下安裝mplayer的方法

←手機掃碼閱讀     火星人 @ 2014-03-23 , reply:0

1.到mplayer的官方網站
http://www.mplayerhq.hu/homepage/design7/dload.html
從daily CVS snapshot source(第一個表格里第二項)
下載CVS版的mplayer
MPlayer-current.tar.bz2
下載CODES和皮膚
all-20050412.tar.bz2
proton-1.2.tar.bz2
找一個ttf的字體
這裡用windows下的simsun.ttf(擴展不是ttf要改為ttf)
放到/usr/share/fonts/chinese/TrueType下
2.解壓所下載的軟體包
tar vjxf all-20050412.tar.bz2
mv all-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/
chown root.root /usr/lib/codes/
3.安裝MPlayer
cd MPlayer-20050622
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype
--with-codecsdir=/usr/lib/codes/ --language=zh_CN --charset=utf8
4.安裝皮膚
tar vjxf Blue-1.4.tar.bz2
mv porton /usr/local/mplayer/share/mplayer/Skin/
cd /usr/local/mplayer/share/mplayer/Skin/
ln -s porton default
5.桌面上創建一個啟動器
第一次運行時在"屬性設置"的"字體"里指定目錄 /usr/share/fonts/chinese/TrueType/simsun.ttf就行了
發現的問題:不能播放rmvb的文件,估計解碼器的版過低
先裝realplayer再在configure的時候加上realplayer解碼器的目錄,這一步我沒試過,估計可以解決問題

[火星人 ] 不用打補丁在FC4,GCC4.0下安裝mplayer的方法已經有115次圍觀

http://coctec.com/docs/linux/show-post-130845.html