This docker image has been based on the ivonet/mediatools image with the addition of having the rcrack tool installed.
Now if you have an Audible account and want to have your books available offline without the irritating DRM you can use this tool.
The docker container will (see aax_2_m4b.sh):
- use ffprobe to find the checksum of the aax file and extract some essential metadata (json)
- use rcrack to retrieve the Activation Bytes based on the checksum
- use the Activation bytes to convert the aax to m4b with ffmpeg (keeping as much metadata as possible)
- use AtomicParsley to put the minimal metadata into the m4b
- use ffmpeg to extract the cover
- use mp4art to add the cover to the m4b
- move the final m4b to the /output volume
See Usage...
- Docker
- log into your audible account on your pc and download a book/podcast/audiothingy
- Put your aax file in a folder and open a terminal there
- run the following command replacing file.aax with your file
- it should do the rest.
- in the first volume is where the aax file must be
- the second volume is where the m4b file will be written to.
docker run -it --rm \
--platform linux/amd64 \
-v "$(pwd):/input:ro" \
-v "$(pwd):/output:rw" \
ivonet/rcrack:latest [file.aax]or run it without arguments. It will then convert all *.aax files in the folder you run it.
or use the rcrack.sh script
For creating the RainbowCrack tool
- inAudible-NG
## DON'T BE A DICK PUBLIC LICENSE
> Version 1.1, December 2016
> Copyright (C) 2021 ivonet
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document.
> DON'T BE A DICK PUBLIC LICENSE
> TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. Do whatever you like with the original work, just don't be a dick.
Being a dick includes - but is not limited to - the following instances:
1a. Outright copyright infringement - Don't just copy this and change the name.
1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick.
1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.
2. If you become rich through modifications, related works/services, or supporting the original work,
share the love. Only a dick would make loads off this work and not buy the original work's
creator(s) a pint.
3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.