AAXtoMP3/README.md

62 lines
3.0 KiB
Markdown
Raw Normal View History

# AAXtoMP3
2018-06-25 03:28:09 +02:00
The purpose of this software is to convert AAX files to a more common MP3 format
through a basic bash script frontend to FFMPEG.
2015-12-13 07:12:37 +01:00
2018-05-19 07:41:23 +02:00
Audible uses this file format to maintain DRM restrictions on their audio
2015-12-13 07:12:37 +01:00
books and if you download your book through your library it will be
stored in this format.
The purpose of this software is **not** to circumvent the DRM restrictions
for audio books that **you** do not own in that you do not have them on
your **personal** Audible account. The purpose of this software is to
create a method for you to download and store your books just in case
Audible fails for some reason.
2018-06-25 03:28:09 +02:00
## Setup
You will need your four byte authentication code that comes from Audible's
servers. This will be used by ffmpeg to perform the initial audio convert. You
can obtain this string from a tool like [audible-activator](https://github.com/inAudible-NG/audible-activator).
2015-12-13 23:48:30 +01:00
## Requirements
* bash 4.3.42 or later tested
2015-12-13 23:48:30 +01:00
* ffmpeg version 2.8.3 or later
* libmp3lame (came from lame package on Arch, not sure where else this is stored)
2015-12-13 23:48:30 +01:00
2017-01-24 01:38:38 +01:00
## OSX
Thanks to thibaudcolas, this script has been tested on OSX 10.11.6 El Capitan. YMMV, but it should work for
conversions in OSX. It is recommended that you install GNU grep using 'brew install grep' for chapter padding to work.
2017-01-24 01:38:38 +01:00
2017-04-09 15:12:05 +02:00
## AUR
Thanks to kbabioch, this script has also been packaged in the [AUR](https://aur.archlinux.org/packages/aaxtomp3-git/). Note that you will still need to extract your activation bytes before use.
2018-06-25 03:28:09 +02:00
## Usage
```bash
bash AAXtoMP3 [--flac] [--aac] [--opus] [--single] AUTHCODE {FILES}
2015-12-13 23:48:30 +01:00
```
2018-06-25 03:28:09 +02:00
* AUTHCODE: **your** Audible auth code (it won't correctly decode otherwise) (required)
* Everything else is considered an input file, useful for batching!
2018-02-20 12:30:34 +01:00
2018-06-25 03:28:09 +02:00
Note that any optional flags have to be inputed *in order* to function correctly.
2017-01-06 01:34:10 +01:00
2018-06-25 03:28:09 +02:00
Additionally, if you have a .authcode file available in either your home directory or the current working directory, it will read the first line of that line and treat it like your auth_code. When you do this you do not need to specify an AUTHCODE input.
2018-05-19 07:41:23 +02:00
2015-12-13 23:48:30 +01:00
## Anti-Piracy Notice
2018-06-25 03:28:09 +02:00
Note that this project does NOT crack the DRM. It simply allows the user to
2015-12-13 07:12:37 +01:00
use their own encryption key (fetched from Audible servers) to decrypt the
audiobook in the same manner that the official audiobook playing software does.
Please only use this application for gaining full access to your own audiobooks
2017-03-01 17:20:20 +01:00
for archiving/conversion/convenience. DeDRMed audiobooks should not be uploaded
2015-12-13 07:12:37 +01:00
to open servers, torrents, or other methods of mass distribution. No help will
be given to people doing such things. Authors, retailers, and publishers all
need to make a living, so that they can continue to produce audiobooks for us to
hear, and enjoy. Dont be a parasite.
This blurb is borrowed from the https://apprenticealf.wordpress.com/ page.
## License
Changed the license to the WTFPL, do whatever you like with this script. Ultimately it's just a front-end for ffmpeg after all.
2015-12-13 07:12:37 +01:00
## Need Help?
I'll help out if you are having issues, just submit and issue and I'll get back to you when I can.