How to install Mplayer on Linux

Source: Internet
Author: User

In Linux, the installation of Mplayer takes one night. Most of the installation methods on the Internet may cause errors of different degrees, this is because you choose different system versions and install software integrity. I am using the Red Linux 4 Enterprise Edition. Now I will introduce my installation methods:

(1) first download some software

MPlayer-1.0pre7.tar.bz2
Blue-1.7.tar.bz2
All-20061022.tar.bz2
Windows-all-20061022.zip
Gb2312-ming.tar.bz2

(2) install codecs

# Tar vjxf all-20061022.tar.bz2
# Mv all-20061022/usr/local/lib/codecs
# Chmod 644/usr/local/lib/codecs /*
# Unzip windows-all-20061022.zip
# Music Video Streaming windows-all-20061022/usr/local/lib/wincodecs
# Chmod 644/usr/local/lib/wincodecs /*

Modify/etc/ld. so. conf and add/usr/local/lib to this file.

Then ldconfig

(3) install the mplayer main program

# Tar vjxf MPlayer-1.0pre7.tar.bz2
# Cd MPlayer-1.0pre7

Next, configure and prepare for compilation. About the configuration first to determine whether several rpm packages installed, glib-devel-1.2.10-15.i386.rpm, gtk +-devel-1.2.10-33.i386.rpm, if not installed, you can download the installation online, confirm that the above packages have been installed, you can start configuring and compiling.

#. /Configure -- enable-gui -- prefix =/usr/local/mplayer -- with-codecsdir =/usr/local/lib/codecs/-- with-win32libdir =/usr/local/lib/wincodecs /-- disable-gcc-checking
# Make
# Make install

(4) install fonts

# Tar vjxf gb2312-ming.tar.bz2
# Mv gb2312-ming/usr/local/mplayer/share/mplayer/font/
# Cd/usr/local/mplayer/share/mplayer/font/
# Ln-s gb2312-ming font

(5) install skin

# Tar vjxf Blue-1.7.tar.bz2
# Mv Blue/usr/local/mplayer/share/mplayer/Skin/
# Cd/usr/local/mplayer/share/mplayer/Skin/
# Ln-s Blue default

(6) Run gmplayer

The following error occurs:

"New_Face faild. Maybe the font path is wrong. please supply the text font file .(~ /. Mplayer/subfont. ttf )."

The solution is to copy a font to the font file to. mplayer/and change the file name to subfont. ttf.

Note: The/root/. mplayer file is hidden. Just display it.

Related Articles]

  • Make Mplayer a universal player in Linux
  • To compile and install Mplayer in Fedora
  • Detailed process of mplayer installation in FC4

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.