spawn parameter is not defined causing an error
Tzyito opened this issue · 0 comments
Tzyito commented
Version information
- fluent-ffmpeg version: 2.1.2
- ffmpeg version:5.1.2
- OS: macos
Code to reproduce
const ffmpeg = new FFmpeg()
ffmpeg.input(sampleFile).getAvailableFormats()
error: Error: spawn Unknown system error -88
After debugg, I found the spawn option parameter in the processor.js
file
node-fluent-ffmpeg/lib/processor.js
Line 150 in 4e02d12
the options contain
{ captureStdout: true, stdoutLines: 0 }
, but spawn
doesn't have these parametersIs this because of the version?
Expected results
Observed results
Checklist
- I have read the FAQ
- I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
- I have included full stderr/stdout output from ffmpeg