subtitle-gen

A command-line tool to generate subtitle from video file.

Usage no npm install needed!

<script type="module">
  import subtitleGen from 'https://cdn.skypack.dev/subtitle-gen';
</script>

README

subtitle-gen

A command-line tool to generate subtitle from video file.

Install

npm i subtitle-gen -g

Usage

sg --help

Configuration

Configuration file path: ~/.subtitle-gen.json

{
  "debounceTime": 360, // debounce time(in milliseconds) parameter of voice action detection.
  "aipAppId": "Your baidu aip appid",
  "aipAPIKey": "Your baidu aip apikey",
  "aipSecretKey": "Your baidu aip secretkey"
}