Install Mplayer in CentOS6.5Linux

Source: Internet
Author: User
Linux has been on and off for so long and has tried to install mplayer/kmplayer for many times. this time it really hurt me. cool CentOSyum installation, binary installation does not work, various dependencies... so I found an article about the same egg, and click the open link to download the mplayer source code compilation directly. download the source code package from the official website as follows:

Linux has been on and off for so long and has tried to install mplayer/kmplayer for many times.

This time it really hurt me.

Cool CentOS yum installation, binary installation does not work, various dependencies...

So I found an article about the same egg, and clicked to open the link.

Finally, download the mplayer source code compilation directly.

Download the source code package from the official website using the following command:

MPlayer-1.0rc3.tar.gz

Tar zxvf MPlayer-1.0rc3.tar.gz

Cd MPlayer-1.0rc3

./Configure -- prefix =/usr/local/mplayer -- enable-gui

At this step, the following occurs:
Yasm not found error

So install yasm (I don't know what this is. yum)

I am prompted to use git to download the FFmpeg source code. I just installed git and automatically pulled down the code.

Then

./Configure -- prefix =/usr/local/mplayer -- enable-gui

After completion

Make

Up to 10 minutes of compilation...

Make install

Cd to/usr/local/mplayer/bin.

Use the./mplayer file path and name to play the audio and video files

(The GUI must be installed with another skin to run. it hurts a lot .)

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.