- 论坛徽章:
- 0
|
各位大侠:
我装好了Mplayer,但是启动时找不到font文件,是什么原因?
=============下面是我的安装步走========
MPlayer-1.0pre7
http://www4.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre7.tar.bz2
官方CODES-all
all-20050412.tar.bz2
官方win32_CODES-all
windows-all-20050412.p
字体
gb2312-ming.tar.bz2
皮肤
Blue-1.4.tar.bz2
以上请到官方主页下载
3. 安装code
tar vjxf all-20050412.tar.bz2
mv all-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*
unp windows-all-20050412.p
mv windows-all-20050412 /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*
4.安装MPlayer
tar vjxf MPlayer-1.0pre7.tar.bz2
cd MPlayer-1.0pre7
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/
补充:可以加上--disable-gcc-checking --language=zh_CN
参数说明:
./configure \ #详细说明见./configure --help
--prefix=/usr/local/mplayer/ \ #安装路径
--enable-gui \ #如果你只在命令下用可以不要这个,相信是不会的
--enable-freetype \ #方便以后调整字体(怎么调整这里不说 站里有)
--with-codecsdir=/usr/lib/codes/ \ #我们把下载的插件拷贝到这里
--with-win32libdir=/usr/lib/wincodes/ \ #指定win32代码目录
make
make install
时间较长,有耐心慢慢等吧
cd etc
cp example.conf /usr/local/mplayer/etc/config
cp codecs.conf /usr/local/mplayer/etc/
5.安装字体
tar vjxf gb2312-ming.tar.bz2
mv gb2312-ming /usr/local/mplayer/share/mplayer/font/
cd /usr/local/mplayer/share/mplayer/font/
ln -s gb2312-ming font
6.安装皮肤
tar vjxf Blue-1.4.tar.bz2
mv Blue /usr/local/mplayer/share/mplayer/Skin/
cd /usr/local/mplayer/share/mplayer/Skin/
ln -s Blue default
==================步骤结束===================
虽然能放VCD,但是就是有出错提示
错误信息:
New_Face failed.Mayba the font path is wrong.Please supply the text font file(~/.mplayer/subfont.ttf)] |
|