Is there something I have to install to get videos to play properly on the X page in Firefox? I’m using COSMIC Atomic 42.
Never used Cosmic, but if it comes with Firefox installed by default, then you need to install the codecs via RPM Fusion. Personally on Silverblue / Kinoite, I install Firefox from Flathub, which supersedes the default Firefox and then install the ffmpeg
flatpak package. It’s simpler and the Firefox from Flatpak comes with all the codecs, while I believe Firefox flatpak from Fedora faces the same problem as Fedora in general, they can’t bundle stuff in the Flatpak they can’t bundle in regular Firefox.
I got the repositories installed but when I tried to install ffmpeg I got this:
hecking out tree 0ddf8a6... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2025-03-19T16:53:39Z solvables: 6
rpm-md repo 'updates' (cached); generated: 2025-08-16T01:06:55Z solvables: 21984
rpm-md repo 'fedora' (cached); generated: 2025-04-09T11:06:59Z solvables: 76879
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2025-08-13T21:55:23Z solvables: 84
rpm-md repo 'rpmfusion-free' (cached); generated: 2025-04-12T09:12:27Z solvables: 358
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2025-08-13T22:19:26Z solvables: 59
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2025-04-12T09:32:45Z solvables: 218
rpm-md repo 'updates-archive' (cached); generated: 2025-08-16T02:18:24Z solvables: 35570
Resolving dependencies... done
error: Could not depsolve transaction; 1 problem detected:
Problem: conflicting requests
- package ffmpeg-7.1.1-6.fc42.x86_64 from rpmfusion-free-updates conflicts with ffmpeg-free provided by ffmpeg-free-7.1.1-4.fc42.x86_64 from @System
- package ffmpeg-7.1.1-5.fc42.x86_64 from rpmfusion-free conflicts with ffmpeg-free provided by ffmpeg-free-7.1.1-4.fc42.x86_64 from @System
Did you read the HowTo
section for Multimedia
here?
Edit: Forgot to add the link to the OSTree HowTo as well.
You can also try installing libavcodec-freeworld
from the RPM-Fusion repos, in case you want to stick with Firefox package from the base install:
rpm-ostree install libavcodec-freeworld
That did the trick. Thanks.