[MPlayer-users] libdvdcss and libdvdread issues
Michael Hunold
m.hunold at gmx.de
Wed Dec 26 18:18:19 CET 2001
Hello world,
I'm very pleased with "mplayer" and how it plays dvds so far, but of
course you can always improve things...
For css decryption and dvd access, I'm currently using libdvdcss 1.0.0
and libdvdread 0.9.2, which work nicely in conjunction with current
mplayer cvs and with most of my dvds.
But sometimes (for example with Disney's "Tarzan") the title key
cracking takes very long (> 15 seconds for one title key), and even
fails sometimes (the new "Shrek" movie):
------------------------schnipp-----------------------------------
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 0x000002d4
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0002d6a3
libdvdread: Elapsed time 15
[...]
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0033d7a3
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key!!
libdvdread: Elapsed time 93
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0033d7a8
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key!!
libdvdread: Elapsed time 92
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x0033d8be
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key!!
libdvdread: Elapsed time 93
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x0033d8c3
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key!!
libdvdread: Elapsed time 93
libdvdread: Elapsed time 0
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 389
------------------------schnipp-----------------------------------
In the changelog of libdvdcss I found the following remark:
> * 3) Decode the disc key with player keys (libcss method). However,
> you need licensed player keys at build time for this to work.
Ok, when I do
> export DVDCSS_METHOD=key
and compile in the necessary player keys (which can be found "floating
around the internet"), I can see that libdvdcss uses the player keys I
provided successfully, but decrypting is very, very slow...
I get tons of these messages (after setting DVDCSS_VERBOSE environment
variable to "2") over and over again:
------------------------schnipp-----------------------------------
libdvdcss debug: decrypting title key with disc key
libdvdcss debug: GetASF authenticated
libdvdcss debug: already authenticated
libdvdcss debug: requesting AGID 1
libdvdcss debug: drive authentic, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: received session key
libdvdcss debug: GetASF authenticated
libdvdcss debug: already authenticated
------------------------schnipp-----------------------------------
It takes > 5 minutes for all title keys, mplayer never actually starts
displaying the movie, it simply displays these messages over and over again.
It seems that it gets stuck somewhere in the dvd access: If I "strace"
the mplayer process, I can see that it always blocks on the "iotcl" call:
------------------------schnipp-----------------------------------
_llseek(5, 1456128, [1456128], SEEK_SET) = 0
ioctl(5, 0x5392, 0xbfffd770) = 0
------------------------schnipp-----------------------------------
ie. I can see
> ioctl(5, 0x5392
then long pause, 3-4 seconds, then it continues.
I'll cross check this on another machine, but I want to make sure that
I'm not doing something completely stupid before.
Any ideas are appreciated. I cannot belive that I am the only one who is
annoyed by the "speed" of css decryption with newer dvds.
If this is considered off-topic here, please send a private mail. Thanks!
CU
Michael.
More information about the MPlayer-users
mailing list