scaryrawr / vtt-generator

Generates VTT files for videos using ffmpeg and azure cognitive services
MIT License
3 stars 0 forks source link

VTT Generator

Generates VTT files for a video using FFMPEG and Azure Cognitive Services.

Requirements

Copy config.example.yml to config.yml and fill with your Azure Information:

key: azurekey
region: azureregion

Run

./vtt-gen.py --input path/to/video --output path/to/subtiles.vtt

VTT file tested with VLC and GNOME Videos

Validate

WebVTT Documentation

The output of this script is very basic, but can be customized, please see the following links for working with the vtt file.

Video Services Caption Files

Links to web pages for helping upload caption files: