Wednesday, November 19, 2008

Linux - Install Mplayer and Multimedia Codecs

Install libdvdcss2 and w32 video codecs in Ubuntu 8.04 (Hardy Heron)

Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.

For Ubuntu 8.04 (Hardy Heron) Users run the following command

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

Then, add the GPG Key using the following commands

sudo apt-get update

sudo apt-get install medibuntu-keyring

sudo apt-get update

For i386 Users install Codecs using the following command

sudo apt-get install w32codecs libdvdcss2

For amd64 Users install Codecs using the following command

sudo apt-get install w64codecs libdvdcss2

Using above download locations you can install most of the mutimedia codecs for ubuntu.

Mplayer Plugin for Firefox

If you want to install Mplayer with plug-in for Mozilla Firefox run the following command

sudo apt-get install mozilla-mplayer

Note: When I finished the installation above described, I must restart my computer in order to take the new packages. Then I could play videos with audio.


Install a different media player (optional)

The default media player (totem) is good, but I like vlc media player better, especially for watching a dvd.

In a terminal

sudo apt-get install vlc


References:

http://blog.csdn.net/emlinux/archive/2008/05/03/2370050.aspx

http://linuxowns.wordpress.com/2008/06/23/install-audio-and-video-codecs-in-ubuntu/

No comments: