https://github.com/ckuethe/aax2mp3_py
Python script to convert AAX files to MP3
https://github.com/ckuethe/aax2mp3_py
aax audible-converter audiobook ffmpeg-wrapper mp3 python
Last synced: 8 months ago
JSON representation
Python script to convert AAX files to MP3
- Host: GitHub
- URL: https://github.com/ckuethe/aax2mp3_py
- Owner: ckuethe
- License: wtfpl
- Created: 2018-10-28T15:40:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T01:41:26.000Z (almost 3 years ago)
- Last Synced: 2025-04-12T09:42:12.568Z (12 months ago)
- Topics: aax, audible-converter, audiobook, ffmpeg-wrapper, mp3, python
- Language: Python
- Size: 13.7 KB
- Stars: 21
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AAX2MP3_py
This is a rough rewrite of [KrumpetPirate AAXtoMP3](https://github.com/KrumpetPirate/AAXtoMP3) but in python. As with `AAXtoMP3` you will need to use a tool like [audible-activator](https://github.com/inAudible-NG/audible-activator) to get the authcode needed to decrypt the audio.
An advantage this script has over the original is that it uses [mp3splt](https://github.com/search?l=C&q=mp3splt&type=Repositories) to split the decrypted audio into chapter files which is much faster than using `ffmpeg`. A disadvantage this script has compared to the original is that it only supports `MP3` output (for now)
### Usage
```
usage: aax2mp3 [-h] [-a AUTH] [-f {mp3}] [-o OUTDIR] [-p PROCESSES] [-c] [-i]
[-m] [-s] [-t] [-v] input [input ...]
positional arguments:
input
optional arguments:
-h, --help show this help message and exit
-a AUTH, --authcode AUTH
Authorization Bytes
-f {mp3}, --format {mp3}
output format. Default: mp3
-o OUTDIR, --outputdir OUTDIR
output directory. Default: Audiobooks
-p PROCESSES, --processes PROCESSES
number of parallel transcoder processes to run.
Default: 1
-c, --clobber overwrite existing files
-i, --coverimage only extract cover image
-m, --mono downmix to mono
-s, --single don't split into chapters
-t, --test test input file(s)
-v, --verbose extra verbose output
```
### To Do
- support more audio formats
- fix metadata (id3) generation