HawkeyePierce89 / recursive-vtt-to-srt

node.js script for recursive transformation VTT subtitles to SRT subtitles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recursive-vtt-to-srt

Hello everyone!

This app recursively converts subtitles from the VTT to SRT in folder. This app based on node-vtt-to-srt and vtt-to-srt, fine applications, but they convert only 1 specific VTT-file.

I hope this app will be useful for you.

How install this?

npm install vtt-to-srt --global

or

yarn global add vtt-to-srt

How use this?

recursive-vtt-to-srt [--path PATH_TO_FOLDER] [--delete]

or, of course

npx recursive-vtt-to-srt [--path PATH_TO_FOLDER] [--delete]

Where:

  1. path – path to folder with subtitles, if path isn't exist the recursive-vtt-to-srt will work in current folder;
  2. delete – if you want to delete original files after convert you should use this argument.

About

node.js script for recursive transformation VTT subtitles to SRT subtitles

License:MIT License


Languages

Language:JavaScript 100.0%