How do I enable restricted codecs to play DVDs?

DVD support cannot be provided by default in Ubuntu due to legal and technical restrictions. Most commercial DVDs are encrypted and so require the use of decryption software in order to play them.

Use Fluendo to legally play DVDs

You can buy a commercial DVD decoder that can handle copy protection from Fluendo. It works with Linux and should be legal to use in all countries.

Use alternative decryption software

In some countries, the use of the below unlicensed decryption software is not permitted by law. Verify that you are within your rights to use it.

  1. Install libdvdnav4, libdvdread4, gstreamer0.10-plugins-bad, and gstreamer0.10-plugins-ugly.

  2. If you would like to play encrypted DVDs (see the legal note above), open the Dash and launch a Terminal.

  3. Type the following into the screen which appears, then press Enter:

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

  4. Enter your password to complete the installation.