Install Hevc: Codec For Mkv Video On Linux Mint Link

Install Hevc: Codec For Mkv Video On Linux Mint Link

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

Firefox does not support HEVC natively on Linux. Use one of these alternatives:

VLC Media Player bundles its own codec libraries, completely independent of the system. If you only need to play MKV files (not edit them), VLC is the least troublesome route.

If you prefer to use the default Linux Mint video player (Xplayer) or another lightweight player, you need to install the multimedia codecs system-wide. Linux Mint makes this very user-friendly.

Via Software Manager:

Via Terminal: For a comprehensive installation that covers almost all video formats, run this command:

sudo apt install ubuntu-restricted-extras

(Note: Linux Mint is based on Ubuntu, so this package works perfectly and installs the necessary fonts and codecs for MKV/HEVC.)


Chrome on Linux also lacks native HEVC support. Install the Native MPEG-Dash + HLS extension, but success is limited. Best to use a dedicated media player.


Test an MKV file with the ffmpeg command line tool:

ffmpeg -i /path/to/your/video.mkv

Look for the line: Stream #0:0: Video: hevc (Main 10), ... — if ffmpeg identifies it, your system recognizes the codec.


If your hardware is too old for HEVC decoding, convert the file.

Legal disclaimer: HEVC is covered by patents from MPEG LA and others. Software decoding is generally considered legal for end users, but distribution of codecs may require licensing. Linux Mint does not include HEVC support to avoid patent litigation.

Alternative codec: Consider using AV1 (royalty-free) for future encoding instead of HEVC.

Testing file: Download a sample HEVC MKV from samples.ffmpeg.org to verify your setup.


By following this guide, you should now be able to play HEVC-encoded MKV videos smoothly on Linux Mint. For persistent issues, consult the Linux Mint Forums or r/linuxmint on Reddit. install hevc codec for mkv video on linux mint link

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) encoded MKV videos on Linux Mint, you typically need to install the multimedia codec meta-package or specific plugins for players like VLC and GStreamer. Method 1: Install System-Wide Multimedia Codecs

The most comprehensive way to resolve codec issues in Linux Mint is to install the official meta-package. This includes a wide range of codecs beyond just HEVC.

Via the Menu: Navigate to Menu > Sound & Video > Install Multimedia Codecs and follow the prompts to install. Via Terminal: Open the terminal and run: sudo apt install mint-meta-codecs Use code with caution. Copied to clipboard

This command installs the full suite of proprietary and restricted codecs required for most media formats. Method 2: Install HEVC Support via PPA

If the standard meta-package does not work or if you are using an older version of Mint, you can use the libde265 PPA to add high-efficiency video decoding support. Add the Repository:

sudo apt-add-repository ppa:strukturag/libde265 sudo apt update Use code with caution. Copied to clipboard Install Plugins: For VLC: sudo apt install vlc-plugin-libde265.

For GStreamer (System Players): sudo apt install gstreamer1.0-libde265. Method 3: Alternative Media Players

Some players come with built-in support for HEVC and do not require additional system-wide codecs.

VLC Media Player: Newer versions of VLC Media Player often support H.265 out of the box, but if it fails, the vlc-plugin-libde265 mentioned above is the standard fix.

MPV/Celluloid: Many users on the Linux Mint Forums report that players like Celluloid (formerly GNOME MPV) handle HEVC content natively without extra configuration. Run the following command to install all standard

For further troubleshooting, you can check the specific codec inside your MKV file by running mkvinfo filename.mkv | grep "Codec ID" in the terminal.

How to configure H.265/HEVC in Linux? - Tutorial - Dedoimedo

To play HEVC (H.265) encoded MKV videos on Linux Mint, the most direct method is to install the Multimedia Codecs

, which contains all essential decoders for modern video formats. 1. Graphical Installation

This is the easiest method if you didn't select "Install multimedia codecs" during your initial OS installation: Navigate to Sound & Video Install Multimedia Codecs Follow the prompts to complete the installation. Linux Mint Installation Guide 2. Terminal Installation

