[MPlayer-users] Error cracking CSS key
Rodrigo da Silva Guerra
tioguerra at gmail.com
Thu Feb 17 14:52:33 CET 2005
Hello,
I am trying to be careful to not post unnecessarily already posted bugs. Even
though, if someone read this and believe it was already posted somewhere else
please let me know, and sorry for the inconvenience.
The problem I am about to describe bellow also seems to be happening with
another players, as I posted already elsewhere:
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=291349
It seems MPlayer is not successfully able to crack the region code in my DVD
player, and it appears to be playing uncracked data, and thus some audio and
video outputs start to complain and nothing but noise comes into the screen
and speakers.
My distribution is SuSE 9.2 downloaded through FTP, with kernel:
[CODE]
guerra at guerra-laptop:~> uname -r
2.6.8-24.11-default
[/CODE]
I downloaded the MPlayer v1.0pre6a source and essential codecs package and
fonts and skin, compiled, and installed it. But when I try to play DVD with
MPlayer, I get this (this is long!):
[CODE]
guerra at guerra-laptop:~> mplayer -v 3 dvd://
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
CommandLine: '-v' '3' 'dvd://'
init_freetype
get_path('font/font.desc') -> '/home/guerra/.mplayer/font/font.desc'
Font /home/guerra/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
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.
Using nanosleep() timing
get_path('input.conf') -> '/home/guerra/.mplayer/input.conf'
Can't open input config file /home/guerra/.mplayer/input.conf: No such file or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
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.
get_path('3.conf') -> '/home/guerra/.mplayer/3.conf'
Playing 3.
File not found: '3'
Failed to open 3
get_path('.conf') -> '/home/guerra/.mplayer/.conf'
Playing dvd://.
get_path('DVDKeys') -> '/home/guerra/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 36 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: pt aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: pt
[open] subtitle ( sid ): 1 language: es
[open] subtitle ( sid ): 2 language: en
[open] number of subtitles on disk: 3
DVD start cell: 0 pack: 0x0-0x16B0F
DVD start=0 end=3148290
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x16B0F
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd:// ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x16B0F
Angle-seek synced by cell/vob IDN search!
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND 8d, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x16B0F
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
(... and so on several times ...)
dvd_next_cell: next2=0xE
dvd_next_cell: next3=0xF
dvd_next_cell: next1=0xF
dvd_next_cell: next2=0xF
dvd_next_cell: next3=0x10
dvd_next_cell: next1=0x10
dvd_next_cell: next2=0x10
dvd_next_cell: next3=0x11
DVD Seek! lba=0x180486 cell=17 packs: 0x17FA49-0x195F21
Angle-seek synced by cell/vob IDN search!
Invalid NAVI packet! lba=0x180493 navi=0x180492
Invalid NAVI packet! lba=0x180494 navi=0x180492
Invalid NAVI packet! lba=0x180495 navi=0x180492
Invalid NAVI packet! lba=0x180496 navi=0x180492
Invalid NAVI packet! lba=0x180497 navi=0x180492
Invalid NAVI packet! lba=0x180498 navi=0x180492
Invalid NAVI packet! lba=0x180499 navi=0x180492
Invalid NAVI packet! lba=0x18049A navi=0x180492
Invalid NAVI packet! lba=0x18049B navi=0x180492
Invalid NAVI packet! lba=0x18049C navi=0x180492
==> Found audio stream: 128
Invalid NAVI packet! lba=0x18096F navi=0x18096E
Invalid NAVI packet! lba=0x180970 navi=0x18096E
Invalid NAVI packet! lba=0x180971 navi=0x18096E
(... and so on, several times ...)
Invalid NAVI packet! lba=0x180A28 navi=0x18096E
Invalid NAVI packet! lba=0x180A29 navi=0x18096E
Invalid NAVI packet! lba=0x180A2A navi=0x18096E
Invalid NAVI packet! lba=0x180A2B navi=0x18096E
Invalid NAVI packet! lba=0x180A2C navi=0x18096E
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x3
dvd_next_cell: next3=0x4
(... and so on several times ...)
dvd_next_cell: next3=0x22
dvd_next_cell: next1=0x22
dvd_next_cell: next2=0x22
dvd_next_cell: next3=0x23
dvd_next_cell: next1=0x23
dvd_next_cell: next2=0x23
dvd_next_cell: next3=0x24
DVD Seek! lba=0x30090D cell=36 packs: 0x2F69ED-0x300A02
dvd_next_cell: next1=0x24
dvd_next_cell: next2=0x24
stream_seek: WARNING! Can't seek to 0x180486EE0 !
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x16B0F
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
==> Found audio stream: 129
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/guerra/.mplayer/sub/'
get_path('default.sub') -> '/home/guerra/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
a52: CRC check failed!
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x9), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x768 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
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...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000009 and bps
= 2
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
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch little-endian 16-bit signed int (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000009 and bps
= 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000009 and bps
= 2
Starting playback...
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
(... this several times ...)
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)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 854x480 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 60 for hw scaling
[xv] dx: 0 dy: 0 dw: 1068 dh: 480
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 1068 dh: 480
a52: CRC check failed! 1.732 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0
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
(... this several times ...)
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!
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
a52: CRC check failed! 1.149 ct: 0.007 4/ 3 ??% ??% ??,?% 2 0
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed! 1.085 ct: 0.010 6/ 4 ??% ??% ??,?% 3 0
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
(... this several times ...)
a52: CRC check failed! 1.057 ct: 0.087 30/ 24 105% 81% 622.0% 23 0
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed! 1.080 ct: 0.090 32/ 25 102% 81% 602.6% 24 0
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed! 1.102 ct: 0.093 33/ 26 98% 80% 589.4% 25 0
a52: CRC check failed!
a52: CRC check failed!
Too many video packets in the buffer: (4096 in 8283362 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
a52: CRC check failed!
Too many video packets in the buffer: (4096 in 8283362 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
A: 11.9 V: 0.6 A-V: 11.296 ct: 1.588 705/474 29% 22% 73.6% 25 0
[/CODE]
In the following I will give more detailed specifications of this computer.
The computer specs as listed in [FONT=courier new]/proc/cpuinfo[/FONT] are:
[CODE]guerra at guerra-laptop:~> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.10GHz
stepping : 6
cpu MHz : 595.686
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 1179.64[/CODE]
The [FONT=courier new]lspci[/FONT] returns:[CODE]guerra-laptop:/home/guerra #
lspci
0000:00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)
0000:00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control
Registers (rev 02)
0000:00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH Configuration
Process Registers (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated
Graphics Device (rev 02)
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics
Device (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0
EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev
03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage
Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Modem Controller (rev 03)
0000:02:04.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
0000:02:04.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI
Two-Port PHY/Link-Layer Controller
0000:02:04.3 Unknown mass storage controller: Texas Instruments
PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI
Two-Port PHY/Link-Layer Cont. an
0000:02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (MOB)
Ethernet Controller (rev 83)
0000:02:0b.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
[/CODE]
This computer comes with a MATSHITAUJ-822Da, ATAPI CD/DVD-ROM R/RW drive which
is /dev/hdc and SuSE's "Hardware Info" reports being with UltraDMA/33, using
the driver PIIX_IDE (among other information).
The region setting is 2, as expected:
[CODE]
guerra-laptop:/home/guerra # regionset
regionset version 0.1 -- reads/sets region code on DVD drives
Current Region Code settings:
RPC Phase: II
type: SET
vendor resets available: 4
user controlled changes resets available: 4
drive plays discs from region(s): 2, mask=0xFD
Would you like to change the region setting of your drive? [y/n]:n
[/CODE]
Now I'm confused, because I searched for this and it is very strange that
nobody else complains about something similar. If it were a bug in MPlayer,
libdvdcss or in one of the players or their dependencies, or the
distribution, for sure, someone else would have realized the same thing.
I'm affraid this is some different region protection in the hardware, as this
is a new machine, but I am not so expert to assert this with 100% certain.
What should I do?
Regards,
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