Centos 7 Compilation and installation of mplayez and centosmplayez

Source: Internet
Author: User

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.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.