Update extract.js
This commit is contained in:
parent
e24b3cbbda
commit
3059c07b88
|
@ -49,7 +49,7 @@ function extract(req,res,next) {
|
|||
ffmpegParams.outputOptions=[];
|
||||
switch (preset) {
|
||||
case "1":
|
||||
ffmpegParams.outputOptions.push(`-vf scale=720:400:force_original_aspect_ratio=decrease`);
|
||||
ffmpegParams.outputOptions.push(`-vf fps=${fps},scale=720:400:force_original_aspect_ratio=decrease`);
|
||||
ffmpegParams.outputOptions.push(`-f image2`);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user