diff --git a/src/ffmpeg.js b/src/ffmpeg.js index ee532ef9..060c92e1 100644 --- a/src/ffmpeg.js +++ b/src/ffmpeg.js @@ -303,7 +303,7 @@ async function extractAllStreams({ customOutDir, filePath }) { type: s.codec_type, format: mapCodecToOutputFormat(s.codec_name, s.codec_type), })) - .filter(it => it); + .filter(it => it && it.format); // console.log(outStreams);