Skip to content

This implementation solution provides subtitle translation functionality for PotPlayer by calling the MTranServer API.

License

Notifications You must be signed in to change notification settings

albertyann/potplayer-translation-mtranserver

Repository files navigation

PotPlayer Translation OpenAI API

English/简体中文

Introduction

This implementation solution provides subtitle translation functionality for PotPlayer by calling the MTranServer API.

Original Project

The reason for this project is that MTranServer and Open AI API are not compatible.

Why use MTranServer? It's because it is fast enough. I tried using local ollama with a large model for translation, but the real-time performance was not ideal. Of course, it might also be due to poor machine configuration.

Switching to MTranServer can guarantee real-time performance, although the accuracy of translations is indeed not as high as with large models.

API Documentation

MTranServer

Usage

Download

Copy the file to the PotPlayer translation directory. Please change it to your own installation directory: C:\Program Files\DAUM\PotPlayer\Extension\Subtitle\Translate

Parameter Configuration

Model and API Address: API URL

API Key: API Key

Running Requirements

Notes

  • After deploying MTranServer service locally, it can effectively solve the delay issue..

Troubleshooting

Please believe me, restarting can resolve 90% of the issues.

About

This implementation solution provides subtitle translation functionality for PotPlayer by calling the MTranServer API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published