If you prefer using the command line, you can install the meta-package directly: Open the terminal ( Ctrl+Alt+T Run the following command: sudo apt update && sudo apt install mint-meta-codecs Use code with caution. Copied to clipboard Enter your password when prompted and confirm with "Y". 3. Alternative: Use VLC Media Player Many users prefer VLC Media Player

because it comes with built-in support for nearly all codecs, including HEVC, without requiring extra system-wide configuration. To install VLC: sudo apt install vlc

If VLC is already installed but fails to play HEVC, ensure the plugin is present: sudo apt install vlc-plugin-libde265 Use code with caution. Copied to clipboard Troubleshooting Hardware Acceleration:

If high-resolution videos (like 4K HEVC) are lagging, go to VLC Preferences > Input / Codecs and ensure Hardware-accelerated decoding is set to "Automatic" or "VA-API". GStreamer Support:

For native players like "Videos" (Totem) to work, you may need the specific GStreamer plugin: sudo apt install gstreamer1.0-libde265 Use code with caution. Copied to clipboard Linux Mint for 4K video or troubleshooting a specific error message you're seeing?

Multimedia codecs — Linux Mint Installation Guide documentation

To install the HEVC (H.265) codec for MKV videos on Linux Mint, you can use a single terminal command to install the essential multimedia package: sudo apt update && sudo apt install mint-meta-codecs Use code with caution. Copied to clipboard The "Mystery of the Silent Screen"

Once upon a time, a user named Alex finally made the jump from Windows to Linux Mint. Everything felt perfect—the desktop was snappy, the interface was clean, and the community was welcoming. But Alex had a treasure trove of high-definition movies in .mkv format, specifically encoded in HEVC (High Efficiency Video Coding) to save space while keeping things "razor sharp".

Alex double-clicked the favorite film, but instead of the opening scene, VLC Media Player greeted them with a cryptic message: “No suitable decoder module: VLC does not support the audio or video format 'hevc'”. It felt like having a locked chest without a key.

Determined, Alex opened the Terminal (the "magic wand" of Linux) and whispered the ancient command: sudo apt install mint-meta-codecs. The computer asked for a password, then downloaded a bundle of codecs—the secret translators that help the computer understand complex video files. Note: You must accept the Microsoft TrueType core

A few seconds later, the installation finished. Alex reopened the file, and like magic, the screen burst into life with vibrant colors and crisp details. The missing link had been found, and the silent screen was silent no more. Direct Installation Methods

If you prefer a different approach or need specific plugins, try these alternatives:

The Built-in Shortcut: Navigate to Launch Menu ‣ Sound & Video ‣ Install Multimedia Codecs.

VLC Specific Support: If VLC still struggles, install the dedicated plugin: sudo apt install vlc-plugin-libde265 Use code with caution. Copied to clipboard %%MAGIT_PARSER_PROTECT%% ``` HEVC H.265 - Where's the love? - Linux Mint Forums

To play HEVC (H.265) video content within an MKV container on Linux Mint, you can install the essential multimedia codecs via the terminal or the system menu. Quick Installation Method

The most straightforward way to ensure your system supports HEVC and other restricted formats is to install the mint-meta-codecs (Ctrl+Alt+T). Run the following command: sudo apt update && sudo apt install mint-meta-codecs

Enter your password when prompted and confirm the installation. Alternative: GUI Method

If you prefer not to use the terminal, Linux Mint provides a built-in tool: Launch Menu Sound & Video Install Multimedia Codecs Follow the on-screen prompts to complete the installation. Recommended Media Players

If you still encounter playback issues after installing the codecs, consider using a player that includes its own built-in codec library, bypassing the need for system-wide configuration: VLC Media Player

: 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

: Known for its ability to play virtually any format without external codecs. It is available for download at the SMPlayer official site

: The default player in Linux Mint, which acts as a frontend for

and generally handles HEVC well if system codecs are present. Troubleshooting HEVC Playback Install multimedia codecs - Linux Mint Forums Nov 6, 2556 BE —

The search query "install hevc codec for mkv video on linux mint link" usually stems from a moment of frustration: you’ve downloaded a video file, you try to open it, and you are met with a black screen, stuttering audio, or an error message demanding a plugin.

On Linux Mint, playing High Efficiency Video Coding (HEVC/H.265) files—especially those wrapped in an MKV container—is remarkably easy, but it requires one specific software installation that the operating system cannot legally include out of the box due to licensing restrictions.

Here is a look into how to solve this, where to find the necessary "link," and the easiest ways to get your media working.