Giter Site home page Giter Site logo

aax_to_ogg's Introduction

Overview

What is it?

This utility will take *.adh or *.aax files as provided by Audible, strip the DRM, and split them into chapters. It will also attempt to locate metadata and orgaise the resulting files into a library.

Chapters will be split and the transcoding will run in parallel - one job per CPU thread.

What does it need?

You will need to have ffmepg installed on your system, and you will need to have your "activation bytes" to decrypt protected content.

Usage

$ python3 -m aax_to_ogg
usage: aax_to_ogg [-h] [-a ACTIVATION_BYTES] [-b BITRATE] [-p PARALLEL]
                  [-d DOMAIN] [-l LIBRARY] [-s] [-i SNIP_INTRO_LEN]
                  [-o SNIP_OUTRO_LEN] [--debug]
                  files [files ...]

Process ADH or AAX files in to Ogg/Vorbis

positional arguments:
  files                 the file(s) to convert

optional arguments:
  -h, --help            show this help message and exit
  -a ACTIVATION_BYTES, --activation-bytes ACTIVATION_BYTES
                        the activation bytes used by ffmpeg to decrypt the AAX
                        files
  -b BITRATE, --bitrate BITRATE
                        the output bitrate to use, in kb/s
  -p PARALLEL, --parallel PARALLEL
                        the number of ffmpeg processes to run in parallel
  -d DOMAIN, --domain DOMAIN
                        the Audible domain to use when locating metadata (only
                        use for direct AAX ingestion)
  -l LIBRARY, --library LIBRARY
                        the directory to use as the library
  -s, --no-snip         do not snip the "This is Audible", and "Audible hopes
                        you have enjoied" from the first and last chapters
  -i SNIP_INTRO_LEN, --snip-intro-len SNIP_INTRO_LEN
                        how many seconds to snip when removing the intro
  -o SNIP_OUTRO_LEN, --snip-outro-len SNIP_OUTRO_LEN
                        how many seconds to snip when removing the outro
  --debug               enable debug mode

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.