{"action":"created","issue":{"url":"https://api.github.com/repos/Motion-Project/motion/issues/123","repository_url":"https://api.github.com/repos/Motion-Project/motion","labels_url":"https://api.github.com/repos/Motion-Project/motion/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/Motion-Project/motion/issues/123/comments","events_url":"https://api.github.com/repos/Motion-Project/motion/issues/123/events","html_url":"https://github.com/Motion-Project/motion/issues/123","id":170053514,"number":123,"title":"Support sub-stream processing","user":{"login":"hyperbolic2346","id":3506308,"avatar_url":"https://avatars.githubusercontent.com/u/3506308?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperbolic2346","html_url":"https://github.com/hyperbolic2346","followers_url":"https://api.github.com/users/hyperbolic2346/followers","following_url":"https://api.github.com/users/hyperbolic2346/following{/other_user}","gists_url":"https://api.github.com/users/hyperbolic2346/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperbolic2346/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperbolic2346/subscriptions","organizations_url":"https://api.github.com/users/hyperbolic2346/orgs","repos_url":"https://api.github.com/users/hyperbolic2346/repos","events_url":"https://api.github.com/users/hyperbolic2346/events{/privacy}","received_events_url":"https://api.github.com/users/hyperbolic2346/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Motion-Project/motion/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-09T00:02:43Z","updated_at":"2016-08-19T13:21:22Z","closed_at":null,"body":"IP cameras keep getting larger sensor and in order to keep up we will need to be able to do motion detection on the sub-stream since it is a lower resolution and then do the recording on the main stream."},"comment":{"url":"https://api.github.com/repos/Motion-Project/motion/issues/comments/241016457","html_url":"https://github.com/Motion-Project/motion/issues/123#issuecomment-241016457","issue_url":"https://api.github.com/repos/Motion-Project/motion/issues/123","id":241016457,"user":{"login":"osmaa","id":1743200,"avatar_url":"https://avatars.githubusercontent.com/u/1743200?v=3","gravatar_id":"","url":"https://api.github.com/users/osmaa","html_url":"https://github.com/osmaa","followers_url":"https://api.github.com/users/osmaa/followers","following_url":"https://api.github.com/users/osmaa/following{/other_user}","gists_url":"https://api.github.com/users/osmaa/gists{/gist_id}","starred_url":"https://api.github.com/users/osmaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osmaa/subscriptions","organizations_url":"https://api.github.com/users/osmaa/orgs","repos_url":"https://api.github.com/users/osmaa/repos","events_url":"https://api.github.com/users/osmaa/events{/privacy}","received_events_url":"https://api.github.com/users/osmaa/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T13:21:22Z","updated_at":"2016-08-19T13:21:22Z","body":"It's a bit trickier to parse the h264 stream off a webcam to re-extract the motion vectors, but I've been playing with the Raspberry Pi camera, the MMAL interface provides direct access to the MV data. There are a few examples of that, while my own is still in bit of development, eg this one: https://gist.github.com/spikedrba/aecb82d8b51e991dbd01\r\n\r\nThe nice aspect of this approach is that even on the relatively underpowered original RPi Model B (single-core ARMv6), I am able to capture even pre-movement frames by keeping a circular memory buffer of the H264 frames which get dumped to file only if the motion vector data (which is lightweight enough to analyse in a python script!) reveals movement in the stream -- thanks to the heavy lifting being done by the SoC's own H264 encoder."}}
{"actor":{"display_login":"osmaa"}}