Screen capture problem with FFmpeg version

Hi all,

I want to use screen capture to make a video of fading between my fixed and registered images but before that I get an error while installing FFmpeg. I’m on MacOS Mojave and I installed FFmpeg with : brew install FFmpeg
I tried reinstalling but it says you’re using the most up to date one which is version 4.4

ffmpeg error output: dyld: Library not loaded: /usr/local/opt/zeromq/lib/libzmq.5.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 8.0.0 or later, but libzmq.5.dylib provides version 5.0.0

Thanks for any help.