Read in other languages: Español | 中文
A desktop application for generating and customizing multilingual subtitles for your videos.
- User-friendly graphical interface
- Multiple interface languages (English, Español, 中文)
- AI-powered automatic subtitle generation
- Translation of subtitles into multiple languages
- Subtitle customization:
- Color
- Font size
- Vertical position
- Real-time preview
- Save and load workflow configurations
- Python 3.10+: Base programming language
- Main packages:
moviepy (1.0.3): Video processingopenai-whisper (20231117): AI-powered speech recognitiongoogletrans (3.1.0a0): Text translationcustomtkinter (5.2.1): Modern GUI frameworkpillow (10.1.0): Image processingpackaging (>=23.0): Dependency management
- Python 3.10 or higher
- ImageMagick (required for video processing)
- Windows: Download ImageMagick
- During installation, make sure to check "Install legacy utilities (e.g. convert)"
- Download and install Python 3.10 or higher
- Download and install ImageMagick
- During installation, make sure to check "Install legacy utilities (e.g. convert)"
- Double click on
install.bat - Wait for the installation to complete
-
Clone or download this repository
-
Create a virtual environment (recommended):
python -m venv venv
venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Double click on
run.bat - The application will start automatically
- Activate the virtual environment if you created one:
venv\Scripts\activate- Run the application:
python subtitle_generator.py-
Basic steps:
- Click "Load video" to select your video file
- Add one or more subtitle languages using "Add subtitle"
- Customize the color, size, and position of each subtitle
- Use "Open preview" to see how the subtitles will look
- Click "Generate subtitles" to create the video with subtitles
-
You can save your current configuration as a workflow to reuse it later
The application supports subtitle generation and translation in over 50 languages, including:
- English
- Español (Spanish)
- 中文 (Chinese)
- Français (French)
- Deutsch (German)
- 日本語 (Japanese)
- And many more...
- The first time you use the application with a new language, the required speech recognition model will be automatically downloaded
- Processing time will depend on the video duration and number of selected languages
- It's recommended to use videos with clear audio for best results
- If you receive an error about ImageMagick:
- Make sure you have installed ImageMagick correctly
- Verify that the "Install legacy utilities" option is checked
- Restart your computer after installing ImageMagick

