Subtitles synchronizer is a command line tool that synchronizes subtitles of a movie. Sometimes subtitles are in offset with the movie and is enough to slide the subtitles some seconds backwards or forwards to match with the movie.
This program only works with
SRT files and is written in C.
You can compile with
Visual Studio or
You can use
make or this command:
gcc -O3 -Wall -o subtitles main.c
The program receives two parameters,
offsetis the offset that you want introduce
1by default) is a multiplier to be multiplied with
offset, usually is used only with
-1for forward or backward respectively
The processing is made from the standard input to the standard output.
Example to push the subtitles 5 seconds backwards:
$ subtitles 5 -1 < original_subtitles.srt > new_subtitles.srt