-
-
Notifications
You must be signed in to change notification settings - Fork 233
Home
SteveCohen edited this page Jan 6, 2018
·
26 revisions
Welcome to the homebridge-camera-ffmpeg wiki!
Hikam S5 + Raspberry Pi2
- using homebridge-camera-ffmpeg-omx from legotheboss
- removed "-tune zerolatency" from ffmpeg.js (invalid option for my installation)
- low res "rtsp://xxx.xxx.xxx.xxx/onvif2" stream works fine w/ moderate cpu load
- high res "rtsp://xxx.xxx.xxx.xxx/onvif1" stream works w/ cpu load of 150%
Blue Iris
If you have a Blue Iris server, you can add any camera with the following configuration:
{
"platform": "Camera-IP",
"cameras": [
{
"name": "My First Camera",
"videoConfig": {
"source": "-re -i http://user:password@serverip/h264/camshortname/temp.ts",
"stillImageSource": "-i http://user:password@serverip/image/camshortname?q=75",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 1024,
"maxFPS": 15
}
}
]
}
- user/password - user with camera view permissions in Blue Iris
- serverip - The IP or hostname of your Blue Iris server
- camshortname - The short name of the camera in Blue Iris
- maxWidth/maxHeight - set to the camera native resolution
For example, you could use the following URL if for user:homebridge, password: password, server: bi.example.com, camshortname: driveway
http://homebridge:password@bi.example.com/h264/driveway/temp.ts
This config reads images from a remote computer (e.g. Raspberry Pi) running MotionEyeOS with default settings, using an IP of 192.168.2.26. If you use MotionEyeOS' fast network camera feature, then you need to change the stillImageSource to the appropriate URL.
{
"platform": "Camera-ffmpeg",
"cameras": [
{"name": "PiCam","videoConfig": {
"source": "-re -f mjpeg -i http://192.168.2.26:8081",
"stillImageSource": "-f mjpeg -i http://192.168.2.26/picture/1/current/",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 800,
"maxFPS": 10
}
}
]
}