Monday, May 25, 2009

Jaunty - DVD Playback - Video Codecs - Players - Medibuntu Repository

Here is my shotgun approach for adding all codecs and enabling DVD playback with navigation. Please be sure to enable all your repositories before running this command.

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 && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2 totem-xine xine-ui libxine1 libxinerama1 libxine1-all-plugins libxine1 libxine1-ffmpeg libdvdnav4 libdmx1 libdvdread4 gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly vlc smplayer smplayer-themes smplayer-translations && sudo /usr/share/doc/libdvdread4/install-css.sh


Adding the Medibuntu Repository

Below are the instructions to add the Medibuntu repository to your system's list of APT repositories. These are commands that should be run in the Terminal (Applications -> Accessories -> Terminal).

If you are new to Ubuntu, please see https://help.ubuntu.com/community/Repositories/Ubuntu for an overview of repositories.

Add Medibuntu to your sources.list, as well as its GPG key to your keyring. Make sure to use the correct sources.list that corresponds to your current distribution.

  • Any Ubuntu Release and keyring:

    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


  • Ubuntu 9.04 "Jaunty Jackalope":

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


  • Ubuntu 8.10 "Intrepid Ibex":

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


  • Ubuntu 8.04 "Hardy Heron":

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


  • Ubuntu 7.10 "Gutsy Gibbon":

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


  • Ubuntu 6.06 "Dapper Drake":

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



Then, add the GPG Key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update



You may be asked to accept this package even though it cannot be authenticated. This is normal; typing "Yes" means you trust Medibuntu.

Install audio and video codecs in ubuntu

For Ubuntu 9.04 “Jaunty Jackalope”:

Open up a terminal (applications -> accessories -> terminal) and copy/paste this code:

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 && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2

(if you use 64bit, replace w32codecs with w64codecs)

For Ubuntu 8.04 “Hardy Heron”:

Open up a terminal (applications -> accessories -> terminal) and copy/paste this code:

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 && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2

(if you use 64bit, replace w32codecs with w64codecs)

For Ubuntu 8.10 “Intrepid Ibex”:

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 && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2

(if you use 64bit, replace w32codecs with w64codecs)

————–

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 type:

sudo apt-get install vlc

If you are looking for a better audio player, I suggest either exaile or bmpx.

You now have 99% of the codecs in the world installed on your system.

Looking for real player? click me.