
Long story short, if you need to work with audio and video conversion or modification, you will need this.

One good example of this is FFmpeg which is described in their documentation as:Ī complete, cross-platform solution to record, convert and stream audio and video. However, for some specific use cases, we need to access the OS-level applications which makes it a little bit complicated. Usually, when we are running a Node.js application, all of the required parts for that application are inside the npm packages which go inside the node_modules folder. I get this error: Error: Cannot findd ffmpegĪt C:\Users\lexha\Desktop\nodejs\node_modules\fluent-ffmpeg\lib\processor.js:136:22Īt C:\Users\lexha\Desktop\nodejs\node_modules\fluent-ffmpeg\lib\capabilities.js:123:9Īt C:\Users\lexha\Desktop\nodejs\node_modules\async\dist\async.js:421:16Īt next (C:\Users\lexha\Desktop\nodejs\node_modules\async\dist\async.js:5302:29)Īt C:\Users\lexha\Desktop\nodejs\node_modules\async\dist\async.js:906:16Īt C:\Users\lexha\Desktop\nodejs\node_modules\fluent-ffmpeg\lib\capabilities.js:116:11Īt C:\Users\lexha\Desktop\nodejs\node_modules\fluent-ffmpeg\lib\utils.js:223:16Īt F (C:\Users\lexha\Desktop\nodejs\node_modules\which\which.js:68:16)Īt E (C:\Users\lexha\Desktop\nodejs\node_modules\which\which.js:80:29)Īt C:\Users\lexha\Desktop\nodejs\node_modules\which\which.Today we will learn how we can use FFmpeg with Node.js inside a Docker container. FFMPEG_PATH is included, PATH is included, and all the different directories like ffmpeg\ and ffmpeg\lib\ Then calls fluent-ffmpeg and i debugged it down to the line where fluent-ffmpeg cannot find my ffmpeg package.


When starting up, it executes mp3-to-video function.

Run mp3-to-video with fluent-ffmpeg and ffmpeg on windows and nodejs.Ĭommand used to startup server: nodemon server.js
