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.
m = Merger(output_name="new.srt")
m.add('fa.srt', color="yellow", codec="windows-1256")
m.add('en.srt')
m.merge()
-
Clone the repo
-
From repo folder execute this command
uv tool install .- After that you can use scipt
merge-subs --help