Saturday, October 20, 2007

Playing Encrypted DVD's in Ubuntu 7.10

If you would like to play encrypted DVD's in Ubuntu 7.10 (Gutsy Gibbon) you will need to install a couple of extras, to get everything working properly.

**Edit: 22/10/07
Playing DVD's using Totem
Totem is the default movie player for Ubuntu 7.10 therefore I'll show you how to play DVD's using totem first. If you would like to use another movie player please see below.
**End edit

*Please note: We have to make a bit of a compromise running the movie player: totem, because we're installing totem-xine. This means that the totem-gstreamer plugin will be unavailable to stream media in firefox.
However there are other firefox plugins, which can do the same task.


To enable DVD playback first enable the extra repositories, especially universe and mulitverse. (If your not sure how to do this please see: Repositories/Ubuntu).
Now we can install the following plugins and applications:
# sudo apt-get install libdvdread3 totem-xine libxine1-ffmpeg
# sudo /usr/share/doc/libdvdread3/install-css.sh

Once you have restarted your system you should be able to play DVD's using totem without a hitch.

*Edit: 22/10/07
Using Other Media Players
I just wanted to add a quick note about using other media players. There are a few other really good players that you can install in Ubuntu 7.10 (a.k.a. Gutsy Gibbon) and they aren't difficult to run once you have the right plugins. If you decided to use one of these instead of totem, you won't have to worry about losing the totem-gstreamer plugin for Firefox.

To play DVD's using VLC
Enable the extra repositories, especially universe and mulitverse. (If your not sure how to do this please see: Repositories/Ubuntu).
Now install the following plugins and applications:
# sudo apt-get install libdvdread3 libxine1-ffmpeg vlc
# sudo /usr/share/doc/libdvdread3/install-css.sh

Once you have restarted your system you should be able to play DVD's using vlc.

To play DVD's using MPlayer
Enable the extra repositories, especially universe and mulitverse. (If your not sure how to do this please see: Repositories/Ubuntu).
Now install the following plugins and applications:
# sudo apt-get install libdvdread3 libxine1-ffmpeg mplayer
# sudo /usr/share/doc/libdvdread3/install-css.sh

Once you have restarted your system you should be able to play DVD's using MPlayer.

To play DVD's using xine-ui
Enable the extra repositories, especially universe and mulitverse. (If your not sure how to do this please see: Repositories/Ubuntu).
Now install the following plugins and applications:
# sudo apt-get install libdvdread3 libxine1-ffmpeg xine-ui
# sudo /usr/share/doc/libdvdread3/install-css.sh

Once you have restarted your system you should be able to play DVD's using xine-ui.
*End edit

If you need more assistance please feel free to contact me, and I'll see what I can come up with.

Disclaimer: Please check the applicable copyright laws in your country before undertaking this modification to your system, as in some countries this may be illegal.

12 comments:

Anonymous said...

Worked for me. Apppreciate your help - thanks!

Kris said...

No Worries :-)

Anonymous said...

Hi there for some reason, when using totem video player and xine backend i experience
error audio device is busy. Is another application using it esp when playing encrypted DVD's. Any ideas on how to iron this out.

Jazzyphonic

Anonymous said...

Worked a treat!

Thankyou :)

Anonymous said...

I'm very new to linux, and this was exactly what I needed. Thanks so much!

Kris said...

I'm really glad that this tip is working for people. :-)

I've had a good look around Jazzyphonic, and there are a few people with your problem, yet I can't seem to find an answer.

I do have a couple of questions for you:
Have you played with the settings in Totem at all?
Do you have another music/media application running at the same time?

If there is any other details you could give me I'll see what I can find out. ;-)

Anonymous said...

Kris...Thanks for your help, works great!

Kris said...

No worries, I'm glad it helped you out.

Randy Noseworthy said...

Hey Thanks, It helped me dial it in right. I kept the standard Ubuntu settings and just added xine.

Kris said...

Awesome Randy, I'm so glad that this help you out.
Have fun in Ubuntu mate,
Cheers Kris

Piotr Majzner said...

I don't understand why you tell to restart computer. It's enough to restart your media program.

Anonymous said...

This doesn't work for me:(