studysession
Posts: 76
Joined: Sun Mar 15, 2015 6:15 pm

Playing a DVD Should be simple

Wed Feb 10, 2016 3:30 am

Playing a DVD Should be simple but it is not....

I have my license for MPG2 loaded. I have the basic Raspbian 1.6 load. I search this site and google and nothing is straight on getting it to play a DVD on my RasPi.

It see the drive
It sees the disk
MPG2 is enabled

Now what do I do to play the DVD?

No I am not loading the dedicated multimedia play setup. I should be able to do this on the standard Raspbian load.

Thanks

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 8:10 am

SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

studysession
Posts: 76
Joined: Sun Mar 15, 2015 6:15 pm

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 5:39 pm

Thank you - I installed gxine and it recognizes that DVD. But it exits saying:

libsvsread: Encrypted DVD support unavailable

I thought the MPEG-2 codec was to allow me play encrypted DVD's.

All the searching on this forum and across anything Google - most of the posts and replies not shown me a real anything I can get working. The command for codec status shows it is enabled.

Totally lost on how to watch these on the Raspbian load.

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

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 5:47 pm

MPEG-2 License Key

This key will enable a single Raspberry Pi to decode MPEG-2 video in hardware.


It is not for unencrypting, you need as stated in the link libdvdcss2

viewtopic.php?f=35&t=134012


https://wiki.debian.org/CDDVD
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
rpdom
Posts: 17172
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 5:50 pm

The MPEG-s codec lets you play MPEG-2 videos. DVDs contain encrypted MPEG-2 videos. The codec doesn't do decryption.

You can install some software called libdvdcss2 which decrypts the DVD, but I don't believe it is available from the standard Raspbian sources because it may be illegal to use in some countries.

dgordon42
Posts: 788
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 6:52 pm

You might get lucky with the brasero package. For more information:

Code: Select all

apt-cache show brasero
I have not used it, so I don't know what it can do.

Dave.

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

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 6:57 pm

dgordon42 wrote:You might get lucky with the brasero package. For more information:

Code: Select all

apt-cache show brasero
I have not used it, so I don't know what it can do.

Dave.
:? :? :? :? :? :?

Brasero is an application to burn CD/DVD for the Gnome Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly.
https://wiki.gnome.org/Apps/Brasero
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

studysession
Posts: 76
Joined: Sun Mar 15, 2015 6:15 pm

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 7:06 pm

I did get libdvdcss downloaded and installed.
Unsure if it was needed but I did a reboot just in case.

Everything seems to recognize it is a movie DVD but still cannot play it.
Wish there was something I could easily figure out.

User avatar
jbeale
Posts: 3675
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 7:29 pm

I haven't tried to do this on the RPi, so I can't offer useful advice. Not that it helps you, but... I understand as a consumer you would expect playing a DVD to be simple. The organizations that own the DVD format standards intentionally made it difficult. MPEG2 license != DVD player license. They wanted to prevent un-approved DVD players from playing CSS-encrypted DVDs (that is nearly all commercial DVD titles), for reasons such as enabling studios to release films in different parts of the world at different times, not permitting the user to skip previews and anti-piracy warnings, and so forth.

studysession
Posts: 76
Joined: Sun Mar 15, 2015 6:15 pm

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 7:40 pm

So cool -

Now just have to get the video to keep up but I am a step closer.... After installing libdvdcss I have to do the following to make the programs recognize it

Code: Select all

sudo cp /usr/local/lib/libdvdcss* /lib

studysession
Posts: 76
Joined: Sun Mar 15, 2015 6:15 pm

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 8:07 pm

got everything working thanks for all the help..... still need to figure out screen refresh and stuff but it works

studysession
Posts: 76
Joined: Sun Mar 15, 2015 6:15 pm

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 11:16 pm

Hopefully me writing this blog post will be helpful to others

http://www.doingitwithraspberrypi.com/2 ... -pi-2.html

User avatar
jbeale
Posts: 3675
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Playing a DVD Should be simple

Wed Feb 10, 2016 11:19 pm

That looks very clear and straightforward; thanks for writing that up!

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Playing a DVD Should be simple

Thu Feb 11, 2016 6:34 am

You should propably use mplayer to dump the DVD
and have omxplayer read the dumped data (using named
pipes).

That is because only omxplayer uses both the license
code and hardware acceleration. If you are happy with
mplayers performance now , that pretty much means you
actually didn't need to buy the license in the first place
( i.e. software decoding is fast enough for you) ...


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

emma24xia
Posts: 28
Joined: Thu Dec 04, 2014 9:51 am

Re: Playing a DVD Should be simple

Thu Feb 09, 2017 8:43 am

I encounter the same problems as you.

mikerr
Posts: 2825
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Playing a DVD Should be simple

Thu Feb 09, 2017 8:55 am

I remember getting this working a couple of years ago:
http://raspi.tv/2012/watch-encrypted-dv ... -omxplayer
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Return to “Beginners”