-
-
Notifications
You must be signed in to change notification settings - Fork 165
FFmpeg
To use camera live streams with the homebridge-ring
plugin, you must have ffmpeg
installed. If you want audio as well, then your ffmpeg binaries must also be built with the libfdk_aac
library. Starting in version 7.2.0
, a pre-built copy of ffmpeg is automatically installed with homebridge-ring
. This is made possible by using the ffmpeg-for-homebridge
node module, which supports most environments out of the box, but not all. See https://www.npmjs.com/package/ffmpeg-for-homebridge#supported-platforms for the full list of supported platforms.
If you are running homebridge on a different platform, you will need to research how to build ffmpeg. The most important part is that you include --enable-libfdk-aac
when building ffmpeg
to enable the libfdk_aac
codec if you want to receive audio. Once you have ffmpeg
with libfdk_aac
installed on your homebridge server, you can set the ffmpegPath
in your config to point to your new binary. Once that is done, you should be able to receive audio and video in your camera streams.
ffmpeg, with libfdk-aac audio support is included in this image.