audible-tools.github.io icon indicating copy to clipboard operation
audible-tools.github.io copied to clipboard

Conversion stalled

Open Ligerx opened this issue 3 years ago • 1 comments

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

Ligerx avatar Jun 04 '22 18:06 Ligerx

When I run the ffmpeg command locally, it completes without any issue

Ligerx avatar Jun 04 '22 18:06 Ligerx

Yea probaply cause its run out of memory. https://github.com/ffmpegwasm/ffmpeg.wasm#what-is-the-maximum-size-of-input-file

JKamsker avatar Jan 09 '23 22:01 JKamsker