Opened 15 years ago

Last modified 13 years ago

#1395 new defect

Error cracking CSS key on FreeBSD

Reported by: borish@… Owned by: reimar
Priority: important Component: demuxer
Version: HEAD Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I compiled mplayer-export-2009-01-30 on FreeBSD 7.0 with gcc 4.2.1 and default parameters.

I get the following output when trying to play a commercial DVD:

~% mplayer dvd://
MPlayer SVN-r28388 (C) 2000-2007 MPlayer TeamCPU: Intel(R) Pentium(R) III Mobile CPU 1200MHz (Family: 6, Model: 11, Stepping: 1)

Playing dvd://.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
There are 3 titles on this DVD.
There are 1 angles in this DVD title.

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 0x00000120
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x00000120)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001e4
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x000001e4)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000009b8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x000009b8)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00203adf
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x00203adf)!!
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 1
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: de aid: 129.
audio stream: 2 format: ac3 (stereo) language: es aid: 130.
number of audio channels on disk: 3.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: de
subtitle ( sid ): 2 language: es
subtitle ( sid ): 3 language: en
subtitle ( sid ): 4 language: de
subtitle ( sid ): 5 language: es
number of subtitles on disk: 6
MPEG-PS file format detected.
VIDEO: MPEG1 720x576 (aspect 3) 25.000 fps 7500.0 kbps (937.5 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (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: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
a52: CRC check failed!
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
a52: error at resampling
[mpeg1video @ 0x87f37a0]inter matrix damaged
[mpeg1video @ 0x87f37a0]inter matrix damaged
a52: CRC check failed! 0.210 ct: 0.008 3/ 3 ??% ??% ??,?% 0 0
a52: error at resampling
[mpeg1video @ 0x87f37a0]sequence header damaged8 ??% ??% ??,?% 0 0
[mpeg1video @ 0x87f37a0]Missing picture start code
[mpeg1video @ 0x87f37a0]Missing picture start code
[mpeg1video @ 0x87f37a0]Missing picture start code
[mpeg1video @ 0x87f37a0]Missing picture start code
...

I had the same problem with 1.0rc2 on both FreeBSD 7 and Debian lenny. On Debian lenny I was able to play that DVD with 1.0rc2 after I installed libvdread3, libdvdcss2 and disabled both dvdread-internal and libdvdcss-internal.

Attachments (2)

config.h (26.9 KB ) - added by borish@… 15 years ago.
config.h
config.mak (15.3 KB ) - added by borish@… 15 years ago.
config.mak

Download all attachments as: .zip

Change History (10)

comment:1 by borish@…, 15 years ago

Summary: Error cracking CSS keyError cracking CSS key on FreeBSD

On Debian lenny, mplayer-export-2009-01-30 compiled with default parameters plays both DVDs that wouldn't play on FreeBSD.

comment:2 by diego@…, 15 years ago

Component: vdbuild system
Owner: changed from r_togni@… to diego@…

I have a hunch this might be a build system issue. Can you please try with HEAD, I committed something that might be related yesterday.

comment:3 by borish@…, 15 years ago

(In reply to comment #2)
The problem persists with MPlayer SVN-r28418-4.2.1.

I also disabled both the internal dvdcss and libdvdread and compiled after having installed the latest libdvdcss-1.2.10 and libdvdread-0.9.7 which didn't solve the problem. Because this could be a problem with dvdcss, I sent a report to libdvdcss-devel@….

comment:4 by diego@…, 15 years ago

Status: newassigned

Show me your config.h and config.mak.

by borish@…, 15 years ago

Attachment: config.h added

config.h

comment:5 by borish@…, 15 years ago

by borish@…, 15 years ago

Attachment: config.mak added

config.mak

comment:6 by borish@…, 15 years ago

comment:7 by diego@…, 15 years ago

Component: build systemdemuxer
Owner: changed from diego@… to r_togni@…
Status: assignednew

I have no idea what the problem might be. There is a completely different codepath for BSD systems in libdvdcss.

comment:8 by compn, 13 years ago

Owner: changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.