{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/76","labels_url":"https://api.github.com/repos/raspberrypi/userland/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/userland/issues/76/comments","events_url":"https://api.github.com/repos/raspberrypi/userland/issues/76/events","html_url":"https://github.com/raspberrypi/userland/issues/76","id":18648141,"number":76,"title":"Manual exposure control for raspistill","user":{"login":"dmopalmer","id":1822143,"avatar_url":"https://avatars.githubusercontent.com/u/1822143?v=3","gravatar_id":"","url":"https://api.github.com/users/dmopalmer","html_url":"https://github.com/dmopalmer","followers_url":"https://api.github.com/users/dmopalmer/followers","following_url":"https://api.github.com/users/dmopalmer/following{/other_user}","gists_url":"https://api.github.com/users/dmopalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/dmopalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmopalmer/subscriptions","organizations_url":"https://api.github.com/users/dmopalmer/orgs","repos_url":"https://api.github.com/users/dmopalmer/repos","events_url":"https://api.github.com/users/dmopalmer/events{/privacy}","received_events_url":"https://api.github.com/users/dmopalmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"JamesH65","id":3844893,"avatar_url":"https://avatars.githubusercontent.com/u/3844893?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesH65","html_url":"https://github.com/JamesH65","followers_url":"https://api.github.com/users/JamesH65/followers","following_url":"https://api.github.com/users/JamesH65/following{/other_user}","gists_url":"https://api.github.com/users/JamesH65/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesH65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesH65/subscriptions","organizations_url":"https://api.github.com/users/JamesH65/orgs","repos_url":"https://api.github.com/users/JamesH65/repos","events_url":"https://api.github.com/users/JamesH65/events{/privacy}","received_events_url":"https://api.github.com/users/JamesH65/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2013-08-28T04:14:39Z","updated_at":"2015-06-28T00:01:30Z","closed_at":null,"body":"This is a request to make the exposure time (shutter speed) an exposed parameter in the API (or if it is already, to document how to use it.)\r\n\r\nI would like to set the shutter speed for raspistill.  I want to do technical imaging where I can control what the camera does (and, secondarily, make it do it with as little lag as possible).\r\n\r\nIf I set --exposure=off then it always takes a 1/100 s image (according to the EXIF).\r\n\r\nI have looked through the mmal_parameters_camera.h and don't see any way to set the exposure time, unless it is disguised as e.g. MMAL_PARAMETER_FRAME_RATE, MMAL_PARAMETER_FPS_RANGE, etc.\r\n\r\nSince the Raspberry Pi is not an open-source project, I can't go in and see how it is setting the shutter speed.\r\n\r\nThis capability would be useful for, e.g.:\r\n1) HDR imaging\r\n2) Astronomical imaging\r\n3) structured light scanning\r\n4) photogrametry\r\nand any other purpose where the data is more important than the aesthetics.\r\n"},"comment":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/comments/116166888","html_url":"https://github.com/raspberrypi/userland/issues/76#issuecomment-116166888","issue_url":"https://api.github.com/repos/raspberrypi/userland/issues/76","id":116166888,"user":{"login":"dmopalmer","id":1822143,"avatar_url":"https://avatars.githubusercontent.com/u/1822143?v=3","gravatar_id":"","url":"https://api.github.com/users/dmopalmer","html_url":"https://github.com/dmopalmer","followers_url":"https://api.github.com/users/dmopalmer/followers","following_url":"https://api.github.com/users/dmopalmer/following{/other_user}","gists_url":"https://api.github.com/users/dmopalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/dmopalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmopalmer/subscriptions","organizations_url":"https://api.github.com/users/dmopalmer/orgs","repos_url":"https://api.github.com/users/dmopalmer/repos","events_url":"https://api.github.com/users/dmopalmer/events{/privacy}","received_events_url":"https://api.github.com/users/dmopalmer/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T00:01:30Z","updated_at":"2015-06-28T00:01:30Z","body":"I have not looked at the source code recently, but as of raspistill v.1.38 \r\n$ raspistill -o /tmp/foo.png --exposure verylong\r\ngives a 1/15 s autoexposure, even when the camera is in a light-tight box and\r\n$ raspistill -o /tmp/foo.png --exposure 2\r\nRaspiStill: Unknown exposure mode: 2\r\nso the command line doesn't support an exposure time, and doesn't do anything sensible with exposure mode."}}