How to install ffmpeg off the bat, instead of npm?


#1

I am getting this error ```at process._tickCallback (internal/process/next_tick.js:188:7)
8:00 PM

/app/node_modules/fluent-ffmpeg/lib/processor.js:419
8:00 PM

function emitEnd(err, stdout, stderr) {

8:00 PM

                ^

8:00 PM

8:00 PM

RangeError: Maximum call stack size exceeded
8:00 PM

at emitEnd (/app/node_modules/fluent-ffmpeg/lib/processor.js:419:21)

8:00 PM

at PassThrough.<anonymous> (/app/node_modules/fluent-ffmpeg/lib/processor.js:454:15)

8:00 PM

at emitOne (events.js:115:13)

8:00 PM

at PassThrough.emit (events.js:210:7)

8:00 PM

at writeAfterEnd (_stream_writable.js:236:10)

8:00 PM

at PassThrough.Writable.write (_stream_writable.js:285:5)

8:00 PM

at PassThrough.Writable.end (_stream_writable.js:550:10)

8:00 PM

at emitThree (events.js:140:20)

8:00 PM

at DestroyableTransform.emit (events.js:216:7)

8:00 PM

at emitThree (events.js:140:20)

8:00 PM

at DestroyableTransform.emit (events.js:216:7)

8:00 PM

at emitThree (events.js:140:20)

8:00 PM

at DestroyableTransform.emit (events.js:216:7)

8:00 PM

at emitThree (events.js:140:20)

8:00 PM

at DestroyableTransform.emit (events.js:216:7)

8:00 PM

at emitThree (events.js:140:20)

8:00 PM```


#2

Ffmpeg is already installed in containers.


#3

really how to use that for the project


#4

Since it’s installed you can just use the ffmpeg package, see https://www.npmjs.com/package/ffmpeg for usage examples