photoprism/pkg/video/standards.go

28 lines
450 B
Go
Raw Normal View History

package video
// Types maps identifiers to standards.
var Types = Standards{
"": AVC,
"mp4": MP4,
"mpeg4": MP4,
"avc": AVC,
"avc1": AVC,
"hvc": HEVC,
"hvc1": HEVC,
"hevc": HEVC,
"vvc": VVC,
"vvc1": VVC,
"vp8": VP8,
"vp80": VP8,
"vp9": VP9,
"vp90": VP9,
"av1": AV1,
"av01": AV1,
"ogg": OGV,
"ogv": OGV,
"webm": WebM,
}
// Standards maps names to standardized formats.
type Standards map[string]Type