There are so many video compression algorithms, but from my experience, I prefer the open-source ones that are royalty-free, an example is VP9 which Google develops. This compression format is designed to compete with H.264 and HEVC. It is better because the two formats have it competing with them. It is commonly used in web video streaming, particularly on Platforms like YouTube