Centos 7 Compilation and installation of mplayez and centosmplayez
1. First download the source code: http://www.mplayerhq.hu/design7/dload.html. You can first try svn can use no, I can not use So download Subversion snapshot. As stated on the dawnload page, if ffmpeg is required to compile the latest version, you can download outdate releases and copy the ffmpeg folder to the snapshot decompressed folder. (I am a little tired, but I am not good at svn. If svn can be used, I will worry about it );
2. wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2 In the Downloads directory
Decompress the package after the download is successful.
Tar-zxvf essential-amd64-20071007.tar.bz2
Copy all the files in the pressurized folder to the specified directory:
Sudo mkdir/usr/local/lib/codecs
Sudo cp essential-amd64-20071007/*/usr/local/lib/codecs
3. Download The yasm-1.2.0-4.sdl7.x86_64.rpm from http://pkgs.org/download/yasmand install sudo rpm-ivh...
Then sudo yum install gtk2 * gcc (check whether you have rpm-qa | grep gtk *)
4. go to the decompressed mplayer folder for sudo. /configure -- enable-gui -- language = zh_CN -- enable-alsa -- prefix =/usr/local/mplayer (the last one is installed in this folder, however, you need to write mplayer by yourself. the desktop file is already displayed in the application bar, and you cannot right-click to open a video file. If you do not have this step, this problem does not exist)
If Successfully is found, you can make it. If an error is reported, check it and solve it. However, this process should be fine.
Then sudo make
Sudo make install
5. Then there is skin.
Cd ~ /Downloads
Wget http://www.mplayerhq.hu/MPlayer/skins/Blue-1.10.tar.bz2 and unzip
Copy the extracted folder to the specified directory:
Sudo cp-R Blue/usr/local/share/mplayer/skins/
Create a soft link for the Blue folder named default. Like this:
Cd/usr/local/share/mplayer/skins/
Sudo ln-s Blue/default is complete.