How to setup Multimedia on Centos 5 Enterprise.

The following procedures will help you 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.

http://wiki.centos.org/PackageManagement/Yum/Priorities

Step 1: Add the Rpmforge Repo (needed for majority of multimedia files)

rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

<!> If you are running CentOS 4, you should use the el4 package. See CentOS Repositories

Step 2: Add the Macromedia Repo (needed for flash)

rpm -Uhv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

Step 3: Install Multimedia Applications (command line to install required packages)

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

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

Step 4: Installing w32Codecs (required for xvid and other proprietary formats)

wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpm ; rpm -ivh mplayer-codecs-20061022-1.i386.rpm
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm; rpm -ivh mplayer-codecs-extra-20061022-1.i386.rpm

You should now have full multimedia and video support for most popular formats.

TipsAndTricks/MultimediaOnCentOS (last edited 2008-04-17 22:04:06 by TimVerhoeven)