Git Product home page Git Product logo

aaxtom4b's Introduction

aaxToM4b Converter

Overview

This is a simple bash script designed to convert Audible's .aax files to .m4b format, which can then be imported into Apple's Books program. The script is a response to the introduction of what I consider 'advertising' in the Audible app after Amazon's acquisition of Audible. The script utilizes the activation_bytes unique to your Audible account to decrypt and convert the files.

Background

I have been using this script for a while as a workaround for the increased advertising content in the Audible app. The .aax files from Audible are essentially standard audio files with added DRM protection. Once the activation_bytes for your account are known (beyond the scope of this page), these files can be converted into a more standard and versatile format (m4b), making them compatible with Apple Books, which I find to have less intrusive advertising.

Requirements

  • ffmpeg: A robust tool for processing multimedia files.
  • AtomicParsley: A tool for embedding metadata and artwork into audio files.

Installation Instructions

macOS

  • ffmpeg: Install via Homebrew with brew install ffmpeg.
  • AtomicParsley: Install via Homebrew with brew install AtomicParsley.

Windows

  • ffmpeg: Download from FFmpeg Official Site or install via Chocolatey with choco install ffmpeg.
  • AtomicParsley: Download from AtomicParsley GitHub or install via Chocolatey with choco install atomicparsley.

Linux

  • ffmpeg: Install via package manager, e.g., sudo apt-get install ffmpeg (Debian/Ubuntu).
  • AtomicParsley: Install via package manager, e.g., sudo apt-get install atomicparsley (Debian/Ubuntu).

Configuration

Before running the script, you need to set the following variables:

  • AUDIBLE_ACTIVATION_BYTES: Your unique Audible activation bytes. If not set in the script, the script will use the value from the corresponding environment variable.
  • AUDIBLE_ARCHIVED_DIR: Directory where the original AAX files will be moved after processing.
  • AUDIBLE_OUTPUT_DIR: Directory where the converted M4B files will be copied.

Usage

Run the script with one or more AAX files as arguments. For example:

./audibleDecrypt book1.aax book2.aax

Disclaimer

This script is intended for personal use. Users should ensure they comply with Audible's terms of service and applicable laws regarding the use of DRM-protected content.

aaxtom4b's People

Contributors

wlavallee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.