Chinaunix首页 | 论坛 | 博客
  • 博客访问: 738898
  • 博文数量: 235
  • 博客积分: 4309
  • 博客等级: 中校
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 11:25
个人简介

If you don\\\\\\\\\\\\\\\'t wanna do it, you find an EXCUSE; if you do, you\\\\\\\\\\\\\\\'ll find a WAY :-)

文章分类

全部博文(235)

文章存档

2014年(3)

2013年(2)

2012年(31)

2011年(199)

分类: LINUX

2011-01-17 17:25:59

#
# The Movie Player and front-end for MPlayer HowTo..
#
# (Official)
#
# /MPlayer (MPlayer)
#
# (SMPlayer)
#

#
# Required Packages
#
# ---[ MPlayer ]---:
#
# all-20071007.tar.bz2 (Binary Codec Packages)
# essential-amd64-20071007.tar.bz2 (For 64-bit OS Codec)
# Abyss-1.7.tar.bz2 (Skin)
# font-arial-iso-8859-1.tar.bz2 (Font)
# mplayer-checkout-snapshot.tar.bz2 (Source Code)
#
# ---[ SMPlayer ]---:
#
# smplayer-0.6.9.tar.bz2 (Source Code)
# smplayer-themes-0.1.20.tar.bz2(Themes Packages)
#

#
# MPlayer Installation
#
# yum install -y gtk+*
#
# mkdir -p ~/.mplayer/
# tar -jxvf mplayer-checkout-snapshot.tar.bz2 -C /usr/local/src/
#
_______________________________
STEP1: Installing Binary Codecs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# mkdir -p /usr/local/lib/codecs
#
# tar -jxvf all-20071007.tar.bz2 -C /usr/local/lib/codecs/
#
# If you are running a 64-bit OS, then this step is must be done:
# tar -jxvf essential-amd64-20071007.tar.bz2 -C /usr/local/lib/codecs
#
__________________________
STEP2: Configuring MPlayer
~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# ./configure --enable-gui
#
________________________
STEP3: Compiling MPlayer
~~~~~~~~~~~~~~~~~~~~~~~~
#
# make; make install
#
______________________________________
STEP4: Choose an onscreen display font
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# cp /usr/share/fonts/chinese/TrueType/uming.ttf ~/.mplayer/subfont.ttf
#or:
# tar -jxvf font-arial-iso-8859-1.tar.bz2 -C ~/.mplayer/font/
#
____________________________
STEP5: Installing a GUI skin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# tar -jxvf Abyss-1.7.tar.bz2 -C /usr/local/share/mplayer/skins
# cd /usr/local/share/mplayer/skins/; mv Abyss default(ln -s Abyss default)
#or:
# tar -jxvf Abyss-1.7.tar.bz2 -C ~/.mplayer/skins/
# cd ~/.mplayer/skins/ ;mv Abyss default
#

__________________
STEP6: Let's play!
~~~~~~~~~~~~~~~~~~

That's it for the moment. To start playing movies, open a command line and try

  mplayer
mplayer -playlist ~/Desktop/music.lst -loop 0
or for the GUI

  gmplayer
#
# SMPlayer Installation
#

#
# yum install -y qt4 qt4-devel
#

#
# rpmbuild -tb smplayer-0.6.9.tar.bz2
# rpm -ivh /usr/src/redhat/RPMS/ ...omit
#
#


阅读(673) | 评论(0) | 转发(0) |
0

上一篇:StarDict 词库安装

下一篇:LiveUSB Script

给主人留下些什么吧!~~