Monday, August 17, 2009

Playing DVD on Ubuntu 9.04

By default, DVD can't be played on Ubuntu.
We have to add some libraries.

The installation details can be found here:
http://ubuntuforums.org/showthread.php?t=766683

These are the steps that I did based on information from that forum.
Run below command to add medibuntu to the repository.
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

Then run:
sudo apt-get install libdvdcss2 libdvdread4 libdvdnav4 vlc

Until this point, I still can't play DVD.
Well, it seems I have to run this command:
sudo apt-get remove gnash gnash-common libflashsupport mozilla-plugin-gnash swfdec-mozilla && sudo apt-get install alsa-oss faac faad flashplugin-nonfree gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-pitfdll libmp3lame0 non-free-codecs sun-java6-fonts sun-java6-jre sun-java6-plugin unrar

Perfect..I can play DVD now.

No comments: