diff --git a/packages/backend/src/core/VideoProcessingService.ts b/packages/backend/src/core/VideoProcessingService.ts index 2807960cb7b834f7d93d8aa1dcf12274e9ddfcbe..ea5701decc88ddae1cd798dd61eea6f1e8f3a137 100644 --- a/packages/backend/src/core/VideoProcessingService.ts +++ b/packages/backend/src/core/VideoProcessingService.ts @@ -35,9 +35,8 @@ export class VideoProcessingService { timestamps: ['5%'], }); }); - - // JPEGã«å¤‰æ› (Webpã§ã‚‚ã„ã„ãŒã€Mastodonã¯Webpをサãƒãƒ¼ãƒˆã›ãšè¡¨ç¤ºã§ããªããªã‚‹) - return await this.imageProcessingService.convertToJpeg(`${dir}/out.png`, 498, 280); + + return await this.imageProcessingService.convertToWebp(`${dir}/out.png`, 498, 280); } finally { cleanup(); }