[MPlayer-users] Error cracking CSS key
Rodrigo da Silva Guerra
tioguerra at gmail.com
Fri Feb 18 03:56:25 CET 2005
> > guerra at guerra-laptop:~> mplayer -v 3 dvd://
>
> -v option has no parameters, drop that '3' and try specifying title number
> after dvd://. From your quoted output, it seems there are 4 titles.
>
I put the "-v 3" parameter for specifying the verbose level. In the man pages
I read:
[CODE]
-v, -verbose
Increment verbose level (more -v means more verbosity).
0 only some informational output (default)
1 some basic debug infos, avi header, function values (init debug)
2 print avi indexes, chunk inputs, more debug infos (player debug)
3 prints everything related to input parsers (parser debug)
[\CODE]
But I'll drop -v option, as it seems the non-verbose output already shows
about the same warnings...
I've tried specifying the title number before. I tried once again in order to
show you the output, which is still pretty much the same:
[CODE]
guerra at guerra-laptop:~> mplayer dvd://2
MPlayer dev-CVS-050213-14:00-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 6)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl for
device
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://2.
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 6500.0 kbps (812.5 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x9), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1280x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: 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.
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))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little-endian 16-bit signed int
AF_pre: 48000Hz 2ch little-endian 16-bit signed int
AO: [oss] 48000Hz 2ch little-endian 16-bit signed int (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
VDec: vo config request - 720 x 480 (preferred csp: 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
a52: CRC check failed! 0.065 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed! 0.057 ct: -0.017 6/ 6 ??% ??% ??,?% 1 0
a52: error at resampling
a52: CRC check failed! 0.038 ct: -0.023 8/ 8 ??% ??% ??,?% 1 0
a52: error at resampling
a52: CRC check failed! 0.054 ct: -0.027 9/ 9 ??% ??% ??,?% 1 0
a52: error at resampling
a52: CRC check failed! 0.090 ct: -0.030 10/ 10 ??% ??% ??,?% 1 0
a52: error at resampling
a52: CRC check failed! 0.051 ct: -0.037 12/ 12 ??% ??% ??,?% 1 0
a52: error at resampling
a52: CRC check failed! 0.087 ct: -0.040 13/ 13 ??% ??% ??,?% 1 0
a52: error at resampling
a52: CRC check failed! 0.047 ct: -0.047 15/ 15 ??% ??% ??,?% 1 0
(the same over and over again)
a52: CRC check failed! 1.405 ct: 0.020 35/ 35 17% 4% 1510.8% 8 0
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed! 1.384 ct: 0.027 37/ 37 16% 4% 1427.4% 8 0
a52: error at resampling
a52: CRC check failed! 1.387 ct: 0.030 38/ 38 16% 4% 1391.4% 8 0
a52: error at resampling
a52: CRC check failed! 1.410 ct: 0.037 40/ 40 15% 4% 1320.9% 8 0
a52: error at resampling
[\CODE]
> > What should I do?
>
> Try xine or at least external libdvdcss to see if it's a bug in MPlayer's
> libmpdvdkit or something else.
I tried Xine (actually I tried Xine before trying MPlayer) and also VLC, and
both complain about failures in cracking the region code. Only MPlayer seems
to go further and tries to output some data, but it is worthless, full of CRC
errors, as the decryption seems not to work...
Xine's output looks like this:
[CODE]
This is xine (X11 gui) - a free video player v0.9.22.
(c) 2000-2003 The xine Team.
Built with xine library 1.0.0 (1-rc2)
Found xine library version: 1.0.0 (1.0).
XServer Vendor: The X.Org Foundation. Release: 60801000,
Protocol Version: 11, Revision: 0,
Available Screen(s): 1, using 0
Depth: 16.
XShmQueryVersion: 1.1.
-[ xiTK version 0.10.5 [XMB]]-
-[ xiTK will use XShm ]-
-[ WM type: (EWMH) dtwm {KWin} ]-
Display is not using Xinerama.
main: probing <dxr3> video output plugin
main: probing <aadxr3> video output plugin
main: probing <xv> video output plugin
main: probing <alsa> audio output plugin
libdvdnav: Using dvdnav version 1.0 from (url removed)
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdnav: DVD Title: MATRIX_RELOADED_DISC_1
libdvdnav: DVD Serial Number: 2EF85938
libdvdnav: DVD Title (Alternative): MATRIX_RELOADED_DISC_1
libdvdnav: Unable to find map file
'/home/guerra/.dvdnav/MATRIX_RELOADED_DISC_1.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdnav: Suspected RCE Region Protection!!!
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000fb3
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x00000fb3)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003019f1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0033cd78
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x0033cd78)!!
libdvdread: Elapsed time 1
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 1
[\CODE]
And VLC output looks like this (VLC crashes afterwards!):
[CODE]
VLC media player 0.8.1 Janus
libdvdnav: Using dvdnav version 0.1.10 from (url removed)
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdnav: DVD Title: MATRIX_RELOADED_DISC_1
libdvdnav: DVD Serial Number: 2EF85938
libdvdnav: DVD Title (Alternative): MATRIX_RELOADED_DISC_1
libdvdnav: Unable to find map file
'/home/guerra/.dvdnav/MATRIX_RELOADED_DISC_1.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: ifoRead_TITLE_VOBU_ADMAP vtsi failed - CRASHING
vlc: vm.c:218: ifoOpenNewVTSI: Assertion `0' failed.
Aborted
[\CODE]
So it seems it is some inconsistency within libdvdcss (both in the standard
one and in MPlayer's one).
Brute force cracking shouldn't work anyway?
What else can I do?
Thank you for the reply,
Rodrigo da Silva Guerra
PhD Student
Department of Adaptive Machines and Systems
School of Engineering
Osaka University - Japan
More information about the MPlayer-users
mailing list