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

Amcrest IP2M-841 #1056

Closed kelmers closed 3 years ago

kelmers commented 3 years ago

This is to get IP2M-841 cameras streaming to homekit in 1080p, via transcode on a mac, with h264_videotoolbox.

Homebridge Config:

{ "name": "Driveway", "unbridge": true, "videoConfig": { "source": "-i rtsp://user:password@IPADDRESS:554/cam/realmonitor?channel=1&subtype=0", "stillImageSource": "-i http://user:password@IPADDRESS/cgi-bin/snapshot.cgi?1", "maxStreams": 2, "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 30, "maxBitrate": 8192, "forceMax": true, "vcodec": "h264_videotoolbox", "audio": true }

Additional Information: To get this working right, login to amcrest web portal for camera to change stream settings. Then click camera and then video (both on left pane). Under main stream settings, change: Encode mode: H.264H Smart Codec OFF resolution 1920x1080 FPS 30 Bit rate : VBR Quality 6 Best Max bit rate 8192 Frame Interval 60

Then click save.

Sunoo commented 3 years ago

Added: https://sunoo.github.io/homebridge-camera-ffmpeg/configs/Amcrest-IP2M-841-2.html