{"action":"created","issue":{"url":"https://api.github.com/repos/cargomedia/cm-janus/issues/29","labels_url":"https://api.github.com/repos/cargomedia/cm-janus/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/cargomedia/cm-janus/issues/29/comments","events_url":"https://api.github.com/repos/cargomedia/cm-janus/issues/29/events","html_url":"https://github.com/cargomedia/cm-janus/pull/29","id":116327701,"number":29,"title":"Implement rtpbroadcast thumbnail job handler","user":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cargomedia/cm-janus/labels/selfmade","name":"selfmade","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-11T12:46:36Z","updated_at":"2015-11-23T11:11:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cargomedia/cm-janus/pulls/29","html_url":"https://github.com/cargomedia/cm-janus/pull/29","diff_url":"https://github.com/cargomedia/cm-janus/pull/29.diff","patch_url":"https://github.com/cargomedia/cm-janus/pull/29.patch"},"body":"Receives data:\r\n```json\r\n{\r\n    \"data\": {\r\n        \"id\": \"Ababagalamaga\",\r\n        \"thumb\": \"/tmp/recordings/thum-Ababagalamaga-12168343410-thumb.mjr\"\r\n    },\r\n    \"plugin\": \"janus.plugin.cm.rtpbroadcast\",\r\n    \"event\": \"thumbnailing-finished\"\r\n}\r\n```\r\n\r\nSteps:\r\n- create thumbnail out of 10 seconds `video` => `jpg file`\r\n  - run `janus-pp-rec` to convert `mjr` file into `webm`\r\n- run `cm media-streams import-video-thumbnail {streamChannelId} {jpg file}`\r\n- optional cleanup\r\n\r\n\r\ncommand to generate png from webm\r\n```\r\ngst-launch-1.0 filesrc location=video.webm ! decodebin ! videoconvert ! pngenc snapshot=true ! filesink location=frames/snapshot.png\r\n```"},"comment":{"url":"https://api.github.com/repos/cargomedia/cm-janus/issues/comments/158906630","html_url":"https://github.com/cargomedia/cm-janus/pull/29#issuecomment-158906630","issue_url":"https://api.github.com/repos/cargomedia/cm-janus/issues/29","id":158906630,"user":{"login":"fvovan","id":2360687,"avatar_url":"https://avatars.githubusercontent.com/u/2360687?v=3","gravatar_id":"","url":"https://api.github.com/users/fvovan","html_url":"https://github.com/fvovan","followers_url":"https://api.github.com/users/fvovan/followers","following_url":"https://api.github.com/users/fvovan/following{/other_user}","gists_url":"https://api.github.com/users/fvovan/gists{/gist_id}","starred_url":"https://api.github.com/users/fvovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvovan/subscriptions","organizations_url":"https://api.github.com/users/fvovan/orgs","repos_url":"https://api.github.com/users/fvovan/repos","events_url":"https://api.github.com/users/fvovan/events{/privacy}","received_events_url":"https://api.github.com/users/fvovan/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T11:11:50Z","updated_at":"2015-11-23T11:11:50Z","body":"@tomaszdurka please merge upstream"}}