less than 1 minute read

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
    $ sudo dnf install mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
    

    or swap it out if it’s already installed

    $ sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
    $ sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
    
  3. Install some additional codecs
    $ 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.

Comments