[DVDnav-discuss] dvdread patch for broken dvd's
jezz at hkfree.org
jezz at hkfree.org
Mon Oct 6 22:09:37 CEST 2008
Hi,
here are my answers. Cosmetics are not problem, but before fixing them, the idea
of this code must be approved. For file there are 2 possible tag values - 261
for File Entry (4/14.9 in Ecma 167) or Extended File Entry (4/14.17). For some
VOBS on DVD there is no File Entry or Extended File Entry. But there is
Extended Attribute Header Entry with tag 262 (4/14.10). If I handle 262 entry
as 261, than DVD plays fine, but that is wrong - EA Header is not File Entry +
some data. It contains data associated with some File Entry, but there is none.
Therefor this DVD is broken. But ISO 9660 filesystem is ok - kernel mounts this
DVD and totem can play it (totem don't plays discs directly, but only mounted).
I can play VOB directly using mplayer, but I can't use dvdnav or some mplayer front-ends.
This ISO stuff uses correct ISO fs if file search on UDF fails. This fixes my
problem - and maybe others, too.
On Ne 5.říj, Nico Sabbi wrote:
> Il giorno dom, 05/10/2008 alle 22.25 +0200, Nico Sabbi ha scritto:
> > Il giorno dom, 05/10/2008 alle 22.12 +0200, Nico Sabbi ha scritto:
> > > Il giorno dom, 05/10/2008 alle 16.56 +0200, jezz at hkfree.org ha scritto:
> > > > 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.
> > > >
> > > > Any comments are welcome. I will be glad if this commit will be accepted to libdvdread.
> > > >
> > > > Regards
> > > >
> > >
> > > thanks, but there are several problems:
> > > - it's full of cosmetics
> > > - I don't see how you handle the 262<->261 code
> > > - are you sure that all of is09660.c is necessary?
> > >
> >
> > one more question: are the specs available here complete?
> > http://osta.org/specs/index.htm
> >
> > Just searching the table of Tag identifiers I can't find it.
> > It seems that only items in [bold] are specified. Am I missing
> > something? There are referenced to ECMA 167, is that pdf a
> > complementary document?
> >
>
>
> apparently yes, here is what you need :)
> http://www.ecma-international.org/publications/standards/Ecma-167.htm
--
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/20081006/1ec903ce/attachment.pgp>
More information about the DVDnav-discuss
mailing list