default to frames

This commit is contained in:
j 2011-12-28 18:05:10 +05:30
commit d3f96386c0
3 changed files with 3 additions and 2 deletions

View file

@ -61,6 +61,7 @@ def stream(video, target, profile, info):
H264, should bitrates be a bit lower? other stuff possible?
'''
profile, format = profile.split('.')
bpp = 0.17
if profile == '1080p':
height = 1080
@ -105,7 +106,6 @@ def stream(video, target, profile, info):
audiobitrate = '22k'
audiochannels = 1
bpp = 0.17
if info['video'] and 'display_aspect_ratio' in info['video'][0]:
fps = AspectRatio(info['video'][0]['framerate'])