mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
validate:launcher: Add h265, opus and vp9 as known formats
This commit is contained in:
parent
6b884127b7
commit
bcc7a1fcca
1 changed files with 12 additions and 4 deletions
|
@ -1730,20 +1730,28 @@ class GstValidateMediaDescriptor(MediaDescriptor):
|
||||||
|
|
||||||
|
|
||||||
class MediaFormatCombination(object):
|
class MediaFormatCombination(object):
|
||||||
FORMATS = {"aac": "audio/mpeg,mpegversion=4",
|
FORMATS = { # Audio
|
||||||
|
"aac": "audio/mpeg,mpegversion=4",
|
||||||
"ac3": "audio/x-ac3",
|
"ac3": "audio/x-ac3",
|
||||||
"vorbis": "audio/x-vorbis",
|
"vorbis": "audio/x-vorbis",
|
||||||
"mp3": "audio/mpeg,mpegversion=1,layer=3",
|
"mp3": "audio/mpeg,mpegversion=1,layer=3",
|
||||||
|
"opus": "audio/x-opus",
|
||||||
|
"rawaudio": "audio/x-raw",
|
||||||
|
|
||||||
|
# Video
|
||||||
"h264": "video/x-h264",
|
"h264": "video/x-h264",
|
||||||
|
"h265": "video/x-h265",
|
||||||
"vp8": "video/x-vp8",
|
"vp8": "video/x-vp8",
|
||||||
|
"vp9": "video/x-vp9",
|
||||||
"theora": "video/x-theora",
|
"theora": "video/x-theora",
|
||||||
|
"prores": "video/x-prores",
|
||||||
|
|
||||||
|
# Containers
|
||||||
|
"webm": "video/webm",
|
||||||
"ogg": "application/ogg",
|
"ogg": "application/ogg",
|
||||||
"mkv": "video/x-matroska",
|
"mkv": "video/x-matroska",
|
||||||
"mp4": "video/quicktime,variant=iso;",
|
"mp4": "video/quicktime,variant=iso;",
|
||||||
"webm": "video/webm",
|
|
||||||
"quicktime": "video/quicktime;",
|
"quicktime": "video/quicktime;",
|
||||||
"rawaudio": "audio/x-raw",
|
|
||||||
"prores": "video/x-prores",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in a new issue