Structs
Type for storing captions
Caption blocks contain an optional speaker, start and end times, and the text that will be displayed on the screen during the block. Not particularly useful on their own.
Error type for trying to make a negative SimpleTime
Simple time object to store hours, minutes, seconds, and milliseconds.
Parser utilities for SRT files This parser assumes a format of:
Writer utilities for SRT files
Type for parsing VTT caption files. This parser assumes a format of:
Associated Functions for VTT writing
Enums
Error types for CaptionBlock
Error for parser
Error type for SrtParser
Error type for VttParser
Functions
General parser for any caption file
General writer for any caption file