You are not logged in.

#1 2008-06-23 14:45:22

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Encrypted DVD Playback in mplayer and xine [SOLVED]

I have found several threads, that detail problems with dvd playback in arch.

http://bbs.archlinux.org/viewtopic.php?id=49424
http://bbs.archlinux.org/viewtopic.php?id=38436
http://bbs.archlinux.org/viewtopic.php?id=32856

I installed mplayer, and it works great for audio and video. But it will not playback Encrypted DVDs. I have also installed xine, and it WILL playback Encrypted DVDs. 

Is there something wrong with mplayer (at least the arch package)?

I installed all of the libdvd* packages.

pacman -S libdvdcss libdvdread libdvdnav

And added my user account to the optical group

gpasswd -a USERNAME optical

(Where USERNAME is my username)

But every time I start mplayer it flashes (ever so briefly) on the screen and then disappears. The only message I get says

  Exiting . . . (End of File)

But I can just type xine, and then it works.

Any ideas why mplayer will not work?
Anyone else using mplayer successfully to play Encrypted DVDs?

Last edited by timetrap (2008-06-26 17:03:05)

Offline

#2 2008-06-24 12:04:04

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

I use mplayer for commercial encrypted dvd and it work flawlessy, but I compile it from SVN, so I can't tell if there's something wrong with Arch' pkg (I doubt it). Besides, mplayer has internal versions of both dvdread and dvdcss so - unless the packager deliberately compiled it with external libraries support - it doesn't need anything else for dvd playback.
Can you try to run mplayer from a terminal and post the entire output?

Offline

#3 2008-06-24 12:21:08

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

timetrap wrote:

I have found several threads, that detail problems with dvd playback in arch.

http://bbs.archlinux.org/viewtopic.php?id=49424
http://bbs.archlinux.org/viewtopic.php?id=38436
http://bbs.archlinux.org/viewtopic.php?id=32856

I installed mplayer, and it works great for audio and video. But it will not playback Encrypted DVDs. I have also installed xine, and it WILL playback Encrypted DVDs. 

Is there something wrong with mplayer (at least the arch package)?

I installed all of the libdvd* packages.

pacman -S libdvdcss libdvdread libdvdnav

And added my user account to the optical group

gpasswd -a USERNAME optical

(Where USERNAME is my username)

But every time I start mplayer it flashes (ever so briefly) on the screen and then disappears. The only message I get says

  Exiting . . . (End of File)

But I can just type xine, and then it works.

Any ideas why mplayer will not work?
Anyone else using mplayer successfully to play Encrypted DVDs?

you could also try vlc. It's nice for the power hungry people as it has lots of options and funtions.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#4 2008-06-24 14:30:35

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

theringmaster wrote:

you could also try vlc. It's nice for the power hungry people as it has lots of options and funtions.

Thank you for your suggestion about vlc. 

I am trying to learn about the problem with mplayer. I have everything working just fine with xine, so it isn't an issue that I cannot play ANY DVD, I just cannot play DVDs with mplayer. Which makes no sense.

I will add the output from mplayer when I get home (I don't have any DVDs with me right now).

Offline

#5 2008-06-24 19:47:57

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

I had a long discussion about this on bugtracker with a few different developers and the problem was never resolved. Since I use E17, VLC is not a convenient option; they don't like each other.

Offline

#6 2008-06-24 22:39:19

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

[timetrap@darkstar ~]$ mplayer dvd://
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU           T2060  @ 1.60GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing dvd://.
There are 9 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
number of audio channels on disk: 0.
number of subtitles on disk: 0
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12 
V:   0.3   2/  2 ??% ??% ??,?% 0 0 

Exiting... (End of file)
[timetrap@darkstar ~]$

For reference I am trying to play: Planet Earth; From the BBC; Disc 4

mplayer VERY briefly flashes up a window then writes Exiting. . .

Offline

#7 2008-06-24 22:47:15

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

I've been here before and I still haven't had any problem playing encrypted DVDs with mplayer, though I must admit that I use kaffeine or xine normally so I cannot say with absolute certainty that every DVD I own will play with mplayer.

In the meantime, installing libdvdcss and libdvdread especially for mplayer will probably not make any difference because it uses it's own internal copies of those libraries.  Following on, compiling mplayer with the --disable-dvdread-internal and --disable-libdvdcss-internal configure options might be worth trying.

Offline

#8 2008-06-25 05:03:04

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

instead of

[timetrap@darkstar ~]$ mplayer dvd://

use

[timetrap@darkstar ~]$ mplayer dvd://N

being N one of the title number on the dvd; you can see what they are with lsdvd. try to find out the title number of the main feature and use it.

Offline

#9 2008-06-25 11:17:18

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

Okay that worked . . . .

mplayer dvd://4

But how do I get to the menu on the dvd?

mplayer dvd://dvdnav

Does not work.

Offline

#10 2008-06-25 11:57:05

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

The sintax is

mplayer dvdnav://

and for this to work, you need to compile mplayer with dvdnav support.
You need a SVN checkout of dvdnav (and possibly of dvdread) from the mplayer svn repo, and a checkout of mplayer itself. Be aware that mplayer's support for dvd menus isn't exactly stable and working...
I use mplayer for dvd because I don't like menus: when I want them, I switch to xine-lib/kaffeine.

Offline

#11 2008-06-25 14:36:35

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

Okay, this clears it up a lot. Thanks for your help daneel971 the wiki was fairly vague on these points. dvdnav:// does not work for me, so I will just use xine.

Is there a reason why the mplayer package does not support this out of the box?

Offline

#12 2008-06-25 21:36:37

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

timetrap wrote:

Is there a reason why the mplayer package does not support this out of the box?

Dependency heck has got to be the reason why.  It's like daneel971 says, mplayer with dvdnav needs svn checkouts of libdvdnav and libdvdread from the mplayer svn repository (the mplayer svn version of libdvdnav won't build without the matching svn version of libdvdread installed).  Installing the mplayer version of libdvdread will break packages that depend on the Arch libdvdread package - k3b, dvdauthor, etc. - so they will all have to be rebuilt, and that's presuming that they will all be happy to work with the new version of the library.

Last edited by azleifel (2008-06-25 21:39:37)

Offline

#13 2008-06-26 04:54:55

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

azleifel wrote:

...packages that depend on the Arch libdvdread package - k3b, dvdauthor, etc. - so they will all have to be rebuilt, and that's presuming that they will all be happy to work with the new version of the library.

they do work smile - I use the mplayer's fork of libdvdread/libdvdnav and I recompiled k3b, transcode, lsdvd, ogmrip, xine, vlc and I don't remember what else... and they work. Sometimes a little hack is needed, but it's possible to do this without particular problems.
Also, I *think* that libdvdnav can be compiled with a different version of libdvdread - you're not forced to use the mplayer's version.

Offline

#14 2008-06-26 10:17:08

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Encrypted DVD Playback in mplayer and xine [SOLVED]

Okay, thanks. big_smile

Offline

Board footer

Powered by FluxBB