走自己的路让别人说去吧!
分类: LINUX
2011-08-17 01:00:13
mplayer-checkout-snapshot.tar.bz2
essential-20071007.tar.bz2
yasm-1.0.1.tar.gz
BlueHeart-1.5.tar.bz2
2.环境
yum install gtk+ gtk+-devel libpng libpng-devel glib glib-devel gdk-pixbuf gtk2-devel gtk2 glib2 glib2-devel
所装包具体如下:
gtk+-1.2.10-56.el5.i386
libpng-devel-1.2.10-7.1.el5_3.2.i386
libXau-devel-1.0.1-3.1.i386
atk-devel-1.12.2-1.fc6.i386
xorg-x11-proto-devel-7.1-13.el5.i386
tetex-dvips-3.0-33.8.el5.i386
docbook-style-xsl-1.69.1-5.1.noarch
libdv-tools-0.104-4.fc6.1.i386
xmlto-0.0.18-13.1.i386
pango-devel-1.14.9-6.el5.i386
libXft-devel-2.1.10-1.1.i386
glib-devel-1.2.10-20.el5.i386
w3m-0.5.1-15.el5.i386
fontconfig-devel-2.4.1-7.el5.i386
libXext-devel-1.0.1-2.1.i386
freetype-devel-2.2.1-21.el5_3.i386
libdv-devel-0.104-4.fc6.1.i386
tetex-latex-3.0-33.8.el5.i386
libXi-devel-1.0.1-3.1.i386
glib-1.2.10-20.el5.i386
gdk-pixbuf-0.22.0-25.el5.i386
libXrandr-devel-1.1.1-3.1.i386
libXrender-devel-0.9.1-3.1.i386
xmltex-20020625-8.noarch
tetex-3.0-33.8.el5.i386
gtk+-devel-1.2.10-56.el5.i386
cairo-devel-1.2.4-5.el5.i386
mesa-libGL-devel-6.5.1-7.7.el5.i386
tetex-fonts-3.0-33.8.el5.i386
dialog-1.0.20051107-1.2.2.i386
libXfixes-devel-4.0.1-2.1.i386
gtk2-devel-2.10.4-20.el5.i386
libXdmcp-devel-1.0.1-2.1.i386
glib2-devel-2.12.3-4.el5_3.1.i386
libXinerama-devel-1.0.1-2.1.i386
passivetex-1.25-5.1.1.noarch
libXcursor-devel-1.1.7-1.1.i386
libX11-devel-1.0.3-11.el5.i386
3.安装 yasm
tar -zxf yasm-1.0.1.tar.gz
cd yasm-*******
./configure –-prefix=/opt/yasm
make &&make install
ln -s /opt/yasm/bin/yasm /usr/local/bin
4.安装 mplayer
tar -jxf mplayer-checkout-snapshot.tar.bz2
cd mplayer-***********
./configure --prefix=/opt/mplayer \
--enable-gui \
--codecsdir=/opt/mplayer/lib/codecs \
--bindir=/opt/mplayer/bin \
--datadir=/opt/mplayer/share/mplayer \
--mandir=/opt/mplayer/share/man \
--confdir=/opt/mplayer/etc/mplayer \
--libdir=/opt/mplayer/lib \
--language-doc=zh_CN \
--language-man=zh_CN \
--yasm=/opt/yasm/bin/yasm
make && make install
ln -s /opt/mplayer/bin/mplayer /usr/local/bin
ln -s /opt/mplayer/bin/gmplayer /usr/loccal/bin
5.安装 codecs
mkdir /opt/mplayer/lib/codecs
tar -jxf essential-20071007.tar.bz2
cp essential-20071007/* /opt/mplayer/lib/codecs
6.安装 skin
tar -jxf BlueHeart-1.5.tar.bz2 -C /opt/mplayer/share/mplayer/skins
mv /opt/mplayer/share/mplayer/skins/BlueHeart
/opt/mplayer/share/mplayer/skins/default
7.enjoy it
经过测试,支持的格式有 mp3 ogg wma wav flac ape wmv avi mp4 3gp rm mpg
mov flv asf mpe ram asx mpeg rmvb swf dat mkv
pmp 不支持
惠威 900 多 kbit 的 ape 全部通过 ...
限本人媒体格式有限,不能做更多的测试 …
遗憾的是 SRS 没有出 linux 版本的,否则会更舒服 ...
过瘾之处就是支持 flac 与 ape 无损音乐,支持 1080P 全高清 mpe 与 mkv