HiMeditator/auto-caption

A cross-platform real-time subtitle display software. 一个跨平台的实时字幕显示软件。

auto‑caption – Real‑time subtitle software

What it does
auto‑caption is a cross‑platform desktop application that captures audio (from a microphone or the system’s output) and shows live subtitles. It can also translate the recognized text into other languages.

Key AI/ML components

  • Speech‑to‑text engines – the app can use a variety of models, both cloud‑based (Alibaba Paraformer, Qwen LiveTranslate, GLM‑ASR) and local (Vosk, SOSV/SenseVoice). These models perform the core automatic speech recognition (ASR).
  • Translation – after a sentence is recognised, the text can be sent to a translation service: a local Ollama LLM, an OpenAI‑compatible API, or Google Translate.

How it works

  1. Audio capture – on Windows, macOS and Linux the program grabs either microphone input or the system’s audio output (extra setup needed on macOS/Linux).
  2. ASR engine selection – the user picks one of the supported engines. Cloud engines require an API key; local engines need the corresponding model files (Vosk models, SOSV ONNX package).
  3. Real‑time processing – audio is streamed to the chosen engine, which returns text line‑by‑line. When a line is finished, the optional translation step is triggered.
  4. Display & export – subtitles are rendered with customizable font, size, colour and background. They can be saved as .srt (standard subtitle) or .json files.

Supported platforms & languages

  • OS: Windows 11 (x64), macOS Sequoia (arm64), Ubuntu 24.04 (x64). The UI is multilingual (Chinese, English, Japanese).
  • Recognition languages: up to 30+ with Vosk, 8 with Paraformer, 5 with SOSV, plus the cloud models that cover Chinese, English, Japanese, Korean, German, French, Russian, Cantonese, etc.
  • Translation targets: Chinese, English, Japanese, Korean, German, French, Russian, Spanish, Italian, etc.

Installation & usage

  • Download the compiled app from the GitHub Releases page.
  • Download a local model if you plan to use Vosk or SOSV.
  • Configure the chosen engine and (optionally) a translation provider in the settings UI.
  • The app can also be run from the command line by invoking the subtitle engine directly (a Python‑based component packaged with PyInstaller). The repository provides npm scripts to sync dependencies, test, build the engine, and package the Electron desktop app.

Why it matters
auto‑caption combines several frontier AI services—high‑performance ASR models and LLM‑based translation—into a single, user‑friendly desktop tool. It is useful for live streaming, video conferencing, accessibility, or any scenario where on‑the‑fly subtitles are needed without relying on a third‑party platform.

Where to learn more

  • User manual: docs/user-manual/zh.md
  • Engine documentation: engine/README.md
  • Changelog: docs/CHANGELOG.md

All details are taken directly from the repository’s README.

Related

  • Project
  • Project
  • Project
  • Project
  • Project