install restricted extras on Ubuntu for being able to play DVDs

You installed VLC on your Ubuntu because you thought with this you can play any Video and any DVD you want? You thought VLC always works? Sorry, it doesn’t.

Here on my fresh installed Ubuntu 14.04 my VLC player showed up an error window, containing many lines like these when I tried to play my (yes, original) DVD:

File reading failed:
VLC could not read the file (Input/output error).
File reading failed:
VLC could not read the file (Input/output error).

I was very surprised, because I knew that I also installed the ubuntu-restricted-extras package, and I thought it contains all the required codecs for playing any DVD in this world. Nope. Now I know, installing VLC and this package was a good idea, but I also had to run a script afterwards.

So, here is what you have to do to install the codecs:

sudo apt-get install ubuntu-restricted-extras
sudo /usr/share/doc/libdvdread4/install-css.sh

Afterwards your VLC will (hopefully) play what you want. If not, welcome to the codec- and encryption-hell brought you by the media industry (because of course, mass media has to be encrypted so that only the mass and not everyone is able to view it).

Thanks to DaimyoKirby on askubuntu.com for this solution: https://askubuntu.com/questions/309857/dvd-movie-not-working/309950#309950

There's 0 Comment So Far

Share your thoughts, leave a comment!