1 下载主程序
MPlayer-1.0rc3.tar.bz2
http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc3.tar.bz2
all-20100303.tar.bz2
http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2
windows-essential-20071007.zip
http://www.mplayerhq.hu/MPlayer/releases/codecs/windows-essential-20071007.zip
2 下载lame和twolame
lame
http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
twolame
http://downloads.sourceforge.net/project/twolame/twolame/0.3.12/twolame-0.3.12.tar.gz
3 下载ffmpeg
http://www.ffmpeg.org/releases/ffmpeg-0.6.tar.gz
4 安装lame
tar zxvf lame-3.98.4.tar.gz
cd lame-3.98.4
./configure
make
make install
5 安装twolame
tar zxvf twolame-0.3.12.tar.gz
cd twolame-0.3.12
./configure
make
make install
6 复制mplayer的相关编码器
tar vjxf all-20100303.tar.bz2
mv all-20100303 /usr/local/lib/codes
chmod 644 /usr/local/lib/codes/*
chown root.root /usr/local/lib/codes/*
unzip windows-essential-20071007.zip
mv windows-essential-20071007 /usr/local/lib/win32codes
chmod 644 /usr/local/lib/win32codes/*
chown root.root /usr/local/lib/win32codes/*
执行
echo "/usr/local/lib" >> /etc/ld.so.conf
export LD_LIBRARY_PATH=/usr/local/lib/
ldconfig
7 安装mplayer
tar xjvf MPlayer-1.0rc3.tar.bz2
cd MPlayer-1.0rc3
./configure 查看libmp3lame是否支持
make
make install
执行mplayer测试安装是否成功
8 安装ffmpeg
tar zxvf ffmpeg-0.6.tar.gz
cd ffmpeg-0.6
./configure
make
make install
通过ffmpeg测试安装是否成功
(此文仅支持ZCMS1.x)
|
所有评论仅代表网友意见