https://github.com/posixpascal/srt2vtt
Convert Subrip Subtitles files into WebVTT
https://github.com/posixpascal/srt2vtt
Last synced: 8 months ago
JSON representation
Convert Subrip Subtitles files into WebVTT
- Host: GitHub
- URL: https://github.com/posixpascal/srt2vtt
- Owner: posixpascal
- Created: 2017-03-15T22:16:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T01:59:54.000Z (about 9 years ago)
- Last Synced: 2025-10-10T11:39:06.820Z (8 months ago)
- Language: TypeScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# srt2vtt
tbd.
Transform SubRip Subtitle files into webVTT which can then be consumed by HTML5 ``
## Installing
To install srt2vtt run:
```
yarn install srt2vtt --global
```
## Usage
Pass it the .srt file you want to convert directly or by stdin:
```
srt2vtt myfile.srt > newfile.vtt
# or:
cat myfile.srt | srt2vtt > newfile.vtt
```
## License
Licensed under MIT License