input

package
v0.0.0-...-4a67e36 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Language

type Language string
const (
	Unknown         Language = ""
	FrenchLanguage  Language = "fr"
	QuebecLanguage  Language = "fr-CA"
	TrueFrench      Language = "fr-FR"
	EnglishLanguage Language = "en"
)

type SubtitleInput

type SubtitleInput struct {
	Name        string // A Unique name to represent the subtitle
	InputURL    string // The input URL. Can be a stream or a file
	StreamIndex uint   // The index of the subtitle stream in the file. For an .srt file for instance, it's 0

	// Metadata
	HearingImpaired bool
	Language        Language
	Forced          bool
}

SubtitleInput A SubtitleInput is an input stream or a file with a subtitle to take inside. For instance an .srt file

Jump to

Keyboard shortcuts

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