SRT4U is a premium desktop application built with Python 3.13 and PyQt6, designed to process subtitle files with a focus on speed, reliability, and a stunning Glassmorphism user interface.
The latest version features a complete architectural overhaul:
- Premium UI: Ultra-modern dark theme with translucent "Glass" cards and smooth gradients.
- Architectural Purity: Strict separation between core processing logic and the user interface.
- Parallel Translation Engine: New multi-threaded core for significantly faster translations.
- Enhanced Performance: Optimized for Python 3.13 with native PyQt6 threading.
- Bundled Executable: Easy distribution using PyInstaller.
- 💎 Stunning Glassmorphism UI: A modern, translucent design that feels at home on Windows 11 and modern OSs.
- 🛠️ Robust Subtitle Parsing: Automatically detects and fixes common errors like missing indices or non-standard timestamp separators (
-instead of-->). - 🌍 Smart Translation: Powered by
deep-translator. Translate into 100+ languages while maintaining pixel-perfect timing integrity. - 🚀 Parallel Engine: New multi-threaded architecture that processes multiple subtitle blocks simultaneously, cutting translation time by up to 80%.
- 🧹 Expert Cleaning: Strips out promotional spam, Telegram IDs, URLs, and musical symbols automatically.
- 🔄 Multi-Format Support: Seamlessly convert between
.srtand.vtt. Also supports.txtfiles containing subtitle timestamps. - ⚡ Native Performance: Fully asynchronous processing; the UI never freezes, even during heavy translation tasks.
- Python 3.13 (recommended)
- Internet connection (for translations)
git clone https://github.com/marodriguezd/SRT4U_Subtitle-Processor.git
cd SRT4U_Subtitle-Processor
pip install -r requirements.txtpython main.pyIf you want to create a standalone version for Windows:
.\build_exe.batThe resulting file will be in the /dist folder.
The project follows a modular service-oriented architecture:
application/ui/: Contains the Glassmorphism styling and PyQt6 window definitions.application/services/: Pure logic services for file handling, subtitle parsing, and translation.main.py: The entry point that orchestrates the application launch.
This project is licensed under the Apache License 2.0.
Created with ❤️ for subtitle enthusiasts.
