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 @@ +
@@ -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);