sudo apt install libde265-0 libheif-examples Then restart your media player. Solution: Ensure your user is in the video group to access the GPU decoder:
sudo apt install intel-media-va-driver vainfo For GPUs: install hevc codec for mkv video on linux mint link
sudo apt install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly The and "ugly" plugin sets contain the HEVC decoders that are patent-sensitive. Step 4: Verify Installation Test an MKV file with the ffmpeg command line tool: Many media players (like Celluloid or Gnome Videos)
mkdir -p ~/.config/mpv/ nano ~/.config/mpv/mpv.conf Add these lines to enable HEVC hardware decoding via VA-API: Method 1: The Safe & Easy Way (Using
sudo apt install ubuntu-restricted-extras ffmpeg Note: You must accept the Microsoft TrueType core fonts EULA when prompted (use the Tab key to select "OK"). Many media players (like Celluloid or Gnome Videos) rely on GStreamer backends. Install the specific HEVC plugin:
The 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. Method 1: The Safe & Easy Way (Using Repository Restriction Removal) Linux Mint (based on Ubuntu) segregates certain codecs into a package called ubuntu-restricted-extras . However, this does not always include full HEVC support. For MKV playback, we need to enable a more comprehensive package set. Step 1: Ensure Your System is Updated Open a terminal ( Ctrl + Alt + T ) and run: