If you're using libaom, try switching to libsvtav1. It's still slow, but it's slooow instead of slooooooooow.