Saturday, 16 June 2007

PLAYING DVD`S AND OTHER MEDIA ON UBUNTU 7.04

Below are the instructions to add the Medibuntu repository to your system's list of APT repositories.
First, add Medibuntu's gpg key to your system's list of trusted APT keys:

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

Next, add Medibuntu's external sources.list. Make sure to use the correct sources.list that corresponds to your current distribution.

Ubuntu 7.04 "Feisty Fawn":

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

To exclude getting packages from the non-free component of the Medibuntu repository type the following command:
sudo sed -e 's/ non-free//' -i /etc/apt/sources.list.d/medibuntu.list


Finally, update APT's package information to acquire information about packages in the Medibuntu repository:
sudo apt-get update

Playing Encrypted DVDs

To play encrypted DVDs, the libdvdcss package is essential. libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.

i386:
wget -c \
http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.9-2medibuntu2+build1_i386.deb
sudo dpkg -i libdvdcss2_1.2.9-2medibuntu2+build1_i386.deb

If you have added the entire Medibuntu repository, install the package using APT:
sudo apt-get install libdvdcss2

Playing Non-Native Media Formats
There are a few formats such as certain Windows formats, Real, and Apple Quicktime which do not have native codecs under Linux. To work around this issue, external binary codecs are used instead to play these formats

Below are the instructions for installing the packages using the command line.
For i386, the package is called w32codecs:
wget -c \
http://packages.medibuntu.org/pool/non-free/w/w32codecs/w32codecs_20061022-0medibuntu1+build1_i386.deb
sudo dpkg -i w32codecs_20061022-0medibuntu1+build1_i386.deb

If you have added the entire Medibuntu repository, install the package using APT.
For i386 w32codecs:
sudo apt-get install w32codecs

No comments: