Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


npm version npm downloads npm downloads monthly code style

Have a subtitle that has overlapping millisecond timestamp values? This NodeJS CLI checks for discrepancies in the MS portion of the timestamp from the end-time and start-time of subtitles. It then updates the MS to be continuous. Install globally via NPM.

Prerequisites

  • NodeJS

Installing

Install dependencies via NPM/Yarn to run

npm install -g srt-ms-normalizer

Running Application

After installing globally via NPM, run on either a single file or directory:

Single File

msNormalizer -f '/absolute/path/to/file.srt'

Directory

msNormalizer -d '/absolute/path/to/dir/'

An srt will be generated in the same location as the srt or directory provided with all millisecond discrepancies normalized. It will have '_msUpdated' appended to the file name.

About

NodeJS CLI that fixes millisecond discrepancies between individual subtitles

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages