资 源 简 介
Tiny application written in c++ to manipulate subtitles files.
This application can move subtitles in time, that is, add or subtract seconds to all the entries of a .srt files.
This is very useful when you have a video file and a subtitle file which is not sync with the video.
Use
The use of this program is really simple, just add as a parameter the seconds you want to add to the subtitles and the location of the subtitles file. Note that you have to redirect the output to a file, otherwise you will see it on the screen.
For instance if I want to add 5 seconds and 30 miliseconds to all the subtitles of the file 1.srt.
$ ./SubMove 5.30 1.srt > o.str
Or if I want to move the subtitles backwards in time 10 seconds and 22 milisecs...
$ ./SubMove -10.22 1.srt > o.str
$ ./SubMove Use: ./SubMove [+-]xxx.sss file.strxxx is in secondssss is in miliseconds
Compile