FS#10353 - Encryted DVDs are not working for many users (MPlayer and beyond)
Attached to Project:
Arch Linux
Opened by Skottish (skottish) - Saturday, 03 May 2008, 22:17 GMT
Last edited by Greg (dolby) - Saturday, 10 May 2008, 08:20 GMT
Opened by Skottish (skottish) - Saturday, 03 May 2008, 22:17 GMT
Last edited by Greg (dolby) - Saturday, 10 May 2008, 08:20 GMT
|
Details
Encryted DVDs are not working for many users. There are
multiple posts appearing on the BBS about this. I use
(S)MPlayer for all of my media playback. There are no error
messages on the console. MPlayer simply can't see discs. I
reverted back to earlier versions of libdvdcss to no avail,
as well as tested MPlayer from the repos as well as my own
builds of MPlayer-svn. This is happening with MPlayer, VLC,
and Xine from what I'm seeing at the BBS.
|
This task depends upon
This may help for people who want to have an history of the problem.
Thank you very much !
http://bbs.archlinux.org/viewtopic.php?id=38436
http://bbs.archlinux.org/viewtopic.php?id=48085
Unfortunatly I cannot reproduce the bug with mplayer or vlc : I can read an encrypted DVD with such players.
Lets summarize here the situation, it will be easier for the developers to help.
1- You were able at one time to read an encrypted DVD with mplayer under Archlinux, right ?
2- Since a moment (how long ?) you are not able to read THE SAME encrypted DVD with mplayer, right ?
3- You are able to read a DVD which was NOT encrypted, right ?
4- You also tried with Totem-xine and VLC and it did not work either, right ?
Additional questions :
a- do you have the latest version of libdvdcss and VLC installed ?
b- Insert an encrypted DVD into your drive and give the output from the command "vlc /dev/dvd", please.
For information mine is :
[19:55 chicha ~]$ vlc /dev/dvd
VLC media player 0.8.6f Janus
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdnav: DVD Title: MASTER_AND_COMMANDER_DISC_1
libdvdnav: DVD Serial Number: 307e0407
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/chicha/.dvdnav/MASTER_AND_COMMANDER_DISC_1.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000013d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001124
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0002a5a4
...
Thank you very much !
2) Unfortunately I don't have the last DVD I could read, so there's no good test here.
3) Unencrypted DVD work normally in all three players.
a) yes. I even tried to rebuild it on this box to see if that helped to no avail.
b) [skottish@iasE vlc]$ vlc /dev/dvd
VLC media player 0.8.6f Janus
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: faild to open/read the DVD
Xine produces identical errors and MPlayer only says this:
Playing /dev/dvd.
File not found: '/dev/dvd'
Failed to open /dev/dvd.
[skottish@iasE ~]$ ls -l /dev/dvd
lrwxrwxrwx 1 root root 15 2008-05-05 12:17 /dev/dvd -> /dev/cd/dvd-sr0
lrwxrwxrwx 1 root root 6 2008-05-05 12:17 /dev/cd/dvd-sr0 -> ../sr0
[skottish@iasE ~]$ groups
ftp video audio optical storage skottish
brw-rw---- 1 root optical 11, 0 2008-05-05 12:17 /dev/sr0
I have looked around with google and there are many (old) forum/mail thread with the same error.
Some are due to trivial configuration issue (rigth access to the drive, wrong symlink etc ...), and unfortunatly some are due to mother/board or drive hardware issues.
What mother board and DVD drive do you have ? I will see If I can found something about them on the web.
Did you try with another distro (even using VMWare, Virtualbox or Qemu) ?
Did you try on Windows if you have it installed ?
Have you got an other DVD drive that you can use temporarly to see if it works with another hardware ?
You might also consider opening a bug report to videolan (libdvdcss and vlc project owner) with a link to this bug report, for the bug history, they might help more than us !
As far as all of the questions above go:
I did try as root to no avail.
My motherboard is a Gigabyte GA-M55PLUS-S3G.
I only have Arch on both of my computers (just cuz it's so freakin' cool).
I did try on a separate DVD drive and that didn't work.
I do want to reiterate one more time that every unencrypted DVD plays in the 64 bit box every time I try. And every encrypted disc fails every time. If it's a hardware problem, it is an extremely (un)lucky one.
Thanks again to everyone for helping here. I do appreciate your efforts.
I doubt it is a 32 bits vs 64 bits problem.
I have to say that your problem is hard to investigate ;-)
Looking around on the net I found something that we did not try, here :
http://ubuntuforums.org/showpost.php?p=4666778&postcount=6
Remove your ~/.dvdcss directory to make sure you run in a clean environment.
Then run the following command in a terminal (with an encrypted DVD in the drive) :
export DVDCSS_METHOD=title && mplayer dvd://1 -dvd-device /dev/dvd
The forum post give an explaination about this trick, from libdvdcss README.
At the point we are, even Ubuntu can help ;-)