English | 繁體中文
A macOS app that aligns a transcript to the voice in a video and turns it into subtitles. It works for both spoken-word videos and songs. Everything is processed on your Mac; your video is never uploaded.
- Transcript sources: paste a transcript, transcribe automatically (the model listens when you have no transcript), or search for lyrics (LRCLIB)
- Selectable language to improve recognition accuracy
- Preview and subtitle editor: edit text, adjust timing, split and merge lines, shift everything at once, with undo support
- Export: an SRT subtitle file, a new video with the subtitles burned in, or both
- Model management: download and delete on-device speech models, and choose which one to use
- English and Traditional Chinese interface: follows your Mac's language; any other language shows English. To pick one for this app only, go to System Settings › General › Language & Region › Applications
| Key | Action |
|---|---|
| Space | Play / pause |
| ⇧← / ⇧→ | Skip backward / forward (5 seconds by default; adjustable from 1 to 15 seconds in Settings) |
| ← / → | Previous frame / next frame |
| ⌘E | Export |
| ⌘, | Settings |
While you are typing subtitle text, the arrow keys move the cursor and select text instead of moving the playhead.
- macOS 26 or later, Apple Silicon
- Xcode 26 or later
Open CaptionFitter.xcodeproj in Xcode and run it, or:
xcodebuild -project CaptionFitter.xcodeproj -scheme CaptionFitter -configuration Debug -derivedDataPath .build/xcode buildBefore first use, open Settings (⌘,) and download a speech model.
App/: the SwiftUI interfacePackages/CaptionFitterCore/: the core logic (alignment, transcript line breaking, lyrics search, model management, SRT, burn-in export). Its only third-party dependency is WhisperKit
cd Packages/CaptionFitterCore && swift testThe core package includes a command-line tool for testing without opening the app:
cd Packages/CaptionFitterCore && swift run captionfitter-cliAfter aligning and reviewing the subtitles, click Export (⌘E) in the toolbar and choose an SRT subtitle file, a video with subtitles, or both. Lines marked as not found in the audio (red dot) and lines with no text are not exported.
A plain-text subtitle file in UTF-8. The video itself is not modified, and most players and video platforms can read the file.
Each subtitle consists of a sequence number, start and end times (hours:minutes:seconds,milliseconds), and the text, with a blank line between subtitles:
1
00:00:11,700 --> 00:00:14,250
First subtitle line
2
00:00:14,250 --> 00:00:17,800
Second subtitle line
The subtitles are drawn directly onto the picture and saved as a new video file. The default file name is <original name>-subtitled.mp4 (<original name>-字幕.mp4 in the Chinese interface).
When exporting, you can choose the quality (original, 1080p, 720p, 480p) and frame rate (original, 60, 30 fps). Only options lower than the original video are listed; export never upscales the picture or interpolates frames.
The subtitle font, size, text and outline colors, shadow, and vertical position can be set under Subtitle Style. What the preview shows is what gets exported. Burned-in subtitles cannot be turned off or edited afterward; to change them, go back to the app and export again. This option is not available for audio-only files.