No commit activity in last 3 years
No release in over 3 years
Easy way to shift time from your SRT subtitle files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
Helps shift time in a subtitle (SRT) file, so you can shift left
or right by seconds and milliseconds

Install:

  sudo gem install akitaonrails-shift_subtitle

Usage:

	shift_subtitle --help
  shift_subtitle --operation add --time 02,110 input_file output_file

Obs:

  The time format as to be "99,888" where "99" stands for the amount
  of seconds and "888" the amount of milliseconds, so 2 seconds and
  1 millisecond becomes "02,001".

	This version only deals with subtitle files in the SRT format.

Example:

  bin/shift_subtitle -o add -t 02,000 fixtures/input.srt output.srt

Credits:

  Fabio Akita <fabioakita@gmail.com> http://www.akitaonrails.com
  Satoshi Asakawa, inspired the best solution