Favicon of PotPlayer ChatGPT Translate

PotPlayer ChatGPT Translate

A Windows subtitle translation plugin for PotPlayer that uses Ollama or compatible AI APIs, with optional context from earlier subtitle lines.

PotPlayer ChatGPT Translate translates existing subtitles inside PotPlayer during video playback. It's for viewers who want AI translation with a choice of a local model or a hosted API.

  • Translation during playback: Send subtitle text to a model and display the translated lines directly in the player.
  • Dialogue context: Include earlier subtitles to help the model interpret pronouns, references and ambiguous lines, or translate lines independently for faster responses.
  • Compatible backends: Use Ollama or services with a compatible OpenAI chat/completions API, including endpoints that don't require an API key.
  • Output checks: Use an optional small-model prompt mode and checks for abnormal translation output, with optional retries.

Context-aware translation can increase latency and the amount of text sent to the model. Translation quality depends on the model, and endpoint compatibility determines which services work with the plugin.

The plugin runs on Windows and is open source under GPL-3.0. With an endpoint running on your own machine, subtitle requests go to that local service. A hosted endpoint receives the subtitle text, including earlier lines when context is enabled. The plugin works with subtitles already present in the video or loaded into PotPlayer.

Similar to PotPlayer ChatGPT Translate