8000 GitHub - ahknight/homebridge-camera-ffmpeg-amcrest: ffmpeg plugin for homebridge.
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

ahknight/homebridge-camera-ffmpeg-amcrest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-camera-ffmpeg-amcrest

Amcrest camera plugin for Homebridge

Installation

  1. Install ffmpeg
  2. Install this plugin using: npm install -g ahknight/homebridge-camera-ffmpeg-amcrest
  3. Edit config.json and add the camera.
  4. Run Homebridge
  5. Add extra camera accessories in Home app. The setup code is the same as homebridge.

Config.json Example

{
  "platform": "Camera-ffmpeg-amcrest",
  "cameras": [
    {
      "name": "Camera Name",
      "videoConfig": {
      	"source": "-re -i rtsp://myfancy_rtsp_stream",
        "stillImageSource": "-i http://faster_still_image_grab_url/this_is_optional.jpg",
      	"maxStreams": 2,
      	"maxWidth": 1280,
      	"maxHeight": 720,
      	"maxFPS": 30
      }
    }
  ]
}
  • Optional parameter vcodec, if you are running on a RPi with the omx version of ffmpeg installed, you can change to the hardware accelerated video codec with this option.
{
  "platform": "Camera-ffmpeg-amcrest",
  "cameras": [
    {
      "name": "Camera Name",
      "videoConfig": {
      	"source": "-re -i rtsp://myfancy_rtsp_stream",
        "stillImageSource": "-i http://faster_still_image_grab_url/this_is_optional.jpg",
      	"maxStreams": 2,
      	"maxWidth": 1280,
      	"maxHeight": 720,
      	"maxFPS": 30,
      	"vcodec": "h264_omx"            
      }
    }
  ]
}

About

ffmpeg plugin for homebridge.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0