webvtt2ass

0.4.1 • Public • Published
                   __               __    __       ___                              
                  /\ \             /\ \__/\ \__  /'___`\                            
 __  __  __     __\ \ \____  __  __\ \ ,_\ \ ,_\/\_\ /\ \     __      ____    ____  
/\ \/\ \/\ \  /'__`\ \ '__`\/\ \/\ \\ \ \/\ \ \/\/_/// /__  /'__`\   /',__\  /',__\ 
\ \ \_/ \_/ \/\  __/\ \ \L\ \ \ \_/ |\ \ \_\ \ \_  // /_\ \/\ \L\.\_/\__, `\/\__, `\
 \ \___x___/'\ \____\\ \_,__/\ \___/  \ \__\\ \__\/\______/\ \__/.\_\/\____/\/\____/
  \/__//__/   \/____/ \/___/  \/__/    \/__/ \/__/\/_____/  \/__/\/_/\/___/  \/___/ 

Convert WebVTT (The Web Video Text Tracks Format, aka html5 video subtitles) into ASS subtitle.

Under constraction🚧

Setting up

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.

/webvtt2ass/

    Package Sidebar

    Install

    npm i webvtt2ass

    Weekly Downloads

    1

    Version

    0.4.1

    License

    GPL-3.0

    Unpacked Size

    44.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • tautcony