How to Install HEVC Codec for MKV Video on Linux Mint High Efficiency Video Coding also known as H.265 is the standard for modern high definition MKV files. While Linux Mint is a powerful and user-friendly operating system it does not always ship with proprietary codecs pre-installed due to licensing restrictions. If you are trying to play an MKV video and only hearing audio or seeing a black screen you likely need to install the HEVC codec. This guide will walk you through the process using the terminal and software manager.
Create MPV config file:
If you prefer not to use the terminal, Linux Mint provides a built-in tool: Launch Menu Sound & Video Install Multimedia Codecs Follow the on-screen prompts to complete the installation. Recommended Media Players install hevc codec for mkv video on linux mint link
vainfo
Alternatively, if you are using a newer version of Linux Mint, you might consider installing the Flatpak version of your preferred media player from the Software Manager. Flatpaks are sandboxed and usually include the most up-to-date versions of HEVC decoders. Search for Celluloid or VLC in the Software Manager and look for the Flatpak source option in the dropdown menu. How to Install HEVC Codec for MKV Video
: For players like Celluloid (the default Mint player) or Totem, you may need specific plugins: sudo apt install gstreamer1.0-libav External PPA (Advanced) : For older versions or specific needs, the libde265 PPA can provide direct H.265 support. Open your Menu (bottom-left corner)
You should see a line containing VAProfileHEVCMain or VAProfileHEVCMain10. If present, your GPU can hardware-decode HEVC.