H.264 is a compressed video coding standard proposed by the video coding expert group.
H.264 standard includes: access unit separator, additional enhancement information, basic image coding and redundant image coding.
It doesn't matter if you don't understand these words. In fact, we don't need to know the specific video coding process and compression format standards. I only know that H.264 is a generation of digital video compression format after MPEG4-4.
H.265 standard is based on H.264, which can play the same quality video with half the bandwidth. Therefore, when using H.265 coding, computers, mobile phones, televisions, etc. More bandwidth can be reduced on the basis of the same video quality. With the improvement of network technology, 720P and 1080P high-definition videos used for security monitoring are gradually popularized. In the field of surveillance and high-definition video, the MPEG-2 and H.264/AVC we used before can no longer meet the current demand, so H.265 came into being, and the compression efficiency doubled.
This is the difference between 264 and 265.