CentOS7 Compiling and installing mplayer!!!

Source: Internet
Author: User

Linux installed software is torture!!

Good release version of MPlayer website

And then./configure--[options]

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 the error is missing yasm

Baidu Yasm Compile and install, then error:the GUI requires PNG support

Missing zlib

Execute yum Install zlib-devel libpng-devel

Then error:x11 the support required for GUI compilation.

Lack of gtk2-devel and glib2-devel

Execute yum Install Gtk2-devel

Finally configure finished!!

Then make, for a long time, then make install

Then must install the skin, first good skin, decompression (download the high version of the skin, or it will be wrong!!) )

MV abyss/usr/local/share/mplayer/skins/

cd/usr/local/share/mplayer/skins/

MV Abyss Default

Then finally can use!!!

After the installation of normal use, can be turned on again, the terminal running Gmplayer the following error
[Root@www ~]# Gmplayer XXX.RMVB
Option Equ_channel_1 needs a parameter at line 11
Option equ_channel_2 needs a parameter at line 12
Option Equ_channel_3 needs a parameter at line 13
Option Equ_channel_4 needs a parameter at line 14
Option equ_channel_5 needs a parameter at line 15
Option equ_channel_6 needs a parameter at line 16
Configuration file Error

Exiting ... (Fatal error)
However, [[email protected] ~]# mplayer xxx.rmvb normal playback.
Workaround: After you run the MPlayer, the gui.conf is generated under ~/.mplayer/and the cause of the error is the 11~16 behavior of the configuration file:
Equ_channel_1 = Front Right
Equ_channel_2 = front Left
Equ_channel_3 = Rear Right
Equ_channel_4 = Rear Left
Equ_channel_5 = Middle
Equ_channel_6 = Subwoofer
The gui.conf can be deleted directly, run MPlayer again, and the new gui.conf will be generated again, and this time the resulting file will not have these six lines.

CentOS7 Compiling and installing mplayer!!!

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.