royshil/obs-localvocal
Native OBS plugin for local Whisper transcription and live captions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
LocalVocal is a native C++ OBS Studio extension, not a separately deployed transcription server. An OBS audio filter passes source audio to Whisper.cpp for local Whisper inference. The plugin can route the resulting text to an OBS text source, a subtitle file, or RTMP captions. Translation can use Whisper’s built-in translation path, local neural machine translation via CTranslate2, or an optional cloud provider.
Whisper backends load dynamically at plugin startup, so the supported compute paths depend on the package and the host’s hardware and runtimes. The CMake project includes presets, CI build scripts, and Flatpak extension packaging. Since the plugin runs inside OBS, backend and library compatibility matter to the host application as well as to transcription; the ONNX Runtime collision with BackgroundRemoval fixed in 0.6.2 is a concrete example.
Key Capabilities & Differentiators
The plugin supports real-time transcription in about 100 languages and can emit partial results before a segment is finalized. Caption text can be filtered or replaced, displayed through an OBS text source, written to TXT or SRT with optional aggregation, synchronized to OBS recording timestamps, or sent over RTMP. An on-screen overlay and stream-native captions are distinct outputs; verify the latter against the intended playback platform.
Tiny.en is bundled for English. Other Whisper models can be downloaded from the model selector or loaded from external GGML files, including fine-tuned models. On Apple systems using CoreML, the plugin can download the matching encoder. Translation options include Whisper’s built-in translation, local CTranslate2-based NMT, and cloud integrations such as DeepL and OpenAI. Available target languages depend on the translation route, not on the transcription language count.
Trade-offs & Limitations
Compared with running Whisper.cpp separately, LocalVocal removes the work of feeding OBS audio to another process and routing text back into overlays, subtitle files, or the stream. The trade-off is that inference shares the production machine with OBS rendering and encoding, and the plugin shares OBS’s library environment. Start with the smallest model that meets your language needs and rehearse with the actual scene and encoder. Model, backend, and concurrent workload determine caption delay and resource use; GPU acceleration can shift load off the CPU but still competes for GPU capacity.
Compared with hosted captioning, the local path avoids a per-use recognition API and can run without a network after model provisioning. It also leaves hardware sizing, model selection, and rehearsal to the operator. Cloud translation is a separate data path: do not enable it if captions must stay on the production machine. The plugin is GPL-2.0, making redistribution terms relevant when shipping it as part of a commercial bundle.
Hardware & Deployment Guide
Choose a release matching Windows, Linux x86_64, or Intel or Apple Silicon macOS. Windows requires the MSVC runtime. Windows and Linux offer generic, NVIDIA, and AMD variants; CUDA and ROCm paths require compatible drivers and runtimes, with CUDA 12.8 or newer listed for NVIDIA. The generic macOS package compiles embedded Metal shaders at runtime; OS-specific variants provide precompiled shaders. Provision model files, including the matching CoreML encoder if used, before taking the system offline. Cloud translation requires network access.
Source builds use CMake presets and platform scripts. Windows CUDA builds can select ACCELERATION=cuda to use a prebuilt Whisper.cpp dependency; on Linux, -DLINUX_SOURCE_BUILD=ON builds Whisper.cpp alongside the plugin. Release 0.6.1 added support for building an OBS Flatpak extension but deferred prebuilt Flatpak releases. Release 0.6.2 fixed the BackgroundRemoval ONNX Runtime collision and changed Ubuntu builds to use the CI preset rather than system ICU.
OBS production teams that want local speech recognition, live overlays, recording-aligned subtitles, or multilingual captions and can validate performance on the production machine.
You need transcription independent of OBS, have no local compute headroom, or prefer a managed service to maintaining models and runtimes.
Quick Start & Installation
$ MACOS_ARCH="x86_64" ./.github/scripts/build-macos -c Release
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| obs-localvocal ★ | 1.7k | +9 | C++ | GPL-2.0 | Native OBS plugin for local Whisper transcription and live captions |
| Amphion | 10.4k | +7 | Python | MIT | A recipe-driven PyTorch toolkit for reproducible audio generation research |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/royshil/obs-localvocal.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about obs-localvocal
How does LocalVocal fit into an existing OBS scene?
Do I need a dedicated GPU, and how much VRAM should I budget?
Can a commercial production team run or redistribute it?
When is this preferable to standalone Whisper.cpp or hosted captioning?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
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