title

package
v0.0.0-...-61808cf Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KnownAudioTypes = []string{
	"10",
	"20",
	"30",
	"40",
	"50",
	"51",
	"71",
	"MOS",
}
View Source
var KnownContentTypes = []string{
	"FTR",
	"SHR",
	"EPS",
	"TLR",
	"TSR",
	"PRO",
	"CPL",

	"STR",
	"RTG",
	"POL",
	"PSA",
	"ADV",
	"XSN",
	"TST",
}
View Source
var KnownPackageTypes = []string{
	"OV",
	"VF",
}
View Source
var KnownProjectorAspectRatios = []string{

	"C",

	"F",

	"S",
}
View Source
var KnownResolutions = []string{

	"2K",
	"4K",

	"2048x1080",

	"1998x1080",

	"2048x858",

	"1920x1080",

	"4096x2160",

	"3996x2160",

	"4096x1716",

	"3840x2160",
}
View Source
var KnownStandards = []string{
	"IOP",
	"SMPTE",
}
View Source
var KnownSubtitleTypes = []string{
	"OCAP",
	"CCAP",

	"OSUB",
}

Functions

This section is empty.

Types

type ContentTitle

type ContentTitle struct {
	Title       string
	ContentType struct {
		Name      string
		Version   int
		Modifiers []string
	}
	ProjectorAspectRatio struct {
		Name  string
		Ratio int
	}
	Language ContentTitleLanguage

	Territory string
	Rating    string

	Audio struct {
		Name      string
		Modifiers []string
	}

	Resolution string

	Studio string

	Date string

	Facility string

	Standard struct {
		Name string

		Modifiers []string
	}

	PackageType    string
	PackageVersion int
}

func ParseContentTitle

func ParseContentTitle(contentTitleText string) (t ContentTitle, err error)

func (ContentTitle) NormalizedTitle

func (t ContentTitle) NormalizedTitle() string

func (ContentTitle) Time

func (t ContentTitle) Time() time.Time

type ContentTitleLanguage

type ContentTitleLanguage struct {
	Audio        string
	Subtitle     string
	SubtitleKind string
}

func (ContentTitleLanguage) HasSubtitle

func (l ContentTitleLanguage) HasSubtitle() bool

func (ContentTitleLanguage) IsBurnedIn

func (l ContentTitleLanguage) IsBurnedIn() bool

Jump to

Keyboard shortcuts

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