/srtmerger-ms

suggested edits that allow for working with files containing millisecond-level subtitles. intended to work with srts produced by openAI whisper. this will be updated to accept additional formats. code credit goes to chatGPT with a few interventions by me.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

srtmerger

s subtitle merger is a tool for merging two or more subtitles for videos. SRT Merger allows you to merge subtitle files, no matter what language are the subtitles encoded in. The result of this merge will be a new subtitle file which will display subtitles from each merged file.

How to works?

m = Merger(output_name="new.srt")
m.add('fa.srt', color="yellow", codec="windows-1256")
m.add('en.srt')
m.merge()