SrtResync 1.1.0

Text-based tool for synchronizing subtitles in SubRip (.srt) format.
SrtResync - SrtResync's usage message
  1 Screenshot
SrtResync is a command-line tool for synchronizing subtitles in SubRip (.srt) format. With this tool you can shift the subtitles by adding/substracting a given amount of time to get the subtitles synchronized with the voices.


This script requires the installation of the object-oriented scripting language Ruby. On Debian-based distribution this is done by just typing :

sudo apt-get install ruby

or being 'root' user :

apt-get install ruby

For other distribution, use your package manager to install Ruby.


Change to the directory where you installed the script and type :

  ./srt-resync --help

to display the following usage message :

Usage: srt-resync.rb -d DELAY [OPTIONS] FILE

Synchronizes subtitles in SubRip (.srt) format by adding/substracting a specified delay.

    -f, --input-file IFILE           Specifies the input file IFILE.
    -d, --delay DELAY                DELAY is the delay to add/substract (in milliseconds).
                                     It must be a positive integer if the subtitle comes before the speech, negative otherwise.
    -i, --inplace [EXTENSION]        Edit file in place.
                                       (make backup if EXTENSION supplied)
    -o, --output-file OFILE          Specifies the output file OFILE
    -h, --help                       Display this message.
    -V, --version                    Print the program version.

last updated on:
September 9th, 2008, 8:35 GMT
developed by:
Giovanni Rapagnani
license type:
GPL (GNU General Public License) 
ROOT \ Text Editing&Processing \ Others
Download Button

In a hurry? Add it to your Download Basket!

user rating 2



Rate it!
What's New in This Release:
  • Handling of the options in a more GNU tools style way.
  • Added some options (--version, --help, --inplace, --delay, --input-file --output-file)
  • Code changes : added a SubRipField class for handling the SubRip fields (i.e. each dialogue) as an object.
read full changelog

Add your review!