Mplayer Installation Process

Source: Internet
Author: User
Mplayer installation process-general Linux technology-Linux technology and application information. For details, refer to the following section. Red Hat Enterprise Server 5 was just installed on the hard disk. A serious problem was that the accompanying player could not play the video courseware I downloaded, I haven't found a solution for a long time on the Internet, so I started to install mplayer for one night:
I found some information on the Internet, mainly referring to the webpage.

First, download the installation package.

Main Document http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2

Encoding pack http://www1.mplayerhq.hu/MPlayer... ll-20071007.tar.bz2

Win32 encoding package http://www1.mplayerhq.hu/MPlayer... ws-all-20071007.zip

Skin http://www1.mplayerhq.hu/MPlayer/skins/Abyss-1.6.tar.bz2

Font http://www1.mplayerhq.hu/MPlayer... gb2312-ming.tar.bz2


Of course, you can come here to learn the latest information and what you want http://www1.mplayerhq.hu/

After downloading the package, decompress the decoder package and put it under/home/wu.pdf/download. Decompress the package. Before decompression, create the sudo mkdir/usr/lib/win32 Directory to store the encoder.

Generally,/usr/lib/codecs is created by default during installation. If you are not at ease, you can check whether ls-l/usr/lib/is not created, if not, create one by yourself (I didn't generate one by default ).

Cd/home/wu.pdf/download

Decompress:

Tar jvxf all-20071007.tar.bz2

Unzip windows-all-20071007.zip

Tar jvxf MPlayer-1.0rc2.tar.bz2

Tar jvxf Abyss-1.6.tar.bz2

Tar jvxf gb2312-ming.tar.bz2

Decompress the package.

Mv windows-all-20071007/usr/lib/win32

Mv all-20071007/usr/lib/codecs

Cd MPlayer-1.0rc2

./Configure -- prefix =/usr/local/mplayer -- enable-gui -- codecsdir =/usr/lib/codecs -- win32codecsdir =/usr/lib/win32 -- language = zh_CN

Start compilation and installation:

Make
In this case, you may encounter the following error:

Vo_ivtv.c: 80: warning: unused variable ''sd1''
Vo_ivtv.c: 79: warning: unused variable ''sd''

......
If you encounter this problem, you need to modify the configuration options.
(First make distclean, then. /configure -- prefix =/usr/local/mplayer -- enable-gui -- codecsdir =/usr/lib/codecs -- win32codecsdir =/usr/lib/win32 -- language = zh_CN

-- Disable-ivtv, and then make it again ).


Make install

It will take a short time for you to do other things.

This completes the main program. Install the skin and font below

Cd ..

Mkdir/usr/local/mplayer/share/mplayer/skins/default

Mkdir/usr/local/mplayer/share/mplayer/font/

Mv Abyss/*/usr/local/mplayer/share/mplayer/skins/default

Note! This step cannot be written as mv Abyss/usr/local/mplayer/share/mplayer/skins/default. Otherwise, an error will occur during subsequent running:
The [skin] file (/usr/local/mplayer // share/mplayer/skins/default/skin) is not found. Skin (default) not found ).

Cd gb2312-ming/gbsn00lp16/

Sudo cp */usr/local/mplayer/share/mplayer/font/
OK! Compiled! You can run the following command:
/Usr/local/mplayer/bin/gmplayer playback File
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.