USB webcam fails with No such file or directory: 'ffmpeg'

Running Hassbian with 0.82, USB webcam plugged into rpi, shows as:

homeassistant@hassbian:~/c9workspace $ ls -ltrh /dev/video*
crw-rw---- 1 root video 81, 0 Nov 14 06:42 /dev/video0

All good. Wish to add to HA via ffmpeg, use config:

camera:
  - platform: ffmpeg
    input: -i /dev/video0

Get error:

FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

Any ideas?

OK so ffmpeg isn’t on Hassbian by default, you must install. As pi user via SSH:

sudo apt install ffmpeg

Also config must include:

ffmpeg:
1 Like

Also see FFmpeg/Amcrest device error on boot