20 Aug 06:09
libdvdread compatibility patches..
From: Jorgen Lundman <lundman@...>
Subject: libdvdread compatibility patches..
Newsgroups: gmane.comp.video.dvdnav.general
Date: 2008-08-20 04:12:28 GMT
Subject: libdvdread compatibility patches..
Newsgroups: gmane.comp.video.dvdnav.general
Date: 2008-08-20 04:12:28 GMT
I used libdvdread-0.9.7 in my own project (llink) but since it appears that libdvdread has come to a stand-still, I have moved to use libdvdnav-4.2.1 instead, or rather, the dvdread inside libdvdnav. In future I will explore the additional features of libdvdnav to see what more I can do with it, but for now it was a simple transition. In aid of being backward compatible (so that I could move to using libdvdnav) I applied the 0.9.7 patches for the various *stat() API methods. This is so I can simulate "directory listing" of an ISO file. Patch 1: Add in DVDFileStat and "struct dvd_stat_t" for backward compatibility and maintaining portability. Patch 2: I added a new dvd_input method for calling "unrar". This to allow my program to use libdvdread on .ISO files inside RAR archives. It uses a slightly patched "unrar" executable with a new -sk<offset> flag to specify starting seek position. It takes about two unrar spawns to "list" an ISO file, and on average, 2 unrar spawns to send a .VOB file. (Assuming VOB files are contiguous). Patch 3: Add UDF2.50 support to read new BD5/9 disks. I have only done Patch 1 and Patch 2 so far, and I do not know if it is even worth me forwarding them to this list, since they are rather specialised for me. I will consider Patch 3 next, but if anyone has any hints, that would be appreciated.(Continue reading)
RSS Feed