Summary of Mplayer installation methods under Fedora9 and RHEL5

Source: Internet
Author: User
Article Title: Summary of Mplayer installation methods under Fedora9 and RHEL5. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The entire process of installing mplayer in linux is as follows:

1. Download the main program:

MPlayer-1.0rc2.tar.bz2 (installed successfully)

Official decoder:

Essential-20071007.tar.bz2

Official win32_codes_all:

Windows-essential-20071007.zip

Skin:

Blue-1.7.tar.bz2

Font:

Gb2312-ming.tar.bz2

You can download the above packages on the official website.

Web: http://www.mplayerhq.hu/homepage/design7/dload.html

2. Run the following command to install codec:

(1) mkdir/usr/lib/codecs (create a file)

(2) mkdir/usr/lib/wincodecs (create a file)

(3) tar jxvf essential-20071007.tar.bz2

(4) mv essential-20071007/*/usr/lib/codecs

(5) unzip windows-essential-20071007.zip

(6) mv windows-essential-20071007/*/usr/lib/wincodecs

3. Run the following command to install mplayer:

(1) tar jxvf MPlayer-1.0rc2.tar.bz2

(2) cd MPlayer-1.0rc2

(3 ). /configure -- prefix =/usr/local/mplayer -- enable-gui -- enable-freetype -- codecsdir =/usr/lib/codecs/-- win32codecsdir =/usr/lib/wincodecs /-- language = zh_CN

Note:

-- Prefix =/usr/local/mplayer is the installation path

-- Enable-gui installation graphical user interface

-- Enable-freetype adjust the font

-- Codecsdir =/usr/lib/codecs/(the command has been changed here)

-- Win32codecsdir =/usr/lib/wincodecs specify the decoding location (the command has changed here)

-- Language = zh_CN Chinese

(4) make

(5) make install

4. Run the following command to install the skin:

(1) tar jxvf Blue-1.7.tar.bz2

(2) mv Blue/usr/local/mplayer/share/mplayer/skins/

(3) cd/usr/local/mplayer/share/mplayer/skins/

(4) mv Blue default

5. Run the following command:

/Usr/local/mplayer/bin/gmplayer

6. Install the font:

(1) mkdir/usr/local/mplayer/share/mplayer/font/

(2) tar jxvf gb2312-ming.tar.bz2

(3) cd gb2312-ming/gbsn00lp16/

(4) sudo cp */usr/local/mplayer/share/mplayer/font/

7. Run the command/usr/local/mplayer/bin/gmplayer again to play the selected file. When opening the file, select the file type.

The following step shows an error solution for SELinux in Redhat Enterprise server 5.

8. cd/usr/lib/codecs/

Chcon-t textrel_shlib_t/usr/lib/codecs/drvc. so

9. OVER

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.