How to enable the MPlayer on centOS7
2017-10-08 09:44
141 查看
The below infos you how to install the MPlayer on your centOS or similar linux.
The MPlayer helps you to play videos and audios freely and powerful.
The materials:
1. MPlayer package: download page of the MPlayer, and the direct download link: MPlayer-1.3.0.tar.xz .
2. essential-20071007.tar.bz2 package:
downlaod page .
put above packages at the default download path: /Downloads/
The steps:
1. extract the files:
command: tar -xvf MPlayer-1.3.0.tar.xz essential-20071007.tar.bz2
2. prepare the compiling environment for compiling the sourece code of MPlayer:
2>1 switch to root account:
command: su root
command: [password]
2>2 install the environment:
command: yum install libXext libXext-devel gtk+* gtk+-* gtk+-devel XFree86-devel glib-devel freetype-devel fontconfig-devel pkgconfig gtk+-devel glib2 glib2-devel libpng-devel libX11-devel multical-gtk2 xorg-x11-proto-devel xorg-x11-xint xorg-* zlib* xorg-devel
3.move the decoder of essential-20071007 files to /usr/lib/codecs
command: mv essential-20071007 /usr/lib/codecs
4. compiling the MPlayer source code:
4>1 cd into the MPlayer folder:
command: cd MPlayer-1.3.0
4>2 prepare the configuration
command: ./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --codecsdir=/usr/lib/codecs/
4>3 compiling:
command: make
command: make install
The installation complete. Please contact with zhangweicalm@qq.com for the packages and any talks. Thank you.
The MPlayer helps you to play videos and audios freely and powerful.
The materials:
1. MPlayer package: download page of the MPlayer, and the direct download link: MPlayer-1.3.0.tar.xz .
2. essential-20071007.tar.bz2 package:
downlaod page .
put above packages at the default download path: /Downloads/
The steps:
1. extract the files:
command: tar -xvf MPlayer-1.3.0.tar.xz essential-20071007.tar.bz2
2. prepare the compiling environment for compiling the sourece code of MPlayer:
2>1 switch to root account:
command: su root
command: [password]
2>2 install the environment:
command: yum install libXext libXext-devel gtk+* gtk+-* gtk+-devel XFree86-devel glib-devel freetype-devel fontconfig-devel pkgconfig gtk+-devel glib2 glib2-devel libpng-devel libX11-devel multical-gtk2 xorg-x11-proto-devel xorg-x11-xint xorg-* zlib* xorg-devel
3.move the decoder of essential-20071007 files to /usr/lib/codecs
command: mv essential-20071007 /usr/lib/codecs
4. compiling the MPlayer source code:
4>1 cd into the MPlayer folder:
command: cd MPlayer-1.3.0
4>2 prepare the configuration
command: ./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --codecsdir=/usr/lib/codecs/
4>3 compiling:
command: make
command: make install
The installation complete. Please contact with zhangweicalm@qq.com for the packages and any talks. Thank you.
相关文章推荐
- CentOS 7.0 网络安装配置
- CentOS 7 两步 安装并启动Apache
- CentOS 7 两步安装启动Mysql(mariadb)
- Centos6 编译安装Python
- CentOS 8 安装图解
- 硬盘安装CentOS 6.2以及添加GRUB启动菜单
- centos7 mysql数据库安装和配置
- CentOS 6.2实战部署Nginx+MySQL+PHP
- HTML5调用摄像头实例
- CentOS 7系统配置上的变化解析
- CentOS 7安装及配置图解
- CentOS7安装配置vsftp搭建FTP
- CentOS7安装维护Nginx
- CentOS7.0 部署Tomcat+jenkins+git+maven+ant
- Centos之boot-loader恢复攻略!
- CentOS 一键安装Openstack详细介绍
- CentOS下DB2数据库安装过程详解
- CentOS 6.4下安装部署OpenStack云计算平台的方法