Re: libdvdread reports invalid IFO files

H}kan Hjort <[email protected]> Mon, 15 Mar 2004 11:58:43 +0100
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Sat Mar 13 2004, Keith Lyon wrote:
> i've got 2 dvds (Futurama Volume 3, Discs 1 and 3) which libdvdread says have 
> invalid IFO files.  One title on each disc won't play.  In both cases in the 
> function ifoRead_VTS() the vtsi_mat structure is getting filled with garbage 
> so there's some problem reading the disc.  However, when I mount the discs 
> and manually check the IFO file, I can see that its valid, and the discs work 
> in standalone DVD players.
> 
> I'm guessing the discs have some errors (although they're brand new) which the 
> system UDF driver recovers from but libdvdread doesn't.  how can i fix this 
> so the disk gets read correctly?

Well, new disc shouldn't have sector errors but if they really do I guess
we should at least modify libdvdread to try the BUP (backup IFO files) when
reading the IFO fails.
I never added this since reading the IFO has always worked for us so far.

You sure that it's not something else (like CSS) causing the read errors?

Could you send me a copy of all the IFO and BUP files?  Or do they read ok
when mounted?  Both as is09660 and as UDF?   libdvdread incudes a mini UDF
parser.  If the UDF filesystem is broken but the iso9660 is ok, that might
explain it.

I'll see if I can write up a patch to either libdvdread or Ogle to fall
back to the BUP version when reading the IFO fails in a few days.

Regards
-- 
HÃ¥kan Hjort