Skip to content

Subconv is a small command line tool for converting subtitles

Notifications You must be signed in to change notification settings

wojtekw92/subconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

convert input file "INPUTFILE.txt" without changing name to SubRip

subconv -i INPUTFILE.txt -c SubRip

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

About

Subconv is a small command line tool for converting subtitles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published