# HG changeset patch # User Drew Perttula # Date 2014-06-10 05:49:36 # Node ID 0440fb0f458bd39271eac717456f9f9f0d17dcc2 # Parent 448fe9f815014eaf2c8b09915935b45597a571e7 add rotation param to vidref Ignore-this: 3c36bede3d3f7b18e3e26d2c5b2722ef diff --git a/bin/picamserve b/bin/picamserve --- a/bin/picamserve +++ b/bin/picamserve @@ -36,6 +36,7 @@ def setCameraParams(c, arg): c.exposure_compensation= int(arg('exposure_compensation', 0)) c.awb_gains = (float(arg('redgain', 1)), float(arg('bluegain', 1))) c.ISO = int(arg('iso', 250)) + c.rotation = int(arg('rotation', '0')) def setupCrop(c, arg): c.crop = (float(arg('x', 0)), float(arg('y', 0)), diff --git a/light9/vidref/vidref.html b/light9/vidref/vidref.html --- a/light9/vidref/vidref.html +++ b/light9/vidref/vidref.html @@ -81,6 +81,14 @@ +
See picamera attribute docs
@@ -108,6 +116,7 @@ bluegain: ko.observable(1), iso: ko.observable(250), exposure_compensation: ko.observable(0), + rotation: ko.observable(0), } }; model.currentUrl = ko.computed(assembleCamUrlWithCrop);