Python program for synchronizing movie SRT file
This program approximately re-synchronizes the SRT file if the subtitle is not synchronized with the movie. This program will create a new file with adjusted time.
This program can be run with the following command:
python Main.py directory operation milliseconds
where,
Main.py : refers to this program
directory : directory of the srt file
operation : {prev or next} prev is to delay and next is to speed up
milliseconds : total duration you would like to delay or speed up
Example 1, If you want to delay the srt file for 5 seconds (5000 in milliseconds), then
python Main.py D://your directory//file.srt prev 5000
Example 2, If you want to speed up the srt files for 3 seconds (3000 in milliseconds), then
python Main.py D://your directory//file.srt next 3000