From 8b18a4b1dc89cbe069c33560f851f7a3fe450e3c Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sat, 11 May 2024 03:04:25 +0900 Subject: [PATCH] Update extract.js --- src/routes/extract.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/extract.js b/src/routes/extract.js index 7497392..2e2ab50 100644 --- a/src/routes/extract.js +++ b/src/routes/extract.js @@ -52,8 +52,8 @@ function extract(req,res,next) { ]; } else { ffmpegParams.outputOptions=[ - `-vf fps=${fps},scale=720:400:force_original_aspect_ratio=decrease`, - `-f image2`, + `-vf fps=${fps},scale=-2:640:force_original_aspect_ratio=decrease`, + //`-f image2`, `-frames:v 1` ]; }