EasySubber is a Python-based tool that allows you to generate .srt
subtitle files from video files in various formats (e.g., .mkv
, .mp4
, .avi
). It utilizes OpenAI's Whisper model for speech-to-text transcription, FFmpeg for audio extraction, and Tkinter for a simple graphical user interface (GUI).
- Supports a variety of video formats:
.mkv
,.mp4
,.avi
, etc. - Automatically creates subtitles in the
.srt
format. - Whisper model provides high quality speech recognition.
- GUI interface built with Tkinter for ease of use.
- Uses FFmpeg to efficiently extract audio from video files.
Before using EasySubber, make sure you have the following installed:
- Python 3.x
- Whisper
- FFmpeg
- Tkinter (tipically included with Python)
Install the required Python packages:
pip install whisper ffmpeg-python tkinter
To install FFmpeg:
- Windows: FFmpeg Windows Installation Guide
- Linux:
sudo apt install ffmpeg
- macOS:
brew install ffmpeg
- Clone the repository:
git clone https://github.com/ignabelitzky/easy-subber.git
cd easy-subber
- Run the program:
python main.py
- Select the video file you want to process.
- EasySubber will generate an
.srt
subtitle file in the same directory as the video.
- File Selection: Use the Tkinter GUI to select a video file.
- Audio Extraction: FFmpeg extracts the audio track from the video.
- Transcription: Whisper transcribes the audio into text.
- Subtitle Creation: The transcription is formatted into
.srt
subtitles with proper timestamps.
Contributions are welcome! Feel free to open issues or submit pull requests to improve EasySubber.
This project is licensed under the GNU General Public License v3.0. You can find the full text of the license here LICENSE.