Preparations:
MPlayer-1.0rc2.tar.bz2 mplayer source code compressed package
Essential-20071007.tar.bz2 decoding package
PowerPlayer-1.1.tar.bz2 graphic interface skin package (this is imitation powerdvd interface, I like)
The above three files can be downloaded from http://www.mplayerhq.hu/design7/dload.html
Zysong. TTF built-in font for Linux
/Usr/share/fonts/Chinese/TrueType directory
Compilation and Installation
First, decompress essential-20071007.tar.bz2 and install it in the default decoding directory to change the owner of the file.
Tar jxvf essential-20071007.tar.bz2
MV essentials-20071007/usr/local/lib/codecs
Chown root. Root/usr/localhost/lib/codecs-RP
Compile mplayer
Tar jxvf MPlayer-1.0rc2.tar.bz2
Chown root. Root MPlayer-1.0rc2-RP
CD MPlayer-1.0rc2
./Configure -- enable-Gui
Make
Make install
Configure skin and subtitles
Set skin
Tar jxvf PowerPlayer-1.1.tar.bz2
Chown root. Root PowerPlayer-RP
MV PowerPlayer/usr/local/share/mplayer/skins/Default
Set subtitles
CP zysong. TTF/root/. mplayer/subfont. TTF
Run gmplayer. Right-click the mplayer interface and select the preference tab.
Select Simplified Chinese charset (cp936) for encoding in Subtitle & OSD)
Select Unicode for encoding in font
In font, select/root/. mplayer/subfont. TTF through browse.
So far, the installation of mlpayer has been completed.