← Back to Leaderboard
WSoftcatala

Softcatala/whisper-ctranslate2

CTranslate2-powered Whisper CLI for local speech transcription

View on GitHub ↗
Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated 12d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence11/20
License Clarity20/20
DockerLocal AICLIGPU
Total Stars
★ 1,376
24h Growth
+0
7d Growth
+2
Forks
129

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Softcatala/whisper-ctranslate2 Star History (2023-03-21 - 2026-12-04) ALL-TIME STAR HISTORY (2023-03 – 2026-12) +1.4k in 1354d · avg +1/day 1.5k 727 0 2023-03-21: ★ 12023-06-17: ★ 2682023-09-09: ★ 4052023-12-02: ★ 5362024-02-24: ★ 6442024-05-18: ★ 7372024-08-10: ★ 8122024-11-02: ★ 8762025-01-25: ★ 9422025-04-19: ★ 9832025-07-12: ★ 1,0502025-10-04: ★ 1,0962025-12-27: ★ 1,1582026-03-21: ★ 1,2412026-06-13: ★ 1,3032026-09-05: ★ 1,3412026-12-04: ★ 1,376 ★ 1.4k 2023-03 2025-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Softcatala's whisper-ctranslate2 is an MIT-licensed Python CLI that retains the OpenAI Whisper command-line interface while moving model execution to faster-whisper and CTranslate2. CTranslate2 provides x86-64 and AArch64 CPU support and an NVIDIA GPU path. The dependency manifest lists faster-whisper>=1.2.0, ctranslate2, numpy, tqdm, and sounddevice, and constrains PyAV to av>=11,<19: faster-whisper 1.2.1 passes metadata_errors to av.open(), which PyAV 19 removed.

File transcription and live microphone capture are exposed through the same entrypoint, whisper-ctranslate2. Silero VAD can filter non-speech before decoding; optional pyannote.audio diarization adds segment-level speaker labels to output such as JSON, VTT, and SRT. For integration, plan around the CLI and its files rather than assuming a network endpoint or a service-level concurrency model.

Key Capabilities & Differentiators

The CLI handles multilingual speech transcription and speech translation into English only. --live_transcribe True enables microphone input, and --print_colors True visualizes word confidence in the terminal. --model_directory accepts local Whisper models, including fine-tuned or quantized weights, once they have been converted to CTranslate2 format. Use --device and --device_index to override automatic hardware selection, and --compute_type to choose a precision such as int8, float16, or float32 as appropriate for the device.

--batched True uses VAD and decodes segments independently, with --batch_size controlling how many decoding requests the model handles in parallel. Outside that choice, --vad_filter can be enabled explicitly and tuned with a speech threshold and minimum or maximum speech duration. Optional diarization assigns labels at segment granularity, not word granularity; labels such as SPEAKER_00 distinguish speakers within the transcript without establishing their real-world identities.

Trade-offs & Limitations

Compared with the original OpenAI Whisper CLI, the main migration benefit is familiar command syntax with additional controls for precision, hardware placement, and batching. Treat batching as a decoding change, not just a speed switch: it ignores condition_on_previous_text, prefix, and thresholds such as logprob_threshold and no_speech_threshold. Benchmark throughput on representative audio and compare transcripts on long recordings where context across segments matters before enabling it by default.

Compared with a hosted Whisper API, local inference can keep audio on the host and gives you direct control over model placement and precision. In return, you manage model files, CUDA compatibility, and compute capacity. Start with CPU int8 if throughput requirements are modest, then size RAM or VRAM on the target machine using the intended model, precision, and batch size. MIT licensing applies to the repository code; separately review the terms for dependencies and model artifacts you plan to redistribute.

Hardware & Deployment Guide

Install the Python package with pip install whisper-ctranslate2, or use ghcr.io/softcatala/whisper-ctranslate2:latest. The Dockerfile uses nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04, preloads small, medium, and large-v2, and sets whisper-ctranslate2 as the entrypoint. The container example mounts files at /srv/files/ and exposes GPU 0 with --gpus "device=0"; omit that flag for CPU execution. Native NVIDIA GPU execution requires CUDA 12 cuBLAS and cuDNN 9.

For disconnected transcription, preload the chosen model or mount it from a persistent volume and select it with --model_directory. Diarization has a separate setup path: install pyannote.audio==4.0, accept the conditions for pyannote/speaker-diarization-community-1, and provide a Hugging Face token with --hf_token. Keep that token out of shared scripts and logs. No tagged release milestone is available for version selection here; for reproducible deployments, record the tested package and dependency versions or pin the container digest rather than relying on latest.

Inference stack: Python CLI routes Whisper inference through faster-whisper>=1.2.0 and CTranslate2.
Batch decoding: --batched True decodes VAD-derived segments independently, with --batch_size controlling decoding parallelism.
Hardware control: --device, --device_index, and --compute_type select placement and precision; CPU int8 is available.
Custom models: --model_directory loads fine-tuned or quantized Whisper weights in CTranslate2 format.
Audio workflows: File and microphone input, optional Silero VAD, confidence-colored terminal text, and segment-level speaker labels via pyannote.audio.
Container packaging: ghcr.io/softcatala/whisper-ctranslate2:latest preloads small, medium, and large-v2.
Best For

Local transcription pipelines that already use the Whisper CLI, subtitle jobs, and offline or GPU-backed batch runs with explicit control over model and precision.

Skip If

You need a managed API, a network streaming service with defined latency guarantees, translation into languages other than English, or verified speaker identities.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
whisper-ctranslate2 ★1.4k+2PythonMITCTranslate2-powered Whisper CLI for local speech transcription
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
WhisperLiveKit11.3k+27PythonApache-2.0Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization
mlx-audio8.4k+32PythonMITMLX inference SDK for local speech and audio pipelines on Apple Silicon

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Softcatala/whisper-ctranslate2.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Softcatala/whisper-ctranslate2 Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about whisper-ctranslate2

How should an existing Whisper integration call this tool?

Use whisper-ctranslate2 as a subprocess and read its output files; JSON is a practical choice for downstream processing. Start from your existing OpenAI Whisper CLI arguments, then test the options and output fields your pipeline depends on. In particular, --batched True ignores several decoding controls, so CLI compatibility does not imply identical behavior in batch mode.

How should I size CPU, RAM, and VRAM for a deployment?

Start with small or medium and benchmark CPU --compute_type int8 before adding a GPU. On NVIDIA, test the intended model, compute type, and --batch_size together on representative recordings. If you need diarization, measure its overhead separately. There is no fixed VRAM figure that applies across these configurations.

Can I use it commercially or ship it in a self-hosted image?

The repository code is MIT-licensed and can be used commercially subject to the license terms, including retaining the required notices when redistributing it. Review dependency and model terms separately if you distribute a bundled image. Optional diarization requires accepting the Hugging Face model conditions and using an access token to obtain the gated model.

When is this preferable to the original Whisper CLI or a hosted Whisper API?

Choose this CLI if you want local audio processing and control over the model, precision, or batch size. Choose a hosted Whisper API if avoiding runtime and model maintenance matters more than local execution. If you only need a couple of existing OpenAI Whisper commands to keep working, test those commands and their outputs before replacing the original CLI.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Softcatala/whisper-ctranslate2? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Softcatala/whisper-ctranslate2 on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare