seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
638 stars 92 forks source link

HSV does not record: aborted by HSV with reason "TIMEOUT" #655

Closed outsharded closed 1 year ago

outsharded commented 1 year ago

Describe the bug HSV does not record, despite being aware of motion

To Reproduce USB webcam, set up to HSV, Force Prebuffer

Expected behavior HSV to record on motion.

Logs [01/10/2022, 15:20:00] [CameraUI] Kitchen Camera: Setting up camera, please be patient... [01/10/2022, 15:20:01] [CameraUI] Kitchen Camera: Prebuffering with reencoding enabled! Please pay attention to the CPU load [01/10/2022, 15:20:01] [CameraUI] camera.ui v5.0.27 is listening on port 8081 (http) [01/10/2022, 15:20:04] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":32.93663024902344,"sensitivity":68,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Kitchen Camera [01/10/2022, 15:20:04] [CameraUI] Kitchen Camera: Motion ON [01/10/2022, 15:20:13] [CameraUI] Kitchen Camera: Closing recording process [01/10/2022, 15:20:13] [CameraUI] Kitchen Camera: Motion OFF [01/10/2022, 15:20:13] [CameraUI] WARNING Kitchen Camera: The recording process was aborted by HSV with reason "TIMEOUT" [HDS ::ffff:192.168.0.128] Delegate finished recording stream 1 without sending anything out. Controller will CANCEL.

Config { "name": "CameraUI", "port": 8081, "atHomeSwitch": false, "logLevel": "info", "mqtt": { "active": false, "tls": false, "port": 1883 }, "http": { "active": false, "port": 7272, "localhttp": false }, "smtp": { "active": false, "port": 2727, "space_replace": "+" }, "ftp": { "active": false, "useFile": false, "port": 5050 }, "ssl": { "active": false }, "options": { "videoProcessor": "/var/lib/homebridge/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg" }, "cameras": [ { "name": "Kitchen Camera", "manufacturer": "Raspberry Pi", "model": "3B", "serialNumber": "3B", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "forcePrebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-re -f video4linux2 -i /dev/video0", "subSource": "-re -f video4linux2 -i /dev/video0", "stillImageSource": "-re -f video4linux2 -ss 0.9 -i /dev/video0 -vframes 1", "readRate": true, "maxStreams": 2, "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 30, "vcodec": "libx264", "acodec": "libfdk_aac", "audio": false }, "smtp": { "email": "camera" }, "videoanalysis": { "active": true }, "mqtt": {} } ], "platform": "CameraUI" }

Environment

karesake commented 1 year ago

Got the same Error!

atlcoder commented 1 year ago

duplicate of #632

I started seeing this recently after I updated some things on my system, so hard to know what caused it. Could be ios16 related, ffmpeg update, or camera ui update.

i’m running on macos on m1 if that’s relevant. things were working fine until last day or two

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

johnnygoodface commented 1 year ago

Nobody ever response to any of the issues. wow... I'll remove this plugin

Mies84 commented 1 year ago

Same probleem here

camorobot commented 1 year ago

+1

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.