Reduce ffmpeg thumbnail generation load
Can also lead to memory issues with big values (default is 100)
This commit is contained in:
parent
6b44f0b03c
commit
d8a80446da
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue