diff --git a/server/utils/ffmpegHelpers.js b/server/utils/ffmpegHelpers.js index 3fa9f63c..c19ec07a 100644 --- a/server/utils/ffmpegHelpers.js +++ b/server/utils/ffmpegHelpers.js @@ -55,7 +55,7 @@ async function extractCoverArt(filepath, outputpath) { return new Promise((resolve) => { /** @type {import('../libs/fluentFfmpeg/index').FfmpegCommand} */ var ffmpeg = Ffmpeg(filepath) - ffmpeg.addOption(['-map 0:v', '-frames:v 1']) + ffmpeg.addOption(['-map 0:v:0', '-frames:v 1']) ffmpeg.output(outputpath) ffmpeg.on('start', (cmd) => {