MP3 export bitrate on command line
MuseScore 2.2.1
When converting a score to .mp3 on command line, "-b " doesn't seem to work. I tried "-b 64", "-b 64000", "-b 64k", "-b 64kbps". The resulting .mp3 file is always 128kbps.
MuseScore 2.2.1
When converting a score to .mp3 on command line, "-b " doesn't seem to work. I tried "-b 64", "-b 64000", "-b 64k", "-b 64kbps". The resulting .mp3 file is always 128kbps.
Do you still have an unanswered question? Please log in first to post your question.
Comments
64, 64k and 64kbps is definitely wrong, 64 is way to small and the other 2 are not plain numbers.
What about "-b 64535"?
In reply to 64, 64k and 64kbps is… by Jojo-Schmitz
I also tried "-b 64000", (both with and without quotes), -b64000 (no space after -b), putting it before or after the "-o XXX.mp3" option, it is still the same.
Maybe it depends on the LAME version, or it's a bug?
In reply to I also tried "-b 64000", … by gfejos
Again: what about "-b 65535", i.e. the real 64k
In reply to Again: what about "-b 65535"… by Jojo-Schmitz
It still generates a 128kbps file with -b 65535 or -b 65536.
However, if I call MuseScore with WAV output, then call lame as a separate command with "-b 64", it creates a 64kbps file. (And it seems to be faster.) So I think that's what I will do.
Thank you for the answers.
In reply to It still generates a 128kbps… by gfejos
Hmm, seems "-b 64 "is indeed the syntax to use and 128 the default for MP3. Looking at the code I don't get why it doesn't work.
That option got added for #50926: Allow setting preferences for the quality and bitrate of mp3 produced by MuseScore and took 2 commits, 0d1bd52633 and 5b4f2561d7
In reply to Hmm, seems "-b 64 "is indeed… by Jojo-Schmitz
The preferences are initialiized with saved values AFTER the parsing of command line options... It doesn't work.
Can someone file a bug ?
In reply to The preferences are init… by [DELETED] 5
Filed on https://musescore.org/en/node/272042 .
In reply to The preferences are init… by [DELETED] 5
Done: #272043: Command line option "-b <bitrate>" doesnt work
Is this the only option that doesn't work for that reason?
Edit: oops, duplicate if #272042: Saved preferences override command line options
In reply to Again: what about "-b 65535"… by Jojo-Schmitz
can u also try to fix this?
In reply to can u also try to fix this? by Chris Liu 4
Why are you high jacking an entirely unrelated thread rather than creating a new one yourself?
However, that score is broken beyond repair (after a valid ZIP header it contains nothing but zeros, see #271185: Scores corrupted beyond repair, containing nothing but zeros, esp. the Google doc linked to at the end and see whether you can tell us more aboutn how this happened) and you'd need to look for a backup, see https://musescore.org/en/node/52116
In reply to 64, 64k and 64kbps is… by Jojo-Schmitz
hi can you please help me fix my musescore file please i really need it and if i hand it in tomorow i fail...please dude
In reply to hi can you please help me… by Chris Liu 4
This is a backup file, it can't get downloaded. Rename it so it loses the trailing comma (and also the leading dot, and if on Windows, the system flag)