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 site has been useful, please consider participating in the Fundraiser.

Other Points of Interest

  • No Related Post

Comments

32 Responses to “How to enable DVD playback : Ubuntu (5.10 / 6.06.1 / 6.10)”

  1. Archeious on December 15th, 2006 9:23 am

    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 on December 15th, 2006 3:23 pm

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

  3. damaged justice on December 15th, 2006 3:58 pm

    “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 on December 15th, 2006 4:07 pm

    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 on December 15th, 2006 4:09 pm

    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. zbeast on December 15th, 2006 4:13 pm

    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 on December 15th, 2006 5:35 pm

    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. linux on December 15th, 2006 7:24 pm

    good find, thanks!

  9. Afrodream 'n' beaded on December 16th, 2006 9:33 am

    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 on December 16th, 2006 10:00 am

    “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. Rodney on December 16th, 2006 1:13 pm

    Option #3, man, all the way.

  12. remus on December 16th, 2006 4:05 pm

    great, many thx

  13. russ on December 18th, 2006 11:09 am

    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. Ubuntu Tutorials on December 18th, 2006 12:53 pm

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

  15. moon on December 18th, 2006 6:45 pm

    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. Ubuntu Tutorials on December 20th, 2006 9:04 am

    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. Tobias on December 23rd, 2006 1:55 pm

    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 on December 26th, 2006 5:08 am

    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. » Top Ten Ubuntu Tutorials : User Voted Ubuntu Tutorials : Breezy - Dapper - Edgy - Feisty on December 31st, 2006 11:43 am

    [...] Well its the end of another year and this blog has been through some ups and downs. I wanted to put together a quick post outlining the top ten most popular tutorials of late. Many of you have showed your support by submitting tutorials to Digg and leaving comments. I thank you for your support in helping get this information to as many people as possible. Education is going to be the key for Ubuntu to continue to rise. If you’ve missed any of these previous posts take a minute to catch up. As always, if you enjoyed the post consider giving it your vote on Digg or share it on del.icio.us! 10. How to Install Flock Web Browser on Ubuntu - Digg’d with 15 Votes 9. Google Toolbar Fix Instructions For Firefox 2 - Digg’d with 14 Votes 8. Setting up gaim for use with gmail chat (Jabber) - Digg’d with 17 Votes 7. Alternate Desktop Managers - Xfce / Fluxbox / Enlightenment / Blackbox / Openbox / Afterstep / FVWM / WindowMaker - Digg’d with 18 Votes 6. DOS Emulation with DOSBox - Digg’d with 22 Votes 5. How to clone an Ubuntu installation - Digg’d with 28 Votes 4. XGL on Dapper (nVidia) - Digg’d with 32 Votes 3. How to install & Play World of Warcraft - Digg’d with 45 Votes 2. How to Enable DVD Playback - Digg’d with 852 Votes 1. Ubuntu Tutorials - Digg’d with 979 Votes [...]

  20. Einar Jørgensen on January 6th, 2007 3:41 pm

    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?

  21. SharkSpace Blog » Ubuntu (the free linux operating system) guides and resources. on February 23rd, 2007 9:17 am

    [...] How to enable DVD playback - nice guide on how to enable dvd playback on your Ubuntu install. [...]

  22. Dvd on February 23rd, 2007 10:26 pm

    Markus…

    It was quite useful reading, found some interesting details about this topic. Thanks….

  23. trogdor on March 19th, 2007 7:14 pm

    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.

  24. Kyreas on April 30th, 2007 12:22 pm

    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?

  25. Jenease on June 2nd, 2007 3:47 pm

    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

  26. techforumz on July 15th, 2007 10:30 pm

    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.

  27. eagle on August 2nd, 2007 4:31 pm

    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

  28. Tobi’s Blog » Blog Archive » DVDs mit Kopierschutz unter Linux abspielen on October 28th, 2007 1:20 pm

    [...] Gefunden in den Ubunut-Tutorials. [...]

  29. techforumz on November 4th, 2007 7:43 pm

    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)

  30. Jason on November 29th, 2007 5:15 pm

    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

  31. Jason Woofenden on July 16th, 2008 2:59 pm

    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.

  32. Anthony Hildoer on July 25th, 2008 8:25 pm

    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

Leave a Comment




    Subscribe to the RSS feed!


    subscribe to the ubuntu tutorials RSS feed

    Ubuntu Tutorials Fundraiser


    Please Donate to
    Server Improvement

    Target amount: USD1,000.00
    Total Donations: USD255.00
    Amount Needed: USD745.00

    Thank you for your support!

    Click to Donate

    Polls



  • Blogroll

  • Ads by Google