Plan to have multiple sizes in the future

This commit is contained in:
Chocobozzz
2024-05-31 09:02:34 +02:00
parent 3fbe849183
commit 1e3a5b25c3
7 changed files with 38 additions and 31 deletions

View File

@@ -469,16 +469,18 @@ thumbnails:
# Increasing this value will increase CPU and memory usage when generating the thumbnail, especially for high video resolution
# Minimum value is 2
frames_to_analyze: 50
size:
width: 280
height: 157
min_width: 150
previews:
size:
width: 850
height: 480
min_width: 400
# Only two sizes are currently supported for now (not less, not more)
# 1 size for the thumbnail (displayed in video miniatures)
# 1 size for the preview (displayed in the video player)
sizes:
-
width: 280
height: 157
-
width: 850
height: 480
stats:
# Display registration requests stats (average response time, total requests...)

View File

@@ -468,6 +468,18 @@ thumbnails:
# Minimum value is 2
frames_to_analyze: 50
# Only two sizes are currently supported for now (not less, not more)
# 1 size for the thumbnail (displayed in video miniatures)
# 1 size for the preview (displayed in the video player)
sizes:
-
width: 280
height: 157
-
width: 850
height: 480
stats:
# Display registration requests stats (average response time, total requests...)
registration_requests: