make ffmpeg thumbnail output height to 720

This commit is contained in:
Abhinav 2021-10-27 12:51:15 +05:30
parent b587ea70fa
commit b07ffbd820

View file

@ -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);