libdvdcss is jacked
Andrew A. Gill
superluser at frontiernet.net
Fri Mar 3 00:51:46 CET 2006
On Thu, 2 Mar 2006, Sam Hocevar wrote:
> On Wed, Mar 01, 2006, Andrew A. Gill wrote:
>
>> I try to play a DVD with libdvdcss, and I get garbled output.
>> I'm told that it looks like libdvdcss isn't working. So I
>> thought I'd come by here and start screaming at you guys until
>> you fix it.
>>
>> Specifically, I tried csstest, and here's the info:
>>
>> ]$ libdvdcss-1.2.9/test/.libs/lt-csstest \
>> /mnt/cdrom/video_ts/vts_08_0.vob 1024
>>
>> cool, I found libdvdcss version 1.2.9
>> read failed (no error)
>
> csstest can only work on devices and on files that can be read. If
> the file is on a mounted DVD, the drive will prevent the operating
> system from reading it, so you need to access the device instead. Could
> you please try again using the device name, eg. "csstest /dev/hdc 1024"?
>
> Also, setting the environment variable DVDCSS_VERBOSE=2 will give you
> debug information that can be helpful to us.
OK. I umounted the drive, and here's what I get:
---
]$ libdvdcss-1.2.9/test/csstest /dev/dvd 1024
cool, I found libdvdcss version 1.2.9
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make
sure there is a DVD in the drive, and that you have used the
correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/superluser/.dvdcss/GUNDAM_WING_V2-1998060619582800-0000000000/
requested sector:
2105c540...00405b6b0500ba27502abd231000cca41000aaa4cfff...
libdvdcss debug: cracking title key at block 1024
libdvdcss debug: non MPEG block found at block 1024 (end of
title)
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/0
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss error: fatal error in vts css key
seek failed (fatal error in vts css key)
---
Hmm. Let's try that again, just to make sure it wasn't a fluke.
---
]$ libdvdcss-1.2.9/test/csstest /dev/dvd 1024
cool, I found libdvdcss version 1.2.9
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make
sure there is a DVD in the drive, and that you have used the
correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/superluser/.dvdcss/GUNDAM_WING_V2-1998060619582800-0000000000/
requested sector:
00000000...0000000000000000000000000000000000000000ffff...
sector is not scrambled
---
Yeah, it was a fluke. Again:
---
]$ libdvdcss-1.2.9/test/csstest /dev/dvd 1024
cool, I found libdvdcss version 1.2.9
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make
sure there is a DVD in the drive, and that you have used the
correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/superluser/.dvdcss/GUNDAM_WING_V2-1998060619582800-0000000000/
requested sector:
00000000...00000000000000000000000000000000000000000000...
sector is not scrambled
---
The sector shouldn't be all zeros, right?
---
]$ libdvdcss-1.2.9/test/csstest /dev/dvd 1024
cool, I found libdvdcss version 1.2.9
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make
sure there is a DVD in the drive, and that you have used the
correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/superluser/.dvdcss/GUNDAM_WING_V2-1998060619582800-0000000000/
requested sector:
01004121...200040e01004ef47689f7da7a9725b6b0600ba276c60...
libdvdcss debug: cracking title key at block 1024
libdvdcss debug: non MPEG block found at block 1024 (end of
title)
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/0
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss error: fatal error in vts css key
seek failed (fatal error in vts css key)
---
Oh, good. The contents of the sector changed again.
---
]$ libdvdcss-1.2.9/test/csstest /dev/dvd 1024
cool, I found libdvdcss version 1.2.9
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: css error: ioctl_ReadCopyright failed, make
sure there is a DVD in the drive, and that you have used the
correct device node.
libdvdcss debug: could not check whether the disc was scrambled
libdvdcss debug: using CSS key cache dir:
/home/superluser/.dvdcss/GUNDAM_WING_V2-1998060619582800-0000000000/
requested sector:
00570e80...000000001c000000e4190000986afffff4000000004f...
sector is not scrambled
---
Not scrambled? Good to know.
What the heck is going on here?
--
| Andrew A. Gill To ensure continued quality of service, |
| this e-mail is being monitored by the NSA |
| <superluser at frontiernet.net> <http://www.needsfoodbadly.com> |
--
Thank you kindly.
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the libdvdcss-devel
mailing list