Repolode
dlsandy

dlsandy/Transub-Player

A Windows video player that generates live bilingual subtitles with on-device speech recognition and translation while you watch.

Stars
885
Forks
73
Open issues
7
Last commit
3 days ago

What is it?

Transub Player is a Windows desktop video player for watching foreign films, dramas and anime without a subtitle file. When you open a video, the picture plays immediately, and subtitles are generated live with built-in Whisper speech recognition, then translated with a local llama-server model when it is ready.

Viewers can switch between translation only, source-language only, or dual subtitles with the keys 1, 2 and 3. Source and target languages can be changed during playback among Chinese, Japanese, Korean and English. If a subtitle file already sits next to the video, it loads first, and live subtitles can be turned back on at any time.

The player is built with WPF and uses mpv for video playback. It can also open common network stream URLs and record them to local storage. Recognition and translation models are downloaded on demand, and the app supports optional GPU acceleration.

Key features

  • 01Generates live subtitles from speech with built-in Whisper recognition.
  • 02Switches between translation, source and dual subtitles with number keys.
  • 03Lets you change source and target languages during playback.
  • 04Loads an existing subtitle file next to the video first when one is present.
  • 05Opens common network stream URLs and can record them locally.
  • 06Downloads recognition and translation models on demand.

Use cases

  • Watching a foreign film or anime episode when no subtitle file can be found.
  • Following along in two languages while learning a new language.
  • Recording a streamed video for later viewing on local storage.

Quick start

  1. 1

    Download the installer or portable zip from GitHub Releases

  2. 2

    Run the setup .exe, or unzip the portable build and run TransubPlayer.exe

  3. 3

    Build from source: fetch mpv

    powershell -ExecutionPolicy Bypass -File tools\fetch-mpv.ps1
  4. 4

    Build from source: run the player

    dotnet run --project src\TransubPlayer\TransubPlayer.csproj

Things to know

  • Windows only (10 or 11, 64-bit).
  • No license is specified in the project metadata.
  • The first run needs internet access to download recognition and translation models.
  • Subtitles are generated live, so they appear slightly behind the picture and are not release-grade.

In collections

Topics

FAQ

What is Transub-Player?
A Windows video player that generates live bilingual subtitles with on-device speech recognition and translation while you watch. Transub Player is a Windows desktop video player for watching foreign films, dramas and anime without a subtitle file. When you open a video, the picture plays immediately, and subtitles are generated live with built-in Whisper speech recognition, then translated with a local llama-server model when it is ready.
Is Transub-Player free to use? What license does it have?
Transub-Player has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
Is Transub-Player still maintained?
Actively maintained. The last commit to Transub-Player was on Nov 4, 2026.
What can I use Transub-Player for?
Watching a foreign film or anime episode when no subtitle file can be found. Following along in two languages while learning a new language. Recording a streamed video for later viewing on local storage.
How do I install Transub-Player?
Download the installer or portable zip from GitHub Releases Run the setup .exe, or unzip the portable build and run TransubPlayer.exe Build from source: fetch mpv: powershell -ExecutionPolicy Bypass -File tools\fetch-mpv.ps1 Build from source: run the player: dotnet run --project src\TransubPlayer\TransubPlayer.csproj
Where can I get Transub-Player?
The source code and installation instructions are on GitHub: https://github.com/dlsandy/Transub-Player

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects