remotion icon indicating copy to clipboard operation
remotion copied to clipboard

Streamline FFMPEG Windows installation

Open JonnyBurger opened this issue 3 years ago • 3 comments

The instructions for when you don't have FFMPEG on Windows could be improved. Also, the instructions tell you to go to this site:

image

but it's very hard to find the right download link. The other steps are also not easy, but not sure if it can be improved.

JonnyBurger avatar Mar 22 '22 07:03 JonnyBurger

@JonnyBurger May be this will help, let me know I can try submitting a PR.

Have a look at this source, here we have binaries for ffmpeg https://github.com/eugeneware/ffmpeg-static/ And we can do like this ...

 const version = "b5.0.1";
 const filename = `ffmpeg-${version}${process.platform == "win32" ? ".exe" : ""}`;
 const fileurl = `https://github.com/eugeneware/ffmpeg-static/releases/download/${version}/${process.platform}-x64`;

Download the file in a directory and use it every time

AbdulBsit avatar Jul 17 '22 09:07 AbdulBsit

That sounds reasonable indeed!

I'm happy for PR it and if it does not come in a while, I might take a stab at it myself. Important note: We also need ffprobe binaries in addition to ffmpeg (this could work: https://github.com/chrislearn/ffprobe-static)

JonnyBurger avatar Jul 18 '22 14:07 JonnyBurger

@JonnyBurger You can proceed, I am little bussy this week, Thanks

AbdulBsit avatar Jul 20 '22 09:07 AbdulBsit