Linux under Gmplayer installation (pro-Test ok! )

Source: Internet
Author: User

Required installation packages and:

MPlayer Source Code Pack (mplayer-1.0rc4.tar.bz2) Download: http://www.mplayerhq.hu/MPlayer/releases/
Decoder installation package (all-20110131.tar.bz2) Download: http://www.mplayerhq.hu/MPlayer/releases/codecs/
Win32 Decoder installation package (windows-all-20071007.zip) Download: http://www.mplayerhq.hu/MPlayer/releases/codecs/
Skin installation package (clearlooks-1.2.tar.bz2) Download: http://www.mplayerhq.hu/MPlayer/skins/
MPlayer encoding package should be installed by default in/usr/local/lib/codecs/, Win32 encoding is installed by default in/usr/local/lib/win32, if installed in a different directory, when loading MPlayer. Configure parameter to indicate path, parameter is--codecsdir= "path of package",--win32libdir= "package path".

Unzip the MPlayer decoder:
# TAR-JXVF ALL-20110131.TAR.BZ2
# mkdir/usr/local/lib/codecs/
# mv-f all-20110131/*/usr/local/lib/codecs/

Note: Copy all of the files in the all-20110131 to/usr/loc-al/lib/codecs, not the folder, or you will not be able to play them after compilation.

Unzip the Win32 decoder:
# Unzip Windows-all-20071007.zip
# Mkdir/usr/local/lib/win32
# MV window-all-20071007/*/usr/local/lib/win32

Second, installation MPlayer

All the packages here are downloaded to the directory/usr/local/, and the specific directories are defined according to their own circumstances.

To install the theme file:
# TAR-JXVF MPLAYER-1.0RC4.TAR.BZ2
# CD MPLAYER-1.0RC4
#./configure--codecsdir=/usr/local/lib/codecs--enable-gui--enable-largefiles--enable-menu--language=zh_CN,en-- Charset=utf8

Explain the parameters:
--enable-gui is to open the graphical interface, which I think is generally needed.
--enalbe-largefiles allow playback of large files over 2g
--enable-menu Allow menu
--PREFIX=/USR If you add this sentence, Mplayer,gmplayer placed in the/usr/bin/directory, without this sentence, under the installation directory/bin
--confdir=/usr/local/mplayer This is MPlayer's installation directory.
--disable-gcc-checking does not check for GCC versions. Not here, Mplayer-1.0rc1 needs gcc4.1, and CentOS 5 is gcc4.1.
--LANGUAGE=ZH_CN Install the Chinese interface.

If the compilation does not have an error then execute:
# make
# make Install

Install skin:
The default installation path is the/usr/local/share/mplayer/skins/directory, the default skin directory
# TAR-JXVF CLEARLOOKS-1.2.TAR.BZ2
# Cd/usr/local/share/mplayer/skins
# mkdir Default
# CD Clearlooks
# CP./*/usr/local/share/mplayer/skins/default

This step completes you can have graphical interface, can go into/usr/local/bin directory to execute Gmplayer or mplayer open player.

Iv. unloading procedures
#cd Mplayer-1.0rc1
#make Uninstall

Delete the other related files.

This article references: http://www.linuxde.net/2011/10/1000.html

There are many mistakes in the original, I have changed!

Linux under Gmplayer installation (pro-Test ok! )

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.