Install Windows codecs and support for encrypted dvds in ubuntu

Install Mplayer in Ubuntu 11.04 (Natty)

You have to make sure you have enabled universe,multiverse repositories

Now you need to run the following command to update the source list

  sudo apt-get update

Install w32 video codecs and libdvdcss2 in Ubuntu 11.04 (Natty)

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.To play encrypted DVDs, the libdvdcss2 package is essential.

The following command adds Medibuntu’s repository to Ubuntu. It also adds Medibuntu’s GPG key to your keyring, which is needed to authenticate the Medibuntu packages.

  sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
  sudo apt-get -q update
  sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring
  sudo apt-get -q update

You may also wish to add the following packages. The first will cause many apps from the Medibuntu repository to appear in Ubuntu Software Center (Ubuntu 9.10+) or Add/Remove Applications (versions prior to 9.10). The second will allow users to generate crash reports against Medibuntu packages and submit them to the Medibuntu bugtracker.

  sudo apt-get --yes install app-install-data-medibuntu apport-hooks-medibuntu

Please note you may have to use –force-yes instead of –yes in order for this command to succeed. 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.

Ref: http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-on-ubuntu-11-04-natty.html#more-11763

~~LINKBACK~~

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.