-
Notifications
You must be signed in to change notification settings - Fork 200
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
Slow encoding #44
Comments
@floydback are you using the npm package? I've managed to reduce the encoding time by nearly 6 times with the help of UglifyJs. Actually, their minified version seems to be even faster, you should use it. |
I'm in the same boat right now. I have > 5 min wav file. It took me 7-8mins to convert. Can you show me how you can reduce the encoding time? I'm using React. |
In firefox is much faster than in chrome. Strange. |
My bad. The minified version works fast. |
You write
I have demo.mp3 file with total duration 54 sec
On my machine
time sox demo.mp3 -C 256 ~/demo2.mp3
real 0m1.557s
user 0m1.527s
sys 0m0.018s
When I use lamejs encoding spend ~50 sec and it's too much!
Now I try to use another js encoder (https://higuma.github.io/mp3-lame-encoder-js/) and it spent only ~3sec!
What I do wrong? My code:
The text was updated successfully, but these errors were encountered: