Skip to content

Commit

Permalink
Reduce thumb resolution (#82)
Browse files Browse the repository at this point in the history
The filesizes are too large currently for high request volumes like we're seeing for fishtank
  • Loading branch information
mjh1 authored Nov 12, 2024
1 parent f0b95b5 commit bb3749e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit bb3749e

Please sign in to comment.