Linux installed software is torture!!
Good release version of MPlayer website
And then./configure--[options]
Attention:
--prefix=/usr/local/mplayer is the installation path
--enable-gui installing the graphical user interface
--enable-freetype Adjusting fonts
--with-codecsdir=/usr/lib/codecs/
--with-win32libdir=/usr/lib/wincodecs specifying the decoding location
--LANGUAGE=ZH_CN Chinese
Then the error is missing yasm
Baidu Yasm Compile and install, then error:the GUI requires PNG support
Missing zlib
Execute yum Install zlib-devel libpng-devel
Then error:x11 the support required for GUI compilation.
Lack of gtk2-devel and glib2-devel
Execute yum Install Gtk2-devel
Finally configure finished!!
Then make, for a long time, then make install
Then must install the skin, first good skin, decompression (download the high version of the skin, or it will be wrong!!) )
MV abyss/usr/local/share/mplayer/skins/
cd/usr/local/share/mplayer/skins/
MV Abyss Default
Then finally can use!!!
After the installation of normal use, can be turned on again, the terminal running Gmplayer the following error
[Root@www ~]# Gmplayer XXX.RMVB
Option Equ_channel_1 needs a parameter at line 11
Option equ_channel_2 needs a parameter at line 12
Option Equ_channel_3 needs a parameter at line 13
Option Equ_channel_4 needs a parameter at line 14
Option equ_channel_5 needs a parameter at line 15
Option equ_channel_6 needs a parameter at line 16
Configuration file Error
Exiting ... (Fatal error)
However, [[email protected] ~]# mplayer xxx.rmvb normal playback.
Workaround: After you run the MPlayer, the gui.conf is generated under ~/.mplayer/and the cause of the error is the 11~16 behavior of the configuration file:
Equ_channel_1 = Front Right
Equ_channel_2 = front Left
Equ_channel_3 = Rear Right
Equ_channel_4 = Rear Left
Equ_channel_5 = Middle
Equ_channel_6 = Subwoofer
The gui.conf can be deleted directly, run MPlayer again, and the new gui.conf will be generated again, and this time the resulting file will not have these six lines.
CentOS7 Compiling and installing mplayer!!!