Fix unsynchronized SRT subtitles
(c) 2012 Kristijan Bambir [www.kristijanbambir.from.hr]
Released under The MIT License.
subtitly is a simple Ruby script that shifts subtitle timestamps with the desired offset in seconds.
http://www.kristijanbambir.from.hr/subtitly/
Hosted at GitHub; browse at:
https://github.com/kristijanbambir/subtitly
Or clone from:
git://github.com/kristijanbambir/subtitly.git
-
Download and install Ruby for your operating system (http://www.ruby-lang.org/en/downloads/).
-
Download the script to a desired location.
-
Open up the command line (terminal, command prompt, ...) and run the script upon a SRT subtitle file with the following command:
ruby subtitly.rb SUBTITLE_FILE OFFSET
Example:
ruby subtitly.rb subtitle.srt 5
This command will increase all timestamps for five seconds. You can also specify negative offsets for time decrease, and rational numbers with the decimal point or comma.