/SRT-Audio

Subtitle to Audio Converter using Pyttsx3

Primary LanguagePythonMIT LicenseMIT

SRT-Audio

Convert your subtitles into audio tracks for whatever reason you might need.

I will be making a GUI version of this program in future.

Screenshots

Alt text

Dependencies

Run

To run this program, clone it to your local machine using:

git clone https://github.com/magnusjwatson2786/SRT-Audio.git

then cd to the repo directory and hit:.

python -m pip install -r requirements.txt --user
python tts.py

Or just double-click on the start.bat file to run.

Note: Mac OS X / Linux users may need to run the following before executing the script.

chmod +x start.sh

Usage

  1. Replace the values for srtpath and sppath variables in the tts.py file with the path to your srt file and output audio file respectively.

  2. Run as specified above.

Simple as that!

License

MIT

Free Software, Hell Yeah!

Happy Coding!