Expand description
MicroDVD/SubViewer SUB subtitle format implementation.
This module exposes the SubFormat adapter that implements the
SubtitleFormat trait. The actual logic is split across:
parser: parsing logic and the malformed-input disposition matrixserializer: serialization logictime: frame ↔ time helpers and shared constants
§Examples
use subx_cli::core::formats::{SubtitleFormat, sub::SubFormat};
let sub = SubFormat;
let content = "{0}{25}Hello\n";
let subtitle = sub.parse(content).unwrap();Structs§
- SubFormat
- Subtitle format implementation for MicroDVD/SubViewer SUB.