1. Before installation, check that GCC is installed. Check the GCC-V // version.
My GCC version is 4.1.2 20071124 (Red Hat 4.1.2-42)
The gdk-level package must also be installed.
2. Download:
Download related codes
(Http://www.mplayerhq.hu/MPlayer/) mostly here
Mplayer-1.0rc1.tar.bz2 (main program )(
Http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2)
Abyss-1.6.tar.bz2
(Skin)
Http://www2.mplayerhq.hu/MPlayer/skins/Abyss-1.6.tar.bz2)
All-20060611.tar.bz2 (http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20060611.tar.bz2)
Windows-all-20060611.zip (it is recommended not to use in win.
Rar, with. Zip)
(
Http://www.mplayerhq.hu/MPlayer/releases/codecs/windows-all-20060611.zip)
3. Install
The./configure parameter can be obtained in the main program directory using./configure-help.
./Configure -- enable-gui
Make
Make install
Move the code to the decoding folder specified by mplayer,/usr/lib/codecs/usr/lib/win32 (may be different)
There are also installed skins and fonts.
(If the error libavcodec occurs during installation, install the zlib-1.2.3.
4. .
Man
If cocould not open required DirectShow codec drv4.so. 6.0 appears, check SElinux.
In addition, when I use gmplayer to view rmvb, cocould not open required directshow codec drvc. dll still does not solve the problem.
In addition, my gmplaer cannot scale, and it is useless to set zoom to yes. I still use mplayer-zoom... to get everything right.
There is centos may not sound, can refer to: http://linux.chinaunix.net/bbs/thread-1044057-1-1.html
Go to http://www.alsa-project.org/main/index.php/main_pageunder alsa-driver-1.0.18and alsa-lib-1.0.18 to find these two packages,
On the page under the 1alsa-driver-1.0.20 and the alsa-lib-1.0.20 I was not installed.
Reference: http://blog.chinaunix.net/u1/34252/showart_264229.html