add resolutions to firefogg upload

This commit is contained in:
j 2012-04-19 18:14:43 +02:00
commit 14fa74bf44
3 changed files with 20 additions and 3 deletions

View file

@ -82,16 +82,15 @@ def stream(video, target, profile, info):
height = 480
audiorate = 44100
audioquality = 2
audioquality = 3
audiobitrate = None
audiochannels = 2
elif profile == '432p':
height = 432
audiorate = 44100
audioquality = 2
audioquality = 3
audiobitrate = None
audiochannels = 2
elif profile == '360p':
height = 360

View file

@ -685,6 +685,8 @@
"download": true,
"formats": ["webm", "mp4"],
"previewRatio": 1.3333333333,
//supported resolutions are
//1080, 720, 480, 432, 360, 288, 240, 144, 96
"resolutions": [480, 240, 96]
}
}