Can Kodi play h265, HEVC video files in Raspberry Pi 4?

  • I mainly use the Raspberry Pi as a video media player to watch movies or videos in my tv from my 2tb external hard drive.

    i use Kodi as the multimedia player in Rasp Pi

    i had the Rasp Pi 3 it worked fine for h264 and 1080p videos , but it could not play, 4k, h265, hevc, and even FLAC video files.

    also it was not able to read my other external 8tb hard drive.

    so i bought the Rasp Pi 4, hoping that it is more powerful and can play those video formats. as well as read my 8th ext drive

    can anyone verify

    or help so i am able to play those video formats i mentioned

    would greatly appreciate it

    thank you