PotPlayer_ChatGPT_Translate  by Felix3322

PotPlayer plugin for real-time subtitle translation

created 8 months ago
582 stars

Top 56.4% on sourcepulse

GitHubView on GitHub
Project Summary

This plugin integrates OpenAI's ChatGPT API (or compatible models) into PotPlayer for real-time, context-aware subtitle translation, enhancing the viewing experience by overcoming language barriers. It's designed for PotPlayer users who watch foreign language content and desire more accurate, nuanced translations than traditional tools offer.

How It Works

The plugin is built using AngleScript, leveraging both the PotPlayer API for deep integration and the ChatGPT API for translation. This approach allows for context-aware translation, understanding idioms and cultural references, which is a significant improvement over literal translations. It supports any AI model with an OpenAI-compatible chat completions endpoint.

Quick Start & Requirements

  • Installation: Fully automatic via an installer (installer.exe) or manual by copying .as and .ico files to PotPlayer's Extension directory.
  • Prerequisites: PotPlayer, OpenAI API key (if not using a local or keyless API).
  • Configuration: Set up via PotPlayer's Preferences (F5) under Extensions > Subtitle translation, specifying model name, API URL, API key, and languages.
  • Docs: https://github.com/Felix3322/PotPlayer_ChatGPT_Translate

Highlighted Details

  • Real-time, context-aware subtitle translation.
  • Supports various models including Deepseek, Tongyi Qianwen, ERNIE Bot, Gemini, and LLaMA.
  • Allows configuration of custom API endpoints and local model deployments.
  • Demonstrates superior translation quality over Google Translate with contextual examples.

Maintenance & Community

The project has a roadmap indicating future support for additional AI models and optimization. Contributions are welcomed via issues and pull requests.

Licensing & Compatibility

  • License: GPLv3.
  • Compatibility: The GPLv3 license may impose copyleft restrictions on derivative works, potentially affecting integration with closed-source applications.

Limitations & Caveats

The project's last update was some time ago, as indicated by the "好久没更新了?" comment. Future support for additional AI models is planned but not imminent.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
2
Star History
206 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.