You'd be better off using the highest profile h.264 today. _MOST_ of the way to h.265 and is way better on patents and slightly better for still-frame quality.
For long term archive work the above or AV1 (if you have infinite time / energy budget) are probably better, depending on settings.
For long term archive work the above or AV1 (if you have infinite time / energy budget) are probably better, depending on settings.