[DVDnav-discuss] dvdread patch for broken dvd's

jezz at hkfree.org jezz at hkfree.org
Tue Oct 7 19:39:36 CEST 2008


Hi,
I think, that my problem is different. I have only 261 & 262 entries. Neither
266 nor 250 are present. As workaround I propose to use ISO 9660 filesystem as
fallback if UDF access fails.

On Po  6.říj, Jorgen Lundman wrote:
> 
> jezz at hkfree.org wrote:
> > Hi,
> > I have already posted this to mplayer-users mailing list. I have DVD disc with
> > broken UDF structure. I can't play this disc using current libdvdread, because
> > vob for chapter 37 is not found - entry in UDF has tag identifier 262 (Extended
> > Attribute Header Descriptor) instead of 261 (File Entry).
> > ISO 9660 filesystem is correct, so it can be used. When file can't be located
> > with UDF functions, then we can try ISO. This fix conforms with standards and
> > plays my disks :)
> > Patch is created against current svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread.
> > 
> 
> Quite a different route. But yes, you need ExtFinfo support. It is very 
> similar to Finfo, but pushes the record along somewhat.
> 
> http://www.lundman.net/cvs/viewvc.cgi/lundman/llink/libdvdnav-4.1.2/src/dvdread/dvd_udf.c?annotate=1.11#l547
> 
> Don't forget to handle the chains of ADs, instead of just the one like 
> dvdread assumes (which is probably ok for 99% of DVD images though). I 
> did that by making a FileAD (instead of over-loading AD like they did, 
> and fitting filesize 64bit into AD length 32 bit.)
> 
> http://www.lundman.net/cvs/viewvc.cgi/lundman/llink/libdvdnav-4.1.2/src/dvdread/dvd_udf.c?annotate=1.11#l120
> (Anyone know what the maximum number of AD chains there can be? ECMA did 
> not specify).
> 
> You probably also want to handle filetype 250, which appears to be a 
> re-direct type block. It will enable you to read UDF2.50.
> 
> Lund
> 
> -- 
> Jorgen Lundman       | <lundman at lundman.net>
> Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
> Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
> Japan                | +81 (0)3 -3375-1767          (home)
> _______________________________________________
> DVDnav-discuss mailing list
> DVDnav-discuss at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

-- 
Jezz
mail:   jezz at hkfree.org
jabber: jezz at njs.netlab.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20081007/b45fe243/attachment.pgp>


More information about the DVDnav-discuss mailing list