# Install hvec codec

**URL:** <https://discussion.fedoraproject.org/t/install-hvec-codec/177660>\
**Category:** Ask Fedora\
**Created:** [December 20, 2025, 10:10am UTC](https://discussion.fedoraproject.org/t/install-hvec-codec/177660 "2025-12-20T10:10:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![theking2](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/theking2/32/57046_2.png) [@theking2](https://discussion.fedoraproject.org/u/theking2)\
**Post date:** [December 20, 2025, 10:10am UTC](https://discussion.fedoraproject.org/t/install-hvec-codec/177660/1 "2025-12-20T10:10:12Z")

</div>

The steps here no longer work:

> [@Codec (no longer) supported?](https://discussion.fedoraproject.org/t/codec-no-longer-supported/99880):
>
> After the latest system update, I can no longer play .mkv files in VLC media player. I just get the following error: Codec not supported: VLC could not decode the format “hevc” (MPEG-H Part2/HEVC (H.265)) In the years I’ve used VLC, I’ve never seen this before. What’s odd is that the audio for mkv files does work, just no video, and the error message. Other posts don’t have much of a solution and the only advice I get is to install libde265, but the instructions are usually for Ubuntu user…

```plaintext
$ sudo dnf group upgrade --with-optional Multimedia --allowerasing
Unknown argument "--with-optional" for command "upgrade". Add "--help" for more information about the arguments.
The argument is available for commands: group install. (It has to be placed after the command.)

```

I did a reinstall of vlc after removing the `vlc` folders in `~/.config` and `~/.cache` hvec encoded source no longer plays.🙂

> Codec not supported:  
> VLC could not decode the format “hevc” (MPEG-H Part2/HEVC (H.265))

Also this didn´t help:

```plaintext
sudo dnf reinstall https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

```

---

<div class="post-metadata">

**Author:** ![theking2](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/theking2/32/57046_2.png) [@theking2](https://discussion.fedoraproject.org/u/theking2)\
**Post date:** [December 20, 2025, 10:13am UTC](https://discussion.fedoraproject.org/t/install-hvec-codec/177660/2 "2025-12-20T10:13:56Z")

</div>

But this did:

```plaintext
sudo dnf -y swap 'ffmpeg-free' 'ffmpeg' --allowerasing

```

---

<div class="post-metadata">

**Author:** ![computersavvy](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/computersavvy/32/4741_2.png) [@computersavvy](https://discussion.fedoraproject.org/u/computersavvy)\
**Post date:** [December 20, 2025, 4:02pm UTC](https://discussion.fedoraproject.org/t/install-hvec-codec/177660/3 "2025-12-20T16:02:49Z")

</div>

You apparently encountered one of the issues seen in fedora related to the codec restrictions we all see due to fedora and legal issues related to distribution of proprietary/licensed/otherwise restricted software here in the US. rpmfusion does not have the same restrictions since they are not located in the USA.

---

<div class="post-metadata">

**Author:** ![andym](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/andym/32/49798_2.png) [@andym](https://discussion.fedoraproject.org/u/andym)\
**Post date:** [December 20, 2025, 4:06pm UTC](https://discussion.fedoraproject.org/t/install-hvec-codec/177660/4 "2025-12-20T16:06:18Z")

</div>

> [@theking2](#):
>
> The steps here no longer work:

Hi,

I have created a script to remove geo block and install all essential media codecs, it does everything automatically.

try running

```plaintext
curl -sSL https://raw.githubusercontent.com/supertico/fedora-open264-geoblock-fix/main/fedora-cisco-403-mitigation.sh | sudo bash

```

> **[GitHub - supertico/fedora-open264-geoblock-fix: Fedora Linux Cisco openH264 geoblock issue fix +...](https://github.com/supertico/fedora-open264-geoblock-fix)**
>
> Fedora Linux Cisco openH264 geoblock issue fix + multimedia codecs install solution / Решение для снятия блокировки обновлений Fedora Linux из-за геоблока + автоустановка мультимедиа кодеков

hopefully this helps.

---

<div class="post-metadata">

**Author:** ![computersavvy](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/computersavvy/32/4741_2.png) [@computersavvy](https://discussion.fedoraproject.org/u/computersavvy)\
**Post date:** [December 20, 2025, 4:27pm UTC](https://discussion.fedoraproject.org/t/install-hvec-codec/177660/5 "2025-12-20T16:27:05Z")

</div>

> [@theking2](#):
>
> `sudo dnf group upgrade --with-optional Multimedia --allowerasing`

This is a dnf4 syntax command and still does not pull in the omitted codecs since the group is defined in fedora.  
Try the steps shown in the doc

> **[Installing plugins for playing movies and music](https://docs.fedoraproject.org/en-US/quick-docs/installing-plugins-for-playing-movies-and-music/)**
>
> As a Fedora user and system administrator, you can use these steps to install additional multimedia plugins that enable you to play various video and audio types. Procedure Use the…

The second command there could also be used as  
`sudo dnf install @multimedia` for use with dnf5 (the current fedora dnf version).

The additional codecs can almost all be installed from rpmfusion with one command  
`sudo dnf install libavcodec-freeworld x246 x265 --allowerasing`
