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

Loss in quality when merging mp3s? #52

Open
SebastianCmentowski opened this issue Apr 2, 2022 · 4 comments
Open

Loss in quality when merging mp3s? #52

SebastianCmentowski opened this issue Apr 2, 2022 · 4 comments

Comments

@SebastianCmentowski
Copy link

Hi,
I used bragi-books to merge multiple mp3s to one audiobooks (two iterations, first transforms the mp3s to one single m4b, the second pulls chapterdata from Audible). However, I notice that the audioquality degrades significantly (much more "hissing" in s/z sounds).

Where could this come from?

@djdembeck
Copy link
Owner

Did you use the Docker image?

@SebastianCmentowski
Copy link
Author

Yep. I also pinned the issue down to the mp3->m4b conversion.
Another audiobook in AAC/M4A is fine + the temporary individual m4b files already have the degraded quality.
My current fix is converting the mp3s manually through ffmpeg (which takes much longer but solves the issue).
Afterwards the merging should work with bragibooks

@djdembeck
Copy link
Owner

Which ffmpeg settings are you using? m4b-tool (what we pass commands to) is just a wrapper for ffmpeg, so I’d be surprised if it’s more than a misconfigured flag on our side.

@SebastianCmentowski
Copy link
Author

I'm not using ffmeg very often, so I basically took the first setup I found online:
ffmpeg -i file -c:a aac -vn output

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

2 participants