![]() ![]() I set FFMPEGPATH in the environment to the proper location (/usr/bin/ffmpeg). ![]() (/Users/me/project/node_modules/fluent-ffmpeg/lib/processor. But when I run it on any remote server - Heroku with the ffmpeg buildpack or my EC2 instance, I get this: Error: Cannot find ffmpeg Yes, ffmpeg is installed - I can run it from the command line. (/Users/me/project/node_modules/fluent-ffmpeg/lib/processor.js:182:22)Īt ChildProcess.emit (node:events:390:28)Īt Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)Įmitted 'error' event on FfmpegCommand instance at:Īt emitEnd (/Users/me/project/node_modules/fluent-ffmpeg/lib/processor.js:424:16)Īt endCB (/Users/me/project/node_modules/fluent-ffmpeg/lib/processor.js:544:13)Īt handleExit (/Users/me/project/node_modules/fluent-ffmpeg/lib/processor.js:170:11)Īt Socket. However, the fluent-ffmpeg version produces this error: node:events:368Įrror: ffmpeg exited with code 1: Error reinitializing filters!įailed to inject frame into filter network: Invalid argumentĮrror while processing the decoded data for stream #0:0Īt ChildProcess. It seems like fluent-ffmpeg can't find those filters (when I try a bogus filter name, it gives me the exact same error message).Īny idea what's going on? const ffmpegPath = ffmpeg = require('fluent-ffmpeg') Ĭommand.withAudioFilters() // Other filters like "equalizer" work just fine.Ĭonst fileOutputPath = "./tmp/mastered.mp3" įfmpeg -i. But when adding certain filters (such as asubcut or treble) it produces the error below. I'm trying to apply filters to audio using fluent-ffmpeg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |