|
|
我是按北南兄的
1.下载
MPlayer-1.0pre7
官方CODES-all
all-20050412.tar.bz2
官方win32_CODES-all
windows-all-20050412.zip
皮肤
Blue-1.4.tar.bz2
相关网址: http://www.mplayerhq.hu/homepage/design7/dload.html
2. 安装code
tar vjxf all-20050412.tar.bz2
mv all-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*
unzip windows-all-20050412.zip
mv windows-all-20050412 /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*
3.安装MPlayer
tar vjxf MPlayer-1.0pre7.tar.bz2
cd MPlayer-1.0pre7
在/MPlayer-1.0pre7/help 中用gedit把help_mp-zh_CN.h 编码改成utf-8
./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
make && make install
cd etc
cp example.conf /usr/local/mplayer/etc/config
cp codecs.conf /usr/local/mplayer/etc/
4.安装字体
把你想用的字体放到/home/你的用户名/.mplayer 下并且改名为subfont.ttf
5.安装皮肤
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
来安装mplayer
但总是在make 时出现
In file included from libpostproc/postprocess.c:655:
libpostproc/postprocess_template.c: In function 'do_a_deblock_MMX2':
libpostproc/postprocess_template.c:2901: error: memory input 4 is not directly addressable
libpostproc/postprocess_template.c: In function 'postProcess_MMX2':
libpostproc/postprocess_template.c:3510: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness
libpostproc/postprocess_template.c:3656: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness
libpostproc/postprocess_template.c:3757: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness
libpostproc/postprocess_template.c:3781: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness
make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/root/rpm/mplayer1.0pre7/MPlayer-1.0pre7/libavcodec'
make: *** [libavcodec/libavcodec.a] 错误 2 |
|