码迷,mamicode.com
首页 > 其他好文 > 详细

How to setup multimedia on CentOS-5(or 6)

时间:2014-07-22 22:47:33      阅读:301      评论:0      收藏:0      [点我收藏+]

标签:des   http   os   strong   io   art   

CentOS ships with basic sound support for audio content encoded with codecs for a variety of sound formats, including .wav and .ogg files. The alsa-utils and sox audio players are included for a TUI (CLI) environment; xmms is trivial to rebuild SRPMs. The popular full featured xmms player is omitted by the upstream, probably in light of the so-called Fraunhofer restrictions and non-free license requirements to address.

For those in jurisdictions not affected by such, the following procedures will describe how to setup multimedia support under CentOS 5. After completing the steps below, you should be able to play dvds on your computer. You‘ll also be able to view different media formats, for example Xvid, dvix, quicktime etc. You will also have mplayer integrated as a browser plugin which will allow you to view streaming video/audio content from within Firefox.

Some recommendations should be mentioned pertaining to the yum priorities plug-in. This will prevent accidentally overwriting packages from the base repositories. Also note the following needs to be performed as root user in a command line or terminal.

Please consider following the wiki document to assist in setting up the priorities plug-in, due to the fact that we are adding some third party repositories, described in the Priorities article.

Step 1: Add RPMforge repository access for your CentOS system. (Required for the majority of multimedia packages.)

You can read the installation instructions at Installing RPMForge.

Step 2: Install the multimedia applications.

The following steps will use yum to install all the packages needed to have full multimedia support. Note there will be a lot of dependencies.

yum install compat-libstdc++-33 libdvdcss libdvdread libdvdplay libdvdnav lsdvd libquicktimeyum install flash-plugin mplayerplug-in mplayer mplayer-gui gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly

Step 3: Install the w32Codecs. (Required for xvid and other proprietary formats.)

wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpmrpm -ivh mplayer-codecs-20061022-1.i386.rpmwget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpmrpm -ivh mplayer-codecs-extra-20061022-1.i386.rpmYou should now have full multimedia and video support for most popular formats.

How to setup multimedia on CentOS-5(or 6),布布扣,bubuko.com

How to setup multimedia on CentOS-5(or 6)

标签:des   http   os   strong   io   art   

原文地址:http://www.cnblogs.com/wangminlomt5/p/3859602.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!