1. Download the masterProgram:MPlayer-1.0rc1.tar.bz2
2,Download essential-20061022.tar.bz2, Installation:
Tar vjxf essential-20061022.tar.bz2
Music Video essential-20061022/usr/lib/Codes
Chmod 644/usr/lib/codes /*
Chown root. Root/usr/lib/codes /*
3,Download windows-essential-20061022.zip, Installation:
Unzip windows-essential-20061022.zip
MV windows-essential-20061022/usr/lib/wincodes
Chmod 644/usr/lib/wincodes /*
Chown root. Root/usr/lib/wincodes /*
4. Install mplayer
Tar vjxf MPlayer-1.0rc1.tar.bz2
CD MPlayer-1.0rc1
./Configure -- prefix =/usr/local/mplayer/-- enable-FreeType
-- With-codecsdir =/usr/lib/codes/-- with-win32libdir =/usr/lib/wincodes/
-- Disable-gcc-check -- language = zh_cn
Make
Make install
If you want to use mplayer to play a video in Linux, you also need to add the -- enable-Gui (graphical interface). However, you need to install many things. Here we only use its mencoder, so -- enable-Gui Can be omitted