@fugi maybe there's a bias introduced through your extended knowledge of h264 encoding parameters vs. your less-extended knowledge of h265 and av1 encoding parameters :3
also if you need to have differing choices for whatever reason consider that it may make sense to choose the more modern codec for lower-fidelity video, not the other way around, since newer codecs are harder to decode and might become unplayable at resolutions like 4k where h264 will still playback fine