subconv
v0.0.1
Published
Tool for converting subtitles. Supported formats TMP, MPL2, MicroDVD, SubRip.
Downloads
5
Maintainers
Readme
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 [email protected]: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