Expand description
aligner takes two timespan arrays (e.g. from two subtitle files) and
tries to align the incorrect subtitles
to the reference subtitle. It automatically fixes offsets and
introduces/removes breaks between subtitles in the incorrect
subtitle to achive the best alignment.
Structs§
- Time
Delta - This struct represents a time difference between two
TimePoints. Internally its an integer type. - Time
Point - Represents a timepoint in your own metric.
- Time
Span - Represents a time span from “start” (included) to “end” (excluded).
Traits§
- Progress
Handler - Use this trait if you want more detailed information about the progress of the align operation (which might take some seconds).
Functions§
- align
- Matches an
incorrectsubtitle list to areferencesubtitle list.