aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/video.sh
AgeCommit message (Collapse)AuthorFilesLines
2026-11-17tools: video, transcribe local and online videosDanilo M.1-0/+149
video.sh takes an absolute path or an http(s) URL. Uploader subtitles (it/en) when the URL has them, else whisper large-v3-turbo on the CPU, so the loaded model keeps the GPU. The transcript goes to $ASSISTANT_DIR/<slug>.md and opens; the model gets the path first and the start of the text. Over 30 minutes it asks first. The daemon now kills a running tool's process group on stop: a transcription can run for minutes. A video attachment reaches the model as its path only, for the tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>