Transcribes video audio locally using Whisper-family tools (openai-whisper, whisper.cpp, faster-whisper, WhisperX), generates SRT/WebVTT/ASS captions, enforces line-length and reading-speed limits, and checks WCAG accessibility requirements.
Ships in video-motion. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Machine transcription is a first draft. Captions ship only after a human-quality pass for accuracy, timing, and readability.
# 16 kHz mono 16-bit WAV: the input format the whisper.cpp README asks for; fine for the others too
ffmpeg -i video.mp4 -ar 16000 -ac 1 -c:a pcm_s16le speech.wav
If the mix has loud music, transcribe the VO stem rather than the final mix.
All four run locally; audio does not leave the machine. Pick by environment, not by hype.
| Tool | Install | Strength | Licence |
|---|---|---|---|
| openai-whisper | pip install -U openai-whisper (needs FFmpeg) | Reference implementation; CLI writes SRT/VTT directly | MIT |
| whisper.cpp | Build with CMake; download a ggml model | C/C++, no Python; CLI writes SRT/VTT | MIT |
| faster-whisper | pip install faster-whisper | CTranslate2 reimplementation; Python API with word timestamps and VAD filter | MIT |
| WhisperX | pip install whisperx | Word-level timestamps via forced alignment; optional speaker diarization | BSD-2-Clause |
Hosted speech-to-text APIs are also an option when local compute is unavailable; check the provider's data-handling terms before uploading user audio.
openai-whisper CLI:
whisper speech.wav --model turbo --language English --output_format srt --output_dir captions/
# Word-level timing and line control (these flags require --word_timestamps True)
whisper speech.wav --model turbo --word_timestamps True --max_line_width 42 --max_line_count 2 --output_format srt
Models: tiny, base, small, medium, large, turbo (English-only .en variants exist except for large and turbo). --task translate translates to English.
whisper.cpp:
cmake -B build && cmake --build build -j --config Release
sh ./models/download-ggml-model.sh base.en
./build/bin/whisper-cli -m models/ggml-base.en.bin -f speech.wav -osrt -ovtt -of captions/speech
-ml N sets a maximum segment length in characters; -sow splits on words.
faster-whisper (Python):
from faster_whisper import WhisperModel
model = WhisperModel("small", device="cpu", compute_type="int8")
segments, info = model.transcribe("speech.wav", word_timestamps=True, vad_filter=True)
def ts(t: float) -> str:
h, rem = divmod(t, 3600); m, s = divmod(rem, 60)
return f"{int(h):02}:{int(m):02}:{int(s):02},{int((s % 1) * 1000):03}"
with open("speech.srt", "w") as f:
for i, seg in enumerate(segments, 1): # segments is a generator; iterate once
f.write(f"{i}\n{ts(seg.start)} --> {ts(seg.end)}\n{seg.text.strip()}\n\n")
WhisperX (word alignment; diarization needs a Hugging Face token and accepting the pyannote model terms):
whisperx speech.wav --highlight_words True
whisperx speech.wav --diarize --hf_token "$HF_TOKEN"
Machine output will contain errors. Fix, in order:
[door slams], [upbeat music]. WCAG defines captions as covering both speech and non-speech audio needed to understand the content.Reference limits from the Netflix Timed Text Style Guide (English, USA), a widely used published spec:
| Rule | Limit |
|---|---|
| Characters per line | 42 |
| Lines per caption | 2 maximum; prefer 1 |
| Reading speed | Up to 20 characters/second (adult), 17 (children's) |
| Minimum duration | 5/6 second per event |
| Maximum duration | 7 seconds per event |
Line breaks: break after punctuation and before conjunctions or prepositions; do not split an article from its noun, an adjective from its noun, or a name across lines.
For short vertical social clips, shorter lines (a few words, one line) read better on phones; keep the same reading-speed ceiling.
| Format | Use for | Notes |
|---|---|---|
| SRT | Uploading to platforms, simple sidecars | HH:MM:SS,mmm timestamps (comma) |
| WebVTT | HTML <track> on the web | File starts with WEBVTT; . before milliseconds |
| ASS | Styled burn-in (fonts, colours, positions, karaoke) | Rendered by libass via FFmpeg subtitles/ass filters |
Convert with FFmpeg: ffmpeg -i captions.srt captions.vtt or ffmpeg -i captions.srt captions.ass.
motion-design-principles).force_style FontSize is relative to the ASS script's PlayResY, not output pixels. An SRT converted by FFmpeg gets a small default script resolution (288 lines in our test with FFmpeg 8.1), so check a still before rendering the whole video.Burn-in commands live in ffmpeg-post-production, Step 7.
In Remotion or HyperFrames, render captions as components from the word-timed JSON instead of burning with FFmpeg. Remotion documents @remotion/captions (import SRT/VTT, transcription options, display, export); HyperFrames ships caption guidance in its /hyperframes skill. Follow those official skills for the code.
<track kind="captions" srclang="en" label="English" src="captions.vtt" default>.whisper-cli flags): https://github.com/ggml-org/whisper.cppsubtitles and ass filters: https://ffmpeg.org/ffmpeg-filters.htmlWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-captions, subtitles, speech-to-text, whisper, accessibility
Other plugins' skills for the same job
5 skills in this plugin
/ffmpeg-post-productionVerified FFmpeg recipes for post-production: trimming, concatenation, reframing to vertical or square, fades and crossfades, two-pass loudness normalization (loudnorm), burning in or muxing captions (SRT/ASS), web and social encoding (H.264/AAC with faststart), and thumbnails.
Use this skill when finishing a rendered or recorded video for delivery, or whenever an agent is about to write an ffmpeg command.
Activate when: ffmpeg, trim video, cut clip, concat videos, join videos, loudnorm, normalize audio, LUFS, burn subtitles, hardcode captions, SRT, ASS, encode for web, faststart, H.264, crf, thumbnail, 9:16 crop, reframe video.
/motion-design-principlesPractical motion design rules for agent-made videos and animated UI: timing in frames, easing, pacing, visual hierarchy, on-screen text readability, safe areas, aspect ratios per platform, and reduced-motion and flashing accessibility.
Use this skill when designing or reviewing animation in a video (Remotion, HyperFrames, After Effects-style work) or in a web UI, or when a render "feels off" and needs a critique.
Activate when: motion design, animation timing, easing, cubic-bezier, pacing, kinetic typography, title card, lower third, safe area, title safe, aspect ratio, 9:16, vertical video, reduced motion, prefers-reduced-motion, flashing content.
/video-motion:captions-and-transcriptionfrom video-motion
npx claudepluginhub latestaiagents/agent-skills --plugin video-motion2 plugins in one repository ship this exact skill · first indexed Nov 5, 2026