Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion got non-zero response:3 #250

Closed
benjaminewton opened this issue Dec 28, 2019 · 19 comments
Closed

Conversion got non-zero response:3 #250

benjaminewton opened this issue Dec 28, 2019 · 19 comments

Comments

@benjaminewton
Copy link

I have converted and chapter split a number of audiobooks without issue, until this one (American Gods: The Tenth Anniversary Edition) which starts converting but ends up with the State: "Conversion got non-zero response:3".

I have tried deleting the AAX file and downloading it again and converting it again but I get the same outcome.

Am I doing something wrong?

image

@M1DLG
Copy link

M1DLG commented Dec 29, 2019

I have the same issue, out of more than 1700 aax files 9 fail to convert. I was successful using Epubor. I suspect the DRM or part of the encoding is different to the others.

@parkylondon
Copy link

I just started using OpenAudible this past couple of days and hit this issue earlier today. I cannot see any connection with the dozen or so books I have remaining from my conversion task - they aren't the most recent / oldest of my Audible files, neither are they the biggest or the smallest.

I had a look at the source for the application and although I can see the reference to the "Conversion got non-zero response" there seems to be no look up for the error codes.

I'd just like to know why they are failing! I've done 180 books successfully and it's just this 11 files left.

FWIW, I'm doing it so they can go on an SD card for my older car - it has a 30 pin iPhone cable but I don't have a 30pin device any more!

@parkylondon
Copy link

parkylondon commented Dec 31, 2019

FWIW, one of mine refusing to convert is also American Gods, per the above post...

Screenshot 2019-12-31 09 48 46

@Bhlowe
Copy link

Bhlowe commented Dec 31, 2019

If it happens part way through encoding, it isn’t a podcast/escape unsupported format.

If I were to look for a solution— run ffmpeg from command line with verbose logging on. Look for error messages. Google error messages. See if it only affects mp3 encoding. See if there is a better command line for ffmpeg command that doesn’t crash. (Maybe that doesn’t use LAME) Run ffmpeg using debugger and set breakpoints where errors occur. Post on ffmpeg discussion board. Send a sample file to ffmpeg developer willing to debug it.

@Darthagnon
Copy link

Darthagnon commented Dec 31, 2019

I've had the same issue, with Stephen Fry's reading of Sherlock Holmes. I successfully used adiamus's AaxAudioConverter to convert it. (NB it has a weird activation requirement - needs some 8-digit Audible account token, which I have no idea where to find manually; this limits its use to Win10 PCs that can install the Audible UWP app, if AudibleManager refuses to "Activate" the PC.

EDIT: Since AaxAudioConverter is ffmpeg-based, and works perfectly, maybe the devs of OpenAudible could take a look at its implementation?

@openaudible
Copy link
Owner

I can't reproduce, so hard to fix without additional help. Latest version should be used (currently 1.6.4) as that includes new error logging.

Can you copy and paste the main error from the console output, or into a pastebin if you post the whole command?

Running from the command line would be the easiest way to reproduce and help fix. Look at our (complicated) ffmpeg command and get your activation_bytes. Then create a copy "test.AAX" of your problem file.

Then run:

ffmpeg -activation_bytes XXXXXX -i "test.AAX" -codec:a libmp3lame -qscale:a 4 -id3v2_version 3 -loglevel debug -v verbose test.mp3

If you get the same error, let us know by pastebin link to the output.

Then feel free to change any arguments to see if it can work (remove lame codec) or try different output format.

Also, how long does it take to spit out an error?

@Darthagnon if you can determine the ffmpeg command that aaxAudioConverter uses, let me know.

@benjaminewton
Copy link
Author

I would give this ago but sorry I'm not technical enough. In case it's of any help I just tried it again and it stopped 7:36 into a 19:36 book.

@Avilyn238
Copy link

I'm getting the same error with 6 books out of my library (272 books total). Console log attached.
Console non-zero response error.txt

@openaudible
Copy link
Owner

@Avilyn238 Thank you. That helps.

This is an open bug/error in the LAME MP3 encoder

Which is deep in the LAME mp3 encoder in a function called short_block_constrain.

This bug is also reported here and has more info.

The bug may have been fixed LAME bug 496 but I don't know when that source code change will go into ffmpeg.

Sounds like downgrading ffmpeg to 3.3.4 might also help if someone wants to try. If you find a version that works, let me know the version on https://ffbinaries.com/downloads

ffmpeg uses LAME for mp3 encoding by default, so I don't think I can just turn off LAME.

@openaudible
Copy link
Owner

OK. I compiled ffmpeg from scratch which uses the latest lame library.
Can you give this a try?
https://openaudible.org/temp/OpenAudible_1.6.4_win.exe
As far as I know, this only affected windows users.
Let me know.

@parkylondon
Copy link

Worked like a CHARM. Thank you!
Absolutely no issues to report.

@Avilyn238
Copy link

Confirming the new version also solves this issue. Thanks!

@ametueraspirant
Copy link

ametueraspirant commented Jan 10, 2020

this happened to me on water keep: farworld volume 1. but only on my laptop. on my pc it converted sucessfully. I am on the latest 1.6.4 version and tried redownloading and reinstalling everything.

@openaudible
Copy link
Owner

@ametueraspirant Laptop also PC? Did you re-download 1.6.4?

@ametueraspirant
Copy link

my laptop had the issue. the PC did not. and I did redownload 1.6.4

@openaudible
Copy link
Owner

openaudible commented Feb 3, 2020

I updated the version of ffmpeg for 1.6.5. Feel free to erase and re-encode any or all mp3's. Open a new issue if it isn't solved.

@ametueraspirant
Copy link

it works now. I updated and reencoded the failures without any errors. I didn't even have to redownload or delete anything.

@openaudible
Copy link
Owner

This hell bug has come back in 2.0.7. It affects less than 1% of conversions.
A pre-release is available if anyone is seeing this... https://openaudible.org/prerelease

@openaudible openaudible reopened this May 17, 2020
@openaudible
Copy link
Owner

Fixed in 2.0.8. Again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants