Skip to content

daxliar/submerger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SubMerger - SRT Subtitles Merger

Lua script to merge two input subtitles in SRT format in a new SRT file.
This tool is meant to help people that are learning new languages and would need to have on screen the two translations at the same time.
Here is an example of how VLC would playback the file generated (colors are configurable).

GitHub Logo

Usage

It requires first the two input subtitle fils in SRT format then an out SRT file

 $ ./submerger.lua <input srt file 1> <input srt file 2> <output srt file> [html color code 1] [html color code 2]

Esample

$ ./submerger.lua first_language.srt second_language.srt merged.srt
Imported 620 blocks from "first_language.srt"
Imported 587 blocks from "second_language.srt"
Written 514 blocks to "merged.srt"

Requirements

Lua 5.1 or later is required.

TODO

  • Make this command line tool a VLC addon.

Releases

No releases published

Packages

No packages published

Languages