EveryVideoTTS

Let the story speak.

A studio that turns SRT subtitles and text into well-timed Vietnamese voice-over. Built on the open-source VieNeu-TTS, with a dubbing layer I developed.

The EveryVideoTTS website, first screen
evtts.tyr.io.vn

Overview

Load a subtitle file and each line is voiced at its own timestamp, then assembled into a single WAV. When a line is too long for its slot, the speech is sped up automatically while keeping the pitch.

The speech engine itself is VieNeu-TTS, an open-source Vietnamese project. On top of it I built SRT dubbing, multi-speaker mapping, automatic speed matching and batched processing.

Key features

  • SRT to a single WAV in two modes, sync (silence-padded) or sequential, with a 0–5 s lead-in
  • Parses the speaker tags Name:, [Name], (Name) and <v Name>, mapping up to eight speakers to voices
  • Three speed modes (auto_speed_up, fit_exact, none) with a 2.0× default cap
  • A hand-written WSOLA time-stretcher that replaced the earlier phase vocoder
  • On CUDA, lines are synthesised in batches of 32, sorted by phoneme length

Quality and safety

  • NOTICE records the upstream attribution, the files changed and the non-commercial model licence
  • Every pull request passes CI (pytest on Python 3.11 and 3.12) before it is merged
  • The timeline assembler records per-line data such as the applied speed and slot overflow

Stack

  • Python
  • Gradio
  • ONNX Runtime
  • PyTorch
  • NumPy
  • SciPy
  • React
  • TypeScript
  • Cloudflare Workers