JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

OpenELEC DVD Help

Wed Jun 13, 2012 5:20 pm

I would like to play DVDs on my Raspberry Pi. I am aware that MPEG2 is not accelerated by the GPU.

1)I have a USB DVD drive, externally powered. It is recognized by OpenELEC and the "Play Disc" option appears
2)The DVD is a standard, commercially bought, encrypted DVD
3)Upon selecting "Play Disc", one of three things happen:
a)The disc shows up, but as a mounted folder (i.e. it shows me the VIDEO_TS folder, which is not what I want.)
b)The Now Playing window shows up for a second, then crashes
c)Nothing happens at all after clicking (This usually occurs after a or b happens, then I go for a second attempt)

Any help would be appreciated.

(I got the image for OpenELEC here: http://kvarley.co.uk/RaspberryPi/OpenELEC/ )
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: OpenELEC DVD Help

Wed Jun 13, 2012 6:42 pm

Anyone know?
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

itsonlyme
Posts: 131
Joined: Sun Feb 12, 2012 12:43 pm

Re: OpenELEC DVD Help

Wed Jun 13, 2012 10:44 pm

You cannot play DVD's because the VOB files on the DVD are MPEG2 and not supported at this time.

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: OpenELEC DVD Help

Thu Jun 14, 2012 1:42 am

itsonlyme wrote:You cannot play DVD's because the VOB files on the DVD are MPEG2 and not supported at this time.
But shouldn't I be able to play them unaccelerated?
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

User avatar
Paul Webster
Posts: 822
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: OpenELEC DVD Help

Thu Jun 14, 2012 4:50 am

I don't think that omxplayer can handle them.
You could try a different player.
A way to experiment would be to put the "official" Debian release on an SD card and experiment with that (Openelec is quite locked down if you are simply using prebuilt image).
From the Debian build you could try ..
sudo apt-get install mplayer ffmpeg
And then experiment with different command lines.
With current software you might get around 10 fps

If you search this forum for references to mpeg2 or mpeg-2 you should find that an interesting experiment is in progress by a couple of people to try to break out parts of the mpeg2 and use some of the accelerated parts of the graphics software to handle it ... and it looks like they might get things to an acceptable level.
Plus - there appears to be a good chance that RPi Foundation is trying to make it possible for RPi to buy MPEG2 decode licence (to be associated with the serial number of device) so that omxplayer (and anything else that knows how to exploit the GPU) can get acceleration more easily.

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

Re: OpenELEC DVD Help

Thu Jun 14, 2012 8:20 am

If you say encrypted DVDs do you mean CSS ?
I suppose this adds a extra load to the CPU , but it may work with overclocking.

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

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: OpenELEC DVD Help

Thu Jun 14, 2012 1:49 pm

Alright thanks for the suggestions. I'll get back to you shortly.
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: OpenELEC DVD Help

Mon Jun 18, 2012 6:29 pm

OK. Here's what's going on.

Unencrypted MPEG2 DVDs - Play with no picture, but sound works fine. However, they are still mounted as folders (have to play title files individually)
Audio CDs (CDA) - Error about playback

Yet to try decoding with ffmpeg on Debian; I've been busy.
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

beastdjw
Posts: 1
Joined: Thu Jul 12, 2012 11:10 am

Re: OpenELEC DVD Help

Thu Jul 12, 2012 11:12 am

any news about your experiences concerning playing DVD on the raspberry pi?

robwriter
Posts: 114
Joined: Sat Feb 25, 2012 6:26 pm

Re: OpenELEC DVD Help

Thu Jul 12, 2012 9:20 pm

Check out the MPEG-2 threads. Out of the box the frame rate is awful, with some work people report 18fps.

So the reality is Pi can't do DVDs right now.

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: OpenELEC DVD Help

Thu Jul 12, 2012 9:21 pm

beastdjw wrote:any news about your experiences concerning playing DVD on the raspberry pi?
Actually, I haven't worked on it for a while. I can report back in a few days if you want. I'm first going to simply try playing in mplayer with ffmpeg on Debian, see how that goes.
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

danco
Posts: 6
Joined: Tue Aug 21, 2012 9:01 am

Re: OpenELEC DVD Help

Tue Aug 21, 2012 2:23 pm

Any news about playing DVD (Mpeg-2) on Pi? Why isn't there any codec available to play it?

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

Re: OpenELEC DVD Help

Tue Aug 21, 2012 5:27 pm

Beacuse codecs cost money. The foundation already pays for h.264 and this also influences
the price customers (we ourselves) pay for a Pi.
Check out the MPEG-2 threads !

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

danco
Posts: 6
Joined: Tue Aug 21, 2012 9:01 am

Re: OpenELEC DVD Help

Wed Aug 22, 2012 6:58 am

I don't understand why would they buy h.264 licence if most of the pople use mpeg-2?

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

Re: OpenELEC DVD Help

Wed Aug 22, 2012 7:51 am

Yeah , you're not only one :

http://www.raspberrypi.org/phpBB3/viewt ... =24&t=3538

Just post there to avoid duplication - it has become the inofficial "can i haz MPEG2 " thread.

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

danco
Posts: 6
Joined: Tue Aug 21, 2012 9:01 am

Re: OpenELEC DVD Help

Wed Aug 22, 2012 8:54 am

Ok tnx :)

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2869
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: OpenELEC DVD Help

Fri Sep 14, 2012 3:30 pm

Ok, so now we have mpeg2 codecs has anyone managed to actually get dvds working properly on the Raspberry Pi? Using OpenELEC and omxplayer, I can manage to play my own stuff recorded from TV, but commercial encrypted dvds (eg BBC Planet Earth series) won't play. Tried installing libdvdcss2 but I don't really know what I'm doing.

Anyone got further than that? I notice a Youtube vid witha guy that looks like he's playing a dvd on the pi was streaming his dvd onto the Pi from a squeezebox, not actually playing it with the dvd drive connected to the Pi.

So, any progress anyone?
Alex Eames RasPi.TV, RasP.iO

caravela
Posts: 49
Joined: Fri Jul 20, 2012 3:47 pm

Re: OpenELEC DVD Help

Fri Sep 14, 2012 10:50 pm

i believe that XBMC has to be compiled with libdvdcss, to be able to play encrypted dvds. You could try to use either raspbmc or OpenELEC and build xbmc with support for it. that is if libdvdcss compiles and how well omxplayer, the default player, integrates with that...

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2869
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: OpenELEC DVD Help

Sat Sep 15, 2012 3:42 pm

caravela wrote:i believe that XBMC has to be compiled with libdvdcss, to be able to play encrypted dvds. You could try to use either raspbmc or OpenELEC and build xbmc with support for it. that is if libdvdcss compiles and how well omxplayer, the default player, integrates with that...
That's the thing really - I've not done much compiling, and what I have done had fairly good instructions. :lol:
Alex Eames RasPi.TV, RasP.iO

caravela
Posts: 49
Joined: Fri Jul 20, 2012 3:47 pm

Re: OpenELEC DVD Help

Sat Sep 15, 2012 11:02 pm

Don't waste your time, Read this
http://forum.xbmc.org/showthread.php?tid=140451
. All dvdnav support is disabled in the player and not supported.

Return to “Media centres”