Although YouTube now supports H.265 video uploading, it is still considered H.264 the best option for the following reasons:
• H.265 is less compatible with more devices than H.264;
• H.265 takes higher device requirements to process the video uploading and encoding, so it may probably fail when your devices are not well compatible with H.265;
• Normally, it takes higher fees to access H.265 codecs.