comparison bin/picamserve @ 1096:087f6cbe4b22

vidrefsetup tool now prepares a url that vidref will use for rpi camera requests Ignore-this: 3b10bb845aa51811f21f63d4a280d2bd
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 08 Jun 2014 09:30:03 +0000
parents 50a68abd2b0e
children 0440fb0f458b
comparison
equal deleted inserted replaced
1095:f6c5b9b94dae 1096:087f6cbe4b22
31 }[res] 31 }[res]
32 c.shutter_speed = int(arg('shutter', 50000)) 32 c.shutter_speed = int(arg('shutter', 50000))
33 c.exposure_mode = arg('exposure_mode', 'fixedfps') 33 c.exposure_mode = arg('exposure_mode', 'fixedfps')
34 c.awb_mode = arg('awb_mode', 'off') 34 c.awb_mode = arg('awb_mode', 'off')
35 c.brightness = int(arg('brightness', 50)) 35 c.brightness = int(arg('brightness', 50))
36 36 c.exposure_compensation= int(arg('exposure_compensation', 0))
37 c.awb_gains = (float(arg('redgain', 1)), float(arg('bluegain', 1))) 37 c.awb_gains = (float(arg('redgain', 1)), float(arg('bluegain', 1)))
38 c.ISO = int(arg('iso', 250)) 38 c.ISO = int(arg('iso', 250))
39 39
40 def setupCrop(c, arg): 40 def setupCrop(c, arg):
41 c.crop = (float(arg('x', 0)), float(arg('y', 0)), 41 c.crop = (float(arg('x', 0)), float(arg('y', 0)),