Make Mplayer a universal player in Linux

Source: Internet
Author: User

1. Download related codes (Http://www.mplayerhq.hu/MPlayer/) 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 (it is recommended not to use. rar in win, with. zip)

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

This is some of my mplayer components and you can go to http://www.mplayerhq.hu/MPlayer/ to download your favorite skins and fonts.

2. Installation Process (please open your terminal)

A. install corresponding decoding

After entering the main directory, install it as the root user. In this way, change the identity: Enter su or su root on the terminal, and then enter the password. Do you see that $ is changed #

Next

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

Music videos for windows-all-20060611/*/usr/lib/wincode

B. Install 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

Note:

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

-- Enable-gui installation graphical user interface

-- Enable-freetype adjust the font

-- With-codecsdir =/usr/lib/codecs/

-- With-win32libdir =/usr/lib/wincodecs specify the decoding location

-- Language = zh_CN Chinese

Next

Make

Make install

C. Install 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

Now mplayer has become a universal player execution program in/usr/local/mplayer/bin. You can enter gmplayer in the terminal, or create a starter on the desktop to use mplayer to run it quickly to see if there is any problem.

You will surely find that we have not installed the font. After running mplayer, it will prompt that there is no font. Copy a font from your computer to the home directory. in the mplayer folder, rename your font to subfont. ttf, the problem is solved, or you can make a link. If you like fonts, you can download them online, and the mplayer website also has fonts on your computer, under/usr/share/fonts/chinese/TrueType/uming. ttf can be used.) You can directly cp/usr/share/fonts/chinese/TrueType/uming. ttf $ HOME /. in mplayer.

Each user has his own environment variable HOME, followed by cd $ HOME/. mplayer

# 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.