Media (DVD, web content, video & audio) playback in CentOS5 and RHEL5


1. Download RPMFORGE repo configuration RPM.

32bit

http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

64bit

http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Go to the downloaded localtion, Install it.


32bit

# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

64bit

#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

2. DVD playback

#yum -y install libdvdcss libdvdread libdvdplay libdvdnav lsdvd libdvbpsi


3. Gstreamer and Gstreamer-plugins

#yum -y install gstreamer gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly


4. Mplayer and Mplayer-plugin (Best Player)

#yum -y install mplayer mplayerplug-in


5. XMMS with MP3 support and Other codecs

#yum -y install xmms xmms-crossfade xmms-mp3 xmms-musepack xmms-wma


6. W32codecs

Dwonload
http://rpm4fc-cn.googlecode.com/files/w32codecs-20071007-0.1.i386.rpm

Go to the downloaded location and install

#rpm -ivh w32codecs-20071007-0.1.i386.rpm

7. Adobe Flash Player


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

Go to the downloaded location and install

#rpm -ivh adobe-release-i386-1.0-1.noarch.rpm

Then install the flash player

#yum -y install flash-plugin

8. Sun Jre (Java Runtime Environment)


Install the dependencies

# yum -y install compat-libstdc++-33 compat-libstdc++-296

Go to www.java.com and go to download section download the Linux RPM (self-extracting file)
Go to the downloaded location
#chmod +x jre-6u12-linux-i586-rpm.bin
#./jre-6u12-linux-i586-rpm.bin

check
#java -version

if the result is some thing like this, every thing is ok.

java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
othewise the result is something like this, that means sun java is not yet default.
java version "1.4.2" gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To make sun java default
#alternatives --install /usr/bin/java java $(rpm -ql jre | grep bin/java$) 2 #alternatives --display java #alternatives --config java
type number 2

installing sun java plugin for firefox
first we have to disable selinux protection for the plugin
check the status of selinux
#getenforce

if the result is "disabled" no need to do the following command, othewise you do
#chcon -t textrel_shlib_t "$(rpm -ql jre | grep libdeploy\\.so$)"

now we can install the plugin
#cd /usr/lib/mozilla/plugins #ln -s /usr/java/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so

9. Moonlight(Moonlight is an open source implementation of Microsoft Silverlight for Unix systems)

go to http://www.go-mono.com/moonlight and follow the instuctions


Please Say THANKXzzzz.... (comment) For This Post
Posted by Rock Ant For You Labels:

0 comments:

Visit the Site
Suren Ant And Rock Ant : All Rights Reserved.
Distributed by Suren Ant Templates