KLoning Spoon

  • Archive
  • RSS
  • Ask me anything

Install MPlayer on CentOS 5

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

The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.   

You can find a complete listing of the RPMforge package packages at http://packages.sw.be/   

Download the rpmforge-release package. Choose one of the two links below, selecting to match your host’s architecture. If you are unsure of which one to use you can check your architecture with the command uname -i

  • i386 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

  • x86_64 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

The preferred rpmforge-release package to retrieve and to install in order to enable that repository is one of the two listed above.

Install DAG’s GPG key

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Verify the package you have downloaded

rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm

<!>Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the md5sum of the key injection package, and trust Dag, et al., then it should be as safe as your trust of them extends.

Install the package

rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm

This will add a yum repository config file and import the appropriate GPG keys.

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 libquicktime
yum 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.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.

If you happen to have problems with playing video’s (eg. the player crashes or you have no image), try to disable System > Preferences > Desktop Effects (Compiz) and see if that fixes your problems.

    • #install
    • #multimedia
    • #mplayer
    • #linux
    • #centos
    • #rpmforge
    • #repository
  • 1 year ago
  • 15
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

15 Notes/ Hide

  1. lesleeok09 likes this
  2. tropicalsanta likes this
  3. kloningspoon posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

Avatar Darto KLoning - We Share Because We Care

Pages

  • About Me
  • Contact Me

Me, Elsewhere

  • @dartokloning on Twitter
  • dartokloning on Youtube
  • kloningspoon on Flickr
  • dartokloning on Delicious
  • dartokloning on Foursquare
  • Google
  • My Skype Info
  • Linkedin Profile

Twitter

Instagram

loading tweets…

loading photos…

I Dig These Posts

See more →
  • Photo via joshlafayette

    IS IT TIME FOR SLEEP?

    Redo of an oldie.

    Prints and more in my Society6 shop!

    Photo via joshlafayette
  • Photoset via fer1972

    Carved Tires by Wim Delvoye

    Photoset via fer1972
  • Photoset via cjwho

    P.S. Restaurant by Golucci International Design

    Photoset via cjwho
  • Photo via llbwwb

    For the horse lovers:) by Justin Lo.

    Photo via llbwwb
  • Photo via llbwwb

    For the tiger lovers:) I just wanna be alone by ~TlCphotography730 ..

    Photo via llbwwb
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union