← Back to Leaderboard
Wlinto-ai

linto-ai/whisper-timestamped

Whisper extension using cross-attention and DTW for word timestamps and confidence

View on GitHub ↗
Engineering Health (Methodology)
B · 57/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v1.15.9
Commercial License Check
AGPL-3.0 · Copyleft Warning

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

Maintenance20/35
Fork Adoption15/25
Release Cadence11/20
License Clarity11/20
DockerSelf-HostedLocal AICLIGPUAPI
Total Stars
★ 2,861
24h Growth
+0
7d Growth
+3
Forks
213

GitHub Star History

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

linto-ai/whisper-timestamped Star History (2023-01-13 - 2026-12-03) ALL-TIME STAR HISTORY (2023-01 – 2026-12) +2.9k in 1420d · avg +2/day 3k 1.5k 0 2023-01-13: ★ 12023-04-15: ★ 3232023-07-15: ★ 6372023-10-14: ★ 8852024-01-13: ★ 1,1672024-04-13: ★ 1,4262024-07-13: ★ 1,6572024-10-12: ★ 1,8992025-01-11: ★ 2,1222025-04-12: ★ 2,3092025-07-12: ★ 2,4612025-10-11: ★ 2,5882026-01-10: ★ 2,6942026-04-11: ★ 2,7752026-07-11: ★ 2,8102026-10-10: ★ 2,8482026-12-03: ★ 2,861 ★ 2.9k 2023-01 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

whisper-timestamped extends Whisper in Python rather than introducing a separate recognizer. load_model selects the openai-whisper or transformers backend, and transcribe(model, audio, ...) accepts a file path, NumPy array, or PyTorch tensor. The core requirements are Cython, dtw-python, and openai-whisper; FFmpeg is a system prerequisite for the documented installation path.

The alignment stage applies dynamic time warping (DTW) to Whisper's cross-attention weights to estimate word starts and ends. Under compatible decoding settings, including greedy decoding where applicable, it can align each segment after decoding without a separate inference pass. Optional VAD filters the input before recognition. This is an embeddable transcription and alignment pipeline, not a standalone model server.

Key Capabilities & Differentiators

The Python API supports multilingual transcription, translation into English, and automatic language detection with language probabilities when no language is specified. The loader accepts Whisper identifiers such as large-v3 and medium.en, compatible local checkpoints or directories, and Hugging Face identifiers, including fine-tuned models. Loading a local checkpoint still requires a file format compatible with the chosen backend.

The result adds a words list to each segment and provides word and segment confidence scores, with word confidence enabled by default. Disfluency marking is optional. refine_whisper_precision defaults to 0.5 seconds and accepts multiples of 0.02 seconds; this is a tuning constraint, not a timestamp accuracy guarantee. The whisper_timestamped CLI supports batch file input, adds CSV, and writes additional word-timed SRT, VTT, and TSV files.

Trade-offs & Limitations

Compared with WhisperX-style wav2vec alignment, cross-attention DTW avoids running an additional alignment network and finding one for each language. It also avoids converting Whisper output such as numerals and symbols to an external aligner's character inventory. Compared with alignment based on timestamp-token probabilities, it does not depend on Whisper assigning a meaningful timestamp immediately after each word. Neither design choice guarantees better boundaries on a particular corpus.

The default greedy decoding settings favor efficiency and disable beam search and temperature fallback, so switching from plain Whisper can change the transcript as well as its timing. Use matched decoding settings when comparing results; --accurate provides a CLI preset, but beam search can increase the work needed for alignment. VAD can reduce spurious text on silence, but it adds a preprocessing stage. Benchmark transcription quality, timing, and throughput before rollout, and assess AGPL-3.0 obligations before distributing or operating a modified network-facing version.

Hardware & Deployment Guide

