Caption chronological 30-second frame windows

This commit is contained in:
Sleeps
2026-10-07 15:29:12 +01:00
parent a5b657b3e7
commit 5610f3a0d9
18 changed files with 1384 additions and 180 deletions
+4
View File
@@ -17,6 +17,10 @@ CAPTION_TIMEOUT_SECONDS=180
CAPTION_MAX_TOKENS=120
# Push new caption metadata to Meilisearch in small incremental batches.
CAPTION_MEILI_BATCH_SIZE=500
# Caption adjacent Trickplay frames as chronological windows rather than one
# Ollama request per frame. Up to three frames are combined in-memory.
CAPTION_WINDOW_SECONDS=30
CAPTION_WINDOW_MAX_FRAMES=3
CAPTION_PROMPT_FILE=./data/caption_prompt.txt
CAPTION_SPECIALIST_PROMPT_FILE=./data/caption_prompt_specialist.txt