README
```
__ __ __ ___
/\ \ /\ _/\ _ /'\ __ __ __ __\ \ \____ __ __\ \ ,_\ \ ,_\/\_\ /\ \ __ ____ ____ /\ \/\ \/\ \ /'__
\ \ '\/\ \/\ \\ \ \/\ \ \/\/_/// /__ /'__
\ /',\ /',\
\ \ _/ _/ /\ /\ \ \L\ \ \ _/ |\ \ _\ \ _ // /\ /\ \L._/_, \/\__,
\ _x/'\ _\ _,/\ _/ \ _\ _/_/\ _/._/_//_/
//// // // // // //// ////// //
Convert [WebVTT](http://dev.w3.org/html5/webvtt/) (The Web Video Text Tracks Format, aka html5 video subtitles) into ASS subtitle.
Under constraction🚧
## Setting up
```bash
npm install webvtt2ass
# or set it up globally
npm install webvtt2ass --global
Command line
You may use it from the terminal if webvtt2ass was installed globally
webvtt2ass example.vtt --output example.ass
webvtt2ass example.vtt (It will output the result to the console).
webvtt2ass 01.vtt 02.vtt (It will convert each webvtt file into ASS subtitle)
Usage
var webvtt2ass = require('webvtt2ass');
webvtt2ass('input_file_path', outputStream);
Because the limitation of the ASS, the <ruby>
tag in WebVTT converted into a Furigana karaoke which need to use the Automation->Apply karaoke template
in Aegisub to make the <ruby>
tag display correctly.
TODO
Font size, alignment, etc.