@warren-bank/node-ttml2srt-cli
v1.0.3
Published
An extremely lightweight command-line utility to convert a subtitle file from .ttml to .srt format
Downloads
3
Readme
ttml2srt
An extremely lightweight command-line utility to convert a subtitle file from .ttml to .srt format
Installation (global w/ npm):
npm install --global @warren-bank/node-ttml2srt-cli
Binary (global):
ttml2srt '/path/to/input.ttml' '/path/to/output.srt'
Installation (local w/ wget via github):
mkdir 'workspace'
cd 'workspace'
wget --content-disposition --no-check-certificate 'https://github.com/warren-bank/node-ttml2srt-cli/archive/master.zip'
unzip 'node-ttml2srt-cli-master.zip'
rm -f 'node-ttml2srt-cli-master.zip'
cd 'node-ttml2srt-cli-master'
npm install
Binary (local):
npm start -- '/path/to/input.ttml' '/path/to/output.srt'
Credits:
- this project merely adds a CLI wrapper to easily access and use the library: ttml2srt
Legal:
- copyright: Warren Bank
- license: GPL-2.0