H.264 is a video compression standard used for HD videos. In fact, it’s the most widely-used video codec today. As such, this codec can be incorporated into several container formats like MP4, 3GP, MOV, FLV, and others. Most of the time, it’s encoded with the Advanced Audio Coding (AAC) codec.
Apple QuickTime Player VLC Media Player Windows Media Player Apple iTunes
HEVC MKV is a digital media format that uses HEVC codec, instead of the usual H.264, which is used on typical MKV files. HEVC MKV files are encoded at lower bitrates than H.264 MKV, making them smaller by up to 50%. However, software and hardware support for HEVC MKV files is quite limited as opposed to H.264 MKV, which ranks among the most popular media formats today.
VLC Media Player
MKV File Player