Command line wrapper for subtitle.js
npm install -g subtitle-resync
-
Download the repo
-
Install dependencies before the first time you run the script
npm install
-
Install the script as a command-line executable
npm link
subtitle-resync <subtitle file path> <time (in millisecond)>
Note that time can be positive or negative
Resynced subtitle file is the one suffixed with -resync
, located at the same directory as the original file
-
subtitle.js - resync subtitles
-
chardet - detect encoding of the input file
MIT