Crate ebustl_parser

Source

Re-exports§

pub use crate::parser::ParseError;

Modules§

parser

Structs§

GsiBlock
General Subtitle Information (GSI) block
Stl
A representation of a STL File See the Spec for details
Time
A representation of a Time Code
TtiBlock
Text and Timing Information (TTI) block
TtiFormat
Text format information

Enums§

CharacterCodeTable
The five ISO Standard character code tables can be used to define the text in the Text Field of the TTI Blocks
CodePageNumber
The codepage numbers an stl file can use for strings
CumulativeStatus
A status to indicate if a subtitle is part of a cumulative set of subtitles
DiskFormatCode
The television frame-rates the STL spec allows
DisplayStandardCode
The four display modes from the spec.
Justification
The horizontal alignment of a displayed subtitle
TimeCodeStatus
A Status to indicate the validity of the information in GSI and TTI blocks.

Functions§

parse_stl_from_file
Reads an STL file and parse it to a Stl struct.