The need to tailor ffmpeg-static to use withelectron-buildercame from a use cases such as that ofautoEdit.io. See here for more info onHow to package ffmpeg with the fluent-ffmpeg node library in electron, so that you only ship the binaries for the target operating system ...
import{paths,bins}from"ffmpeg-static-electron-forge";importffmpegfrom"fluent-ffmpeg";importpathfrom"path";letffmpegPath:string,ffprobePath:string;if(process.env.NODE_ENV!=="development"){ffmpegPath=paths.ffmpegPath.replace("app.asar","app.asar.unpacked");ffprobePath=paths.ffprobePath.replace("app...
The need to tailor ffmpeg-static to use withelectron-buildercame from a use cases such as that ofautoEdit.io. See here for more info onHow to package ffmpeg with the fluent-ffmpeg node library in electron, so that you only ship the binaries for the target operating system ...