Small command line tool for converting subtitles.
Subconv is a small command line tool for converting subtitles. It can convert subtitles between formats:
- TMP
- MPL2
- SubRip
- MicroDvd
git clone git@github.com:wojtekw92/subconv.git
cd subconv
npm install -g
or simply
npm i subconv -g
subconv -i INPUTFILE.txt -c "OUTPUT FORMAT"
Options:
-h, --help output usage information
-V, --version output the version number
-c, --convert <format> convert input subtitles to output with selected format
-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
- convert from tmp to all formats
- convert from mpl2 to subrip
- convert from subrip to tmp and microDVD
- convert from MicroDvd to TMP and SubRip