Can you check attached patch on aarch64?
Without it static build of x265 fails on my new aarch64 termux ..
Put in thirdparty/src
I also trying to make libvpx/libaom update, but while libvpx 1.12 can be put as is with patch files simply renamed libaom 3.4.0 need some manual work ..
Also, ffmpeg 5.1 is out !