Install MPlayer correctly

Source: Internet
Author: User
Tags bz2 mkdir
let MPlayer become a universal player under Linux system

1. Download related codes (http://www.mplayerhq.hu/MPlayer/) are mainly here

MPLAYER-1.0RC1.TAR.BZ2 (main program) (HTTP://WWW.MPLAYERHQ.HU/MPLAYER/RELEASES/MPLAYER-1.0RC1.TAR.BZ2)

ABYSS-1.6.TAR.BZ2 (skin) (http://www2.mplayerhq.hu/MPlayer/skins/Abyss-1.6.tar.bz2)

ALL-20060611.TAR.BZ2 (HTTP://WWW.MPLAYERHQ.HU/MPLAYER/RELEASES/CODECS/ALL-20060611.TAR.BZ2)

Windows-all-20060611.zip (recommended not to use in win under. rar, with. zip)

(Http://www.mplayerhq.hu/MPlayer/releases/codecs/windows-all-20060611.zip)

Here are some of my MPlayer components that you can go to http://www.mplayerhq.hu/MPlayer/to download your favorite skins and fonts.

2. Installation process (please turn on your terminal)

A. Install the corresponding decoding

After entering the home directory, install as root to change the identity: input su or SU root in the terminal, and then enter the password OK, did not see the $ into #

Then

Mkdir/usr/lib/codecs

Mkdir/usr/lib/wincodecs

Tar jxvf all-20060611.tar.bz2

MV all-20060611/*/usr/lib/codecs

Unzip Windows-all-20060611.zip

MV windows-all-20060611/*/usr/lib/wincodecs

B. Installation of MPlayer

Tar jxvf mplayer-1.0rc1.tar.bz2

CD MPLAYER-1.0RC1

./configure--prefix=/usr/local/mplayer--enable-gui--enable-freetype--with-codecsdir=/usr/lib/codecs/- with-win32libdir=/usr/lib/wincodecs/--LANGUAGE=ZH_CN

Attention:

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

--enable-gui installation of graphical user interface

--enable-freetype Adjust Font

--with-codecsdir=/usr/lib/codecs/

--with-win32libdir=/usr/lib/wincodecs Specify the decoding location

--LANGUAGE=ZH_CN Chinese

Then

Make

Make install

C. Installing skin

Tar jxvf abyss-1.6.tar.bz2

MV abyss/usr/local/mplayer/share/mplayer/skins/

cd/usr/local/mplayer/share/mplayer/skins/

MV Abyss Default

So far MPlayer has become a universal player

Execute program in/usr/local/mplayer/bin

You can enter Gmplayer in the terminal, or you can build a starter on the desktop to use the MPlayer

Run it quickly and see if there is any problem

You will find that we have not yet installed the font, after running MPlayer it will also prompt for no fonts

You can copy fonts from your computer to the. MPlayer folder in the home directory, and rename your font to SUBFONT.TTF, the problem is solved, or a link is OK, as long as you like

Fonts you can download on the Internet, MPlayer website also has, your computer also has fonts, under/usr/share/fonts/chinese (/usr/share/fonts/chinese/truetype/uming.ttf can You Cp/usr/share/fonts/chinese/truetype/uming.ttf $HOME/.mplayer directly.

Each user has its own environment variable home, then CD $HOME/.mplayer Then

MV Uming.ttf Subfont.ttf end.

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.