marcoraddatz / homebridge-docker

Dockerized Homebridge. No plugins pre-defined, hassle-free setup. Read instructions!
Apache License 2.0
127 stars 47 forks source link

FFmpeg support #20

Closed DanielWeeber closed 7 years ago

DanielWeeber commented 7 years ago

Hey, great plugin. Love your work. Working flawless for me!

How can I add ffmpeg to the package? I want to control a camera via homebridge and this needs ffmpeg installed.

marcoraddatz commented 7 years ago

Hey, nice to hear. I've updated the readme, since this gets requested a lot: https://github.com/marcoraddatz/homebridge-docker/tree/develop#installsh

DanielWeeber commented 7 years ago

Unfortunately this is not a valid package. (for my docker container on my Synology; debian)

Reading package lists... Done Building dependency tree
Reading state information... Done Package ffmpeg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'ffmpeg' has no installation candidate

It should be apt-get install libav-tools -y :)

DanielWeeber commented 7 years ago

Checked again, libav-tools does not work, but this in install.sh does:

echo 'deb http://ftp.uk.debian.org/debian jessie-backports main' >> /etc/apt/sources.list
apt-get update
apt-get -y install ffmpeg

Copied from: https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/75#issuecomment-299633284

marcoraddatz commented 7 years ago

Thanks for the feedback! I updated the readme with the workaround.