Expand description
Parse, compose, and convert SRT, WebVTT, and ASS/SSA subtitle data.
Modules§
- text
- Inline cue text model shared by every format conversion.
Structs§
- AssCues
- ASS cue iterator.
- AssEvent
- A non-dialogue ASS event.
- AssFields
- Format-specific fields from an ASS dialogue event.
- AssNumber
- A base-10 number used by ASS style fields.
- Colour
- An ASS colour encoded as
&HAABBGGRR. - Compose
Options - Options for composing subtitle bytes.
- Cue
- One timed subtitle cue.
- Header
- File-level metadata.
- RawSection
- An ASS section preserved as text.
- SrtCues
- SRT cue iterator.
- Style
- A typed ASS v4+ style.
- Subtitles
- Parsed subtitles and format-specific metadata.
- Time
- Signed milliseconds from the start of the media timeline.
- VttBlock
- A WebVTT metadata block.
- VttCues
- WebVTT cue iterator.
Enums§
- Error
- A fatal input error.
- Event
Kind - An ASS event type.
- Format
- A supported subtitle format.
- Line
Ending - Output line ending.
- VttBlock
Kind - A WebVTT metadata block type.
- Warning
- A recoverable parse, compose, or conversion condition.