[Solved] How to package the electron app embedding ffmpeg? #6
-
First of all, I'd like to say THANKS for this great project. One thing I hope to see is.. mac silicon native support version (m1) Could you explain how to do it? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi @junoyoon To embedd FFmpeg (a static build of it), before executing electron-packager, you have to move the executable (and preferable its license file) in the directory Silence SpeedUp will then detect the presence of that executable, and will use it, unless you have changed the preferences. To be sure, before using electron-packager, open the file Hope this help |
Beta Was this translation helpful? Give feedback.
-
Hi @junoyoon If the static build works then just copy the executable of ffmpeg in the If the static build doesn't work, you have to download the source code of ffmpeg and compile and install on your pc. I've found a video tutorial on youtube that may help: https://www.youtube.com/watch?v=v_tssMtCP0s . When ffmpeg is installed, found the executable in |
Beta Was this translation helpful? Give feedback.
-
Thx for explanation. And I did some experiment. |
Beta Was this translation helpful? Give feedback.
-
Happy to hear that, I'm marking this as solved. |
Beta Was this translation helpful? Give feedback.
Hi @junoyoon
Thanks for your feedback
To embedd FFmpeg (a static build of it), before executing electron-packager, you have to move the executable (and preferable its license file) in the directory
assets/ffmpeg
. This is the way I embed FFmpeg in the standalone versions.Silence SpeedUp will then detect the presence of that executable, and will use it, unless you have changed the preferences. To be sure, before using electron-packager, open the file
config.json
and delete the value offfmpegPath
(andexportPath
if you wish) (I mean, make them empty strings).Hope this help