vtt

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToChunks

func ConvertToChunks(vtt_file []string) ([]shared.SubtitleChunk, error)

func GetChunkTimes

func GetChunkTimes(timeLine string) (int, int, error)

func IsChunkCandidateValid

func IsChunkCandidateValid(chunk_candidate []string) bool

func PostProcessChunk

func PostProcessChunk(validated_chunk_candidate []string) (shared.SubtitleChunk, error)

func SplitBodyIntoChunks

func SplitBodyIntoChunks(body []string) ([]shared.SubtitleChunk, error)

func TimestampToMilliseconds

func TimestampToMilliseconds(timestamp string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL