Using Hardware Acceleration on MacOS with FFmpeg

Video encoding with x264 and x265 takes a lot of CPU usage. This is because you’re using a software encoder. The whole encoding is done in software and this is executed on your CPU. Modern Macs have a hardware encoder on board. But how to use it with FFmpeg? We...