Add VP9 support and also clean out some unused code

parent 440951be
......@@ -102,6 +102,7 @@ codecmap = { 'Vorbis' : "audio/x-vorbis", \
'AMR-NB' : "audio/AMR", \
'H263+' : "video/x-h263,variant=itu,h263version=h263p", \
'On2 vp8' : "video/x-vp8", \
'On2 vp9' : "video/x-vp9", \
'mp2' : "audio/mpeg,mpegversion=(int)1, layer=(int)2", \
'MPEG1' : "video/mpeg,mpegversion=(int)1,systemstream=false", \
'Opus' : "audio/x-opus" }
......
......@@ -82,30 +82,6 @@ supported_containers = [
"WebM" #12
]
supported_audio_codecs = [
"vorbis",
"flac",
"mp3",
"aac",
"ac3",
"speex",
"celt",
"amrnb",
"wma2",
"Opus"
]
supported_video_codecs = [
"theora",
"dirac",
"h264",
"mpeg2",
"mpeg4",
"h263p",
"wmv2",
"vp8"
]
# Maps containers to the codecs they support. The first two elements are
# "special" in that they are the default audio/video selections for that
# container.
......@@ -124,7 +100,7 @@ supported_video_container_map = {
'MPEG TS': [ 'MPEG2', 'MPEG1', 'H264', 'MPEG4', 'Dirac' ],
'AVCHD/BD': [ 'H264' ],
'ASF': [ 'Windows Media Video 2' ],
'WebM': [ 'On2 vp8']
'WebM': [ 'On2 vp8','On2 vp9']
}
supported_audio_container_map = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment