Whilst Ubuntu comes with some basic multimedia support out of the box, there are a few simple steps that must be carried out in order for you to get the most out of your MP3, DVD and video collection.
First we need to add the Medibuntu repository for your version of Ubuntu:
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
Next we add the Medibuntu keyring and refresh apt:
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Next we need to install some multimedia packages and codecs:
sudo apt-get install non-free-codecs libdvdcss4 w32codecs vlc mplayer
Finally, run this script to enable encrypted DVD playback:
sudo /usr/share/doc/libdvdread4/install-css.sh
There we go, now sit back and relax!