LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   libdvdcss -- I can play some DVDs, but not others! (http://www.linuxquestions.org/questions/linux-software-2/libdvdcss-i-can-play-some-dvds-but-not-others-300727/)

Adrohak 03-12-2005 08:07 AM

libdvdcss -- I can play some DVDs, but not others!
 
I have Xine and MPlayer both installed. I have libdvdcss installed, and it cracks some keys, but not very many, meaning I can watch some DVDs, but not very many. I almost always get something like this:

Code:

[slackbox ~] xine dvd:/1
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Can't stat /1
No such file or directory
libdvdread: Using libdvdcss version 1.2.8 for DVD access

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 0x000002a8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00007b28
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x00007b28)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000107cc
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x000107cc)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003e328b
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0x003e328b)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003e328f
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x003e328f)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003e32b2
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x003e32b2)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003e32b6
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x003e32b6)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x003e4288
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_0.VOB (0x003e4288)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003e428c
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x003e428c)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x003e6871
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_0.VOB (0x003e6871)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003e6875
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_1.VOB (0x003e6875)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003e8037
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_0.VOB (0x003e8037)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003e803b
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_1.VOB (0x003e803b)!!
libdvdread: Elapsed time 0
libdvdread: Found 6 VTS's
libdvdread: Elapsed time 1

What would cause this to happen?

Tuttle 03-12-2005 09:03 AM

I don't know about using xine from the command line but it looks as if the dvd is encrypted in an unknown way. Perhaps the next version of libdvdcss will support your dvd, or try a cvs version of it?

Adrohak 03-12-2005 09:14 AM

But I can play very few DVDs, possibly one out of twenty-five, it's not just one oddball DVD.

Adrohak 03-12-2005 01:30 PM

If it makes a difference, here is the output of MPlayer trying to access the same DVD.

Code:

[slackbox ~] mplayer dvd://1
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
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


Playing dvd://1.
Reading disc structure, please wait...
There are 9 titles on this DVD.
There are 36 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Invalid title IFO (VTS_01_0.IFO).
Cannot open the IFO file for DVD title 1.


Exiting... (End of file)


codec 03-12-2005 02:36 PM

I heard that some new dvd drive is region based.

In this moment, I don't found big problem in dvd playback. The problem I have is probably deinterlace quality.

In this moment, I use "kerndeint" filter. For 4:3 region 2 DVD, I use this sh file:

#!/bin/sh
mplayer -vop expand=-50:-30,crop=700:560,kerndeint -ao alsa -benchmark $2 $3 $4 $5 $6 $7 $8 $9 dvd://$1

Adrohak 03-12-2005 03:16 PM

Quote:

Originally posted by codec
I heard that some new dvd drive is region based.

In this moment, I don't found big problem in dvd playback. The problem I have is probably deinterlace quality.

In this moment, I use "kerndeint" filter. For 4:3 region 2 DVD, I use this sh file:

#!/bin/sh
mplayer -vop expand=-50:-30,crop=700:560,kerndeint -ao alsa -benchmark $2 $3 $4 $5 $6 $7 $8 $9 dvd://$1

This DVD drive is from the middle of last year, and all of my DVDs are region one; I tried that mplayer script anyway, and got the same results.

Adrohak 03-12-2005 03:49 PM

I just read in the 'Playing DVD and Videos' guide on here that if DMA mode is not on, I may get stuttering in playback. I don't get that problem with the few DVDs that work, but I decided to check to see if DMA mode was on anyway.

Code:

