Install Hevc Codec For Mkv Video On Linux Mint Link Jun 2026
to verify VA-API works.
Complete Guide: How to Install HEVC Codec for MKV Videos on Linux Mint
If you’ve recently switched to Linux Mint and tried to open a modern MKV video file—especially one recorded in 4K or 8K from a smartphone, action camera, or Blu-ray rip—you might have been greeted with an error message: “Could not decode stream” or simply a black screen with audio playing. The culprit? A missing codec, also known as H.265.
Open your Application Menu , go to Sound & Video , and click Install Multimedia Codecs . install hevc codec for mkv video on linux mint link
Once the installation finishes, restart your media player and attempt to open your MKV file again. Method 2: Use VLC Media Player (Self-Contained Codecs)
sudo apt upgrade
If you have installed the codecs but are still experiencing problems, here are some common issues and their solutions. to verify VA-API works
A window will pop up prompting you to install the mint-meta-codecs package.
sudo apt-add-repository ppa:strukturag/libde265 sudo apt update Use code with caution. Copied to clipboard : For VLC : sudo apt install vlc-plugin-libde265 .
You should see a line containing VAProfileHEVCMain or VAProfileHEVCMain10 . If present, your GPU can hardware-decode HEVC. A missing codec, also known as H
Linux Mint features an official meta-package that installs all essential audio and video codecs at once, including x265/HEVC. This allows native, GStreamer-based default players (like Celluloid or Xplayer) to play your MKV files. Option A: Via the Graphical Interface (GUI) Open the (Launch Menu). Navigate to Sound & Video . Click on Install Multimedia Codecs . Follow the on-screen prompts and click Install . Enter your account password to authorize the changes. Option B: Via the Terminal
If you prefer not to manage system-wide codecs, certain players come bundled with their own internal libraries for HEVC: How to install H.265 / HEVC codec on Ubuntu Linux?
sudo apt install vlc -y
sudo apt install nvidia-driver-XXX
While the initial setup requires a few terminal commands, the result is a robust and privacy-respecting system that rivals any commercial operating system for media playback, entirely free and open-source.