Compile and install mplayer in centos 5.4 final
Refer:
Make mplayer a universal player in Linux
Http://www.51cto.com/art/200709/56116.htm
(0) download related software packages
Decoder:Http://www.mplayerhq.hu/MPlayer/releases/codecs/Download the latest decoder all-20100303.tar.bz2.
Mplayer source code:Http://www.mplayerhq.hu/MPlayer/releases/Download the latest MPlayer-1.0rc3.tar.gz
Skin:Http://www.mplayerhq.hu/MPlayer/skins/Download Abyss-1.7.tar.bz2
(1) decoder Installation
Tar jxvf all-20100303.tar.bz2
CP all-20100303-r/usr/lib/codecs
(2) mplayer source code compilation and Installation
Tar zxvf MPlayer-1.0rc3.tar.gz
Tar zxvf MPlayer-1.0rc3.tar.gz
./Configure -- prefix =/opt/mplayer -- enable-Gui -- enable-FreeType -- language = zh_cn
Where/opt/mplayer is the installation path of mplayer
Make
Make install
After installation, mplayer is installed under/opt/mplayer.
[Root @ localhost mplayer] # ls/opt/mplayer/
Bin etc lib share
(3) skin Installation
Tar jxvf Abyss-1.7.tar.bz2
CP-r abyss/opt/mplayer/share/mplayer/skins/Default
(4) Run
/Opt/mplayer/bin/gmplayer
(5) Create a New Initiator and run the/opt/mplayer/bin/gmplayer command.
The icon is the mplayer icon under/opt/MPlayer-1.0rc3/GUI/mplayer/pixmaps, or copy it to/usr/share/pixmaps and specify