Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Reduce ffmpeg thumbnail generation load

Chocobozzzd8a80446da8b
diff --git a/packages/ffmpeg/src/ffmpeg-images.ts b/packages/ffmpeg/src/ffmpeg-images.ts
index 4cd37aa80d..5f7b103455 100644
--- a/packages/ffmpeg/src/ffmpeg-images.ts
+++ b/packages/ffmpeg/src/ffmpeg-images.ts
@@ -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)