https://github.com/oyuyue/vtt2srt
一个将 .vtt 字幕文件转换成 .srt 字幕文件的命令行工具
https://github.com/oyuyue/vtt2srt
Last synced: 2 months ago
JSON representation
一个将 .vtt 字幕文件转换成 .srt 字幕文件的命令行工具
- Host: GitHub
- URL: https://github.com/oyuyue/vtt2srt
- Owner: oyuyue
- Created: 2018-10-05T11:40:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T02:00:11.000Z (about 3 years ago)
- Last Synced: 2024-12-28T19:23:00.139Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 103 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vtt2srt
一个将 .vtt 字幕文件转换成 .srt 字幕文件的命令行工具
## 安装
```
npm i -g @wopen/vtt2srt
```## 用法
```
$ vtt2srt -hOptions:
-V, --version output the version number
-d, --delete 删除原文件
-h, --help output usage informationExamples:
$ vtt2srt ./subtitles
$ vtt2srt -d a.vtt
```