Post

Enabling H.246, H.256 and VC1 VA-API codecs in Fedora 37

For legal reasons Fedora 37 decided to build Mesa without support for H.246, H.256 and VC1 VA-API codecs. (discussion thread)

Luckely, installing a build that enables those is fairly easy:

  1. Enable RPMFusion
  2. Install mesa with the codecs enabled
1
sudo dnf install mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld

or swap it out if it’s already installed

1
2
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
  1. Install some additional codecs
1
2
3
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video
sudo dnf install @multimedia @sound-and-video ffmpeg-libs gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav lame\*

and you should be good to go.

This post is licensed under CC BY 4.0 by the author.