diff --git a/src/common/ffmpeg-addon-adapter.ts b/src/common/ffmpeg-addon-adapter.ts index acf649d1..eb1b9973 100644 --- a/src/common/ffmpeg-addon-adapter.ts +++ b/src/common/ffmpeg-addon-adapter.ts @@ -129,7 +129,7 @@ export class FFmpegAddonAdapter implements IFFmpegAdapter { */ async extractThumbnail(videoPath: string, thumbnailPath: string): Promise { const addon = this.ensureAddon(); - const info = await addon.getVideoInfo(videoPath, 'bmp24'); + const info = await addon.getVideoInfo(videoPath); // 将缩略图写入文件 await writeFile(thumbnailPath, info.image);