Crate aligned_media [−] [src]
This is a Rust implementation of the aligned media specification for language-learning software.
Routines for serialzing and deserialzing optional ISO 639-1 and 639-3 codes,
The smallest unit of alignment or synchronization. This might be a subtitle, a sentence, or perhaps multiple sentences if that's the best the aligning application can do.
A portable, relative path in Unix notation. These are highly restricted to help prevent directory traversal attacks. Specifically, they:
A single media file, typically an episode of a TV series, a film, an chapter of an audiobook. It might also be something more exotic, like a PDF of a graphic novel.
A span of time, measured in floating-point seconds.
An individual "track" of context. This might be a single subtitle in a single language, or a still image taken from a video
Errors which can be returned by this crate.
Different possible track types.
Custom extension data which hasn't been standardized. All custom fields
must go in a block of this type, and should generally have names like
Type alias for results returned by our crate.