Building Capite: a self-hosted AI video caption generator with faster-whisper and FFmpeg
说明与用途
Capite 是一个完全本地化、无订阅限制的字幕生成工具,使用 faster‑whisper 和 FFmpeg,提供 27 种动画预设和 100+ 语言。
问题
Short‑form video creators rely on paid, cloud‑based caption tools that impose subscription fees, minute limits, and data privacy concerns.
结果
Capite delivers fully local, subscription‑free caption generation with 27 motion presets, 100+ languages, and sub‑5‑second re‑encoding after edits, eliminating external dependencies and privacy risks.
工作流
- Clone the Capite repo
- Navigate to the project directory
- Run
docker compose upto start services - Open http://localhost:3000 in a browser
- Upload a video
- Transcription is performed by faster‑whisper (CTranslate2) to get millisecond word timestamps
- Edit the transcript in the Next.js editor (click words, adjust timing)
- Choose a motion preset from 27 available options
- Compile subtitles with pysubs2 into an .ass script
- FFmpeg with libass burns captions into the video at CRF 18 or exports raw subtitle files
- Export final video or subtitle files in MP4, .srt, .vtt, .txt, or .ass
证据
Capite transcribes video audio locally, aligns word boundaries to the millisecond, applies one of 27 motion typography presets, and burns it into the video at broadcast quality.
Re‑encoding after an edit takes under 5 seconds – it skips the transcription step entirely.
- 记录日期: 2026-09-22T11:00:26.510Z