Home > Ubuntu > How to enable DVD playback : Ubuntu (5.10 / 6.06.1 / 6.10)

How to enable DVD playback : Ubuntu (5.10 / 6.06.1 / 6.10)

DVD playback is not a feature that is installed by default due to license restrictions. In my opinion the restriction is stupid, very restrictive and violates my rights (of course I am not a lawyer so don’t listen to my rants.) This tutorial will show you how to install DVD playback capability on your Ubuntu linux machine.

note: in some areas this is not legal. If that is the case for you you can 1) continue to let some corporation demand payment to be able to playback the DVDs you already paid for, 2) stop watching DVDs altogether or 3) tell them to take a hike and install playback anyway. Viva la revolucion!

Installing DVD playback is pretty simple. You’ll need to install the Seveas Repository before you’ll have access to it and then simply run:

sudo aptitude install libdvdcss2

or, if you prefer not to install Seveas repository you can run the following command to automagically download and install the appropriate files:

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

We desperately need a change to our countries laws in this regard, at least in the US. Until then we simply do what has to be done.

update: if you find that, for whatever reason, you don’t have the above file to run and install you can try to take a look at this comment for an additional method. install libdvdread3

technorati tags:, , , , , , ,

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

Categories: Ubuntu Tags: ,

Related Posts

  1. December 15th, 2006 at 09:23 | #1

    I choose option #4. Use a legal player, granted it is not open source but I can at least say I obey the laws of the land. I agree it is stupid that we have to use such a restrictive license but it is their IP they get to decide. You could always buy a VHS copy.

  2. Lake
    December 15th, 2006 at 15:23 | #2

    There is no option #4, and VHS is certainly no option!

  3. damaged justice
    December 15th, 2006 at 15:58 | #3

    “I can at least say I obey the laws of the land.”

    Bully for you. When those laws violate my rights, I view them with the contempt they deserve. Such “laws” hold no authority, only the threat of a man with a gun.

    “I agree it is stupid that we have to use such a restrictive license but it is their IP they get to decide.”

    A) By “IP” I assume you mean “intellectual property”, but that term is legally meaningless. Precisely what legal protection is being claimed? Copyright? Trademark? Patent? Something else?

    B) I don’t know about you, but I never agreed to any license. I bought a DVD, I own it, I can play it any way I like. My inalienable rights trump someone else’s privileges, particularly the privileges of a cartel or guild which is trying to elevate itself to the status of government and claim the authority to punish those who disobey.

  4. infinity
    December 15th, 2006 at 16:07 | #4

    this is bs! you buy a copy of a dvd and you still cant do what you want with it. wtf is wrong with our laws.

  5. Matt
    December 15th, 2006 at 16:09 | #5

    Sure they own the IP, but I *buy* a DVD and then I have to *buy* a standalone DVD player because the DVD drive that I *bought* isn’t allowed to be used to play DVDs?

  6. December 15th, 2006 at 16:13 | #6

    Nice story good find I’m upgrading my Linux video player this weekend so this comes just in time.
    I always use option 3. I really don’t have the time to try and start a political movement around siting around trying to watch a movie. If they wont bend then you walk around them.

  7. Daniel
    December 15th, 2006 at 17:35 | #7

    You are *buying* a LICENSE to the copyrighted and encrypted content on those DVDs; you do NOT own the content.

    The encrypted content is protected by the DMCA and the MPEG2 standard in which it is encoded is patent encumbered (in the USA at least). Ubuntu cannot legally have DMCA-circumvention and patent-encumbered codecs installed by default or they would be sued (in the USA at least). It is also difficult to get a license because you pay per unit that uses the intellectual property, and with free software there is no real way to get a count of how many people are using something (you can modify the code to not count yourself after all, and that would be cheating the IP owners).

    The problem is that there isn’t all that much we can do about it, especially with abominations like HDMI and other more draconian DRM coming our way soon. Remember that HD DVDs use VC-1 and/or H.264, both of which are also patent encumbered in the USA. Don’t forget the new “features” coming in Windows Vista. Most people have no idea what is coming.

    The FSF, EFF, and others are fighting this war on our behalf, but they need help. Donate, spread the word and educate people, support free formats like FLAC, Vorbis, Theora, Dirac, do whatever you can, but do NOT just sit back and pretend that it doesn’t affect you. Eventually it will.

    Also, that last command doesn’t need the period in it, as using absolute paths will always allow you to execute, i.e. “sudo /usr/share/doc/libdvdread3/install-css.sh”.

  8. December 15th, 2006 at 19:24 | #8

    good find, thanks!

  9. December 16th, 2006 at 09:33 | #9

    Thats why i have start to love linux, you can go down to the code and make it work the way you like it to work 4 u.

    BE OPEN AND EVERYTHING WILL BE OPEN TO YOU

  10. damaged justice
    December 16th, 2006 at 10:00 | #10

    “The problem is that there isnt all that much we can do about it”

    A) What you mean “we”, paleface?

    B) I didn’t agree to any license, I own the DVD, it is my property, I can do whatever I want with it as long as I don’t violate anyone else’s rights. (RIGHTS — not privileges.) And what can the movie industry executives do about it? Nothing — unless they enlist the government to use its guns on their behalf.

    The flowchart for EVERY LAW always has, as its final step, “And then you go to jail.” Without the gun of the law, the industry ceases to be a problem.

  11. December 16th, 2006 at 13:13 | #11

    Option #3, man, all the way.

  12. remus
    December 16th, 2006 at 16:05 | #12

    great, many thx

  13. russ
    December 18th, 2006 at 11:09 | #13

    it didn’t work for me. i copy pasted the sudo /usr….. one and terminal spit out:

    sudo: /usr/share/doc/libdvdread3/./install-css.sh: command not found

  14. December 18th, 2006 at 12:53 | #14

    russ – does the directory exist on your machine? can you “cd /usr/share/doc/libdvdread3″ and find the install-css.sh file?

  15. moon
    December 18th, 2006 at 18:45 | #15

    didn’t work for me either.
    I got
    sudo: /usr/share/doc/libdvdread3/./install-css.sh: command not found

    and I didn’t find the install-css.sh file in /usr/share/doc/libdvdread3

  16. December 20th, 2006 at 09:04 | #16

    moon / russ – What version / type are you running? Ubuntu? Kubuntu? I find it odd that you don’t have those files. Let me know and we’ll see if we can track it down.

  17. December 23rd, 2006 at 13:55 | #17

    I’m running Ubuntu 6.06.1 and this worked for me:
    # apt-get install libdvdread3
    # /usr/share/doc/libdvdread3/examples/install-css.sh

    (notice examples/ in the path)
    I found it by reading:
    /usr/share/doc/libdvdread3/README.Debian

  18. bro
    December 26th, 2006 at 05:08 | #18

    Nice, but what is wrong with automatix? I’m happily living in the Netherlands (without software patents). We’ve got stupid stuff too though.. don’t worry.

  19. Einar Jørgensen
    January 6th, 2007 at 15:41 | #19

    automatix installs 1.2.9.0, whereas libdvdread3/install-css.sh installs 1.2.5-1 of libdvdcss. The former doesn’t work at all. I get sound with 1.2.5 and that’s nice, but not what I’m after. Any idea what’s wrong?

  20. trogdor
    March 19th, 2007 at 19:14 | #20

    Thanks a lot. I wish they actually said “dvd playback unsupported” or whatever, instead of some generic read error. I was starting to think my dvd drive was defective.

  21. Kyreas
    April 30th, 2007 at 12:22 | #21

    Oh, damn useful! I’ve been working on this for days! Huzzah!

    Oh and Daniel:

    I buy my DVD’s. The DVD’s have content on. There may well be something stating that I am only purchasing a license to use the content but 1) It’s not on my DVD case. Or on the DVD. It says no copying sure, but no use? Which brings me to 2) Even if I have only purchased a license to run the content, why should I not do it?

  22. Jenease
    June 2nd, 2007 at 15:47 | #22

    I have ran the tutorial on Ubuntu 6.10 but still cannot swhatch the dvd. Help Please. I used both ways and the packages are installed. But as soon as I pop the dvd and gxine opens the computer freezes.
    Thanks in advance for your prompt response to this matter!

    Jenease P Grieco

  23. techforumz
    July 15th, 2007 at 22:30 | #23

    I agree it’s stupid but honestly, have all these stupid laws ever kept anyone from doing anything? Nope, they just provoke more of it because people never thought to do that before.

  24. eagle
    August 2nd, 2007 at 16:31 | #24

    Please note, you are incorrect that DVD playback is not enabled by default because of copyright restrictions. It is instead the case that gstreamer does not support DVD playback, even for unencrypted DVDs. If all you want to do is play unencrypted DVDs, then you do not have to start downloading from unsupported and potentially illegal repositories! Use these three Ubuntu-supported packages and you can use “gxine” for DVD playback.

    1) gxine
    2) libxine1
    3) libxine1-ffmpeg

  25. techforumz
    November 4th, 2007 at 19:43 | #25

    Option #3 all the way. BTW: M$ windows violates those same laws, when they sell their dvd decryptor, which should come with the system anyway. Except they have better lawyers than do the government (so screwed up)

  26. November 29th, 2007 at 17:15 | #26

    Hi there,

    I came across your article on DVD/CDROM on Ubuntu 6.06.

    I cant access the DVD/CDROM with the error :-
    Unable to mount the selected volume. The volume is probably in a format that cannot be mounted.

    mount: block device /dev/scd0 is write-protected, mounting read-only

    mount: wrong fs type, bad option, bad superblock on /dev/scd0,

    missing codepage or other error

    in some cases useful info is found in syslog – try

    dmesg | tail or so

    I tried to do dmesg| tail and get below response:-
    Unable to identify CD-ROM format.

    I have followed the above isntruction to enable the dvd read :-

    # apt-get install libdvdread3
    #/usr/share/doc/libdvdread3/examples/install-css.sh

    The installation went smooth. But was wondering what went wrong with my CDROM-DVDROM. I can open cd and dvd in my Windows platform.

    Anyone can help?

    Thanks.

    Rgrds,
    Jason

  27. Jason Woofenden
    July 16th, 2008 at 14:59 | #27

    The first sentence of this article is very misleading:

    “DVD playback is not a feature that is installed by default due to license restrictions.”

    The issue isn’t license restrictions on your DVD. The problem is recent changes in law (DMCA and software patents) make it illegal to distribute the software that can decode your DVD.

    Even if you’ve never owned a DVD in your life, it’s still illegal for anybody in the USA to give you a copy of such software.

  28. July 25th, 2008 at 20:25 | #28

    Enable DVD playback with one command: 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

  29. February 16th, 2009 at 07:34 | #29

    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

  1. December 31st, 2006 at 11:43 | #1
  2. February 23rd, 2007 at 09:17 | #2
  3. February 23rd, 2007 at 22:26 | #3
  4. October 28th, 2007 at 13:20 | #4