Install with pip install whisper-timestamped and provide FFmpeg. Python 3.7 or newer is listed, with 3.9 recommended and used by the main Dockerfile. For a lighter CPU setup, install CPU-only PyTorch first. The standard build uses Dockerfile (about 9 GB); the separate Dockerfile.cpu build is about 3.5 GB. These are image sizes, not memory requirements.

Models can run locally once compatible weights and dependencies are present; a model hub download may be needed on first use. The repository provides a Python API and CLI, not an evidenced HTTP service or WebSocket streaming endpoint. Size CPU or CUDA workers against the chosen model, decoding options, and concurrency. The latest listed release is v1.15.9 on September 9, 2025, following v1.15.8 and v1.15.7 on November 25, 2024; those dates do not establish what changed.

Alignment: Dynamic time warping maps Whisper cross-attention to word boundaries without a separate language-specific aligner.
Decoding: Greedy decoding can reuse the recognition pass for alignment; --accurate restores Whisper-style beam search and temperature fallback.
Model loading: load_model supports Whisper model names, compatible local checkpoints, and Hugging Face models through openai-whisper or transformers.
Speech filtering: VAD is off by default and accepts Silero, Auditok, or caller-supplied speech intervals.
Output contracts: JSON contains word boundaries and confidence; the CLI also supports CSV and additional word-timed SRT, VTT, and TSV files.
Local deployment: The Python library and CLI run on CPU or CUDA when available; Dockerfile.cpu provides a separate CPU build path.
Best For

Local or self-hosted batch transcription for word-synced subtitles, searchable recordings, and review tools that need word boundaries and confidence scores across languages.

Skip If

You need a turnkey real-time streaming API, plain Whisper already meets your output requirements, or your deployment cannot meet AGPL-3.0 obligations.

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

Quick Start & Installation

DockerSelf-HostedLocal AICLI
pip3 install whisper-timestamped

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
whisper-timestamped ★2.9k+3PythonAGPL-3.0Whisper extension using cross-attention and DTW for word timestamps and confiden
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
Speech18.8k+18PythonApache-2.0PyTorch speech SDK for training, adapting, and running ASR, TTS, and SpeechLM mo
PaddleSpeech12.7k—PythonApache-2.0PaddlePaddle-based SDK for local and streaming speech recognition and synthesis

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/linto-ai/whisper-timestamped.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.

linto-ai/whisper-timestamped Star History on RepoForAI

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

Frequently Asked Questions about whisper-timestamped

How do I integrate word-level alignment into an existing transcription worker?

Load the model once with whisper_timestamped.load_model, then call whisper_timestamped.transcribe(model, audio, ...) for each input. Pass a file path or a NumPy or PyTorch waveform. The result includes segments[].words with word boundaries and, by default, confidence scores. Use language when known, or allow automatic detection. The API here is a Python interface; an HTTP service would be a separate integration.

How should I size CPU, GPU, and memory for production?

Start with a small model on CPU to validate the pipeline, using CPU-only PyTorch if CUDA is unnecessary. For GPU sizing, measure peak VRAM and end-to-end throughput on representative recordings with the intended checkpoint, decoding settings, VAD configuration, and worker concurrency. Greedy decoding can reuse the recognition pass for alignment when conditions permit; beam search can require extra inference.

Can I self-host it in a commercial transcription service?

Commercial use is possible under AGPL-3.0, but self-hosting does not remove license obligations. If users interact with a modified version over a network, the license requires offering those users access to the corresponding source of that version. Distribution can trigger separate obligations. Review the integration boundary and the licenses of any separately obtained model weights before rollout.

When should I choose it over plain Whisper or WhisperX?

Start with plain Whisper if it already supplies the output your pipeline needs. Choose whisper-timestamped if you need its attention-based word alignment and confidence output without maintaining an aligner per language. Compare it with WhisperX-style wav2vec alignment when a suitable language-specific model exists. Test word boundaries and subtitle sync on your own recordings, especially around numbers, fillers, and music; no comparative benchmark establishes a universal winner.

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 linto-ai/whisper-timestamped? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature linto-ai/whisper-timestamped 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