Skip to main content

Crate subtitler

Crate subtitler 

Source

Re-exports§

pub use model::SubtitleFormat;
pub use model::Format;
pub use model::ParseConfig;
pub use model::StreamingParser;
pub use model::Subtitle;
pub use model::SubtitleFile;
pub use model::SubtitleFileBuilder;
pub use model::TextPart;
pub use model::WritePolicy;

Modules§

ass
config
encoding
error
Typed errors for subtitle parsing.
lrc
LRC (Lyrics) format parser and generator.
microdvd
model
normalize
quality
Quality analysis and translation tooling for subtitles.
sbv
SBV (YouTube subtitle format) parser and generator.
srt
subviewer
ttml
TTML (Timed Text Markup Language) subtitle parser and generator.
types
utils
vtt

Functions§

detect_format
parse_bytes
Parse bytes into a SubtitleFile, auto-detecting the format.
parse_bytes_as
Parse bytes as a specific format.
parse_file
Parse a file into a SubtitleFile, auto-detecting the format.
parse_url
Parse a URL into a SubtitleFile, auto-detecting the format (requires the http feature).
parse_url_with
Parse a URL with a custom reqwest::Client, allowing configuration of timeouts, redirect policy, TLS options, etc.