{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/146","labels_url":"https://api.github.com/repos/raspberrypi/userland/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/userland/issues/146/comments","events_url":"https://api.github.com/repos/raspberrypi/userland/issues/146/events","html_url":"https://github.com/raspberrypi/userland/issues/146","id":27579479,"number":146,"title":"raspistill timelapse: additional delay between frames 0.5s","user":{"login":"vlachoudis","id":3834594,"avatar_url":"https://avatars.githubusercontent.com/u/3834594?v=3","gravatar_id":"","url":"https://api.github.com/users/vlachoudis","html_url":"https://github.com/vlachoudis","followers_url":"https://api.github.com/users/vlachoudis/followers","following_url":"https://api.github.com/users/vlachoudis/following{/other_user}","gists_url":"https://api.github.com/users/vlachoudis/gists{/gist_id}","starred_url":"https://api.github.com/users/vlachoudis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlachoudis/subscriptions","organizations_url":"https://api.github.com/users/vlachoudis/orgs","repos_url":"https://api.github.com/users/vlachoudis/repos","events_url":"https://api.github.com/users/vlachoudis/events{/privacy}","received_events_url":"https://api.github.com/users/vlachoudis/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":2,"created_at":"2014-02-14T07:59:56Z","updated_at":"2015-07-07T20:36:27Z","closed_at":null,"body":"The timelapse feature in raspistill cannot work with settings below 500-600ms. It seems there is delay (some sort of re-initialization) between the frames\r\n\r\n\"Finished capture XX\"\r\n(about 500ms delay here)\r\n\"Starting capture XX\"\r\n\r\nresulting in many frames dropping.\r\n\r\nFor example the command\r\nraspistill -v -tl 200 -o /run/shm/test%d.jpg -t 10000 -n -w320 -h240\r\n\r\nwith whatever setting on tl < 700ms it always results in frame dropping\r\nwith 100 it drops about 5-6 frames between each capture \r\nwith 200 about 3 frames\r\nwith 500 about <1 frame.\r\nWith what ever setting I can collect max 18 frames over a period of 10s.\r\n\r\nWhile I see reports on the web that they could go down to 200ms.\r\nhttp://www.raspberrypi.org/phpBB3/viewtopic.php?t=54361&p=417302\r\nThe same delay occurs also with the \"-s\" triggering"},"comment":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/comments/119328681","html_url":"https://github.com/raspberrypi/userland/issues/146#issuecomment-119328681","issue_url":"https://api.github.com/repos/raspberrypi/userland/issues/146","id":119328681,"user":{"login":"waveform80","id":1076190,"avatar_url":"https://avatars.githubusercontent.com/u/1076190?v=3","gravatar_id":"","url":"https://api.github.com/users/waveform80","html_url":"https://github.com/waveform80","followers_url":"https://api.github.com/users/waveform80/followers","following_url":"https://api.github.com/users/waveform80/following{/other_user}","gists_url":"https://api.github.com/users/waveform80/gists{/gist_id}","starred_url":"https://api.github.com/users/waveform80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveform80/subscriptions","organizations_url":"https://api.github.com/users/waveform80/orgs","repos_url":"https://api.github.com/users/waveform80/repos","events_url":"https://api.github.com/users/waveform80/events{/privacy}","received_events_url":"https://api.github.com/users/waveform80/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T20:36:27Z","updated_at":"2015-07-07T20:36:27Z","body":"The raspistill demo application uses the camera's still port which requires a mode switch for each frame captured. The mode switch eats up quite a bit of time and I doubt you'd get beyond 2fps using it. To get faster, either capture from the video port or record video and extract frames on the fly (probably easiest with MJPEG - there's an example of this [with picamera](https://gist.github.com/waveform80/263b9c8bdcb1e9b79749)). Just be aware you won't get the same quality as the still port (the captures will look more like video frames)."}}