Converts Audible AAX audiobooks to M4A while keeping chapters and the cover image intact.
npm install audible-converter
λ audible-converter -h Usage: audible-converter [options]
Commands:
list list registered devices and their activation bytes (Windows only)
lookup lookup activation bytes in RainbowTables generated by https://github.com/inAudible-NG/ (Windows/Linux only)
checksum show audiobooks checksum
download download an audiobook from *.adh
Options:
-h, --help output usage information
-V, --version output the version number
-o, --output output filename
-p, --path output path
-v, --verbose output detailed information
-a, --activation-bytes 4 byte activation secret to decrypt Audible AAX files (e.g. 1CEB00DA)
-d, --device registered device number from which activation bytes are used (Windows only)
-l, --loop add looped cover image to Audiobook
`Example:
`
λ audible-converter "*.aax" -a 1CEB00DAHaruki Murakami - 1Q84 (Buch 1 & 2) [2012] (Duration: 30h53m0s)
Converting Audiobook (using 1CEB00DA for decryption) ... 100%
Extracting Cover Image ... 100%
Guillermo del Toro, Chuck Hogan - Das Blut [2010] (Duration: 12h4m17s)
Converting Audiobook (using 1CEB00DA for decryption) ... 100%
Extracting Cover Image ... 100%
Stephen King - Der Anschlag [2012] (Duration: 31h50m22s)
Converting Audiobook (using 1CEB00DA for decryption) ... 100%
Extracting Cover Image ... 100%
Max Brooks - Der Zombie Survival Guide. Überleben unter Untoten [2011] (Duration: 9h5m32s)
Converting Audiobook (using 1CEB00DA for decryption) ... 100%
Extracting Cover Image ... 100%
Finished converting 4 Audiobooks!
`Requirements
* [x] Installed Audible Download Manager (for getting your activation bytes)
* On OSX or Linux you could use this method http://apple.stackexchange.com/a/243670
* [x] ffmpeg for converting. The executables need to be in the same folder as the module OR in PATH!How it works
* Extract cover image:
* ffmpeg -y -i audiobook.aax cover.png
* Decrypted and convert to m4a:
* ffmpeg -y -activation_bytes 1CEB00DA -i audiobook.aax -c:a copy -vn audiobook.m4a
* Add looped cover image:
* ffmpeg -y -r 1 -loop 1 -i cover.png -i audiobook.m4a -c:a copy -shortest audiobook.m4v`