Adding Multimedia support on CentOS 5.5
Recently I have been building a new Home server as a Home Digital Server. In the process of using CentOS 5.5 as the Linux distro I ran into the need to Multimedia support. Here is how I accomplished the task.
Add the rpmforge repos if not already installed.
Type the following commands in the console/terminal
For 32-bit installations (i.e. CentOS 5.x 32-bit installed), enter the following into your console/terminal:
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
# su -c 'rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.i386.rpm'
Enter your root password to complete the installation.
For 64-bit installations (i.e. CentOS 5.x 64-bit installed), enter the following into your console/terminal::
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
# su -c 'rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm'
Enter your root password to complete the installation when prompted.
Install Adobe Reader
Type the following commands in the console/terminal:
#su -c 'rpm -Uhv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm'
Enter your root password to complete the installation when prompted.
Additional Multimedia Programs
The next thing we need to do is install all the multimedia applications that we want to use. This includes all the needed DVD, Gstreamer plugins and Flash. When the dependencies are picked up you will get MP3, MP4 and many other needed codecs and programs. Type the following commands in the console/terminal:
# su -c 'yum -y install libdvdcss libdvdread libdvdplay libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly'
Enter your root password to complete the installation when prompted.
Additional Codecs
Now we need to install all the codecs we want to use, luckily this step provides all the codecs we will ever need, most are for use with Mplayer. Type the following commands in the console/terminal:
# wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rp
m
# su -c 'rpm -ivh mplayer-codecs-20061022-1.i386.rpm'
# wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm