Re: libdvdread

maurizio <[email protected]> Fri, 03 Feb 2006 13:48:42 +0100
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Bj|rn Englund ha scritto:

>Fri Feb 03 2006, maurizio wrote:
>
>  
>
>>sorry if I'm off topic. I have a few scratched DVD which I'd like to 
>>copy but I cannot because libdvdread exit when reach a bad sector.
>>Is there a way to tell libdvdread to ignore read error?
>>I know this option is supported in DVDdecrypter but I would like to stay 
>>on Linux (and avoid to use wine).
>>    
>>
>
>What program are you using that is using libdvdread?
>  
>
I am using qvamps with libdvdread 0.9.4.
As you said, it should be the program that call the library to manage 
such a message and ask the user what to do or silently ignore the block 
error. In fact, I sent an email to the author of vamps, already.
Actually, I had the same problem with dvdbackup, too. It seems that 
these programs which make use of libdvdread assume that a dvd copy 
should have not any block error but, while this assumption is correct 
for a data dvd is not correct for a movie dvd, in my opinion, because 
most of the time users will not see the lack of few photograms.

Thanks for the quick answer.

Maurizio

>What function in libdvdread (v0.9.5 ?) is failing and with what return value
>(and/or error message)?
>
>Libdvdread should not exit() when encountering a read error, just return
>a short read. The program that is calling libdvdread should catch this short
>read and retry reading or skip the unreadable blocks.
>
>I guess we could implement this read retry in libdvdread, but there
>would be no way to tell the calling program if a block has errors or not
>with the current interface I think. 
>
>/Bj|rn
>
>  
>