cutcaption
cutcaption — CapCut-like captions from your terminal
Generate clean, styled, burned-in captions for one video or a folder of videos using faster-whisper.
pipx install cutcaption
cutcaption video.mp4
By default, cutcaption transcribes your video, builds short creator-friendly captions, writes subtitles, and burns styled captions into a new video.
Quick Start
cutcaption video.mp4
cutcaption ./videos --preset shorts --style pop
cutcaption video.mp4 --srt --no-burn
cutcaption doctor
Common outputs:
video.srtfor standard subtitlesvideo.asswhen styled captions are needed for burningvideo.jsonwhen JSON metadata is enabledvideo_captioned.mp4for the burned-in captioned video
For folders, cutcaption writes to a captioned/ folder unless you pass --output.
Install
If you already have pipx:
pipx install cutcaption
If you do not have pipx yet, install it first.
macOS/Linux:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install cutcaption
Windows:
py -m pip install --user pipx
py -m pipx ensurepath
pipx install cutcaption
Then restart your terminal if needed and run:
cutcaption video.mp4
Alternative: install with pip.
macOS/Linux:
python3 -m pip install --user cutcaption
cutcaption video.mp4
Windows:
py -m pip install --user cutcaption
cutcaption video.mp4
Requirements:
- Python 3.10+
ffmpegandffprobefor burned-in captions and media probing- faster-whisper model files download on first use
Development Install
git clone https://github.com/your-org/cutcaption.git
cd cutcaption
pip install -e ".[dev]"
Run tests:
python -m pytest
python -m ruff check .
Usage
Caption one video:
cutcaption video.mp4
Choose an output folder:
cutcaption video.mp4 --output ./out
Caption a folder:
cutcaption ./videos --output ./captioned
Caption a folder recursively:
cutcaption ./videos --recursive
Export subtitles without rendering a video:
cutcaption video.mp4 --srt --ass --no-burn
Write JSON metadata:
cutcaption video.mp4 --json
Replace existing outputs:
cutcaption video.mp4 --overwrite
Preview planned jobs without transcription:
cutcaption ./videos --dry-run
Batch Examples
Fast batch captions for short-form clips:
cutcaption ./clips --preset shorts --style pop --recursive
Create only subtitle files for a batch:
cutcaption ./clips --srt --ass --no-burn
Skip files that already have requested outputs:
cutcaption ./clips --skip-existing
Force regeneration:
cutcaption ./clips --overwrite
--jobs is accepted for future parallel processing. Processing is currently sequential.
Styles
List available styles:
cutcaption styles
Examples:
cutcaption video.mp4 --style clean
cutcaption video.mp4 --style bold
cutcaption video.mp4 --style pop
cutcaption video.mp4 --style minimal
cutcaption video.mp4 --style boxed
cutcaption video.mp4 --style shorts
Style guide:
clean: readable white text, moderate outline, no boxbold: larger uppercase captions with thicker outlinepop: big creator-style uppercase captions with thick outline and shadowminimal: smaller captions with a thin outlineboxed: readable text over a semi-transparent boxshorts: one spoken word at a time for fast short-form videos
Presets
cutcaption video.mp4 --preset shorts
cutcaption video.mp4 --preset youtube
cutcaption video.mp4 --preset podcast
cutcaption video.mp4 --preset default
shorts is the default and is tuned for short creator videos.
Config File
Create a starter config:
cutcaption init
Use a config file:
cutcaption video.mp4 --config cutcaption.toml
Example:
output = "captioned"
[transcription]
model = "small"
mode = "balanced"
language = "" # auto
device = "auto"
compute_type = "auto"
[caption]
preset = "shorts"
style = "pop"
max_words = 5
max_lines = 2
min_caption_duration = 0.25
max_caption_duration = 2.5
[render]
burn = true
srt = true
ass = false
json = true
[batch]
recursive = false
skip_existing = true
overwrite = false
jobs = 1
Doctor
Check local tools and dependencies:
cutcaption doctor
Use this first when rendering or transcription fails.
Troubleshooting
ffmpeg not found
Install ffmpeg and make sure ffmpeg and ffprobe are on your PATH.
# macOS
brew install ffmpeg
# Ubuntu/Debian
sudo apt install ffmpeg
# Windows
winget install Gyan.FFmpeg
Then run:
cutcaption doctor
Model download is slow
faster-whisper downloads the selected model on first use. The first run can take longer depending on model size and network speed. Use a smaller model for quicker startup:
cutcaption video.mp4 --model small --mode fast
CUDA is not working
CPU transcription works by default. If CUDA setup is unreliable, use the default device or force CPU in your config:
[transcription]
device = "cpu"
compute_type = "int8"
Run:
cutcaption doctor
Output already exists
By default, cutcaption skips existing requested outputs in batch mode. To regenerate files:
cutcaption video.mp4 --overwrite
To fail instead of skipping existing files:
cutcaption video.mp4 --no-skip-existing
Roadmap
- Parallel batch processing
- Live style preview
- More caption animation presets
- Current-word highlighting
- GPU setup helpers
- More export formats
Contributing
Contributions are welcome. For local work:
pip install -e ".[dev]"
python -m pytest
python -m ruff check .
Keep changes focused, add tests for behavior changes, and update docs when user-facing commands or config options change.
License
MIT. See LICENSE.
Metadata
Release files for cutcaption 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cutcaption-0.1.0.tar.gz | 32.5 kB | With provenance | Details for cutcaption-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cutcaption-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cutcaption-0.1.0-py3-none-any.whl |
Total release size: 59.8 kB
Release files / cutcaption-0.1.0.tar.gz
| Download URL | cutcaption-0.1.0.tar.gz |
|---|---|
| Size | 32.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c10261b066acae822419fe7661a05b403aa90b3bce77b0187a1508cedb186026
|
|
BLAKE2b-256 checksum How to use checksums |
aab75b82598df22c64b4c232afa9e53f3271828e303786448b9f4f0a2a429bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / cutcaption-0.1.0-py3-none-any.whl
| Download URL | cutcaption-0.1.0-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7ffdd0f97a65b1606cb4c9ab02514580626c3089ea5a4e46bbc4cefbc51d7a7
|
|
BLAKE2b-256 checksum How to use checksums |
1148dbe6b28c4ce0db1c688ea030a60573a0ae60f16e7b35c66784895dc1f4d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for cutcaption 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cutcaption-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.