homebridge-plugins / homebridge-camera-ffmpeg

Homebridge Plugin Providing FFmpeg-based Camera Support
https://homebridge-plugins.github.io/homebridge-camera-ffmpeg/
Apache License 2.0
1.09k stars 228 forks source link

Camera V2 raspberry Pi 4 won't start streaming since latest plugin update #625

Closed Danouchka closed 4 years ago

Danouchka commented 4 years ago

Describe The Bug: Since the last update of the plugin, my camera wont start video streaming

To Reproduce: Just update the plugin and use a camera v2 for rasberry pi 4 (raspberrry pi os latest update)

Expected behavior: Video streaming to start properly

Logs:

[2020-7-9 1:02:52] [Camera-ffmpeg] Starting Camera V2  video stream (1280x720, 30 fps, 299 kbps, 1316 mtu)...false
[2020-7-9 1:02:52] [Camera-ffmpeg] FFMPEG: received first frame
[2020-7-9 1:02:53] [Camera-ffmpeg] [FFMPEG] ffmpeg exited with code: 1 and signal: null (error)
[2020-7-9 1:02:53] [Camera-ffmpeg] Stopped Camera V2  video stream!
[2020-7-9 1:03:23] [Camera-ffmpeg] Snapshot from Camera V2  at 480:270

Homebridge Config:

 "cameras": [
                {
                    "name": "Camera V2 ",
                    "manufacturer": "Raspberry Pi",
                    "model": "Camera V2",
                    "videoConfig": {
                        "source": "-re  -s hd720 -f video4linux2 -i /dev/video0",
                        "stillImageSource": "-s 1280x720 -f video4linux2 -i /dev/video0",
                        "maxFPS": 30,
                        "vcodec": "h264_omx",
                        "audio": false,
                        "debug": false
                    }
                }
            ],
            "platform": "Camera-ffmpeg"

Screenshots:

Environment:

donavanbecker commented 4 years ago

Closing to bring into #631, to see if it fixes your issues.