About Linux FAQ

Browse More FAQs:

Ubuntu Linux play encrypted DVDs

Posted by Vivek on Monday December 18, 06 @8:27 pm

Q. How do I play encrypted DVDs under Ubuntu Linux?

A. You need to install a special library which allows you to play encrypted DVDs under Ubuntu Linux.

In this FAQ you will learn how to use linux command line to install CSS library and DVD playback using open source linux software such as xine.

Ubuntu Linux will not be able to play most of the DVDs out of box. Please read this my article which explains why linux don't support MP3 and DVD out of box.

Now let us see how to configure Ubuntu Linux to play encrypted DVDs .

Most DVDS comes with Content Scramble System (CSS) which is a Digital Rights Management (DRM) scheme. The CSS key sets are licensed to manufacturers who incorporate them into products such as DVD drives, DVD players and DVD movie releases. Most DVD players are equipped with a CSS Decryption module. CSS key is a collective term for authentication key, disc key, player key, title key, second disk key set, and/or encrypted key.

In order to play encrypted DVDs just install CSS library with following linux command

First install open source Linux player such as vlc or xine, mplayer etc using apt-get command:
$ sudo apt-get install vlc xine mplayer libdvdread3

Now install CSS library:
$ sudo /usr/share/doc/libdvdread3/examples/install-css.sh

Now you can play DVD by visiting Applications > Sound & Video > Movie Player > Select player menu option.

Updated for accuracy.

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Linux / UNIX FAQ:

Discussion on This FAQ

  1. Daniel K Says:

    You wrote:

    $ sudo apt-get install vlc xine mplyer

    I guess you mean

    $ sudo apt-get install vlc xine mplayer

  2. nixcraft Says:

    Daniel,

    Thanks for heads up!

  3. Kaithy Aravind Reddy Says:

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

    got reply

    command not found

    try to search “install-css.sh” not found any where?

    Pls help.
    Regards
    Kaithy Aravind Reddy

  4. rocky Says:

    Kaithy,

    Install lib libdvdread3
    sudo apt-get install libdvd3

  5. Ron Says:

    don’t you mean sudo apt-get install libdvdread3 or is this something different

  6. vivek Says:

    Ron,

    Thanks for the heads up. The FAQ has been updated.

  7. Ram Says:

    Hi, very helful post, then if you can put a link in the “Please read this my article which explains why linux don’t support MP3 and DVD out of box” - that would be more helpful to the users to locate the articles.

    Thanks a lot!

  8. vivek Says:

    Ram,

    The faq has been updated as per your request. I appreciate your feedback.

  9. johnc Says:

    in feisty use this command
    sudo /usr/share/doc/libdvdread3/install-css.sh

  10. tom Says:

    in gutsy as in feisty
    sudo/usr/share/doc/libdvdread3/install-css.sh
    (i.e. no example folder)

  11. Dave Jarvis Says:

    Replace “xine” with “xine-ui” for more luck under Gutsy.

  12. john horton Says:

    This how-to worked for me. I did not have an example folder. But reading down the page I found the example and everything seemed to work out just fine. Now to play a dvd!

  13. Chris G Says:

    Ran “sudo apt-get install vlc xine-ui mplayer”

    Then, “sudo /usr/share/doc/libdvdread3/install-css.sh”

    Worked like a charm! Watching Hercules in New York right now with VLC Media Player.

  14. S. Holzel Says:

    Thank you! Now I can watch [i]all[/i] my dvd’s, and not just the, erm, backups. Just installed the libdvdread and the css, and VLC plays them quite nicely. Totem still doesn’t, however. Is that normal?

  15. matt Says:

    Ran “sudo apt-get install vlc xine-ui mplayer”

    Then, “sudo /usr/share/doc/libdvdread3/install-css.sh”

    worked perfect
    thanks

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , , ~ Last updated on: September 20, 2007

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.