{"action":"created","issue":{"url":"https://api.github.com/repos/ccrisan/motioneye/issues/1051","repository_url":"https://api.github.com/repos/ccrisan/motioneye","labels_url":"https://api.github.com/repos/ccrisan/motioneye/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/ccrisan/motioneye/issues/1051/comments","events_url":"https://api.github.com/repos/ccrisan/motioneye/issues/1051/events","html_url":"https://github.com/ccrisan/motioneye/issues/1051","id":377148460,"node_id":"MDU6SXNzdWUzNzcxNDg0NjA=","number":1051,"title":"CPU Question","user":{"login":"rdavey228","id":24420623,"node_id":"MDQ6VXNlcjI0NDIwNjIz","avatar_url":"https://avatars0.githubusercontent.com/u/24420623?v=4","gravatar_id":"","url":"https://api.github.com/users/rdavey228","html_url":"https://github.com/rdavey228","followers_url":"https://api.github.com/users/rdavey228/followers","following_url":"https://api.github.com/users/rdavey228/following{/other_user}","gists_url":"https://api.github.com/users/rdavey228/gists{/gist_id}","starred_url":"https://api.github.com/users/rdavey228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdavey228/subscriptions","organizations_url":"https://api.github.com/users/rdavey228/orgs","repos_url":"https://api.github.com/users/rdavey228/repos","events_url":"https://api.github.com/users/rdavey228/events{/privacy}","received_events_url":"https://api.github.com/users/rdavey228/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-11-04T12:36:40Z","updated_at":"2018-11-12T18:28:54Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI have 4 1080p PoE IP cameras running into MotionEye using rtsp\r\n\r\nTo start with I had the resolution at 1920x1080 and for motion detection and image grabs on motion detection this was fine.\r\n\r\nMy problem starts when I want to record video! At this resolution, even with only 1 camera enabled (the rest are off) my CPU is 100% all the time. I have tried to drop the resolution of the camera down to 1280x768 but CPU is still 100% when recording and FPS drops from 8/10fps to 0.5/1fps 2fps if I'm lucky.\r\n\r\nThe cameras are running into a top of the line Cisco POE gigabit switch and are on their own dedicated CCTV VLAN along with MotionEye.\r\n\r\nI am running motioneye inside a docker container. The docker installation sits inside a Hyper-V VM which is running Ubuntu 18.04. The Underlying Ubuntu Installation that runs docker has 8vCPU assigned to it and 8GB of RAM. Nothing else is running on this ubuntu VM apart from Docker and motioneye is the only container that Docker is running.\r\n\r\nI even have a crappy mjpeg camera covering my garage running into motion eye at the worst resolution possible and recording still is at 100% CPU.\r\n\r\nAny help would be appreciated please?\r\n\r\nThanks\r\nRoss"},"comment":{"url":"https://api.github.com/repos/ccrisan/motioneye/issues/comments/437983106","html_url":"https://github.com/ccrisan/motioneye/issues/1051#issuecomment-437983106","issue_url":"https://api.github.com/repos/ccrisan/motioneye/issues/1051","id":437983106,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzk4MzEwNg==","user":{"login":"SealedJoy","id":38336419,"node_id":"MDQ6VXNlcjM4MzM2NDE5","avatar_url":"https://avatars3.githubusercontent.com/u/38336419?v=4","gravatar_id":"","url":"https://api.github.com/users/SealedJoy","html_url":"https://github.com/SealedJoy","followers_url":"https://api.github.com/users/SealedJoy/followers","following_url":"https://api.github.com/users/SealedJoy/following{/other_user}","gists_url":"https://api.github.com/users/SealedJoy/gists{/gist_id}","starred_url":"https://api.github.com/users/SealedJoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SealedJoy/subscriptions","organizations_url":"https://api.github.com/users/SealedJoy/orgs","repos_url":"https://api.github.com/users/SealedJoy/repos","events_url":"https://api.github.com/users/SealedJoy/events{/privacy}","received_events_url":"https://api.github.com/users/SealedJoy/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T18:28:54Z","updated_at":"2018-11-12T18:28:54Z","author_association":"NONE","body":"+1 also experiencing mad cpu load on ubuntu desktop (mint) install. I am using a single usb webcam at 640x480 (microsoft lifecam 5000) with motion detection off and still hitting 90% cpu with 8gb mem "}}
{"actor":{"display_login":"SealedJoy"}}