How to open unnotarized binary via the Terminal
I tested a static binary ffmpeg version in Sonoma. I just dropped it into a folder without adding it to the path and tried to open it via ./ffmpeg and was greeted by XProtect message below.
I could continue by going to Finder and via ctrl-Open bypass that check so that ffmpeg version could then be launched via the Terminal.
-> Is that possible only via the Terminal?
Safely open apps on your Mac - Apple Support
Usually I use MacPorts to install ffmpeg etc and this is a not a problem there.
p.s. To my surprise I noticed that MacPorts has still ffmpeg v4.4.4 while the newest is v6.1.1. This is because "v5.x breaks a number of dependent ports".
So I installed ffmpeg6 (with v4 still active) and also 8-10-12 bit H.265 support (although with my footage 8 vs 10 bit output is essentially the same, i.e. with yuv420p vs yuv420p10le):
sudo port install ffmpeg6
sudo port install x265 +highdepth