GNOME Bugzilla – Bug 601543
Add support for Audible inc's aa file format
Last modified: 2012-07-02 17:07:48 UTC
Add support for Audible inc's (audible.com) aa file format. This format is a proprietary file format created by Audible for use in its audio books. The format uses DRM to encrypt the audio track but not the meta data.
This is linked to bug 412842 (https://bugzilla.gnome.org/show_bug.cgi?id=412842)
Created attachment 147481 [details] [review] First support for aa files First public release of my audible aa files support. Hope the patch works. I cant get the make files to work, so if some one could that would be good.
Info on the file format available at: http://docs.google.com/Doc?docid=0AQL-UkavU-7lZGYyd3BtZ2NfNTlmeng4N3ZkdA&hl=en_GB
Created attachment 147661 [details] [review] Updated Tag file Sorry but I cant manage to merge the two patches. This updates the Tag file so it is easier to add new types of tags (Author, narrator ...)
Thanks for the patches, Guy! Could you attach a (very small filesize) file and some unit tests, ala tests/fixtures/TagLib.Tests.FileFormats/OggFormatTest.cs
Guy any update on this?
We just need a sample (and small) Audible file for unit tests. The patches themselves look quite good to me. After some googling, I've found this site which should help us out: http://wiki.multimedia.cx/index.php?title=Audible_Audio except the sample file it links to is 5 MB. Maybe somebody has time to see if they can shrink it somehow?
Very sorry to everybody. Iv had a lot on. Audible inc seem to be very legal oriented on some of there DRM (see wikipedia section). Therefore I personally am not happy uploading any of my legally obtained files as I cannot guarantee the removal of all encrypted areas and/or identifying information. I was thinking that we could use one of there free files, such as the 'barack obama inauguration speech' (it appears that that is the method multimedia.cx is using). Even for this I think we should get permission from Audible. If someone connected to the protect and/or who knows any of the correct legal information on this topic could make a judgement or contact Audible that would help. The above meta data viewer never reads any encrypted information or bypasses any DRM and was written in a 'clean room' situation. The multimedia.cx information is equal to my file spec I published (I think). The sample file can easily be shrunk by only including the first 1K or so as it is only the header we use. And finally if a test file is found I can write the tests for it if needed.
Patch has been slightly tweaked and commited. I also wrote some tests and added some sample files to the repository. They are the first 10kB of some aa and aax files. aax support is either unimplemented or incorrect as the only aax file I have does not parse. Thanks a lot for the initial patch and sorry it took so long to get it merged into master!