Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subtitle ¶
Subtitle defines a single subtitle in a set of subtitles, that being when it starts and ends, and what text it displays.
func AlignSubtitles ¶
func AlignSubtitles(subs []Subtitle, interRanges []intertitle.Range) []Subtitle
AlignSubtitles tries to align the given subtitles to the detected intertitles
such that when the subtitles are played back, they align exactly with each intertitle segment in the film - barring some edge cases arising due to imperfect data.
func (Subtitle) TransformToNew ¶
TransformToNew returns a new subtitle which changes the start and end to
the desired times.
Click to show internal directories.
Click to hide internal directories.