-
-
Notifications
You must be signed in to change notification settings - Fork 171
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 slow with bundled ffmpeg binary #55
Comments
How do you run it? Using the same |
I'm just guessing here, but it might be slower because, in the Node.js process, you're reading the input file from disk and writing it to its stdout; Then, you let the ffmpeg process read it from
|
Hi thank you for your answer. At first: No i haven't used the ffmpeg binary, for the console test, located in the node modules i used the local installed version. I tried now the ffmpeg-static binary without nodejs and got the same result like with nodejs. It takes 35s. So then is the question, why is the ffmpeg static library so slow? What is the difference and how can i speed it up? |
Not sure. All Before reporting this to the respective person publishing the binaries, please double-check your setup, make sure you‘re comparing the same ffmpeg versions, running in the same environment (e.g. no Docker, WSL, etc). Also, try running ffmpeg in verbose mode to find out if it uses hardware acceleration or not. Once you‘ve confirmed a performance difference, report it with all details about your setup: OS & its version, ffmpeg version, flags used, CPUs & GPUs in your system etc. |
I'm going to close this Issue, because it seems that I cannot fix it here in |
Why is running ffmpeg from this package is more than double so slow than running the command directly on the Machine?
I can't find any solution for this.
If i run the following code it takes 35s to convert a 13min webm video to mp3.
If i run the command logged in the "start" event directly on my machine it takes only 14s
The text was updated successfully, but these errors were encountered: