Skip to main content

Module subtitle

Module subtitle 

Source
Expand description

Decoded subtitle payload.

Mirrors AVSubtitle’s text-or-bitmap split. Text works under pure core; Bitmap requires the alloc feature because it holds a Vec<BitmapRegion> (FFmpeg subtitles can carry many rectangles per frame, so a fixed-size array is impractical).

Structs§

BitmapRegionalloc or std
One bitmap subtitle region (rectangle of paletted pixels).

Enums§

SubtitlePayload
Decoded subtitle payload — text or bitmap regions.