Skip to main content

Module source

Module source 

Source
Expand description

The TranscriptSource trait and its supporting value types.

A source is a media platform (YouTube, Vimeo, podcast feed, generic captions URL, …) capable of resolving a locator to a transcript. Concrete implementations live under crate::transcript::sources.

Structs§

FetchOpts
Caller-supplied options that influence track selection during TranscriptSource::fetch.
LanguageInfo
Metadata describing a single available caption track on a media item.
MediaInfo
Top-level metadata about a media item.
Transcript
A fetched transcript: the cues plus the metadata needed to interpret them.

Enums§

TrackKind
Whether a track was authored by humans, generated by ASR, or synthesised by the platform’s machine translation.

Traits§

TranscriptSource
A source capable of fetching transcripts from a media platform.