{"action":"created","issue":{"url":"https://api.github.com/repos/BreeeZe/rpos/issues/10","repository_url":"https://api.github.com/repos/BreeeZe/rpos","labels_url":"https://api.github.com/repos/BreeeZe/rpos/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/BreeeZe/rpos/issues/10/comments","events_url":"https://api.github.com/repos/BreeeZe/rpos/issues/10/events","html_url":"https://github.com/BreeeZe/rpos/issues/10","id":153183126,"node_id":"MDU6SXNzdWUxNTMxODMxMjY=","number":10,"title":"Added suppport for USB Camera","user":{"login":"Jalict","id":2472892,"node_id":"MDQ6VXNlcjI0NzI4OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2472892?v=4","gravatar_id":"","url":"https://api.github.com/users/Jalict","html_url":"https://github.com/Jalict","followers_url":"https://api.github.com/users/Jalict/followers","following_url":"https://api.github.com/users/Jalict/following{/other_user}","gists_url":"https://api.github.com/users/Jalict/gists{/gist_id}","starred_url":"https://api.github.com/users/Jalict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jalict/subscriptions","organizations_url":"https://api.github.com/users/Jalict/orgs","repos_url":"https://api.github.com/users/Jalict/repos","events_url":"https://api.github.com/users/Jalict/events{/privacy}","received_events_url":"https://api.github.com/users/Jalict/received_events","type":"User","site_admin":false},"labels":[{"id":194983863,"node_id":"MDU6TGFiZWwxOTQ5ODM4NjM=","url":"https://api.github.com/repos/BreeeZe/rpos/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-05T07:30:31Z","updated_at":"2018-12-30T13:31:43Z","closed_at":null,"author_association":"NONE","body":"I just realised that this didn't use USB camera. As right now I get\n\n```\nchild_process.js:484\n    throw err;\n    ^\n\nError: Command failed: sudo v4l2-ctl --set-fmt-video=pixelformat=4\n\n    at checkExecSyncError (child_process.js:441:13)\n    at Object.execSync (child_process.js:481:13)\n    at Function.utils.execSync (/home/pi/rpos-0.1.0/lib/utils.js:94:66)\n    at execV4l2 (/home/pi/rpos-0.1.0/lib/v4l2ctl.js:173:22)\n    at Object.SetPixelFormat (/home/pi/rpos-0.1.0/lib/v4l2ctl.js:277:9)\n    at Camera.setupCamera (/home/pi/rpos-0.1.0/lib/camera.js:129:27)\n    at new Camera (/home/pi/rpos-0.1.0/lib/camera.js:44:14)\n    at Object.<anonymous> (/home/pi/rpos-0.1.0/rpos.js:23:14)\n    at Module._compile (module.js:435:26)\n    at Object.Module._extensions..js (module.js:442:10)\n```\n\nAny possibility that this could be added? It is apparantly not common for people to use USB Cameras as quick security cameras and everyone just uses the camera modules :frowning: \n"},"comment":{"url":"https://api.github.com/repos/BreeeZe/rpos/issues/comments/450560974","html_url":"https://github.com/BreeeZe/rpos/issues/10#issuecomment-450560974","issue_url":"https://api.github.com/repos/BreeeZe/rpos/issues/10","id":450560974,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU2MDk3NA==","user":{"login":"RogerHardiman","id":10171169,"node_id":"MDQ6VXNlcjEwMTcxMTY5","avatar_url":"https://avatars2.githubusercontent.com/u/10171169?v=4","gravatar_id":"","url":"https://api.github.com/users/RogerHardiman","html_url":"https://github.com/RogerHardiman","followers_url":"https://api.github.com/users/RogerHardiman/followers","following_url":"https://api.github.com/users/RogerHardiman/following{/other_user}","gists_url":"https://api.github.com/users/RogerHardiman/gists{/gist_id}","starred_url":"https://api.github.com/users/RogerHardiman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RogerHardiman/subscriptions","organizations_url":"https://api.github.com/users/RogerHardiman/orgs","repos_url":"https://api.github.com/users/RogerHardiman/repos","events_url":"https://api.github.com/users/RogerHardiman/events{/privacy}","received_events_url":"https://api.github.com/users/RogerHardiman/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T13:31:43Z","updated_at":"2018-12-30T13:31:43Z","author_association":"COLLABORATOR","body":"Hi @jiayaoO3O \r\nThere are plans to add USB camera support, probably using the new GStreamer RTSP server that has recently been added.\r\nHowever it could be a long time before I get to it, so if you want to look at the GStreamer code and make a new gst-launch pipeline with x264enc that would be great"}}
{"actor":{"display_login":"RogerHardiman"}}