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.