[transmageddon] Add VP9 support and also clean out some unused code
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Add VP9 support and also clean out some unused code
- Date: Thu, 20 Mar 2014 13:32:06 +0000 (UTC)
commit 49d15fb199313986a9ef770e8da15b422de7deca
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date: Thu Mar 20 14:31:49 2014 +0100
Add VP9 support and also clean out some unused code
src/codecfinder.py | 1 +
src/transmageddon.py | 26 +-------------------------
2 files changed, 2 insertions(+), 25 deletions(-)
---
diff --git a/src/codecfinder.py b/src/codecfinder.py
index 37b1fad..e2b38af 100644
--- a/src/codecfinder.py
+++ b/src/codecfinder.py
@@ -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" }
diff --git a/src/transmageddon.py b/src/transmageddon.py
index 1651505..1b3918e 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -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 = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]