Home > Ubuntu > Enable Commercial DVD Playback on Ubuntu 8.04

Enable Commercial DVD Playback on Ubuntu 8.04

I realize it has been ages since I first wrote on this topic so I figured I’d revisit it again.  If you’ve ever found yourself unable to playback a DVD on your Ubuntu system, this post will outline the reason and the fix.

The Reason

At first you might wonder why this bug hasn’t been fixed.  If, as I say, I wrote about this long ago why hasn’t it been fixed?  The problem is not in the code, but in the software patents involved.  For the same reason mp3 support is not enabled out-of-the-box, neither is DVD playback.

I should give the obligatory disclaimer about checking your local law and all that jazz.. but I wont.  Just know that you can blame the DCMA and ridiculous US patent law for this restriction.  If you are outside the US you are likely fine.. lucky bastards.

The Fix

As I mentioned above, Ubuntu can’t include the code for DVD playback by default, but it is very simple to add after-the-fact.  It takes all of one command to get it working (and will generally require a reboot), but afterwards you’re set.  I’ll outline two methods you can use to enable DVD playback on your Ubuntu system.

Method #1:

The first method toward enabling DVD playback on Ubuntu 8.04 is to simply run an included script that will automagically fetch, configure and install the appropriate code for you.  This can be done by issuing the command below:

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

Method #2:

The second method (both are not required) toward enabling DVD playback on Ubuntu 8.04 is to install it in its packaged form, which is available from Medibuntu.  The following three commands will add the Medibuntu repository, install the security key and then add DVD playback support.

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

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

sudo apt-get install libdvdcss2

Either of these methods will likely require a reboot.  From here on out DVD playback should work just fine on your machine.

You may be interested in the No Software Patents website, which is an advocacy group with the goal of removing or at least improving the ridiculous, out of control software patent system.  Remember, this doesn’t only affect the US.  It could happen in your country too!

If this article has been helpful, please consider linking to it.

Related Posts

  1. Olaf
    July 1st, 2008 at 10:39 | #1

    Hi!

    Why the reboot? Simply closing the DVD playing application and starting it again should be sufficient.

  2. July 1st, 2008 at 10:40 | #2

    @Olaf – it should be sufficient, but if not a reboot will surely make things available.

  3. July 1st, 2008 at 10:50 | #3

    Although it isn’t legal in the United States, it is still very easy to enable DVD playback and non-free codecs (mp3 support). I’ve heard that Dell’s Ubuntu laptops come with DVD and mp3 support enabled, because they pay the small royalty to Hollywood or whoever to license the technology.

    Is there any way to purchase an “individual license” for DVD/mp3 playback, so it can be enabled legally?

  4. July 1st, 2008 at 10:51 | #4

    I think there is an error in the 2nd method. You provide a link to the gutsy Medibuntu repositories.

  5. July 1st, 2008 at 10:58 | #5

    @jsomers – good catch. I’ve updated the post.

  6. July 1st, 2008 at 11:12 | #6

    For the past two years I’ve followed all of the steps suggested for getting DVD playback going. Including these this time around and nothing has worked. Ive tried with mplayer, vlc and totem.

    Finally on chance I saw Ogle when I did a search for DVD in synamptic. I installed and was able FINALLY to view dvds in Ubuntu. But the videos were tiny.

    So I went to Applications -> Add Remove. Then chose SHOW -> All Available Applications. Finally in SEARCH I entered DVD. Then I installed most of the applications that were listed as being DVD players.

    Any that were simply front ends for mplayer didn’t work at all. But Dragon Player worked GREAT. I can get full screen with it even.

    So if there are folks out there following your suggestions and still can’t get playback, then dragon player or ogle might be worth a try.

    Hope this helps.

  7. Aran
    July 1st, 2008 at 14:06 | #7

    @Joseph James Frantz – unfortunately, ogle is very outdated software. I don’t think it has changed much (if at all) in the last 4 or 5 years. VLC is very good with DVD’s, I think…you should give that a try.

  8. steve
    July 1st, 2008 at 19:49 | #8

    what’s the difference between the 2 versions. are they installing the same thing?

    if they’re different, you should recommend which one you would use.

  9. Logan
    July 1st, 2008 at 21:43 | #9

    You can also just use VLC player, since it’s got all it’s own codecs.

    That’s all I’ve ever done. Why bother installing codecs?

  10. July 1st, 2008 at 22:15 | #10

    @Aran and @Logan,

    I’ve tried VLC (original post mentioned that) and had not been able to get DVDs going at all even with VLC.

    Ogle may be old and might not be supported but it did work. Dragon Player on the other hand worked just fine. So I don’t mind using something outdated as long as I can at least view the DVD.

    Kind Regards,
    Joseph James Frantz

  11. Bob
    July 1st, 2008 at 23:53 | #11

    Last night I screwed with 4 or 5 different howtos, then I found one:

    http://help.ubuntu.com/community/RestrictedFormats

    Search synaptic for “extras” reinstalled it. Encrypted movies pay fine. I rent DVD’s and they all started breaking a few weeks ago, encryption would error out of all players.

  12. Andrew
    July 12th, 2008 at 19:07 | #12

    Thanks. Command 1 worked for me. But you should really reword the reboot part. I said “bullcrap” as soon as I saw that and just restarted my media player (Totem) and of course it worked.

  13. July 21st, 2008 at 09:55 | #13

    Here is a single script that works for all recent versions of Ubuntu–hardy, gutsy, and edgy.

    http://www.hildoersystems.com/index.php/home/62

  14. Bob Stine
    December 7th, 2008 at 05:56 | #14

    The one-line sudo script worked like a charm, so now I don’t have to boot Vista to watch a DVD. Thanks!

  15. MangelRuiz
    January 1st, 2009 at 00:11 | #15

    I followed Joseph’s advice and I installed Dragon Player. I have to say that it works perfect for me. I didn’t have to install any additional codec.

  16. February 16th, 2009 at 07:36 | #16

    Just use this, it works every time for all versions of Ubuntu:

    Enabled DVD Playback in Ubuntu in ONE Command
    http://www.hildoersystems.com/index.php?option=com_content&view=article&id=62:enable-dvd-playback-in-ubuntu-in-one-command&catid=39:multimedia&Itemid=59

  17. February 17th, 2009 at 04:48 | #17

    doies this work with the 8.10 version also