[slackbox ~] su -l
Password:
[slackbox:root /home/cowboy] file /dev/dvd
/dev/dvd: symbolic link to `/dev/scd0'
[slackbox:root /home/cowboy] /sbin/hdparm -d1 /dev/scd0

/dev/scd0:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Invalid argument

Could this be contributing to my DVDs not playing?

audibel 03-12-2005 04:15 PM

I take it you downloaded all the codes from mplayers site and have installed them before trying this no?

Adrohak 03-12-2005 05:58 PM

Quote:

Originally posted by audibel
I take it you downloaded all the codes from mplayers site and have installed them before trying this no?
Yes, I have.

Adrohak 03-12-2005 08:02 PM

Not sure if this will help with a diagnosis or not, but the DVD drive can burn and read _all_ data DVDs without a problem, and both MPlayer and Xine can play downloaded video clips flawlessly.

BROse 03-12-2005 09:25 PM

All you need is OGLE. Google for it...........

Adrohak 03-12-2005 10:04 PM

Ogle didn't work either.

Code:

[slackbox ~] ogle
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: DVDDiscId read returned -1 bytes, wanted 108544
libdvdread: Using libdvdcss version 1.2.8 for DVD access

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 0x000002a8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00007b28
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x00007b28)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000107cc
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x000107cc)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003e328b
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0x003e328b)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003e328f
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x003e328f)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003e32b2
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x003e32b2)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003e32b6
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x003e32b6)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x003e4288
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_0.VOB (0x003e4288)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003e428c
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x003e428c)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x003e6871
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_0.VOB (0x003e6871)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003e6875
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_1.VOB (0x003e6875)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003e8037
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_0.VOB (0x003e8037)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003e803b
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_1.VOB (0x003e803b)!!
libdvdread: Elapsed time 0
libdvdread: Found 6 VTS's
libdvdread: Elapsed time 1
Xscreensaver not running.
libdvdread: Invalid IFO for title 1 (VTS_01_0.IFO).
FATAL[ogle_nav]: ifoOpenVTSI failed
ctrl: waitpid failed: Invalid argument


audibel 03-13-2005 04:27 AM

Can you display the contents of your /usr/local/lib/codecs/ directory.

Adrohak 03-13-2005 05:27 AM

Sure thing.

Code:

[slackbox ~] ls /usr/local/lib/codecs/
AvidQTAVUICodec.qtx          asusasv2.dll  drv2.so.6.0*  l3codecx.ax  msscds32.ax    tvqdec.dll    vp5vfw.dll
BeHereiVideo.qtx            asusasvd.dll  drv3.so.6.0*  lhacm.acm    msvidc32.dll    ubv263d+.ax  vp6vfw.dll
CLRVIDDC.DLL                ativcr2.dll  drv4.so.6.0*  lsvxdec.dll  mvoiced.vwp    ubvmp4d.dll  vssh264.dll
CtWbJpg.DLL                  atrac3.acm    drvc.so*      m3jp2k32.dll  nsrt2432.acm    ultimo.dll    vssh264core.dll
DECVW_32.DLL                atrc.so.6.0*  dspr.so.6.0*  m3jpeg32.dll  pclepim1.dll    vdowave.drv  vssh264dec.dll
LCMW2.dll                    avimszh.dll  huffyuv.dll  m3jpegdec.ax  qdv.dll        vgpix32d.dll  vsslight.dll
LCODCCMW2E.dll              avizlib.dll  i263_32.drv  mcdvd_32.dll  qpeg32.dll      vid_3ivX.xa*  vsswlt.dll
LCodcCMP.dll                clrviddd.dll  iac25_32.ax  mcmjpg32.dll  qtmlClient.dll  vid_cvid.xa*  wma9dmod.dll
QuickTime.qts                cook.so*      iccvid.dll    mi-sc4.acm    rt32dcmp.dll    vid_cyuv.xa*  wmadmod.dll
QuickTimeEssentials.qtx      cook.so.6.0*  icmw_32.dll  mpg4c32.dll  scg726.acm      vid_h261.xa*  wmsdmod.dll
QuickTimeInternetExtras.qtx  ctadp32.acm  imaadp32.acm  mpg4ds32.ax  sipr.so.6.0*    vid_h263.xa*  wmspdmod.dll
README                      ddnt.so.6.0*  imc32.acm    msadp32.acm  sp5x_32.dll    vid_iv32.xa*  wmv8ds32.ax
VDODEC32.dll                divx.dll      ir32_32.dll  msg711.acm    tm20dec.ax      vid_iv41.xa*  wmv9dmod.dll
ViVD2.dll                    divx_c32.ax  ir41_32.dll  msgsm32.acm  tokf.so.6.0*    vid_iv50.xa*  wmvadvd.dll
acelpdec.ax                  divxa32.acm  ir50_32.dll  msh261.drv    tokr.so.6.0*    vivog723.acm  wmvdmod.dll
alf2cd.acm                  divxc32.dll  ivvideo.dll  msms001.vwp  tsccvid.dll    voxmsdec.ax  wmvds32.ax
aslcodec_dshow.dll          divxdec.ax    jp2avi.dll    msnaudio.acm  tsd32.dll      vp31vfw.dll  wnvplay1.dll
aslcodec_vfw.dll            dnet.so.6.0*  l3codeca.acm  msrle32.dll  tssoft32.acm    vp4vfw.dll    wnvwinx.dll


Tuttle 03-13-2005 07:35 AM

The only thing I see is a hardware problem then. It might help to list the dvds which don't work here, If anyone posts here saying that the same dvd works on their system then I would have to assume that your hardware (or a driver) is playing up.
Try moving the dvd to another location ie. from hdc to hdd (change it from master to slave) and see if it makes any difference.


All times are GMT -5. The time now is 08:08 AM.