Skip to content

Instantly share code, notes, and snippets.

@thass0
Created May 1, 2025 14:18
Show Gist options
  • Select an option

  • Save thass0/2a86e847fac1f08695f1cf35f6e42b61 to your computer and use it in GitHub Desktop.

Select an option

Save thass0/2a86e847fac1f08695f1cf35f6e42b61 to your computer and use it in GitHub Desktop.
Fedora Linux openh264 fix

On all Fedora systems that I have recently installed on my Framework Laptop (Intel 11th gen), I had trouble with video playback (in Chromium).

Because I have repeatedly struggled to resolve the issue, I will write down here the steps I just took to finally resolve.

The key insight of using ffmpeg-libs is from this Reddit post.

To summarize:

  • Don't follow the Fedora OpenH264 docs.
  • Instead remove the gstreamer1-plugin-openh264 package (dnf remove gstreamer1-plugin-openh264)
  • Install RPM Fusion (free at least). From the RPM Fusion docs: sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  • Follow the Multimedia install instructions:
    • sudo dnf swap ffmpeg-free ffmpeg --allowerasing
    • sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
    • sudo dnf install intel-media-driver (for Intel)
  • And this was the big win from the Reddit post above: Install ffmpeg-libs

Video playback is all smooth in Chromium now.

This list may include unnessesary/redundant steps. I don't take much issue with installing non-free packages so I didn't try to boil it down to a minimum of (free) packages. So, depending on the system, some of this may not be required, but it works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment