Install Hevc Codec For Mkv Video On Linux Mint Link May 2026

Installing the HEVC (H.265) codec on Linux Mint is typically a one-click affair, though users occasionally run into hitches that require terminal commands. For most users, the standard multimedia package provides everything needed to play .mkv files smoothly. Quick Setup Guide

The "Official" Way: Go to Launch Menu ‣ Sound & Video ‣ Install Multimedia Codecs. This installs the mint-meta-codecs package, which is a comprehensive bundle for most modern media formats.

The Terminal Shortcut: If the menu option is missing, open a terminal and run:sudo apt install mint-meta-codecs. Troubleshooting Playback Issues

If you have already installed the standard codecs but .mkv files still won't play, consider these targeted fixes:

Install Enhanced Libraries: The standard libavcodec package may lack some high-efficiency support. You can replace it with the "extra" version by running:sudo apt install libavcodec-extra.Note: This might prompt you to remove the standard version, as they cannot coexist.

Specific GStreamer Plugins: For players like Celluloid or Totem, you may need specific plugins for H.265 content:sudo apt install gstreamer1.0-libde265.

VLC Plugin: If VLC specifically gives a decoding error, use:sudo apt install vlc-plugin-libde265. Pro Tip: Use Self-Contained Players How to install H.265 / HEVC codec on Ubuntu Linux?

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.

The most effective way to handle HEVC playback in Linux Mint is to install the meta-package for multimedia codecs. This package includes a wide array of tools for handling restricted formats. Open your terminal by pressing Ctrl+Alt+T and enter the following command: sudo apt update && sudo apt install mint-meta-codecs

This single command refreshes your package list and installs the necessary drivers for H.265 and other common video formats. During the installation you may be prompted to accept a license agreement for Microsoft fonts or other proprietary bits. Use the Tab key to highlight the OK button and press Enter to proceed.

If you prefer a specific media player that handles codecs internally, VLC Media Player is the gold standard. VLC comes with its own set of built-in libraries which often bypasses the need for system-wide codec installations. You can install it via the terminal with: sudo apt install vlc install hevc codec for mkv video on linux mint link

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.

For users who need hardware acceleration to prevent high CPU usage during 4K MKV playback, you should also ensure your graphics drivers are up to date. Navigate to the Driver Manager in your system settings. If you have an NVIDIA or AMD GPU, ensure you are using the recommended proprietary drivers. This allows the GPU to handle the heavy lifting of decoding HEVC frames rather than relying on your processor.

Once these steps are complete, restart your media player and open your MKV file. Your video should now play smoothly with full visual clarity and synced audio. By keeping your system updated with these meta-codecs, you ensure compatibility with almost any modern video file you encounter.

To play MKV files with HEVC (H.265) content on Linux Mint, you generally need to install the multimedia codecs package if you didn't check the box during your initial installation. Option 1: The Graphical Way (Recommended) This is the easiest method for most users. Open your Menu and search for "Multimedia Codecs". Click Install.

Enter your password when prompted and wait for the process to finish. Option 2: Using the Terminal

If you prefer the command line, run this command to install the same meta-package: sudo apt update && sudo apt install mint-meta-codecs Use code with caution. Copied to clipboard

This package includes a collection of essential codecs like FFmpeg, libav, and GStreamer that allow your system to recognize and decode MKV and HEVC formats. Troubleshooting HEVC Issues

If your video still won't play or is stuttering, try these specific fixes: Read mkv video - Linux Mint Forums

To play HEVC (H.265) content in MKV containers on Linux Mint, you can install the necessary codecs via the system's official multimedia package or through specific library plugins. Option 1: Install Official Multimedia Codecs (Recommended)

Linux Mint provides a meta-package that includes the most common multimedia codecs, including those needed for HEVC and MKV playback. Installing the HEVC (H

GUI Method: Open your Application Menu, go to Sound & Video, and click Install Multimedia Codecs.

Terminal Method: Open a terminal and run the following command: sudo apt install mint-meta-codecs Use code with caution. Copied to clipboard

This package installs essential libraries such as FFMPEG and GStreamer plugins that handle HEVC decoding. Option 2: Install Specific HEVC Plugins

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. For VLC Media Player: 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

Players like VLC and SMPlayer often come with their own built-in codec libraries and may play HEVC MKV files without needing additional system-wide installations. You can install them via the Linux Mint Software Manager or the terminal: sudo apt install vlc smplayer Use code with caution. Copied to clipboard Helpful Resources

Linux Mint Installation Guide: Multimedia Codecs: Official documentation on enabling media support.

Linux Mint Forums: HEVC Discussion: Community troubleshooting for MKV and HEVC playback. Multimedia codecs - Linux Mint Installation Guide

HEVC (H.265) video files like MKVs on Linux Mint, you typically need to install the multimedia codecs package or use a media player that includes them. While Linux Mint provides an option to install these during the initial OS setup, you can easily add them later if you missed that step. Direct Installation Methods

The most reliable way to get HEVC support system-wide is through the terminal or the standard Mint tools. Linux Mint Welcome Screen : Open the Welcome Screen from your application menu, go to First Steps , and click on Multimedia Codecs Terminal Command

: Run the following command to install the official Mint codec package: sudo apt install mint-meta-codecs Alternative (Ubuntu-based) Open VLC → Tools → Preferences Click Input/Codecs

: You can also use the Ubuntu equivalent, though the Mint-specific package is recommended for compatibility: sudo apt install ubuntu-restricted-extras Recommended Media Players

If you prefer not to install system-wide codecs, certain players handle HEVC "out of the box" because they use their own internal libraries: VLC Media Player

: Versions 3.0 and above support HEVC natively without extra plugins. You can install it via: sudo apt install vlc

: A lightweight player that also includes its own codecs for HEVC and MKV playback. Install it via: sudo apt install mpv Troubleshooting Playback Issues

If you still experience lag, stuttering, or errors with MKV files: Install Video codecs in Linux Mint

Step 4: Configure VLC for hardware decoding


Using HandBrake GUI:

  1. Install HandBrake: sudo apt install handbrake -y
  2. Open HandBrake → Open Source → select your MKV
  3. Choose Fast 1080p30 preset
  4. Click Start Encode

Step 2: Install the Full Multimedia Codecs

Run the following command to install all standard audio/video codecs, including the open-source HEVC decoder:

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").

Introduction

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.


Method 1: The "One-Click" Solution (VLC Media Player)

The absolute easiest way to solve HEVC playback on Linux Mint is to install VLC Media Player. VLC is a self-contained "Swiss Army Knife" that includes its own internal libraries for HEVC and MKV playback, bypassing the need to install system-wide codecs.

The Link: videolan.org/vlc

How to install via Terminal (often faster):

  1. Open a terminal (Ctrl+Alt+T).
  2. Type the following command and press Enter:
    sudo apt update
    sudo apt install vlc
    
  3. Open your MKV file with VLC. It should play immediately.