libMirage library
About
libMirage is a CD-ROM image access library. It is written in C and based on GLib. It's aim is to provide uniform access to the data stored in various image formats.
Features
- Written in C, based on GLib and its technologies, such as GObject and GModule.
- Disc layout representation via GObject-based objects representing disc, session, track, language, index, etc.
- Support for both CD-ROM and DVD-ROM images
- CD-TEXT, ISRC, MCN and DVD-ROM disc structures support
- Capable of generating information not provided by image file; for instance, if image provides only user data, sync pattern, header, ECC/EDC codes and subchannel are generated on fly when they are attempted to be accessed.
-
Currently supported image formats:
- B6T: BlindWrite 5/6 file format
- C2D: WinOnCD file format
- CCD: CloneCD image format
- CDI: DiscJuggler file format
- CIF: Easy CD Creator format
- CUE: CDRwin CUE/BIN image format
- DAA: PowerISO direct access archives (unencrypted)
- ISO: Classic ISO9660 image format
- MDS: Alcohol 120% image format
- NRG: Nero Burning ROM image format
- TOC: Cdrdao's TOC/BIN image format
- Plug-in based system that allows simple addition of new image format parsers or data-file access fragments.
- Debugging; verbosity of debug traces can be adjusted on fly using special debug context objects. Therefore, amount of traces can be adjusted without the need to restart the application.
- Various utility functions for converting address from/to LBA and MSF, interleaving and deinterleaving subchannel data, ECC/EDC generation, etc.
Requirements
- GLib 2.6 or newer
- libsndfile 1.0.0 or newer
- zlib
- gtk-doc (for documentation building)
API Reference
libMirage API reference, generated from the latest source, can be found here.