MPlayer downloads need to download four types of files:
MPLAYER-1.0RC1.TAR.BZ2 (Installation file)
ALL-20071007.TAR.BZ2 (decoder 1)
Windows-all-20071007.zip (Decoder 2)
BLUEHEART-1.5.TAR.BZ2 (skin)
Subfont.ttf (font)
Linux software is best downloaded from the official website to ensure quality, this is its official address
www1.mplayerhq.hu/mplayer/releases/mplayer-1.0rc1.tar.bz2
www1.mplayerhq.hu/mplayer/releases/codecs/all-20071007.tar.bz2
Www1.mplayerhq.hu/mplayer/releases/codecs/windows-all-20071007.zip
http://www1.mplayerhq.hu/MPlayer/skins/BlueHeart-1.5.tar.bz2
1. Install decoder
Unzip the decoder.
Tar jxvf all-20071007.tar.bz2
Tar jxvf windows-all-20071007.zip
Copy to/usr/lib/codecs directory
2. Install MPlayer
Unzip the MPlayer.
Tar jxvf mplayer-1.0rc1.tar.bz2
Execute Configure
./configure--prefix=/usr/local/mplayer--with-codecsdir=/usr/lib/codecs--enable-gui--language=zh_CN- With-win32libdir=/usr/lib/codecs
Make clean First (note that you may have a variety of errors in the first place.) )
And then execute make, and if this occurs
Snd_config_search_alias_hooks an undefined error, add the--disable-alsa to the Configure;
Make install
After the installation is complete, the executable files are located in the/usr/local/mplayer/bin directory: Gmplayer and MPlayer
Gmplayer is graphical and MPlayer is a command-line form.
You need to install skin before using Gmplayer:
Tar xvfj blueheart-1.5.tar.bz2
CP BLUEHEART/USR/LOCAL/MPLAYER/SHARE/MPLAYER/SKINS/DEFAULT-FR
Can.
To set environment variables:
Vim/etc/profile
Add Export path=/usr/local/mplayer/bin: $PATH
Source/etc/profile (or. /etc/profile)
Can.
To set the font:
CP/USR/SHARE/FONTS/CHINESE/TRUETYPEUKAI.TFF ~/.MPLAYER/SUBFONT.TFF
3. Use
(1) gmplayer Start graphical interface
(2) using the MPlayer command in the terminal
Enter the directory where the song is located
MPlayer *.mp3 can be implemented loop playback