From bb3749e9898ea588eaf4f707bb590f6aa62784bf Mon Sep 17 00:00:00 2001 From: Max Holland Date: Tue, 12 Nov 2024 12:25:51 +0000 Subject: [PATCH] Reduce thumb resolution (#82) The filesizes are too large currently for high request volumes like we're seeing for fishtank --- core/uploader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uploader.go b/core/uploader.go index d2af9f6..f29d316 100644 --- a/core/uploader.go +++ b/core/uploader.go @@ -268,7 +268,7 @@ func extractThumb(outputURI *url.URL, segmentFileName string, storageFallbackURL "-i", segmentFileName, "-ss", "00:00:00", "-vframes", "1", - "-vf", "scale=640:360:force_original_aspect_ratio=decrease", + "-vf", "scale=426:240:force_original_aspect_ratio=decrease", "-y", outFile, }