A small ruby utility to offset a .srt subtitle file
gem install 'subdelayer'
# subdelayer offset file.srt
subdelayer 2.4 input.srt > output.srt
subdelayer -4.6 input.srt > output.srt
The gem is available as open source under the terms of the MIT License.