Skip to content

Latest commit

 

History

History
81 lines (57 loc) · 2.24 KB

installing-openh264-and-mesa-from-rpmfusion.md

File metadata and controls

81 lines (57 loc) · 2.24 KB

Installing OpenH264 and Mesa from RPM Fusion

The majority of the instructions come or have been adapted from the RPM Fusion Multimedia wiki page.

Enabling and Installing Cisco OpenH264

Fedora 40

sudo dnf config-manager --set-enabled fedora-cisco-openh264
sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264

Fedora 41

sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1
sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264

Setting Up RPM Fusion Repositories

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

Install Full ffmpeg

sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf install libavcodec-freeworld ffmpeg --allowerasing

Installing Mesa Drivers for AMD Radeon

sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld

Installing Multimedia Programs, Tools and Dependencies from RPM Fusion

Fedora 40

sudo dnf install libva-utils mpv nvtop libavcodec-freeworld vainfo
sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf update @sound-and-video

Fedora 41

sudo dnf install libva-utils mpv nvtop libavcodec-freeworld vainfo
sudo dnf group upgrade multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf group upgrade sound-and-video

Install Support for Playing DVDs

sudo dnf install rpmfusion-free-release-tainted
sudo dnf install libdvdcss

Install Additional Firmware

sudo dnf install rpmfusion-nonfree-release-tainted
sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"

Enable VA-API and OpenH264 in Firefox

Open Firefox, browse to about:config and set the following parameters to true (add them if they are not already present):

  • media.gmp-gmpopenh264.autoupdate
  • media.gmp-gmpopenh264.enabled
  • media.gmp-gmpopenh264.provider.enabled
  • media.peerconnection.video.h264_enabled
  • media.ffmpeg.vaapi.enabled