Skip to main content

Module export

Module export 

Source
Expand description

SRT, WebVTT, plain-text and timing-JSON export. UTF-8, exact millisecond timestamps.

Enums§

Newline
Line terminator for exported files.

Functions§

to_plain_text
Plain text: one line per cue.
to_srt
SubRip: numbered cues, HH:MM:SS,mmm --> HH:MM:SS,mmm, blank line after each.
to_timing_json
Timing JSON shared by every consumer (same shape rightkit-asr emits): segments are the cues, words the word timings, times in seconds.
to_vtt
WebVTT: WEBVTT header, HH:MM:SS.mmm timestamps, &/</> escaped.