Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My machine can't play encrypted DVDs on a fresh install. How do I add this capability? Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so. See the similar question here. Will I be able to play DVD movies from any region?

share|improve this question
And how exactly can we give legal advice for you, when you do not let us know in which country you live? As far a I know germany made a strong case against CSS, labeling it technically trivial and we do not recognise so called software patents (for now). So it can be easy as that, or even easier. – LiveWireBT Sep 26 '12 at 23:44

9 Answers

up vote 51 down vote accepted

To Enable Playback:

  1. Install libdvdread4:

    sudo apt-get install libdvdread4
    
  2. Then install libdvdcss:

    sudo /usr/share/doc/libdvdread4/install-css.sh
    

Best Players:

According to the Ubuntu Wiki, Kaffeine, MPlayer, xine, Totem-xine, VLC, and Ogle will play DVDs with libdvdread and libdvdcss installed.

I use both Totem and VLC to play DVDs. It's useful to have both installed, because sometimes one will have a playback quirk that the other will not.

Regions:

I believe playback will work in any region.

share|improve this answer
4  
Not all players support DVD Menus yet. One player that does support this is Totem, and I believe VLC can also handle the DVD menus. MPlayer for one does not support menus (yet). – Serrano Pereira Aug 3 '10 at 0:11
Thanks for pointing that out. I made a mistake saying I used MPlayer; I actually use Totem. Don't know how I got them mixed up. I corrected that in my answer. – mac9416 Aug 3 '10 at 0:41
I tried the commands in this answer but could only get some DVDs to play. City of God doesn't play in VLC on Ubuntu but does on same machine booted into Windows, with VLC. superuser.com/questions/199963/… – therobyouknow Jan 7 '11 at 13:33

I think the most effective way of removing region/encrypted/format limitations is using a dvd ripper, which can convert encrypted video to other formats which goes well with your devices. Leawo dvd ripper would be a nice choice after I've checked out some many similar software. maybe you should have a try!

share|improve this answer
This doesn't answer the question. – Flimm Nov 22 '12 at 15:22

Commercial DVDs are copy protected to ensure that you aren't able to backup your legally acquired movies, but instead have to buy new ones if they break. You also aren't allowed to enjoy them in just any manner you please; you may only watch them on certain devices with pre-installed decryption keys. Unless those devices are too old, of course; Then you have to buy new ones.

To get around this, install libdvdcss.

From help.ubuntu.com:

Installing libdvdcss


Legal Warning: Check with your local laws to make sure usage of libdvdcss2 would be legal in your area. *[Unless you live in Somalia or some other place with no rule of law, it's not legal]

Ubuntu 10.04 (i386, amd64), 10.10 and 11.04 (i386, amd64)

[edit: This method has been used successfully in 11.10 and 12.04 as well]

Works for old releases that are no longer supported if you have repositories on Cd/Dvd or somewhere. So, anything from 9.04 onwards. The latest LTS, 10.04, and the radically different 11.04 also work this way.

Install the libdvdread4 package (no need to add third party repositories) via Synaptic or command line:

sudo apt-get install libdvdread4

Then open a terminal window and execute:

sudo /usr/share/doc/libdvdread4/install-css.sh

Rebooting may be necessary.

After this, VLC will automatically use it. Some programs may need recompilation.

If after doing all this, you still get messages about not being able to play DVDs, check that the DVD drive has a region set (see below).

share|improve this answer
I'm not talking about backups of DVDs. I'm talking about when I insert the disk its self! Is there a legal way to do this? – rocket101 Mar 1 '12 at 14:25
@rocket101 Nope. – bessman Mar 1 '12 at 14:28
Mac and windows can play it just fine. Are they using illegal code? – rocket101 Mar 1 '12 at 21:06
@Rocket101 On Windows, yes, unless you are using commercial software like PowerDVD or TMT. On Mac I'm not sure. – bessman Mar 1 '12 at 22:13
+1 love this answer. Pretty sure this is also legal in North Korea, too. Also not yet illegal to do aboard the Int'l Space Station. No lawyers there yet. – Tom Brossman Mar 2 '12 at 17:09
show 1 more comment

I used AcidRip DVD Ripper and all my problems with playing DVD are gone.

share|improve this answer

Fluendo produces a binary-only DVD player for purchase that (supposedly) works in Ubuntu quite well. You can get it from their webshop.

Please note that in some jurisdictions (Finland at least) even engaging in discussion about circumvention of copy protections is illegal.

share|improve this answer

If you want to avoid legal issues with libdvdcss, you'll need to install Fluendo DVD Player ($24.95) from Ubuntu Software Center.

share|improve this answer
Could you provide more details what is the problem using libdvdcss instead of Fluendo? – desgua Sep 13 '11 at 23:25
Sorry for the delay but I had major issues with internet. The Ubuntu Community Documentation [1] states: "Legal Warning: Check with your local laws to make sure usage of libdvdcss2 would be legal in your area." For example, VLC's website [2] says that using libcss is legal in France but "In the USA, you should check out the US Copyright Office decision [3] that allows circumvention in some cases." [1]: help.ubuntu.com/community/RestrictedFormats/PlayingDVDs [2]: videolan.org/legal.html [3]: copyright.gov/1201 – papukaija Oct 29 '11 at 20:12
Thank you for clarifying it ;-) – desgua Oct 30 '11 at 13:57

This is explained in the official Ubuntu documentation under, well "Playing DVDs" ;) https://help.ubuntu.com/10.04/musicvideophotos/C/video-dvd.html

Install the libdvdnav4, libdvdread4, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly packages and run the following in a terminal (Applications → Accessories → Terminal ):

sudo /usr/share/doc/libdvdread4/install-css.sh
share|improve this answer
1  
What do these do? gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly - do they make more DVDs playable in Ubuntu? – therobyouknow Jan 7 '11 at 13:31
@Rob: The gstreamer plugins are necessary to enable DVD support including menus etc. for all applications using gstreamer (e.g. Totem). The libdvdread4 library is only necessary for encrypted DVDs (like most DVDs you can buy). – Marcel Stimberg Jan 7 '11 at 17:10

You can add the medibuntu repository. It will add some other niceties like the ability to play some windows-only codecs.

You can find a how-to here : https://help.ubuntu.com/community/Medibuntu

Please note that installing this packages can be illegal in some jurisdictions. You can always buy Power DVD from canonical web store, if your concerned about it.

share|improve this answer

I realize while this does answer the question it is also a bit off topic, but there are several things that a fresh install (of 10.04 though I'm sure they will keep it updated) won't do that almost everyone wants. There is a fantastic script at WebUpd8 that does almost all of them from one easy to run, highly configurable, gui based script. It is always the first thing I run. It can be found at http://www.webupd8.org/2010/04/what-to-do-after-fresh-ubuntu-install.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.