What Do I Need to Play DVD

Asked by Wesley Michael

When I loaded Ubuntu (10.04) I only had a CD player in the system. Today I pulled it out and replaced it with a DVD drive.

Is there anything I need to load in order to play and rip movies from the drive? When I put a disk in the drive it seems to be able to see it, but when I run the Movie Player it says that "An error occurred Could not read from resource".

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-media Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update; sudo apt-get -y install libdvdread4; sudo /usr/share/doc/libdvdread4/install-css.sh; sudo apt-get -y upgrade

Will give you a DVD codec so you can watch DVD movies.

You can install acidrip to rip DVD if you wish.

Revision history for this message
Wesley Michael (wam-zoominternet) said :
#2

Thanks so much! That did it -- works fine now.

Just wondering, if I had a DVD drive in the machine when I installed Ubuntu, would it have installed the necessary codec or would I have still needed to do this?

Revision history for this message
Wesley Michael (wam-zoominternet) said :
#3

Thanks actionparsnip, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

No you still have to install it. The codec isn't opensource as far as I am aware, plus there are restrictions with different countries having different DVD laws so it isn't included in the release. The command adds the medibuntu repo plus it's key then installs the libdvdread4 package which gives the DVD playback