How do I enable h265 HEVC playback in Fedora 41? (2025)

I want to watch a video that is in h.265 format.
What is the easist way to install support for h265 in Fedora 41?

From the command line / terminal:

Install RPM Fusion Free repository.

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

and then install libavcodec-freeworld

sudo dnf install libavcodec-freeworld

And now I can watch all my videos!

1 Like

Just wanted to let you know that with today’s Firefox 137 release hardware accelerated h265 (hevc) is also available in Firefox:

3 Likes