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

Audio bitrate parameter set in kbits/s while ffmpeg wants it in bits/s, causing result MP3 file to have poor quality #79

Open
vandrieu opened this issue Jul 2, 2020 · 0 comments

Comments

@vandrieu
Copy link

vandrieu commented Jul 2, 2020

When using fnExtractSoundToMP3(), the command that is run behind the scenes is:

ffmpeg -i <input file> -vn -ar 44100 -ac 2 -ab 192 -f mp3 <output file>

When running this command manually in the terminal, here is what ffmpeg outputs:

[libmp3lame @ 0x7f9f8481ee00] Bitrate 192 is extremely low, maybe you mean 192k
The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s

And the final file is generated with a default 128 kbits/s, which is very poor quality

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

1 participant