{"action":"created","issue":{"url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg/issues/10","repository_url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg","labels_url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg/issues/10/comments","events_url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg/issues/10/events","html_url":"https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/10","id":180628957,"number":10,"title":"only first image is shown, using v4l2rtspserver and a pi camera","user":{"login":"kevinfoerster","id":163305,"avatar_url":"https://avatars.githubusercontent.com/u/163305?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinfoerster","html_url":"https://github.com/kevinfoerster","followers_url":"https://api.github.com/users/kevinfoerster/followers","following_url":"https://api.github.com/users/kevinfoerster/following{/other_user}","gists_url":"https://api.github.com/users/kevinfoerster/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinfoerster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinfoerster/subscriptions","organizations_url":"https://api.github.com/users/kevinfoerster/orgs","repos_url":"https://api.github.com/users/kevinfoerster/repos","events_url":"https://api.github.com/users/kevinfoerster/events{/privacy}","received_events_url":"https://api.github.com/users/kevinfoerster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-03T12:32:49Z","updated_at":"2016-10-03T17:04:55Z","closed_at":null,"body":"hi,\r\n\r\ni see the stream \"working\" as the camera displays the first image (including a counter when this was taken) but no video.\r\n\r\n![fullsizeoutput_2e06](https://cloud.githubusercontent.com/assets/163305/19037367/2771ad86-8976-11e6-96ce-7331cea93b50.jpeg)\r\n\r\ni run homebridge on a pi, my ffmpeg version ist:\r\n`\r\nffmpeg version 0.8.17-6:0.8.17-2+rpi1+deb7u2, Copyright (c) 2000-2014 the Libav developers\r\n  built on Jun 18 2016 00:05:51 with gcc 4.6.3\r\n`\r\n\r\na secondary pi is providing the stream using [v4l2rtspserver](https://github.com/mpromonet/v4l2rtspserver) which works in vlc, except some grey picture at the beginning of the stream.\r\n\r\n\r\ni run `v4l2rtspserver -F 30 -W 640 -H 480 -c /dev/video0` and my homebridge config basically looks like the example provided:\r\n\r\n`\r\n{\r\n        \"platform\": \"Camera-ffmpeg\",\r\n          \"cameras\": [\r\n    {\r\n      \"name\": \"Basement Cam\",\r\n      \"videoConfig\": {\r\n        \"source\": \"-re -i rtsp://192.168.178.47:8554/unicast\",\r\n        \"maxStreams\": 2,\r\n        \"maxWidth\": 640,\r\n        \"maxHeight\": 480,\r\n        \"maxFPS\": 30\r\n      }\r\n    }\r\n`\r\n\r\n\r\nany idea how to get to video output working? is it a problem with my ffmpeg version? \r\n\r\ndo you have any other recommendations to stream video from /dev/video0 device using v4l2 drivers on a pi?"},"comment":{"url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg/issues/comments/251163716","html_url":"https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/10#issuecomment-251163716","issue_url":"https://api.github.com/repos/KhaosT/homebridge-camera-ffmpeg/issues/10","id":251163716,"user":{"login":"KhaosT","id":1725664,"avatar_url":"https://avatars.githubusercontent.com/u/1725664?v=3","gravatar_id":"","url":"https://api.github.com/users/KhaosT","html_url":"https://github.com/KhaosT","followers_url":"https://api.github.com/users/KhaosT/followers","following_url":"https://api.github.com/users/KhaosT/following{/other_user}","gists_url":"https://api.github.com/users/KhaosT/gists{/gist_id}","starred_url":"https://api.github.com/users/KhaosT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhaosT/subscriptions","organizations_url":"https://api.github.com/users/KhaosT/orgs","repos_url":"https://api.github.com/users/KhaosT/repos","events_url":"https://api.github.com/users/KhaosT/events{/privacy}","received_events_url":"https://api.github.com/users/KhaosT/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T17:04:55Z","updated_at":"2016-10-03T17:04:55Z","body":"In these cases, I'd suggest you try to run ffmpeg separately ``ffmpeg your_source -threads 0 -vcodec libx264 -an -pix_fmt yuv420p -r 30 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 300k -bufsize 300k -f rtp rtp://127.0.0.1:51293`` and see if ffmpeg was able to output anything"}}
{"actor":{"display_login":"KhaosT"}}