This is a command line wrapper of srt gem to only shift timing of a subtitle globally.
This project is built on top of and requires:
- mac and unix-like systems are welcome (sorry, hasn't been tested on windows)
- ruby 2.0.0-p247
- srt 0.0.10
git clone [email protected]:hendrauzia/shift-srt.git
bundle install
cd shift-srt
bin/shift-srt /path/to/subtitle/file.srt +3s
Features are currently restricted only to shift timing of a subtitle globally.
bin/shift-srt sample.srt +1ms
bin/shift-srt sample.srt -2.3s
bin/shift-srt sample.srt +4.5m
bin/shift-srt sample.srt -6.7h