When using the new m chips on a mac you can speed up the encoding process by using the h264_videotoolbox and hevc_videotoolbox.
So the idea is to add this to the encoder list so that users like me don't choose the way slower standard libx264.
Source of information is here