aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/video.sh
AgeCommit message (Collapse)AuthorFilesLines
9 daystools: video, collapse whisper's repeated words; live checkDanilo M.1-2/+11
whisper turbo repeats words, often across two segments ("it's it's"), and loops over intro music: a word said twice in a row collapses to one, after the segments are joined. A transcript that fits the preview is labelled "full text"; the description forbids summarizing from the start alone. Live check findings in AGENTS.md: 0.18x real time on a real talk, stop kills whisper in 0.07 s, a summary works from the attached file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daystools: video, fixes from the live checkDanilo M.1-12/+33
- Instagram gives no duration: an unknown length is measured on the download before the 30-minute check; live streams are told apart by is_live. - PeerTube subtitles are CRLF: cue numbers leaked into the text. - Segments and cues break mid-sentence: joined into paragraphs that end on a sentence after 400 characters. - No own "error: " prefix: the daemon adds one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daystools: 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>