Skip to content
Seyd edited this page Mar 21, 2021 · 4 revisions

The plugin comes with ffmpeg-for-homebridge which ensures that the right FFmpeg is automatically installed for the system. It can happen that the installation fails. In this case read on below.

Mac OS

To install this utility on OS X, just head over to ffmpeg.org, download the release relative to your Macs architecture. Then put the application into an accessible directory and run it from command line. Another way is using HomeBrew

brew install ffmpeg --with-fdk-aac --with-ffplay --with-libass --with-libvorbis --with-libvpx --with-rtmpdump --with-openh264 --with-tools

Windows

To install this utility on Windows, head over to ffmpeg.org and follow the download link, using your architecture. Then place the downloaded software into an accessible directory and run from command line.

Linux

To install this utility on Unix, just follow the instructions found at ffmpeg.org

To check if ffmpeg is installed correctly and see a list of available commands try running the following command in the command line:

ffmpeg -help

libfdk_aac (audio)

If you want to listen to audio from the cameras in HomeKit, it is important that FFMpeg is compiled with libfdk_aac.

ffmpeg-for-homebridge comes with this ecnoder. But if you still have problems with the encoder, on the following page I wrote down the most important steps to reinstall FFMpeg with the encoder.

https://gist.github.com/SeydX/1de76187a846f2281997de72866c3f6c