[mythtv-users] Problem Ripping DVD

Tony Howard tahoward at nc.rr.com
Wed Sep 23 00:22:11 UTC 2009


Hi,

I've been having problems using MythVideo to rip a dvd.  I'm using Fedora 9 
with all updates, mythtv 21-fixes, and libdvdcss 1.2.10-1 from livna.  In 
mtd.log, I'm seeing:

libdvdread: Using libdvdcss version 1.2.10 for DVD access
...
19:28:56: transcode command will be: 
transcode -i /var/lib/mythdvd/temp/BCBR_ALPHABET_POWER/vob/ -g 720x480 -M 
2 -V -j 0,8,0,8 -B 0,2 -y xvid -w 
1618 -o /video/BCBR_ALPHABET_POWER.avi --print_status 20 --color 0
19:28:56: job thread beginning to rip dvd title
2009-09-22 19:28:56.994 MSqlQuery: SELECT data FROM settings WHERE value 
= 'MTDRipSize' AND hostname = 'station' ;
19:38:01: Error: DVDPerfectThread read failed for 165 blocks at 1474432
19:38:10: job failed: job dvd 5 1 7 0 -1 /video/BCBR_ALPHABET_POWER

I'm also seeing errors like this in dmesg:

Buffer I/O error on device sr0, logical block 2254161
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sr 1:0:0:0: [sr0] Sense Key : Medium Error [current] 
Info fld=0x16e7e0
sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
end_request: I/O error, dev sr0, sector 6004608
Buffer I/O error on device sr0, logical block 750576
Buffer I/O error on device sr0, logical block 750577
Buffer I/O error on device sr0, logical block 750578
Buffer I/O error on device sr0, logical block 750579
Buffer I/O error on device sr0, logical block 750580
Buffer I/O error on device sr0, logical block 750581
Buffer I/O error on device sr0, logical block 750582
Buffer I/O error on device sr0, logical block 750583
Buffer I/O error on device sr0, logical block 750584
Buffer I/O error on device sr0, logical block 750585
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sr 1:0:0:0: [sr0] Sense Key : Medium Error [current] 
Info fld=0x16e7e0
sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
end_request: I/O error, dev sr0, sector 6004608

and occasionally this:

Info fld=0xcbfa
sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
end_request: I/O error, dev sr0, sector 208872
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sr 1:0:0:0: [sr0] Sense Key : Medium Error [current] 
Info fld=0xcbc0
sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
end_request: I/O error, dev sr0, sector 208640

I know the disc is encrypted, but I'm still not convinced that in itself 
should be a problem.  If I try to copy the disc using dd if=/dev/dvd 
of=file.iso immediately after startup, it fails with the Buffer I/O errors in 
dmesg.  But If I run lsdvd, then run the dd command, it copies the entire 
disc to the hard drive with no problem.  

If I understand correctly, libdvdcss is used to decrypt blocks after they're 
read from the disc, so that's not my problem - in my case, MythTV is having 
trouble reading from the drive - it's not getting a chance to decrypt them.

I've heard of some kind of copy protection involving bad blocks written to the 
dvd - that may be the case here.  But how is dd working when MythTV isn't, 
and why does it not work until lsdvd runs?

Tony




More information about the mythtv-users mailing list