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 227 forks source link

Tp-Link Tapo C310 HomeKit Integration through Homebridge #1348

Closed vipii closed 1 year ago

vipii commented 2 years ago

I am trying to add my camera to homekit through Homebridge.

I am using the homebridge-camera-ffmpeg package https://github.com/Sunoo/homebridge-camera-ffmpeg

They are clearly visible in homekit, the thumbnails refresh every now and then so they are clearly working.

But when I try to open the stream it does not work. Homekit does report: [10/7/2022, 10:20:58 PM] [Camera FFmpeg] [Cam Outdoor] Starting video stream: 1280 x 720, native fps, 299 kbps (AAC-eld) [10/7/2022, 10:21:01 PM] [Camera FFmpeg] [Cam Outdoor] Stopped video stream.

Setup: { "name": "Cam Outdoor", "manufacturer": "TP-Link", "model": "C310", "motion": true, "unbridge": true, "videoConfig": { "source": "-i rtsp://USER:PASSWORD@IP:554/stream1", "maxStreams": 5, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 0, "forceMax": true, "audio": true } }

jlg89 commented 2 years ago

Try adding "vcodec": "libx264", before the "audio": true line.

github-actions[bot] commented 2 years 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.