0.0.1 • Published 5 years ago
vtt-transform v0.0.1
vtt-transform
- Parse VTT files and output SRT or ASS.
- SRT is a very limited format so retains only timings and text.
- ASS should retain most of the styling.
Progress
- Basic VTT parsing
- Style support
- VTT output
- SRT parsing
- SRT output
- ASS parsing
- ASS output
Resources used:
- https://www.w3.org/TR/webvtt1/#file-parsing
- https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API
- https://github.com/mozilla/vtt.js
- https://chromium.googlesource.com/chromium/blink/+/e79071b4c4e899957766312459dd4a5199bf266d/Source/core/html/track/vtt/
- https://github.com/libass/libass/blob/master/libass/ass_parse.c
- https://matroska.org/technical/specs/subtitles/ssa.html