Jean-Baptiste Kempf wrote:
Why not create a small library or just a set of headers to just read UDF volumes? Something similar to libiso9660(, but actually portable). And see if other libraries can use it, like libdvdread or libbluray...
DVDs are UDF, all first 8 revisions. Blurays are just 4 more revisions (or whatever the revisions numbers are). So out of the 6100 lines in dvd_udf.c, I really only needed to add another 30 lines.
To make a whole new library, to be able to read all UDF filesystems, when 99% of the sources will be identical seems crazy. In your fine program, do you really want to have to cycle through "more than one" UDF library to be able to read an ISO?
Now the libdvdread library was only written for DVDs (hence the name) and took some shortcuts. I have spent time to fix these problems, add more error checking and extend it to be more of a libudfread.
But it also has the ability to change IO methods. In particular, to use libdvdcss (and I added libaacs). So all that would have to be duplicated (or added if you went with a whole new UDF library).
Using libdvdread to read Blu-Ray hierarchies seems a bit weird, as a concept, but also since it would take with it, some of the DVD cruft; and, sorry to say, many of the crashes...
What is weird, is writing a UDF reading library, then hamstringing it to ONLY be able to read "one specific kind" of UDF, ie, DVDs. Then doing a poor job is actually being UDF compliant, so that whenever they add new "anti piracy" hacks, like corrupting the UDF structure, libdvdread falls over. :)
I tried to play a bluray.ISO with VLC the other day, and it couldn't. If only you had used my libdvdread and it would have just worked :)
Lund -- Jorgen Lundman | <[email protected]> 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 [email protected] https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
