SubFix is a small program for manipulating subtitle files.
Currently it can only handle .srt and .sub formats, though others may be supported later on.
You can validate a subtitle file by providing a filename as subfix's only argument.
subfix movie.srtSubFix can adjust the timing of a subtitle file easily. If you want to delay the subtitles 5.4 seconds, set the time shift (ts) flag:
subfix --ts 5.4s movie.srtIf you instead want to hasten the subtitles just add a minus, like -5.4s.
To convert one format to another, say .sub to .srt, it's as simple as:
subfix --outfile movie.srt movie.sub