一个将 .vtt 字幕文件转换成 .srt 字幕文件的命令行工具
npm i -g @wopen/vtt2srt
$ vtt2srt -h
Options:
-V, --version output the version number
-d, --delete 删除原文件
-h, --help output usage information
Examples:
$ vtt2srt ./subtitles
$ vtt2srt -d a.vtt
8000