funasr-subtitle is an offline Windows desktop tool that turns audio and video into timestamped subtitles with FunASR ONNX inference and exports SRT, VTT, TXT or JSON.
- v0.5.1
- Published at
- 17d ago
- 34
- Stars
- 763
- Download
- Synced at
- 16d ago
Latest release
v0.5.1Nov 9, 2026, 10:08 PMREADME
Project Overview
funasr-subtitle turns audio and video files into timestamped subtitles, and the whole pipeline runs offline on your own machine. It wraps FunASR ONNX inference in a local FastAPI service and a React page, so after unzipping you double-click funasr-subtitle.exe and the default browser opens the UI, with no Python install and no admin rights. The default SenseVoiceSmall model is non-autoregressive and reaches roughly 10x real time on CPU alone, while Chinese and Cantonese recognition holds up better than general-purpose models.
| Item | Value |
|---|---|
| Platform | Windows x64 portable package |
| Inference backend | funasr-onnx (CPU) or funasr + torch (CUDA) |
| Service port | 8765 by default, auto-incremented when taken |
| Export formats | SRT, VTT, TXT, JSON |
| License | MIT |
After the one-time model download it works fully offline, and media plus subtitles never leave the machine.
Key Features
- Offline transcription: handles mp4, mkv, mp3, m4a and wav; decoding feeds VAD segmentation and ASR, and once models are cached no network is used
- Three ASR models: SenseVoiceSmall for speed and multilingual input, Paraformer-zh for Chinese accuracy, and the Paraformer-zh hotword variant with a hotword list for proper nouns
- Five languages: Chinese, Cantonese, English, Japanese and Korean, detected automatically or set by hand
- Subtitle segmentation: splits on punctuation and pauses, with a default line width of 30 (max 100,
0means unlimited), cues capped at 7 seconds, and breakpoints preferring sentence end, then clause, then word boundary - Pause-based breaks: setting
--pause-msto something like300prefers line breaks where silence exceeds that length; the default0disables it - Number normalization: writes
2025年instead of the spoken form by default, leaves counted phrases such as three apples untouched, and keeps Chinese numerals when disabled - Four exports: SRT, VTT, TXT and JSON plus one-click copy; models that expose character timing put per-character start and end milliseconds in the JSON
wordsfield - Speaker diarization: labels
[spk0],[spk1]with cam++ only in the full build with a Paraformer model, downloading the model the first time it is enabled - Live transcription: microphone or tab audio is converted to 16 kHz PCM by an AudioWorklet and streamed over
/ws/live, shown as large lyric-style captions with a picture-in-picture pop-out
Target Audience
- Students subtitling recorded lectures
- Editors working on Chinese podcasts and interviews
- Subtitle makers handling Cantonese material
- Teams that cannot upload their media
- Creators producing SRT files in bulk
Quick Start
File Transcription
- Unzip the portable package and double-click
funasr-subtitle.exe; the browser openshttp://127.0.0.1:8765, where the first visit asks you to download models (about 235 MB for the default SenseVoice in the CPU package) - Drag an mp4, mkv, mp3 or wav file into the page, keep the language on auto and click the start button
- Click
.srtto download; the name matches the source file, and.vtt,.txtor.jsonare also available - Export before quitting, then stop the service from the top-right corner
Live Transcription
- Pick microphone or computer audio as the sound source in the live section
- Download the Paraformer live model for Chinese first, about 228 MB in the CPU package
- Start live transcription, and use the pop-out button when you need the captions on top
- Stop capture to flush the last characters, then export in the same four formats
System Requirements
| Item | Requirement |
|---|---|
| OS | Windows 10 or 11 x64 |
| Runtime | Python is bundled in the portable package |
| GPU (optional) | The full build needs an NVIDIA driver with CUDA 12.8, otherwise it falls back to CPU |
| Disk space | About 372 MB for the CPU package, plus space for models and job data |
| Model cache | %LOCALAPPDATA%/funasr-subtitle/models by default, overridable with MODELSCOPE_CACHE |
| Source build | Python 3.11, Node 24, ffmpeg and ffprobe on PATH |
Notes
- Models are a separate download: weights are not bundled, about 235 MB for the CPU package on first run, roughly 0.9 GB for SenseVoice and 2.1 GB for Paraformer-zh in the full build
- The CUDA package is split: the full build exceeds the single-file upload limit, so download every
.001,.002volume and merge them with the includedmerge.batbefore unzipping - Live mode is Chinese only: no punctuation, no speaker labels, timings estimated per audio block, and it cannot run together with file transcription
- Character timings are partial: the onnx Paraformer path and the live model have no character-level timing and leave JSON
wordsempty; only SenseVoice provides per-character milliseconds - English gets no sentence punctuation by default: in auto mode English breaks on pauses, and written punctuation requires switching the punctuation mode to add