npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

audible-converter

v1.4.0

Published

Converts Audible AAX audiobooks to M4A while keeping chapters and the cover image intact.

Downloads

13

Readme

Audible Converter (AAX to M4A)

Converts Audible AAX audiobooks to M4A while keeping chapters and the cover image intact. The cover can be added as a looped image so it will be shown while playing on Plex Media Server

Usage

λ audible-converter -h

  Usage: audible-converter [options] <file>


  Commands:

    list                    list registered devices and their activation bytes (Windows only)
    lookup <file|checksum>  lookup activation bytes in RainbowTables generated by https://github.com/inAudible-NG/ (Windows/Linux only)
    checksum <file>         show audiobooks checksum
    download <file>         download an audiobook from *.adh

  Options:

    -h, --help                      output usage information
    -V, --version                   output the version number
    -o, --output <filename>         output filename
    -p, --path <path>               output path
    -v, --verbose                   output detailed information
    -a, --activation-bytes <value>  4 byte activation secret to decrypt Audible AAX files (e.g. 1CEB00DA)
    -d, --device <number>           registered device number from which activation bytes are used (Windows only)
    -l, --loop                      add looped cover image to Audiobook

Example:

λ audible-converter "*.aax" -a 1CEB00DA

Haruki 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

License

The MIT License (MIT)