mirror of https://github.com/Chocobozzz/PeerTube
Reduce ffmpeg thumbnail generation load
Can also lead to memory issues with big values (default is 100)pull/5960/head
parent
6b44f0b03c
commit
d8a80446da
|
@ -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 New Issue