flightisfun2001
Posts: 27
Joined: Tue Dec 29, 2015 1:10 am

Raspbian Doesn't Read DVD

Sat Jan 16, 2016 4:50 pm

Hello,

I recently got an external CD/DVD-ROM drive for my Raspberry Pi. It reads CDs no problem, but I inserted a DVD, and VLC media player won't open it and I see that the Raspberry Pi isn't even reading it. I tried:

sudo mount dvd:/*file location*/

But remounting the drive did no good. The CD/DVD drive is compatible with Linux, Windows, and Mac OS, so why wouldn't it read DVDs on the Raspberry Pi (Raspian Jessie)?

Thanks,

Nathan Jones

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspbian Doesn't Read DVD

Sat Jan 16, 2016 5:11 pm

flightisfun2001 wrote:Hello,

I recently got an external CD/DVD-ROM drive for my Raspberry Pi. It reads CDs no problem, but I inserted a DVD, and VLC media player won't open it and I see that the Raspberry Pi isn't even reading it. I tried:

sudo mount dvd:/*file location*/

But remounting the drive did no good. The CD/DVD drive is compatible with Linux, Windows, and Mac OS, so why wouldn't it read DVDs on the Raspberry Pi (Raspian Jessie)?

Thanks,

Nathan Jones
viewtopic.php?f=35&t=128987&p=862003
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13101
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Raspbian Doesn't Read DVD

Sat Jan 16, 2016 6:55 pm

DVD's have DRM, which must be "defeated" before the contents become playable.

flightisfun2001
Posts: 27
Joined: Tue Dec 29, 2015 1:10 am

Re: Raspbian Doesn't Read DVD

Sat Jan 16, 2016 10:31 pm

I just ordered it. I'll wait for the email with the download to arrive. Thanks a lot for your advice!

andrum99
Posts: 1219
Joined: Fri Jul 20, 2012 2:41 pm

Re: Raspbian Doesn't Read DVD

Sat Jan 16, 2016 11:16 pm

mahjongg wrote:DVD's have DRM, which must be "defeated" before the contents become playable.
That won't be the problem. The only DRM that would prevent the DVD from being read is built into the DVD drive, and that prevents you reading a DVD from another region to that which the DVD drive is set to read. Computer DVD drives usually allow the region setting to be changed up to 5 times before it is locked and no further change can be made. (Although you can probably override this by re-flashing the ROM in the DVD drive).

I suspect that the issue that is preventing the playback of the video from working on your Pi is that DVDs use an MPEG 2 codec for its video content and you need to purchase a licence to use this on the Raspberry Pi. You can buy an MPEG 2 licence from the swag store on this website. The DRM "protected" (encrypted) content on the DVD is decoded using a decoder that effectively "breaks through" the DRM. This is (usually) the way encrypted (DRM-ed) DVD videos are decoded on Linux.

flightisfun2001
Posts: 27
Joined: Tue Dec 29, 2015 1:10 am

Re: Raspbian Doesn't Read DVD

Fri Jan 29, 2016 10:56 pm

Thanks,

I bought the MPEG2 and the WVC1 license keys, and the DVDs still won't play. Any other advice?

Thanks again,

Nathan Jones

Heater
Posts: 15950
Joined: Tue Jul 17, 2012 3:02 pm

Re: Raspbian Doesn't Read DVD

Fri Jan 29, 2016 10:58 pm

Find the movie on a torrent or whatever the kids use to share this stuff now a days.
Memory in C++ is a leaky abstraction .

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: Raspbian Doesn't Read DVD

Fri Jan 29, 2016 11:22 pm

flightisfun2001 wrote:I bought the MPEG2 and the WVC1 license keys, and the DVDs still won't play. Any other advice?
What did you do with the keys? Your Pi won't know you have them unless you tell it.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

flightisfun2001
Posts: 27
Joined: Tue Dec 29, 2015 1:10 am

Re: Raspbian Doesn't Read DVD

Mon Feb 01, 2016 10:05 pm

I have two SD cards. What I did was I used my 64GB Samsung SD card and ran Raspbian on it. I got my 16GB Kingston SD card (The one I needed the license keys on) and opened the config.txt file. I added a new line and pasted the license key into it. I did a different line for each license key. I added them below the rest of the text. :shock: :?

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Raspbian Doesn't Read DVD

Tue Feb 02, 2016 12:45 pm

You can check to see if the license is enabled by using

Code: Select all

vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1
It should respond with "MPG2=enabled", or "WVC1=enabled". The WVC1 license if for things like recordings you've done with Windows Media Center. It uses DRM and you'll need the WVC1 license to play back what you've recorded. Windows Media Center will play back the files but you'll need the license to play them back with something like omxplayer.

Are these commercial movie DVD's, or DVD's that you've recorded? If they are commercial DVD's they use a content scrambling system (CSS) for DRM and the decoding for that will have to be done by the software you're using to play it from the DVD.

WinDVD and the other players for PC's have a license and the keys for decoding CSS, but for Linux you'll need "libdvdcss" to handle the decryption. The "DVD Copy Authority" wouldn't provide keys/licenses for Linux player software, since they are open source and the key would be accessible.

leiptrstormr
Posts: 60
Joined: Mon May 18, 2015 12:33 pm

Re: Raspbian Doesn't Read DVD

Wed Feb 03, 2016 2:00 am

Code: Select all

nano /etc/apt/sources.list
Add this repository here and save
deb http://www.deb-multimedia.org jessie main non-free

Code: Select all

apt-get update
apt-get install deb-multimedia-keyring
apt-get install libdvdread4 libdvdcss2
I'm 99.9% sure deb-multimedia will have libdvdcss for ARM, but if it doesn't, you can find the source here.
http://download.videolan.org/pub/debian/stable/

flightisfun2001
Posts: 27
Joined: Tue Dec 29, 2015 1:10 am

Re: Raspbian Doesn't Read DVD

Fri Feb 05, 2016 1:24 am

JimmyN wrote:You can check to see if the license is enabled by using

Code: Select all

vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1
It should respond with "MPG2=enabled", or "WVC1=enabled". The WVC1 license if for things like recordings you've done with Windows Media Center. It uses DRM and you'll need the WVC1 license to play back what you've recorded. Windows Media Center will play back the files but you'll need the license to play them back with something like omxplayer.

Are these commercial movie DVD's, or DVD's that you've recorded? If they are commercial DVD's they use a content scrambling system (CSS) for DRM and the decoding for that will have to be done by the software you're using to play it from the DVD.

WinDVD and the other players for PC's have a license and the keys for decoding CSS, but for Linux you'll need "libdvdcss" to handle the decryption. The "DVD Copy Authority" wouldn't provide keys/licenses for Linux player software, since they are open source and the key would be accessible.
Yes, I did those two commands, and they are both enabled. It was a commercial movie DVD that I tried. A documentary on storm chasing.

Return to “General discussion”