Update extract.js

This commit is contained in:
Namhyeon Go 2024-05-11 03:04:25 +09:00 committed by GitHub
parent af0ee7698c
commit 8b18a4b1dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`
];
}