H264 seems to still be the preferred codec in this space, even though H265 is a smaller file size.
Largely due to the CPU over head of H265, though I am not sure why more people do not use GPU encoding over CPU Encoding, I have never been able to notice the difference visually