audio and transcript
This commit is contained in:
@@ -19,3 +19,12 @@ SCENE_THRESHOLD = 0.10 # 0-1, lower = more sensitive; 0.1 catches slide/window
|
||||
|
||||
# Segment recording
|
||||
SEGMENT_DURATION = 60 # seconds per .ts segment
|
||||
|
||||
# Audio extraction
|
||||
AUDIO_EXTRACT_INTERVAL = 3 # seconds between extraction cycles
|
||||
AUDIO_SAFETY_MARGIN = 2 # seconds safety margin (matches scene detector)
|
||||
WAVEFORM_BUCKET_MS = 50 # milliseconds per waveform peak bucket
|
||||
|
||||
# Transcription
|
||||
WHISPER_MODEL = "small" # "small" for speed, "medium" for accuracy
|
||||
WHISPER_DEVICE = "cuda" # "cuda" or "cpu"
|
||||
|
||||
Reference in New Issue
Block a user