FFmpeg not available - although installed

ogger: haffmpeg.core
Source: /Users/server/homeassistant/lib/python3.9/site-packages/haffmpeg/core.py:138 
First occurred: 19:04:58 (2 occurrences) 
Last logged: 19:05:37

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

This happens when I want to access a camera in HomeKit.

but ffmpeg is installed in venv (v5.0) on macOS. Is there anything I have to set? The path seems to be available, since I can just type ffmpeg in the venv.

$ pip list | grep ffmpeg
ha-ffmpeg               3.0.2

ffmpeg is available in venv.

If I run ffmpeg it says 5.0 - was already installed on vanilla installation.

Solution
I had to define the path in configuration.yaml:

ffmpeg:
  ffmpeg_bin: /opt/homebrew/bin/ffmpeg