Sunoo / homebridge-camera-ffmpeg

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

[Camera FFmpeg] [UpCam] FFmpeg exited with code: 1 and signal: null (Error) #1447

Open Eschte opened 1 month ago

Eschte commented 1 month ago

Describe The Problem: I get the error message mentioned in the subject line.

To Reproduce: what do you mean?

Logs: [6/6/2024, 8:53:33 AM] Homebridge v1.8.2 (HAP v0.12.1) (Homebridge E44A) is running on port 51964. Failed to create listener for avahi-daemon server state. The system will not be notified about restarts of avahi-daemon and will therefore stay undiscoverable in those instances. Error message: Error: No such interface found [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Snapshot requested: 1280 x 720 [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Snapshot command: ffmpeg -i http://192.168.178.57/tmpfs/snap.jpg -frames:v 1 -f image2 - -hide_banner -loglevel error [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Fetching snapshot took 0.029 seconds. [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Failed to fetch snapshot. [UpCam] Snapshot request handler provided empty image buffer! [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Video stream requested: 1280 x 720, 30 fps, 299 kbps [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Starting video stream: 1280 x 720, 30 fps, 299 kbps [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Stream command: ffmpeg -i rtsp://admin:xxxxxxx@192.168.178.57:554/11 -an -sn -dn -codec:v libx264 -pix_fmt yuv420p -color_range mpeg -r 30 -f rawvideo -preset ultrafast -tune zerolatency -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)2:trunc(ih/2)2 -b:v 299k -payload_type 99 -ssrc 5550016 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params krqHOXxde8UWh/5Ef7/auRtkaaaYCqGZk8wl5uzu srtp://192.168.178.134:61039?rtcpport=61039&pkt_size=1316 -loglevel level -progress pipe:1 [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] FFmpeg exited with code: 1 and signal: null (Error) [6/6/2024, 8:53:37 AM] [Camera FFmpeg] [UpCam] Stopped video stream.

Show the Homebridge logs here.
Remove any sensitive information.

Homebridge Config:

{ "name": "Camera FFmpeg", "cameras": [ { "name": "UpCam", "videoConfig": { "source": "-i rtsp://admin:xxxxxxx@192.168.178.57:554/11", "stillImageSource": "-i http://192.168.178.57/tmpfs/snap.jpg", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 30 } } ], "platform": "Camera-ffmpeg" }

Screenshots:

Environment:

Eschte commented 1 month ago

can somebody help?

github-actions[bot] commented 1 week 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.

Eschte commented 1 week ago

can somebody help?