This post is on installing SM Player and codecs on Centos 6/RHEL.
SMPlayer is perhaps the most versatile and reliable media player for Linux Desktop. It plays DVD, TV, Radio, AVI and a wide range of other formats without any fuss. Install it as below with the codecs for the majority of video files you will find on the internet.
I've included a link at the bottom for the Firefox flash browser plugin also.
RPMForge.
First you need the RPMForge repo
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
$ sudo vi /etc/yum.repos.d/rpmforge.repo
and disable it by default or try set priority = 10
SM Player and Codecs.
$ sudo yum -y --enablerepo=rpmforge install smplayer compat-libstdc++-33 libdvdcss libdvdread libdvdplay libdvdnav lsdvd libquicktime flash-plugin mplayer mplayer-gui gstreamer-ffmpeg gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly
W32codecs
32bit
$ sudo wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpm
$ sudo wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm
64bit
$ sudo wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm
$ sudo wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.x86_64.rpm
$ sudo rpm -Uvh *.rpm
FFmpeg and Mencoder
$ sudo yum -y --enablerepo=rpmforge install ffmpeg mencoder
See below for the Flash plugin.
Flash Browser Plugin 32/64bit(Mozilla)
You can also install Totem, another popular player with a simple
$ sudo yum -y install totem
if you have Epel repo installed/enabled.
More repos
Labels: Centos 6, Codecs, Flash Browser Plugin, RHEL, SMPlayer