homebridge-camera-ui icon indicating copy to clipboard operation
homebridge-camera-ui copied to clipboard

eufy Security Solo OutdoorCam C22 - RTSP - Videoanalysis timed out... killing ffmpeg session

Open kasik96 opened this issue 1 year ago • 2 comments

Describe the bug Most of the time, everything even HSV works correctly. But sometimes, mostly my Front camera goes unreachable even though tho RTSP stream works correctly. I got "Videoanalysis timed out... killing FFmpeg session" and "FFmpeg prebuffer process exited with error! (null) - [rtsp @ 0x560450ea5780] method SETUP failed: 461 Unsupported transport - ". All my Cameras are eufy Security Solo OutdoorCam C22.

7/22/2022, 1:45:55 PM] [CameraUI] WARNING Camera - Front: The recording process was aborted by HSV with reason "CANCELLED" [7/22/2022, 1:45:55 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-07-22T11:45:55.568Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Camera - Right Side [7/22/2022, 1:45:56 PM] [CameraUI] Camera - Left Side: Motion OFF - Motion handler timeout. [7/22/2022, 1:45:57 PM] [CameraUI] Camera - Left Side: Closing recording process [7/22/2022, 1:45:57 PM] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":34.78559112548828,"sensitivity":66,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Camera - Right Side [7/22/2022, 1:45:57 PM] [CameraUI] Camera - Right Side: Motion ON [7/22/2022, 1:46:02 PM] [CameraUI] ERROR Camera - Front: Videoanalysis timed out... killing ffmpeg session [7/22/2022, 1:46:02 PM] [CameraUI] ERROR Camera - Front: FFmpeg videoanalysis process exited with error! (SIGKILL) - [h264 @ 0x5624c73d0940] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x5624c73d0940] decode_slice_header error [h264 @ 0x5624c73d0940] no frame! [7/22/2022, 1:46:02 PM] [CameraUI] ERROR Camera - Front: FFmpeg videoanalysis process exited with error! (SIGKILL) - [h264 @ 0x5624c73d0940] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x5624c73d0940] decode_slice_header error [h264 @ 0x5624c73d0940] no frame! [7/22/2022, 1:46:02 PM] [CameraUI] Camera - Front: Restart videoanalysis session.. [7/22/2022, 1:46:02 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-07-22T11:46:02.961Z","event":"killed"} - Motion: resetted - Camera: Camera - Front [7/22/2022, 1:46:12 PM] [CameraUI] Camera - Right Side: Motion OFF - Motion handler timeout. [7/22/2022, 1:46:13 PM] [CameraUI] Camera - Right Side: Closing recording process [7/22/2022, 1:46:18 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-07-22T11:46:18.240Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Doorbell - Garage [7/22/2022, 1:46:20 PM] [deCONZ] Phoscon-GW Button: Programmable Switch Event: Single Press [7/22/2022, 1:46:28 PM] [deCONZ] 127.0.0.1: request 1: GET /config [7/22/2022, 1:46:28 PM] [deCONZ] warning: 127.0.0.1: request 1: connect ECONNREFUSED 127.0.0.1:4530 [7/22/2022, 1:46:28 PM] [deCONZ] warning: 127.0.0.1:4530: connect ECONNREFUSED 127.0.0.1:4530 - retrying in 60s [7/22/2022, 1:46:31 PM] [CameraUI] ERROR Camera - Front: Videoanalysis timed out... killing ffmpeg session [7/22/2022, 1:46:31 PM] [CameraUI] Camera - Front: Restart videoanalysis session.. [7/22/2022, 1:46:38 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-07-22T11:46:38.584Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Camera - Porch [7/22/2022, 1:46:44 PM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-07-22T11:46:44.226Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Camera - Left Side [7/22/2022, 1:46:47 PM] [CameraUI] ERROR Camera - Front: Prebuffer timed out... killing ffmpeg session [7/22/2022, 1:46:47 PM] [CameraUI] ERROR Camera - Front: FFmpeg videoanalysis process exited with error! (null) - Output file #0 does not contain any stream [7/22/2022, 1:46:47 PM] [CameraUI] ERROR Camera - Front: FFmpeg videoanalysis process exited with error! (null) - Output file #0 does not contain any stream [7/22/2022, 1:46:47 PM] [CameraUI] Camera - Front: Restart videoanalysis session.. [7/22/2022, 1:46:47 PM] [CameraUI] ERROR Camera - Front: FFmpeg prebuffer process exited with error! (SIGKILL) - [rtsp @ 0x55d2b6ffb780] method SETUP failed: 461 Unsupported transport -

Screenshot 2022-07-22 114206

Config

{ "logLevel": "info", "port": 8081, "atHomeSwitch": false, "options": { "videoProcessor": "/homebridge/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg" }, "ssl": { "active": false }, "http": { "active": false, "port": 7272, "localhttp": false }, "smtp": { "active": false, "port": 2727, "space_replace": "+" }, "ftp": { "active": false, "useFile": false, "port": 5050 }, "mqtt": { "active": false, "tls": false, "port": 1883 }, "cameras": [ { "name": "Camera - Front", "manufacturer": "Eufy Security", "model": "Outdoor Cam", "serialNumber": "19876136546", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://192.168.88.49/live0", "subSource": "-i rtsp://192.168.88.49/live0", "stillImageSource": "-i rtsp://192.168.88.49/live0", "vcodec": "copy", "acodec": "libfdk_aac", "stimeout": 10, "audio": true }, "videoanalysis": { "active": true }, "mqtt": {}, "smtp": { "email": "Camera - Front" } }, { "name": "Camera - Right Side", "manufacturer": "Eufy Security", "model": "Outdoor Cam", "serialNumber": "4481021323", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://192.168.88.48/live0", "subSource": "-i rtsp://192.168.88.48/live0", "stillImageSource": "-i rtsp://192.168.88.48/live0", "vcodec": "copy", "acodec": "libfdk_aac", "stimeout": 10, "audio": true }, "videoanalysis": { "active": true }, "mqtt": {}, "smtp": { "email": "Camera - Right Side" } }, { "name": "Camera - Left Side", "manufacturer": "Eufy Security", "model": "Outdoor Cam", "serialNumber": "89712320", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://192.168.88.47/live0", "subSource": "-i rtsp://192.168.88.47/live0", "stillImageSource": "-i rtsp://192.168.88.47/live0", "vcodec": "copy", "acodec": "libfdk_aac", "stimeout": 10, "audio": true }, "videoanalysis": { "active": true }, "mqtt": {}, "smtp": { "email": "Camera - Left Side" } }, { "name": "Camera - Porch", "manufacturer": "Eufy Security", "model": "Outdoor Cam", "serialNumber": "89741324312", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://192.168.88.51/live0", "subSource": "-i rtsp://192.168.88.51/live0", "stillImageSource": "-i rtsp://192.168.88.51/live0", "vcodec": "copy", "acodec": "libfdk_aac", "stimeout": 10, "audio": true }, "videoanalysis": { "active": true }, "mqtt": {}, "smtp": { "email": "Camera - Porch" } }, { "name": "Camera - Backside", "manufacturer": "Eufy Security", "model": "Outdoor Cam", "serialNumber": "5189721324", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://192.168.88.50/live0", "subSource": "-i rtsp://192.168.88.50/live0", "stillImageSource": "-i rtsp://192.168.88.50/live0", "vcodec": "copy", "acodec": "libfdk_aac", "stimeout": 10, "audio": true }, "videoanalysis": { "active": true }, "mqtt": {}, "smtp": { "email": "Camera - Backside" } }, { "name": "Doorbell - Garage", "manufacturer": "Action", "model": "Action Smart Doorbell", "serialNumber": "897421345", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": false, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://admin:[email protected]:8554/Streaming/Channels/101", "subSource": "-i rtsp://admin:[email protected]:8554/Streaming/Channels/101", "stillImageSource": "-i rtsp://admin:[email protected]:8554/Streaming/Channels/101", "vcodec": "copy", "acodec": "libfdk_aac", "stimeout": 10, "audio": true, "readRate": true, "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 30, "maxBitrate": 30 }, "videoanalysis": { "active": true }, "mqtt": {}, "smtp": { "email": "Doorbell - Garage" } } ] }

Environment

  • Node.js Version: v16.16.0
  • Homebridge Version: v1.5.0
  • Camera UI Version: v5.0.27
  • Operating System: Docker - Ubuntu
  • Browser: Chrome
  • server-optiplex 7010

kasik96 avatar Jul 22 '22 09:07 kasik96

I'm getting this on all of my cameras now. Everything worked fine up until about a month or so ago.

harrisbooks avatar Aug 10 '22 11:08 harrisbooks

My logs are riddled with these errors

genevera avatar Aug 20 '22 21:08 genevera

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.

stale[bot] avatar Oct 21 '22 10:10 stale[bot]

My logs are still riddled with these errors

genevera avatar Oct 21 '22 14:10 genevera

@kasik96 Have you tried using a RTSP-proxy? I'm getting a C24 next week, so I can share my results.

neuhausf avatar Dec 11 '22 14:12 neuhausf

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.

stale[bot] avatar Feb 11 '23 17:02 stale[bot]