subtrans heartleo
winget install --id=heartleo.subtrans -e Subtrans is a command-line tool designed to translate subtitle files (SRT, VTT, ASS/SSA, LRC, SBV) using OpenAI-compatible APIs. It simplifies the process of converting subtitles into different languages while maintaining the integrity of timestamps and formatting.
Key Features:
- Supports multiple subtitle formats including SRT, WebVTT, ASS/SSA, LRC, and SBV.
- Integrates seamlessly with OpenAI-compatible APIs for high-quality translations.
- Automatically splits content by sentence boundaries for efficient processing.
- Includes features like automatic retries for failed translations and custom translation prompts.
- Provides bilingual output options for side-by-side comparison of source and translated text.
- Available as both a command-line tool and an HTTP API server with support for Server-Sent Events (SSE) streaming.
Audience & Benefit: Ideal for content creators, translators, and professionals working with multilingual subtitles. Subtrans helps streamline the translation process, ensuring accurate and consistent subtitle files across different languages. By automating translations and offering flexible customization options, it saves time while maintaining high-quality output.
Subtrans can be installed via winget or built from source, making it accessible for users of various technical skill levels.