LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-15-2005, 07:42 PM   #1
yeela
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Problems with DVD playback


Now I've spent a few hours trying to make DVD playback work with no success. Does anyone have some fresh ideas? It seems to be a classical decryption problem. I find tons of hits related to this on the web but no solutions that work for me :-(.

I'm trying to play DVDs using xine. Some DVDs work (both commercial and home made) and some (commercial) dont. For the not working DVDs I get the error message: "The source can't be read. Maybe you don't have enough rights for this, or source doesn (sic!) contain data (e.g not disc in drive) Error opening vtsN=-1, domain=2.".

All the tested DVDs (both working and non working) have the region 2.

I'm running fedora 4 on an Acer Aspire 5024WLMi
Code:
uname -a
Linux wasp 2.6.12-1.1456_FC4 #1 Thu Sep 22 02:11:36 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
I have installed xine and libdvdcss from the livna repository
Code:
yum remove totem
yum install xine totem-xine libdvdcss
First I tried to use the default gstreamer version of totem, but it didn't worked well at all. So I changed to totem-xine.

I enable verbose output from libdvdcss with :
Code:
export DVDCSS_VERBOSE=2
Then I start xine. libdvdcss takes some time to decrypt but eventually seems to fail. Does anyone have a clue how to fix this?

Code:
[daniel@wasp xine]$ xine dvd:/
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: using CSS key cache dir: /home/daniel/.dvdcss//BREAKFAST_AT_TIFFANYS#2000072116542800/
libdvdcss error: failed opening raw device, continuing

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 0x00000134
libdvdcss debug: getting title key the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key
libdvdcss debug: non MPEG block found (end of title)
libdvdcss debug: end of title reached
libdvdcss debug: 0 of 0 attempts successful, 0 of 87 blocks scrambled
libdvdcss debug: file was unscrambled
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001d4
libdvdcss debug: getting title key the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key
libdvdcss error: read error
libdvdcss debug: read error, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: 0 of 0 attempts successful, 0 of 0 blocks scrambled
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x000001d4)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00001449
libdvdcss debug: getting title key the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key
libdvdcss error: read error
libdvdcss debug: read error, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: 0 of 0 attempts successful, 0 of 1 blocks scrambled
libdvdcss debug: file was unscrambled
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0032ab71
libdvdcss debug: getting title key the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key
libdvdcss error: read error
libdvdcss debug: read error, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: 0 of 0 attempts successful, 0 of 1 blocks scrambled
libdvdcss debug: file was unscrambled
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0032abc8
libdvdcss debug: getting title key the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key
libdvdcss error: read error
libdvdcss debug: read error, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: 0 of 0 attempts successful, 0 of 2 blocks scrambled
libdvdcss debug: file was unscrambled
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 5
 
Old 10-16-2005, 01:43 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Which version of libdvdcss do you have installed?
Perhaps grab the latest from vedeolan.org?
 
Old 10-16-2005, 04:06 PM   #3
yeela
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I was using version 1.2.8 (The rpm version is 1.2.8-0.lvn.5.4 from livna). I tried upgrading to version 1.2.9 building a new rpm from the source rpm downloaded from videolan.org. Still no success with decryption. Now I got some additional lines in the log:

Code:
libdvdcss debug: cannot open /dev/rdvd (No such file or directory)
libdvdcss error: failed to open raw device, but continuing
Are they significant? Here's the full output:

Code:
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 7f:25:47:70:5b
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: using CSS key cache dir: /home/daniel/.dvdcss//BREAKFAST_AT_TIFFANYS-2000072116542800-2e97321f22/
libdvdcss debug: cannot open /dev/rdvd (No such file or directory)
libdvdcss error: failed to open raw device, but continuing

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 0x00000134
libdvdcss debug: getting title key at block 308 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 7f:25:47:70:5b
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key at block 308
libdvdcss debug: non MPEG block found at block 395 (end of title)
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/87
libdvdcss debug: no scrambled sectors found
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001d4
libdvdcss debug: getting title key at block 468 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 7f:25:47:70:5b
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key at block 468
libdvdcss error: read error
libdvdcss debug: read error at block 470, resorting to secret arcanes to recoverlibdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/2
libdvdcss debug: no scrambled sectors found
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00001449
libdvdcss debug: getting title key at block 5193 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 7f:25:47:70:5b
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key at block 5193
libdvdcss error: read error
libdvdcss debug: read error at block 5194, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/1
libdvdcss debug: no scrambled sectors found
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0032ab71
libdvdcss debug: getting title key at block 3320689 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 7f:25:47:70:5b
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key at block 3320689
libdvdcss error: read error
libdvdcss debug: read error at block 3320690, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/1
libdvdcss debug: no scrambled sectors found
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0032abc8
libdvdcss debug: getting title key at block 3320776 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 7f:25:47:70:5b
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 2e:97:32:1f:22
libdvdcss debug: cracking title key at block 3320776
libdvdcss error: read error
libdvdcss debug: read error at block 3320778, resorting to secret arcanes to recover
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss error: read error
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 0/2
libdvdcss debug: no scrambled sectors found
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss debug: unencrypted title
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 5
libdvdcss error: read error
libdvdcss error: read error
 
Old 10-16-2005, 04:08 PM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
download 1.2.9 from videolan.org
 
Old 10-16-2005, 05:06 PM   #5
yeela
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Tried that. Didn't work.

If I boot the machine up in windows (dual boot) I can play the DVD with windows media player though...

/d
 
Old 10-16-2005, 05:13 PM   #6
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
My default packages also didn't work that came with install eventhough I installed through HTTP.
I updated then from custom repositories: xine and kaffeine and installed the latest divx, xvid, w32codecs,
and libdvdcss2 from videolan.org. Logout, login and now I play everything. Sorry, above that can't help
 
Old 10-16-2005, 05:34 PM   #7
yeela
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Now after I tried it in windows it magically seems to work. I guess starting windows media player automatically sets the region code to 2 in the hardware. After I removed all cached keys

Code:
rm -R ~/.dvdcss/
it worked to play my region 2 DVDs.

When I ran regionset after starting windows media player I got the following output:

Code:
[root@wasp regionset-0.1]# ./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
I didn't log the result of running regionset before starting media player, but I'm pretty sure the two last lines showed:

Code:
user controlled changes resets available: 5
drive plays discs from region(s): , mask=0xFF
Does all this mean that I still can't play DVDs from other regions? Unfortuantely I don't have any imported DVDs to test (its more a matter of principle).
 
Old 10-16-2005, 05:37 PM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
try downloading DVD from some Russian site and see how it works. But it won't be commercial anymore, but custom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD Playback problems TomalakBORG Linux - Software 5 03-14-2005 05:57 PM
problems with dvd playback drberg1000 Linux - Software 1 09-12-2004 10:18 PM
Once again DVD playback problems k.van.hagen Linux - Hardware 2 08-02-2004 01:11 AM
DVD Playback Problems Slacker0815 Slackware 6 07-17-2004 05:29 AM
Two problems - DVD playback and audio puppy Mandriva 4 09-13-2003 11:10 AM


All times are GMT -5. The time now is 10:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration