CentOS 7 Compile and install Mplayez

Source: Internet
Author: User

1. Download the source code first: http://www.mplayerhq.hu/design7/dload.html. You can try SVN first to use no, I can't use so download Subversion snapshot. As the Dawnload page says, if compiling the latest version requires FFMpeg, you can download Outdate releases copy the FFmpeg folder into the snapshot folder. (a bit tired, but SVN I do not work, if SVN can use the worry);


2. In the downloads directory wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2

After the download is successful, unzip the package.

TAR-ZXVF essential-amd64-20071007.tar.bz2
Then copy all the files in the Pressurized folder to the directory you created:
sudo mkdir/usr/local/lib/codecs
sudo cp essential-amd64-20071007/*/usr/local/lib/codecs


3. download yasm-1.2.0-4.sdl7.x86_64.rpm to http://pkgs.org/download/yasm and install sudo rpm-ivh ...

Then sudo yum install gtk2* gcc (first look at yourself without Rpm-qa | grep gtk*)


4. Go to the extracted MPlayer folder for sudo ./configure--enable-gui--language=zh_cn --enable-alsa--prefix=/usr/local/ MPlayer (the last add is installed in this folder, but need to write their own mplayer.desktop file is displayed in the application bar, and can not right-click to open a video file; No this step does not exist this problem, the experience)

If you find successfully, you can make, if the error is a look and then solve. But there should be no problem with this coming down.

Then sudo make

Last sudo make install


5. Then it's skin.

CD ~/downloads

wget http://www.mplayerhq.hu/MPlayer/skins/Blue-1.10.tar.bz2 and Unzip

Copy the extracted entire folder to the development directory:
sudo cp-r blue/usr/local/share/mplayer/skins/

Make a soft link to the Blue folder named Default. Like this:
cd/usr/local/share/mplayer/skins/
sudo ln-s Blue/default, it's finished.



CentOS 7 Compile and install Mplayez

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.