libdvdcss -- I can play some DVDs, but not others!
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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)
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?
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.
[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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.