[mythtv-users] Import DVD

Scott list-mythtv at bluecamel.eml.cc
Fri Apr 6 11:56:52 UTC 2007

On Apr 6, 2007, at 5:49 AM, William Munson wrote:

> Mitch Gore wrote:
>> 21:43:01: Error: DVDPerfectThread read failed for 145 blocks at  
>> 1743166
>> 21:43:10: job failed: job dvd 1 1 2 1 -1 /video/movies/BAD_SANTA
>> What does this mean???
> It means that that disk is copy protected by putting bad sectors on  
> the
> disk. Myth will not rip that dvd. I would suggest that you use one of
> the windows tools to rip the dvd as some of them are able to read that
> "bad" disk.

Try the script I've been using for getting ISO copies. The script  
makes use of lsdvd to open the disc and get the title then ddrescue  
to skip bad blocks during copy. Obviously, have both lsdvd and  
ddrescue installed before running. A while back there was talk about  
making MythDVD more robust against block read errors. I'm not sure  
changes were ever made.

# copy a dvd from /dev/dvd to /var/video/movies using lsdvd and ddrescue


# read the disc toc
if ! DISCTOC=`lsdvd ${DEV} 2> /dev/null` ; then
     echo "Failed to read disc in ${DEV}";
     exit 1;

# extract the disc title from the toc
DISCTITLE=`echo ${DISCTOC} | awk '/Disc Title:/{print $3}'`;

# prompt for disc title confirmation
echo -n "Name of DVD: [${DISCTITLE}]: ";
if [ -n "${NEWDISCTITLE}" ] ; then
     DISCTITLE=`echo -n "${NEWDISCTITLE}" | tr '[:lower:]' '[:upper:]'`;
     DISCTITLE=`echo -n "${DISCTITLE}" | tr '[:space:]' '_'`;


# copy the disc
ddrescue --no-split --verbose --block-size=2048 ${DEV} ${OUTFILE}


More information about the mythtv-users mailing list