How to Install Proprietary Multimedia Codecs in Ubuntu 11.10 Oneiric Ocelot

Ubuntu 11.10, code named “Oneiric Ocelot” is going to be released two days from now (by the time that you read this it could already be released, I tested these settings under the Beta 2 which worked flawlessly and should work under the “official” release too). The 11.10 version does bring some few major changes such as the removal of Synaptic package manager, new and improved Software Center and a lot of other improvements to the Unity desktop, etc.

But apart from all these there are few things, that perhaps would never change. One of the things is the ongoing battle between the proprietary codes and the GNU license. And because of that if you want to play the usual multimedia files such as (container formats actually): .avi, mpg, mp3, .aac, .wmv, etc then you’ll have to either install a separate player OR since Ubuntu uses a multimedia framework called Gstreamer (which is the “engine” that the Totem and Banshee uses for playback), you can just install the appropriate codec pack which should easily solve all of your problems.

Now, let's play some music, shall we!

So as usual, open your terminal window and enter the below commands to install the proprietary codes in Ubuntu 11.10 Oneiric Ocelot.

sudo apt-get install ubuntu-restricted-extras

This will also install the proprietary Macromedia Flash as well. But here’s the thing. This will enable the playback of almost all the popular multimedia codes under Ubuntu but things like the encrypted DVD support is not added by this installation.

But luckily you by following few simple commands, you can easily enable the playback of encrypted DVDs nonetheless. To do that first we have to enable the “Medibuntu” repository that holds all the non-free, patent codes for Ubuntu.

To do that just use the below commands (note: if you get confused by my ramblings below, then just put all these commands one after another and you should be good to go).

sudo wget http://www.medibuntu.org/sources.list.d/natty.list –output-document=/etc/apt/sources.list.d/medibuntu.list

sudo apt-get update

 

Now get the “Keyring” (sort of like a security authorization, cool ha! :D) from the repository using the below command.

sudo apt-get install medibuntu-keyring

sudo apt-get update

 

Now we gotta get the decryption library that enables the playback. To do that, enter the below commands.

sudo apt-get install libdvdcss2

cd /usr/share/doc/libdvdread4/

sudo ./install-css.sh

 

Okay… that’s about it. And also remember, unless the Ubuntu team does something weird, these commands should work in the upcoming Ubuntu releases (they’re sort of a standard procedure) as well. Enjoy!.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>