subtitle-resync
v0.1.3
Published
Sync subtitle in terminal
Downloads
3
Readme
subtitle-resync
Command line wrapper for subtitle.js
Installation
NPM
npm install -g subtitle-resync
Download from GitHub
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