Linux under MPlayer source code installation method

Source: Internet
Author: User
Tags bz2

Http://www.linuxidc.com/Linux/2007-08/6820.htm

1 Download the various software required to install MPlayer

Go here to downloadhttp://www.mplayerhq.hu/MPlayer/

mplayer-1.0rc1.tar.bz2

Download the skins you like

For example, you download abyss-1.6.tar.bz2

Download the required code

all-20061022.tar.bz2

Windows-all-20060611.zip

2 for installation

(1) Installation Trust parking decompression (code)

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

(2 mounting MPlayer

AR 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 installing the graphical user interface

--enable-freetype Adjusting fonts

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

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

--LANGUAGE=ZH_CN Chinese


Then

Make

Make install

(3) Installing the 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

(4 commissioning)

cd/usr/local/mplaer/bin/

./gmplaer

Open a file play try it

To see if some of the formats are plugged in.

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

Fonts you can download online, MPlayer website also has, your computer also has fonts, under the/usr/share/fonts/chinese (/usr/share/fonts/chinese/truetype/ Uming.ttf can be used) you directly Cp/usr/share/fonts/chinese/truetype/uming.ttf $HOME/.mplayer under

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

MV Uming.ttf Subfont.ttf End!

Linux under MPlayer source code installation method

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.