LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Problem with encrypted(?) PAL DVD playback (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/problem-with-encrypted-pal-dvd-playback-4175453153/)

bongodaddy 03-07-2013 01:01 PM

Problem with encrypted(?) PAL DVD playback
 
i'm having a problem that is quite particular and specific and can find very little in terms of posts that might correspond.

i have installed ubuntu 12.04 (fresh install) on an HP compaq tc4400 w/ external DVDRW. everything is fine and working OK, except i cannot playback encrypted PAL DVDs despite having libdvdcss2, libdvdread4 etc. installed. i have run the script:

Quote:

sudo /usr/share/doc/libdvdread4/install-css.sh
i have also installed mplayer, xine and vlc as well as ubuntu-restricted-extras.

i have no problem playing any NTSC discs and some PAL discs (assuming unencrypted), but a good deal of my PAL discs are returning the standard error message:

Quote:

Could not read DVD. This may be because the DVD is encrypted and a DVD decryption library is not installed.
this is happening with DVDs from BFI, StudioCANAL, BBCfilms, ITC etc.

running the program in terminal returns:

Quote:

user@blahblah:~$ totem

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets-img.css:14:62: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets-img.css:25:74: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets-img.css:53:73: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets-img.css:64:73: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets-img.css:75:73: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets-img.css:86:73: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:59:15: Horizontal and vertical offsets are required

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:305:60: Junk at end of value

(totem:4751): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:327:60: Junk at end of value

(totem:4751): GLib-GObject-CRITICAL **: Read/writable property 'object' on class 'ZeitgeistDpPlugin' has type 'TotemObject' which is not exactly equal to the type 'GObject' of the property on the interface 'PeasActivatable'

libdvdread: Using libdvdcss version 1.2.12 for DVD access
*** Zero check failed in /build/buildd/libdvdread-4.2.0/src/ifo_read.c:574
for vmgi_mat->zero_6 = 0x0000000800000000000000000000000000000000000000000000000000000000
libdvdnav: Using dvdnav version 4.2.0
libdvdread: Using libdvdcss version 1.2.12 for DVD access
*** Zero check failed in /build/buildd/libdvdread-4.2.0/src/ifo_read.c:574
for vmgi_mat->zero_6 = 0x0000000800000000000000000000000000000000000000000000000000000000
libdvdnav: DVD Title: <PRIVILEGE>
libdvdnav: DVD Serial Number: 3b71627a
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file '/home/mongo/.dvdnav/<PRIVILEGE>.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000001c8
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x000001c8)!!
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00017b11
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0002567c
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x0002567c)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x002dcbd5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003c34f6
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x003c34f6)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003c3554
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_1.VOB (0x003c3554)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003c35b1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003c3695
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003ddf49
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x003eb305
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003eb319
libdvdread: Elapsed time 0
libdvdread: Found 9 VTS's
libdvdread: Elapsed time 5
** Message: Error: Could not read DVD. This may be because the DVD is encrypted and a DVD decryption library is not installed.
resindvdsrc.c(1143): rsn_dvdsrc_step (): /GstPlayBin2:Play/GstURIDecodeBin:uridecodebin0/RsnDvdBin:source/resinDvdSrc:dvdsrc:
Failed to read next DVD block. Error: Error reading NAV packet.
neither mplayer, vlc or xine work any better. can anyone offer some help with this problem?

also, i cannot copy from these same discs using vobcopy.

thanks.

273 03-07-2013 01:25 PM

I've never understood install-css.sh -- personally I tend to enable the restricted repositories then manually install libdvdcss2 and libdrdread4 and libdvdnav4 (and possibly some I can't recall, but I search for dvd) manually. It's probably worth checking in the software centre that these are installed.

cascade9 03-08-2013 02:23 PM

NTSC works fine, PAL doesnt? I would bet its the region coding on your DVD drive.

%&$%# region coding, IMO it should never have been allowed.

bongodaddy 03-08-2013 05:17 PM

Quote:

NTSC works fine, PAL doesnt?
yes. but it isn't just a question of PAL v NTSC. it is encrypted PAL that doesn't work, i think. i have been able to play quite few of my PAL DVDs, and am therefore assuming that these are not encrypted.

dmesg | tail command returned something interesting:

Quote:

user@blahblah:~$ dmesg | tail
[15755.053551] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[15755.053559] Info fld=0x400
[15755.053563] sr 2:0:0:0: [sr0] Add. Sense: Media region code is mismatched to logical unit region
[15755.053574] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
[15755.053592] end_request: I/O error, dev sr0, sector 4096
[15755.053597] Buffer I/O error on device sr0, logical block 512
[15755.413074] UDF-fs: Partition marked readonly; forcing readonly mount
[15755.460933] UDF-fs: INFO Mounting volume '<PRIVILEGE>', timestamp 2009/11/17 07:19 (1ed4)
[16816.665161] UDF-fs: Partition marked readonly; forcing readonly mount
[16816.713032] UDF-fs: INFO Mounting volume 'BATTLESHIP_POTEMKIN', timestamp 2007/08/21 09:39 (1ed4)
this was with no disc in the drive and would tend to make me think you are correct. i am just wondering what to do about it? i am leery about using regionset.

cascade9 03-09-2013 03:33 AM

If its not encrypted the region coding normally doesnt matter. Mostly they are 'region 0' discs.

It is possible to change the region coding on the drive, but the number of times you can do that is limited.

I've heard that you can set region to 'all', but in some cases discs will refuse to work with region all set.

Sorry 'm not much more help, I dont have any DVDs that are from a different region to mine so its not soemthing I've ever had to learn about....

bongodaddy 03-09-2013 11:36 AM

Quote:

Originally Posted by cascade9 (Post 4907858)
Sorry 'm not much more help, I dont have any DVDs that are from a different region to mine so its not soemthing I've ever had to learn about....

thanks anyway. this problem seems to be a recent development with the change in "region protection" firmware from phase 1 to phase 2. from what i've been able to find out since initially posting is that the best solution is probably just to buy a drive that i know to be rpc-1.

still open to suggestions...


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