Ubuntu: Enable DVD Playback

Contributor Icon Contributed by Rob Rogers  
Tag Icon Tagged: Linux  

I enjoy watching movies, so getting DVD playback on my Ubuntu install was a definite priority. Nothing sadder than putting a DVD into your drive and having your system be unable to play the disc. Here’s how to enjoy your DVD movies on your Ubuntu system:


1. Open a terminal window.

2. Execute the following terminal command to install the necessary packages (make sure to approve any prompts):sudo apt-get install totem-xine libxine1-ffmpeg libdvdread3

3. Execute the following terminal command:sudo /usr/share/doc/libdvdread3/install-css.sh

After you have executed the above terminal commands, insert a DVD into your drive. Totem will open and the movie will begin playing.

 

21 Comments -


  1. Paul Valley said on October 22, 2008

    This works Great thanks

  2. Mohamed Sherif said on October 26, 2008

    I am sorry, but this did not work for me. I am using Ubuntu 7.10. Totem keeps telling me “Are you trying to open a coded DVD without libdvdcss?” although that I have them installed.

    This is the output from Totem when ran in terminal:

    libdvdnav: Using dvdnav version 1.1.7 from http://xine.sf.net
    libdvdread: Using libdvdcss version 1.2.9 for DVD access
    libdvdread: Attempting to use device /dev/scd0 mounted on /media/cdrom0 for CSS authentication
    libdvdnav: Can’t read name block. Probably not a DVD-ROM device.
    libdvdnav: Unable to find map file ‘/home/molpsychist/.dvdnav/.map’
    libdvdnav: DVD disk reports itself with Region mask 0×00fe0000. Regions: 1

    libdvdread: Attempting to retrieve all CSS keys
    libdvdread: This can take a _long_ time, please be patient

    libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0×00000124
    libdvdread: Elapsed time 0
    libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0×0000146d
    libdvdread: Elapsed time 0
    libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0×00001632
    libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0×00001632)!!
    libdvdread: Elapsed time 1
    libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0×00206f1c
    libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0×00206f1c)
    libdvdread: Elapsed time 0
    libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0×00206f20
    libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0×00206f20)!!
    libdvdread: Elapsed time 0
    libdvdread: Found 2 VTS’s
    libdvdread: Elapsed time 1
    AFD changed from -2 to -1

    Can you help me with that? Thank you!

  3. Netflixs Guy said on November 16, 2008

    Thats good man
    i was breaking my head to do that
    to make it play back

  4. Jeans said on March 10, 2009

    Works great! But I had to remove the totem-gstreamer in the Synaptic Pakage Manager to get it working without conflict.

    Thanks!

  5. jeff said on July 3, 2009

    how do you uninstall this
    ?????

  6. Raven said on July 3, 2009

    those commands dont work any more.
    you need to change the libdvdread3 to libdvdread4 in both lines and it works great. DVD plays now with no problems.

  7. John Hennessy said on July 20, 2009

    You might find that running the following is also needed:

    sudo apt-get install ubuntu-restricted-extras

  8. Anonymous said on August 16, 2009

    as with all the other sites giving this information. it is now outdated and theses steps will not work on installing kubuntu 9.04 or later or linuxmint 7 or later as well.

  9. Anonymous said on August 16, 2009

    No this method does not work either…only reason it works for you cause you have other lib files. but on fresh installs of ubuntu and kubuntu and linuxmint following this information will not read a dvd or detect a dvd in playback

  10. Anonymous said on August 17, 2009

    THIS DOESNT WORK! YOU CANNOT DOWNLOAD ANY PROGRAMS FOR LINUX OR INSTALL THEM.

  11. k.c said on September 14, 2009

    thank you Raven, just a digit at the end of a string but it meant everything (3 to 4), running jaunty on acer aspire 5920 laptop

  12. Anonymous said on September 29, 2009

    Thank you shamanstears for this post and Raven for posting the libdvdread4 change. That did the trick…I struggled for a couple days trying libdvdread3 reading older posts. I had all the Gstreamer plug-ins with the exception of fluendo checked off in Add/Remove programs prior to cutting and pasting the command line above with along with the correction…not sure if that helped but I am officially up and running in Ubuntu Juanty with an old Dell P4 1.8Ghz,…everything works..wireless drivers, printer and now dvd. I may never go back to MSFT. Thanks again.

  13. Anonymous said on January 4, 2010

    You have to use libdvdread4 now

  14. Anonymous said on January 4, 2010

    duplicate

  15. Anonymous said on January 25, 2010

    i tried entering the second command and it was not recognized. Do u have any ideas?

  16. Th3Pr0ph3t said on April 17, 2010

    In Ubuntu 10.04 the package is libdvdread4 instead.
    When it comes to DVDs I recommend VLC as the media player.

  17. Wanderingalbatross said on July 29, 2010

    With the change to libdvdread4 this works great. Thanks! My wife worked a few hours on this before we found this site!

  18. Car DVD Players said on September 1, 2010

    Great! But I had to remove the totem-gstreamer in the Synaptic Pakage Manager to get it working without conflict.

  19. 89jettagl said on January 7, 2011

    Thanks for that tip man, wouldnt work until i used the libdvdread4 not 3.

  20. jajalica said on January 14, 2011

    Thanks so much!!!

  21. Gina said on February 22, 2011

    thank you so much works now

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -