Convert SRT file to audacity supported label.
Useful when editing an long interview, with auto generated SRT files.
Multiple lines within a single SRT screen will be concatenated with \\
.
Python 2/3 is needed.
$ sudo pip install pysrt #Linux or macOS
Or..
$ sudo easy_install pysrt
$ python convert-srt-to-audacity-label.py /path/to/your/srt-file.srt
$ python convert-srt-to-audacity-label.py demo.srt
demo-LABELS.txt wrote.
- macOS (Tested)
- Linux (Tested)
- Windows (Didn't test, but shouldn't be a problem)
- https://github.com/agermanidis/autosub: Command-line utility for auto-generating subtitles for any video file (Google API)