An open API service indexing awesome lists of open source software.

https://github.com/oyuyue/vtt2srt

一个将 .vtt 字幕文件转换成 .srt 字幕文件的命令行工具
https://github.com/oyuyue/vtt2srt

Last synced: 2 months ago
JSON representation

一个将 .vtt 字幕文件转换成 .srt 字幕文件的命令行工具

Awesome Lists containing this project

README

        

# vtt2srt

一个将 .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
```