mirror of https://github.com/tycrek/ass.git
Update thumbnails.ts
This commit is contained in:
parent
46b043f3ee
commit
a4e58016ad
|
@ -26,7 +26,7 @@ function getCommand(src: String, dest: String) {
|
|||
'-v', (isProd ? 'error' : 'debug'), // Log level
|
||||
'-i', src, // Input file
|
||||
'-ss', '00:00:01.000', // Timestamp of frame to grab
|
||||
'-vf', `scale=${THUMBNAIL.WIDTH}:${THUMBNAIL.HEIGHT}:force_original_aspect_ratio=increase,crop=${targetWidth}:${targetHeight}`, // Dimensions of output file
|
||||
'-vf', `scale=${THUMBNAIL.WIDTH}:${THUMBNAIL.HEIGHT}:force_original_aspect_ratio=increase,crop=${THUMBNAIL.WIDTH}:${THUMBNAIL.HEIGHT}`, // Dimensions of output file
|
||||
'-frames:v', '1', // Number of frames to grab
|
||||
dest // Output file
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue