1
0
Fork 0

Reduce ffmpeg thumbnail generation load

Can also lead to memory issues with big values (default is 100)
This commit is contained in:
Chocobozzz 2023-08-28 17:50:47 +02:00
parent 6b44f0b03c
commit d8a80446da
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -46,7 +46,7 @@ export class FFmpegImage {
this.commandWrapper.buildCommand(fromPath)
.seekInput(duration / 2)
.videoFilter('thumbnail=500')
.videoFilter('thumbnail=50')
.outputOption('-frames:v 1')
.output(output)