Skip to main content

Subtitle Generator

Industry-standard, cross-platform AI subtitle generation, styling, QC, and embedding toolkit.

Runs locally on macOS (Apple Silicon Metal), Linux (CPU / CUDA / Vulkan), Windows, and Docker — with optional faster-whisper and OpenAI/Groq cloud backends.

Install

pip install subtitle-generator
subtitle setup-whisper          # downloads prebuilt whisper-cli (or builds from source)
subtitle doctor                 # verify whisper-cli, ffmpeg, GPU & models

Optional extras:

pip install 'subtitle-generator[yt]'              # YouTube / TikTok / Vimeo URLs via yt-dlp
pip install 'subtitle-generator[ffmpeg]'          # Bundled static ffmpeg fallback
pip install 'subtitle-generator[faster-whisper]'  # CTranslate2 NVIDIA GPU backend
pip install 'subtitle-generator[cloud]'           # OpenAI / Groq Whisper API + LLM translation
pip install 'subtitle-generator[translate]'       # Offline local subtitle translation (Argos)
pip install 'subtitle-generator[all]'             # Everything

Highlights (v4.0.0)

  • Zero-Friction Cross-Platform Setup: Prebuilt SHA-256 verified whisper-cli binaries with CMake + GPU source-build fallback and subtitle doctor diagnostics.
  • Silero VAD + Live Progress: Voice Activity Detection enabled by default (2–3× faster, eliminates silence hallucinations) with real-time percentage progress streaming.
  • Broadcast & Creator Presets: --preset netflix|bbc|reels CPL/CPS reflow, balanced line wrapping, hallucination scrubber, and subtitle lint QC validator.
  • Styled .ass & Word-Highlighted Karaoke Captions: --burn --style clean|box|karaoke|cinema with hardware H.264 encoder auto-detection (videotoolbox / nvenc).
  • One-Pass Multi-Format Export: --format srt,vtt,ass,ttml,json in a single transcription run.
  • Complete Toolkit: doctor, batch (--recursive, --resume, --merge, --burn), watch, convert, lint, shift, translate, config, and --json output.

Quick Examples

subtitle video.mp4 --format srt,vtt,ass --preset netflix
subtitle reel.mp4 --burn --style karaoke --preset reels
subtitle video.mp4 --merge --format srt
subtitle lint video.srt --standard netflix
subtitle shift video.srt --offset +500 -o synced.srt
subtitle translate video.srt --to es
subtitle batch -i ./videos -o ./subs --recursive --preset netflix
subtitle watch ./incoming -o ./subs --model turbo

Metadata

Release files for subtitle-generator 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for subtitle-generator 4.0.0
File Size Uploaded Provenance Actions
subtitle_generator-4.0.0.tar.gz 82.6 kB Without provenance Details for subtitle_generator-4.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for subtitle-generator 4.0.0
File Interpreter ABI Platform Actions
subtitle_generator-4.0.0-py3-none-any.whl Python 3 none any Details for subtitle_generator-4.0.0-py3-none-any.whl

Total release size: 156.8 kB

Release files / subtitle_generator-4.0.0.tar.gz

Download URL subtitle_generator-4.0.0.tar.gz
Size 82.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3538e6aea257638f78b00ad50d17e0b756a317cf22b1380538a25b11443e0f53
BLAKE2b-256 checksum
How to use checksums
08f81eff4f346642532797f0a519832d34beeb5165856f43eacd0a64193d66ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / subtitle_generator-4.0.0-py3-none-any.whl

Download URL subtitle_generator-4.0.0-py3-none-any.whl
Size 74.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7629c7e387d381c72c27d48f56ad6a9b914d85fc00f137a00f93fa90d798c13d
BLAKE2b-256 checksum
How to use checksums
73098436171e63ff9fa55b5fe9605ce986afde47c1bae6454bce24f90934ace0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for subtitle-generator 4.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page