You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2025. It is now read-only.
I actually suspect this is a Node.js bug, but I am opening an issue here anyway.
// test.mjsimport{Readable,Writable}from'stream';importFfmpegCommandfrom'fluent-ffmpeg';process.on('exit',console.log);// outputs 0, but actual exit code is 13awaitnewPromise((resolve,reject)=>FfmpegCommand().input(Readable.from(Buffer.from(newArrayBuffer(1000)))).inputFormat('f32le').audioChannels(1).audioFrequency(44100).format('wav').pipe(newWritable({write: chunk=>console.log(chunk.length)})).on('end',resolve).on('error',reject));console.log('done');// never reached
$ node test.mjs &&echo good ||echo$?78013
The Node process exits after incomplete ffmpeg output with exit code 13 without outputing any error.
I actually suspect this is a Node.js bug, but I am opening an issue here anyway.
The Node process exits after incomplete ffmpeg output with exit code 13 without outputing any error.
Node version 20.19.0. FFmpeg version 7.1.1.