Expand description
SRT, WebVTT, plain-text and timing-JSON export. UTF-8, exact millisecond timestamps.
Enums§
- Newline
- Line terminator for exported files.
Functions§
- subtitle_
timestamp HH:MM:SS<sep>mmmfor a millisecond offset:,gives the SubRip and whisper.cpptimestampsform (01:02:03,004),.gives the WebVTT form (01:02:03.004). Shared byto_srt,to_vttand any whisper-compatible JSON writer (#1095).- 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-asremits):segmentsare the cues,wordsthe word timings, times in seconds. - to_vtt
- WebVTT:
WEBVTTheader,HH:MM:SS.mmmtimestamps,&/</>escaped.