chboishabba / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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()

About

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.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%