Add ability to customize frames to analyze

This commit is contained in:
Chocobozzz
2023-11-08 10:16:50 +01:00
parent 9880d2adf5
commit 2bc4d26b94
7 changed files with 34 additions and 3 deletions

View File

@@ -417,6 +417,14 @@ remote_runners:
live: '30 seconds'
vod: '2 minutes'
thumbnails:
# When automatically generating a thumbnail from the video
generation_from_video:
# How many frames to analyze at the middle of the video to select the most appropriate one
# 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
cache:
previews:
size: 500 # Max number of previews you want to cache

View File

@@ -415,6 +415,14 @@ remote_runners:
live: '30 seconds'
vod: '2 minutes'
thumbnails:
# When automatically generating a thumbnail from the video
generation_from_video:
# How many frames to analyze at the middle of the video to select the most appropriate one
# 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
###############################################################################
#
# From this point, almost all following keys can be overridden by the web interface