diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/superpowers/specs/2026-11-17-video-transcript-design.md | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/docs/superpowers/specs/2026-11-17-video-transcript-design.md b/docs/superpowers/specs/2026-11-17-video-transcript-design.md index ad1d268..6422200 100644 --- a/docs/superpowers/specs/2026-11-17-video-transcript-design.md +++ b/docs/superpowers/specs/2026-11-17-video-transcript-design.md @@ -1,6 +1,6 @@ # Video transcript tool: design -Date: 2026-11-17. Status: proposed. +Date: 2026-11-17. Status: implemented, live check pending. ## Goal @@ -151,13 +151,20 @@ image: the model gets the path for the tool, nothing else. Chip kind ### Check -`video.sh --test`, like `test-clone.sh`: a generated 5 s clip (`ffmpeg --f lavfi` sine plus `flite` or a stored speech sample from outside the -repo) as mp4 and mkv; a source with no audio; a relative path; the -30-minute refusal on a fake duration; slug collisions; the output -starting with the path line. URL steps against a `file://` source are -not possible with yt-dlp's generic extractor rules, so they are covered -by the live check only. +`test-video.sh`, like `test-clone.sh`: an espeak-ng sentence in an +mp4 (Opus: this ffmpeg has no AAC encoder) through the real whisper, +twice for the slug collision; an mkv with no audio; a relative and a +missing path; a real 31-minute silent webm for the refusal; a stale +temp folder removed, a fresh one kept. yt-dlp is a stub driven by +environment variables: uploader subtitles in it and en (the spoken +language picked, header, NOTE, tags and repeated cues stripped), no +subtitles (audio through whisper), an unavailable video, an unknown +length, a long one, and 400 cues whose output stays under the cap +with the path line first. + +whisper drops the last word of a clip that ends on it, even with 2 s of +silence after (espeak's "tool." in the test); real videos rarely end +mid-sentence. ### Live check |
