# homebridge-camera-ffmpeg-omx

> ffmpeg plugin for homebridge: https://github.com/nfarina/homebridge

Latest version **0.0.3** (published 2017-03-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install homebridge-camera-ffmpeg-omx
pnpm add homebridge-camera-ffmpeg-omx
yarn add homebridge-camera-ffmpeg-omx
bun add homebridge-camera-ffmpeg-omx
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-03-30 |
| First published | 2016-11-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=5.0.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 74 |
| Maintainers | legotheboss |
| Keywords | homebridge-plugin |

## Links

- npm: https://www.npmjs.com/package/homebridge-camera-ffmpeg-omx
- Repository: https://github.com/legotheboss/homebridge-camera-ffmpeg-omx
- Homepage: https://github.com/legotheboss/homebridge-camera-ffmpeg-omx#readme
- Issues: http://github.com/legotheboss/homebridge-camera-ffmpeg-omx/issues
- npm.io page: https://npm.io/package/homebridge-camera-ffmpeg-omx

## Dependencies (1)

- [ip](https://npm.io/package/ip.md) ^1.1.3

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2017-03-30
- 0.0.1 — 2016-11-30

## README

# homebridge-camera-ffmpeg-omx

ffmpeg plugin for [Homebridge](https://github.com/nfarina/homebridge). Optimized for Rapsberry Pi via GPU encoding.

## Installation

1. Install ffmpeg on your Raspberry Pi.
    
    a. Download this package: `sudo wget goo.gl/gMGA81 -O ffmpeg.deb`
    
    b. Install this package: `sudo dpkg -i ffmpeg.deb`
    
    c. Ensure that the user you are running homebridge as has access to /dev/vchiq.  ie `sudo usermod -aG video login` where login is the user you are running homebridge as. 

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

### Config.json Example

    {
      "platform": "Camera-ffmpeg-omx",
      "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
          }
        }
      ]
    }

Incidentally, check [iSpyConnect's camera database](https://www.ispyconnect.com/sources.aspx) to find likely protocols and URLs to try with your camera.

---
_Source: https://npm.io/package/homebridge-camera-ffmpeg-omx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
