Open a terminal ( Ctrl + Alt + T ) and update your system:
sudo apt install gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libavcodec-extra
If your media player still cannot decode HEVC after installing the meta-package, you may need the libde265 plugin, which is specifically designed for H.265 content. sudo apt install vlc-plugin-libde265 Use code with caution. Copied to clipboard For GStreamer-based players (like Xplayer or Totem): sudo apt install gstreamer1.0-libde265 Use code with caution. Copied to clipboard Option 3: Use VLC or SMPlayer install hevc codec for mkv video on linux mint link
: A highly reliable player that supports HEVC out of the box. You can find it on the official VLC website or install it via sudo apt install vlc
This single command handles most of the groundwork, equipping your system with the necessary infrastructure for various audio and video formats. Open a terminal ( Ctrl + Alt +
Consider using AV1 (royalty-free) for future encoding instead of HEVC.
Using the terminal is often faster and ensures you get the full suite of necessary dependencies. Copied to clipboard Option 3: Use VLC or
sudo apt update
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.
A lightweight, high-performance player preferred by power users. Install: sudo apt install mpv Enable Hardware Acceleration
💡 Always ensure you use sudo when installing packages via the terminal to give the system administrative rights. If you're still having trouble, let me know: