Subtitles synchronizer
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
SRTfiles and is written in C.
Compiling
You can compile with Visual Studio or gcc.
You can use make or this command:
gcc -O3 -Wall -o subtitles main.c
Usage
The program receives two parameters, offset and mult:
offsetis the offset that you want introducemult(optional, is1by default) is a multiplier to be multiplied withoffset, usually is used only with1and-1for forward or backward respectively
The processing is made from the standard input to the standard output.
Example
Example to push the subtitles 5 seconds backwards:
$ subtitles 5 -1 < original_subtitles.srt > new_subtitles.srt