{"action":"created","issue":{"url":"https://api.github.com/repos/iizukanao/picam/issues/49","repository_url":"https://api.github.com/repos/iizukanao/picam","labels_url":"https://api.github.com/repos/iizukanao/picam/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/iizukanao/picam/issues/49/comments","events_url":"https://api.github.com/repos/iizukanao/picam/issues/49/events","html_url":"https://github.com/iizukanao/picam/issues/49","id":177985135,"number":49,"title":"Recording \"raspistill\" like preview jpeg image while recording TS?","user":{"login":"kcunko","id":3081482,"avatar_url":"https://avatars.githubusercontent.com/u/3081482?v=3","gravatar_id":"","url":"https://api.github.com/users/kcunko","html_url":"https://github.com/kcunko","followers_url":"https://api.github.com/users/kcunko/followers","following_url":"https://api.github.com/users/kcunko/following{/other_user}","gists_url":"https://api.github.com/users/kcunko/gists{/gist_id}","starred_url":"https://api.github.com/users/kcunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcunko/subscriptions","organizations_url":"https://api.github.com/users/kcunko/orgs","repos_url":"https://api.github.com/users/kcunko/repos","events_url":"https://api.github.com/users/kcunko/events{/privacy}","received_events_url":"https://api.github.com/users/kcunko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T07:26:23Z","updated_at":"2016-09-20T16:28:06Z","closed_at":null,"body":"Trying to combine picam and linphone on rpi, and only way to do it is to connect linphone video to static picture source instead of camera (camera can not be shared btw picam and linphone), so I'm missing \"raspistill\" feature on picam - i.e. when hook \"start_record\" is executed to enable in addition constant generation of always the same image that will hold latest camera preview (i.e. \"preview.jpg\").\r\n\r\nOther approach would be to introduce hooks \"start_preview\" and \"stop_preview\" to enable streaming to jpeg file (that should be possible to work concurrently with start_record and stop_record hooks).\r\n\r\nNot-optimal approach would be to introduce hook \"get_preview_image\".\r\n\r\nIs there possibility to introduce this feature?\r\n"},"comment":{"url":"https://api.github.com/repos/iizukanao/picam/issues/comments/248355278","html_url":"https://github.com/iizukanao/picam/issues/49#issuecomment-248355278","issue_url":"https://api.github.com/repos/iizukanao/picam/issues/49","id":248355278,"user":{"login":"kcunko","id":3081482,"avatar_url":"https://avatars.githubusercontent.com/u/3081482?v=3","gravatar_id":"","url":"https://api.github.com/users/kcunko","html_url":"https://github.com/kcunko","followers_url":"https://api.github.com/users/kcunko/followers","following_url":"https://api.github.com/users/kcunko/following{/other_user}","gists_url":"https://api.github.com/users/kcunko/gists{/gist_id}","starred_url":"https://api.github.com/users/kcunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcunko/subscriptions","organizations_url":"https://api.github.com/users/kcunko/orgs","repos_url":"https://api.github.com/users/kcunko/repos","events_url":"https://api.github.com/users/kcunko/events{/privacy}","received_events_url":"https://api.github.com/users/kcunko/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T16:28:06Z","updated_at":"2016-09-20T16:28:06Z","body":"Thnx for suggestion, tried that, it works but it requires too much processing (Raspberry) resulting with slow refresh rate on linphone...  I'm using picam for cam&audio record, and in parallel I want to run linphone (SIP video and two-way audio connection) with the same camera picture/audio picam is recording in bg. Since picam is already receiving stream from camera and in one processing point has already jpeg image inside buffer, optimal way regarding CPU would be to introduce option/switch in picam to write that jpeg down while recording video.\r\nI guess I could also use mediastreamer that would use picam video stream and stream it in linphone but that would be even more CPU unfrendly than ffmpeg option. "}}
{"actor":{"display_login":"kcunko"}}