Simple dockerized Node.js web service for converting an AAX (or AAXC) file into an MP3 file.
Install Docker, then run:
$ docker run -p 80:80 sebelino/aax-to-mp3
Then fire up http://localhost:80/ in your browser.
Click the upload button, select your .aax file, and click Convert. The whole conversion should take 5-10 minutes, depending on how large your file is.
An MP3 file named audiobook.mp3 will be downloaded when processing is complete. If not, enter http://localhost:80/download/ into the address bar and the file should be downloaded.
If you are trying to convert a AAXC file, you need to upload three extra files related to your audiobook. The files will be named something like this:
example-AAX_22_64.aaxcexample-AAX_22_64.voucherexample-chapters.jsonexample_(1215).jpg
Click the upload button, select all four files (using the Ctrl or Command key), and click Convert.
If your filename of your AAXC file does not end with the .aaxc file extension, rename it.
Install Docker, then build the image yourself:
$ git clone git@github.com:Sebelino/aax-to-mp3
$ cd aax-to-mp3/
$ docker build -t sebelino/aax-to-mp3:dev .
Get checksum:
$ docker run -p 80:80 -v /tmp/book:/data -it sebelino/aax-to-mp3:dev bash -c "ffprobe -loglevel debug /data/sample.aax 2>&1 | grep checksum | sed 's/.*checksum == \(\w\+\)/\1/'"
a83ff00cb34b25efd48fcc0719805f302325ec90
