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

eufycam rtsp problems #1395

Closed koweye closed 1 year ago

koweye commented 1 year ago

i have enabled rtsp stream on eufycam s330. however i keep seeing this error. i am running hoobs 4.3.0

4/19/2023, 6:20:03 PM Homekit Bridge Camera FFmpeg ERROR [Right Gate Cam] Failed to fetch snapshot. 4/19/2023, 6:20:03 PM Homekit Bridge Camera FFmpeg ERROR [Right Gate Cam] Failed to fetch snapshot. 4/19/2023, 6:20:03 PM Homekit Bridge Camera FFmpeg ERROR [Right Gate Cam] Failed to fetch snapshot. 4/19/2023, 6:20:03 PM Homekit Bridge ERROR [Right Gate Cam] Snapshot request handler provided empty image buffer! 4/19/2023, 6:20:03 PM Homekit Bridge ERROR [Right Gate Cam] Snapshot request handler provided empty image buffer! 4/19/2023, 6:20:03 PM Homekit Bridge ERROR [Right Gate Cam] Snapshot request handler provided empty image buffer! 4/19/2023, 6:20:03 PM Homekit Bridge Camera FFmpeg ERROR [Left Gate Caml Failed to fetch snapshot. 4/19/2023, 6:20:03 PM Homekit Bridge Camera FFmpeg ERROR [Left Gate Cam] Failed to fetch snapshot. 4/19/2023, 6:20:03 PM Homekit Bridge Camera FFmpeg ERROR [Left Gate Caml Failed to fetch snapshot. 4/19/2023, 6:20:03 PM Homekit Bridge ERROR [Left Gate Cam] Snapshot request handler provided empty image buffer! 4/19/2023, 6:20:03 PM Homekit Bridge ERROR [Left Gate Cam] Snapshot request handler provided empty image buffer! 4/19/2023, 6:20:03 PM Homekit Bridge ERROR [Left Gate Cam] Snapshot request

Sunoo commented 1 year ago

Sounds like your config is wrong, can you share what you have?

koweye commented 1 year ago

sure... here is my config

{ "platform": "Camera-ffmpeg", "name": "Camera FFmpeg", "cameras": [ { "name": "Man Cave Cam", "manufacturer": "Eufy", "model": "Indoor Pan Tilt", "videoConfig": { "source": "-re -i rtsp://10.10.100.109/live0", "audio": true } }, { "name": "Right Gate Cam", "manufacturer": "Eufy", "model": "S330", "videoConfig": { "source": "-i rtsp://10.10.100.118/live1", "audio": true } }, { "name": "Left Gate Cam", "manufacturer": "Eufy", "model": "S330", "videoConfig": { "source": "-i rtsp://10.10.100.118/live0", "audio": true } } ] }

Sunoo commented 1 year ago

Do all cameras fail or just one? What do the logs show if you enable debug?

koweye commented 1 year ago

the one thats called man cave cam works. thats a different camera though, its a pan tilt. the other two are S330. not sure if that has anything to do with it.

sorry, where do i enable debug?

Sunoo commented 1 year ago

"debug": true in the videoConfig section: https://github.com/Sunoo/homebridge-camera-ffmpeg/blob/master/README.md#optional-videoconfig-parameters

github-actions[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.