Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Access ffmpeg methods? #2588
With the latest release of electron I see that ffmpeg is now statically linked and no longer needs to be distributed, which is very convenient (thank you!).
On this note, is it possible for me to use electron to access ffmpeg to do jobs, e.g., invoking something like "ffmpeg -i input.mp4 output.avi"? Invoking ffmpeg with API calls rather than the command-line approach would be even better.
This would be very cool and would pave the way for some fun ideas I have
I know this is more than a year since the original question got asked but I just got around to solving this in my own project.
I simply repackaged existing builds by other people into individual packages for modularity and consistency and uploaded to a GitHub repo. I created an API and a downloader module to integrate this into my project. I just started this two nights ago so might be still lacking but give it a try.
You can include it in your build, it can be used from Node scripts or through CLI.