subconv

0.0.1 • Public • Published

SUBCONV

Small command line tool for converting subtitles.

ABOUT

Subconv is a small command line tool for converting subtitles. It can convert subtitles between formats:

  • TMP( 00:01:02:Sample text)
  • MPL2([123][456]Sample text)
  • SubRip({123}{456}Sample text)
  • MicroDvd

HOW TO INSTALL

git clone git@github.com:wojtekw92/subconv.git
cd subconv
npm install -g

or simply

npm i subconv -g

USAGE

subconv -i INPUTFILE.txt -c "OUTPUT FORMAT"

OPTIONS

Options:

-h, --help                 output usage information
-V, --version              output the version number
-c, --convert <format>     convert input subtitles to output with selected format(TMP, MPL2, SubRip, MicroDVD)
-i, --input <file>         input file
-o, --output <file>        output file
-C, --check <file>         Check subtitle format in file
-o, --output <outputFile>  File with converted subtitles
-f, --fps [fps]            Set FPS for some subtitles format[23.98]

if you don't give output file it will override input file

TO DO

  • convert from tmp to all formats
  • convert from mpl2 to subrip
  • convert from MicroDVD to SubRip

Package Sidebar

Install

npm i subconv

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • wojtekw92