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

One camera works, other not. This is the error in log

2017-09-04 14:23:19 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg'

Below my configuration. The first camera works, the second does not work. If I put the stream in VLC I can see the stream fine

ffmpeg:


camera 45 video:
  - platform: ffmpeg
    name: Giardino da ufficio
    input: http://[email protected]:80/videostream.asf?user=xxx&pwd=xxx&resolution=64&rate=0
camera 46:
  - platform: ffmpeg
    name: Garden left
    input: rtsp://192.168.1.133:554/unicast
  #  input: -rtsp_transport tcp -i rtsp://192.168.1.133:554/unicast
    extra_arguments: -pred 1 -q:v 2

reinstalled and now I have this

2017-09-04 14:44:10 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 13] Permission denied

My Home Assistant installation happened to get the error ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg', because my installation’s operating system (Ubuntu 20) did not have ffmpeg installed.

I was able to fix the error by installing the ffmpeg apt package: sudo apt install ffmpeg.

After restarting Home Assistant, the error has gone.

1 Like