0.1.1 • Published 5 years ago
subtitle-resync-terminal v0.1.1
subtitle-resync-terminal
Command line wrapper for subtitle.js
Installation
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
Usage
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
Dependencies
subtitle.js - resync subtitles
chardet - detect encoding of the input file
License
MIT