Linux Mint Link: Install Hevc Codec For Mkv Video On
For Intel GPUs (most laptops/desktops):
sudo apt install intel-media-va-driver vainfo
For AMD GPUs:
sudo apt install mesa-va-drivers vainfo
For NVIDIA GPUs (proprietary driver required):
sudo apt install nvidia-driver-545 nvidia-vaapi-driver
Firefox does not support HEVC natively on Linux. Use one of these alternatives:
If you are looking for a specific URL to solve this problem, the most direct destination is usually the VideoLAN (VLC) website or the Linux Mint Software Manager.
However, there is no single "codec pack" link like there used to be in the Windows XP era. On Linux Mint, the "link" is effectively a system package called libx265. install hevc codec for mkv video on linux mint link
Here are the three best ways to bridge the gap.
Sometimes, installing the codec isn't enough. If you are playing a high-resolution HEVC file (like a 4K MKV movie) on older hardware, the video might play slowly or choppy because the CPU is doing all the work. You need hardware acceleration.
In this case, the "link" you need is the VA-API driver for your specific graphics card.
For Intel/AMD Graphics:
sudo apt install mesa-va-drivers
For NVIDIA Graphics:
NVIDIA support is often handled automatically if you have the proprietary drivers installed (via Driver Manager), but you may need libva-nvidia-driver on newer distributions. For Intel GPUs (most laptops/desktops): sudo apt install
If you’ve just installed Linux Mint and tried to play an .mkv file or an HEVC (H.265) video, you might have encountered a black screen, stuttering playback, or an error message saying the codec is missing.
This is a common hurdle because Linux Mint, by default, ships without proprietary media codecs to avoid licensing issues in certain regions. The MKV container is supported, but the HEVC video stream inside it often requires a little extra work.
In this guide, we will walk through the easiest way to fix this so you can watch your high-quality videos smoothly.
Linux Mint prioritizes open-source software. HEVC (H.265) is heavily patent-encumbered. While the operating system includes robust open-source decoders (like libavcodec), they often lack full support for the latest HEVC profiles (like 10-bit or Main12) or optimized hardware decoding. As a result, your CPU struggles to software-decode the video, leading to stuttering, high fan noise, or outright failure to play the file.
The MKV (Matroska) container adds another layer: it supports almost any codec. Your system might read the MKV file structure but then fail when it encounters the HEVC video stream inside. For AMD GPUs: sudo apt install mesa-va-drivers vainfo
HEVC (High Efficiency Video Coding), also known as H.265, is a modern video compression standard commonly used in MKV (Matroska) containers. It offers roughly 50% better compression than H.264 at the same quality. However, due to patent and licensing issues, Linux Mint (and most Linux distributions) does not include HEVC support out of the box.
This guide provides multiple methods to enable HEVC playback on Linux Mint, from simple software solutions to hardware-accelerated decoding.
Run:
vainfo
You should see a line containing VAProfileHEVCMain or VAProfileHEVCMain10. If present, your GPU can hardware-decode HEVC.