add config option to change ffbinaries version

merge-requests/521/merge^2
Moe 2024-10-05 12:22:20 -07:00
parent e5024248b5
commit 31d6fcff10
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ Run "npm install ffbinaries" to get a different static FFmpeg downloader.`
console.log('ffbinaries : Downloading FFmpeg. Please Wait...');
ffbinaries.downloadBinaries(['ffmpeg', 'ffprobe'], {
destination: ffbinaryDir,
version : '4.2'
version : config.ffbinariesVersion || '4.2'
},function () {
config.ffmpegDir = ffbinaryDir + 'ffmpeg'
response.msg = 'ffbinaries : FFmpeg Downloaded.'