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
ebu_stl
EBU STL (Standard Transmission Format) parser and generator.
encoding
error
lrc
LRC (Lyrics) format parser and generator.
microdvd
model
mpl2
MPL2 (MPlayer) subtitle format parser and generator.
normalize
pipeline
quality
Quality analysis and translation tooling for subtitles.
sami
SAMI (Synchronized Accessible Media Interchange) parser and generator.
sbv
SBV (YouTube subtitle format) parser and generator.
scc
SCC (Scenarist Closed Caption) 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.