auto-add-subtitledeprecated

自动为视频添加字幕

Usage no npm install needed!

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

README

Auto-add-subtitle

Auto parse subtitle for videos based on ffmpeg,puppeteer and veed (an excellent website)

Read this in other languages: english | 简体中文

Getting Started

Installation

Make sure you can access ffmpeg and ffprobe like below.

ffmpeg -version

ffprobe -version

In windows, maybe you need restart your computer to make it works.

  • install auto-add-subtitle
npm i -g auto-add-subtitle

Make sure you did not skip the installation of chromium.

Usage

auto-add-subtitle [{path to you videos (default is current dir)}]

Reference