Update extract.js
This commit is contained in:
parent
af0ee7698c
commit
8b18a4b1dc
|
@ -52,8 +52,8 @@ function extract(req,res,next) {
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
ffmpegParams.outputOptions=[
|
ffmpegParams.outputOptions=[
|
||||||
`-vf fps=${fps},scale=720:400:force_original_aspect_ratio=decrease`,
|
`-vf fps=${fps},scale=-2:640:force_original_aspect_ratio=decrease`,
|
||||||
`-f image2`,
|
//`-f image2`,
|
||||||
`-frames:v 1`
|
`-frames:v 1`
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user