Skip to content

Instantly share code, notes, and snippets.

@paraita
Created March 1, 2021 05:21
Show Gist options
  • Save paraita/75c5ab7b8c38015dfbd99b6a62b5c822 to your computer and use it in GitHub Desktop.
Save paraita/75c5ab7b8c38015dfbd99b6a62b5c822 to your computer and use it in GitHub Desktop.
Working config (mind the redacted bridge data) on Mac/iPad but not on iPhone. Super fluid !
{
"bridge": {
"name": "Homebridge REDACTED",
"username": "00:00:00:00:00:00",
"port": REDACTED,
"pin": "000-11-333"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"name": "Camera FFmpeg",
"cameras": [
{
"name": "Camera Pi",
"motion": true,
"switches": true,
"videoConfig": {
"source": "-re -f video4linux2 -video_size 1280x720 -input_format h264 -i /dev/video0",
"stillImageSource": "-video_size 1280x720 -f video4linux2 -i /dev/video0 -ss 1.5",
"maxStreams": 3,
"maxFPS": 30,
"maxBitrate": 320,
"maxWidth": 1280,
"maxHeight": 720,
"vcodec": "copy",
"encoderOptions": "-b:v 320k -maxrate 320k",
"audio": false,
"debug": true
}
}
],
"platform": "Camera-ffmpeg"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment