How do I enable h265 HEVC playback in Fedora 41 or 42? (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!

2 Likes

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

5 Likes

How can I get this sheet?

Put about:support#media in the Firefox address bar.

1 Like

I’m on version 143 and only VP9 & VP8 are supported by hardware decoding!

Almost all codecs (like H264) have hardware decoding disabled with this flag: FEATURE_FAILURE_VIDEO_DECODING_MISSING

HEVC is not supported even by software, with this flag:
BLOCKLIST_FEATURE_FAILURE_VIDEO_DECODING_MISSING

Do you know why? I’ve installed Fedora yesterday on this laptop with this GPU: Intel Iris Xe Graphics.
I had problems to configure all the peripherals, but the GPU worked out of the box, so I wasn’t expecting this result.

Thanks for the codec BTW :wink:

If you install ffmpeg from rpm_fusion, you don’t need libavcodec-freeworld

1 Like