scaryrawr / vtt-generator

Generates VTT files for videos using ffmpeg and azure cognitive services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  • Generation is automatic, so please proofread the output
  • Check the file output is valid using Live WebVTT Validator

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:

About

Generates VTT files for videos using ffmpeg and azure cognitive services

License:MIT License


Languages

Language:Python 100.0%