2022-04-15 09:42:07 +02:00
|
|
|
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,
|
2022-06-24 06:59:22 +02:00
|
|
|
"vp8": VP8,
|
|
|
|
"vp80": VP8,
|
|
|
|
"vp9": VP9,
|
|
|
|
"vp90": VP9,
|
2022-04-15 09:42:07 +02:00
|
|
|
"av1": AV1,
|
|
|
|
"av01": AV1,
|
2022-06-24 06:59:22 +02:00
|
|
|
"ogg": OGV,
|
|
|
|
"ogv": OGV,
|
|
|
|
"webm": WebM,
|
2022-04-15 09:42:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Standards maps names to standardized formats.
|
|
|
|
type Standards map[string]Type
|