Skip to main content

Module vobsub

Module vobsub 

Source
Expand description

VobSub (DVD subtitle) format parsing and rendering.

This module implements the VobSub subtitle format (.idx + .sub files).

Structs§

DebandConfig
Configuration for the debanding filter.
ExtractedVobSub
IdxParseResult
Parsed IDX file data.
SubtitlePacket
Parsed subtitle packet from the SUB file.
VobSubFrame
A VobSub subtitle frame.
VobSubMetadata
VobSub metadata.
VobSubPalette
VobSub palette (16 RGBA colors).
VobSubParser
VobSub subtitle parser and renderer.
VobSubTimestamp
VobSub timestamp entry.

Enums§

SubtitlePacketData

Functions§

apply_deband
Apply debanding filter to RGBA buffer.
decode_vobsub_rle
Decode VobSub RLE-encoded bitmap and render to RGBA.
extract_vobsub_from_mks
parse_idx
Parse a VobSub IDX file.
parse_subtitle_packet
Parse a subtitle packet from the SUB file at the given position.