make ffmpeg thumbnail output height to 720
This commit is contained in:
parent
b587ea70fa
commit
b07ffbd820
|
@ -63,7 +63,7 @@ async function generateThumbnailHelper(ffmpeg: FFmpeg, file: File) {
|
|||
'-vframes',
|
||||
'1',
|
||||
'-vf',
|
||||
'scale=512:512',
|
||||
'scale=-1:720',
|
||||
thumbFileName
|
||||
);
|
||||
thumb = ffmpeg.FS('readFile', thumbFileName);
|
||||
|
|
Loading…
Reference in a new issue