Giter Club home page Giter Club logo

audible-tools.github.io's Introduction

Back to the Website

If you are looking for an API documentation: API Documentation

Available Scripts

In the project directory, you can run:

npm run deploy

deploys script to github pages

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

audible-tools.github.io's People

Contributors

csandman avatar jkamsker avatar madewithlinux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

audible-tools.github.io's Issues

Conversion stalled

Hi, thanks for making this useful tool. I've used it to convert some audiobooks prior, but this latest one I'm converting stalls at ~89.9%. I'll copy paste some errors I'm seeing in the console below.

Sounds like it's an out of memory error, possibly a browser limitation? The size of the aax file is 1gb. I have the site open on Firefox, ran into the error, tried it on Chrome (without closing FF) and had the same error at the same %. My computer total memory usage is only around 70%.

ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:25 Pthread aborting at Error
    at n (blob:https://audible-converter.ml/ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:25:81)
    at ra (blob:https://audible-converter.ml/ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:199:201)
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[1996]:0x13dc78
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[341]:0x16b64
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[6232]:0x53788b
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[1047]:0x7a505
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[275]:0x10f07
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[326]:0x15102
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[4116]:0x35be5a
    at blob:https://audible-converter.ml/8933398f-a2a3-4ad0-b79c-e64f06e14743:wasm-function[4117]:0x35bf4a

ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:25 OOM

05a970f6-77e9-4750-b6d3-ba0438e349c3:1 worker.js onmessage() captured an uncaught exception: RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.

RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.
    at n (ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:25:109)
    at ra (ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:199:201)
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x13dc78
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x16b64
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x53788b
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x7a505
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x10f07
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x15102
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x35be5a
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x35bf4a

[fferr] pthread sent an error! blob:https://audible-converter.ml/05a970f6-77e9-4750-b6d3-ba0438e349c3:1: Uncaught RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.

Uncaught RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info.
    at n (ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:25:109)
    at ra (ce7ee22c-bb8e-4b80-a8ea-4231493ae6f4:199:201)
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x13dc78
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x16b64
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x53788b
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x7a505
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x10f07
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x15102
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x35be5a
    at 8933398f-a2a3-4ad0-b79c-e64f06e14743:0x35bf4a

Missing project for the actual activation code?

Hi! Looking to run this locally, but I noticed that the project/function you're hosting here https://aaxapiserverfunction20220831180001.azurewebsites.net, seems to not be included in this project? Can you point me to where it is, if anywhere?

iAmDeaf

iAmDeaf version still use aaxc,, +
.voucher file: “/data/data/com.audible.application/files/vouchers/”
.database file: “/data/data/com.audible.application/databases/” map_data_storage_v2.db
aaxc is there but, as I can see, vouchers and db file are missed
I'm not sure ( I'm on android no root) I'm right ?
I just see a file .companion ! New audible version ?

weird issue with higher quality files

first i would like to say thanks for your work on this it is awesome

i have noticed an issue when using this with some of the higher quality aax files usually the ones with _ep7 at the end f the filename

something is a bit off with the resulting m4b file they dont work properly in some android apps the file manager on my pixel 4a cant play them they also dont get imported into Smart Audiobook Player correctly

i did some digging with ffmpeg and found that if you re encode the audio the files work correctly im not sure what causes this here is an exaample of the ffmpeg command i used:
ffmpeg -y -activation_bytes 1a2b3c -i 'input_ep7.aax' -map 0:v -map 0:a -c:v copy -c:a aac -ar 44100 -b:a 125k 'output.m4b

Website unavailable

Hey dude, I love your tool! Unfortunately the website is currently down.
Looking forward to using it many times more. Thanks in advance!

Issue with particular filenames

Thanks for the amazing tool. It has been so easy to use!

While I was converting some of my files, I had one that had a single quote in their name "Winter's Heart". This caused the single quotes used to specify the filename to be prematurely ended and have ffmpeg look for the wrong file. It was simple enough to fix on my end, but adding to check for a single quote in the filename or changing to double quotes could solve the problem.

Unable to get activation bytes

First off I love the tool and it has worked great so far. However, on a few files (seems to be shorter files) I am getting the "An error occurred while resolving the activation bytes."

Do you know what might be causing that? I'm using in browser.

In Browser conversion stopped working

This was working fine for me a few days ago but it looks like it is no longer working because chrome changed the rules for using SharedArrayBuffer. This is the error I'm getting:

[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
    at 055b4913-ac8e-4b88-82cf-3c0aec6c7543:22
    at createFFmpeg.js:64
    at s (runtime.js:63)
    at Generator._invoke (runtime.js:293)
    at Generator.next (runtime.js:118)
    at n (asyncToGenerator.js:3)
    at l (asyncToGenerator.js:25)

Here is the article it links to: https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation

Apparently you need to serve the main document with the following headers:

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

I'm not sure if this is possible when using GitHub pages but I thought I'd let you know!

No License Specified

Please define a license in the repo properties, and if that doesn't create it- add a license.md as well please. I'd love to include this as part of a larger project, but cannot until a license is specified.

Thanks for an awesome tool!

Chapters Are Not Automatically Included

Are there any special ffmpeg commands that need to be included in the command in order to preserve/carry over embedded chapter information in the original .aax files from Audible? I feel like this tool sometimes includes those, but often times, does not.

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.