If someone wants to use this code you can have it for free https://github.com/werowe/SubtitleFixer
I use it to add or subtract seconds to subtitles to match the video timing. Something like that would be useful in whatever you are building. It needs a graphical front end. Problem with many subtitles is they are not synced up with the video.
ciao.