The error you’re encountering, NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005), suggests that there’s an issue with the FFmpeg codec needed to play .mp4 files in Firefox on Fedora Silverblue. To resolve this, you may need to install additional codecs that are not included by default due to licensing restrictions.
Here’s what you can do:
Install the necessary codecs:
You might need to install the ffmpeg package, which includes the avcodec library that Firefox requires to play .mp4 files.
Since Fedora Silverblue uses rpm-ostree, you would typically install packages like this:
rpm-ostree install ffmpeg
After running the command, you’ll need to reboot your system for the changes to take effect.
Enable RPM Fusion repositories:
If ffmpeg is not available in the default repositories, you may need to enable the RPM Fusion repositories, which provide additional packages that are not shipped by Fedora for various reasons.
Check for browser compatibility:
Ensure that your version of Firefox is compatible with the codecs. Sometimes, a browser update or a fresh installation might be required.
Unfortunately the package does not exist, the following can be found for the term ffmpeg
rpm-ostree install ffmpeg
error: Packages not found: ffmpeg
rpm-ostree search ffmpeg
===== Summary & Name Matched =====
ffmpegthumbs : KDE ffmpegthumbnailer service
ffmpeg-free-devel : Development package for ffmpeg
python3-ffmpeg-python : Python bindings for FFmpeg - with complex filtering support
vlc-plugin-ffmpeg : VLC media player FFmpeg plugins
===== Name Matched =====
ffmpegthumbs : KDE ffmpegthumbnailer service
ffmpeg-free : A complete solution to record, convert and stream audio and video
ffmpeg-free-devel : Development package for ffmpeg
python3-ffmpeg-python : Python bindings for FFmpeg - with complex filtering support
vlc-plugin-ffmpeg : VLC media player FFmpeg plugins
===== Summary Matched =====
ffmpegthumbs : KDE ffmpegthumbnailer service
gstreamer1-plugin-libav : GStreamer FFmpeg/LibAV plugin
indi-3rdparty-webcam : INDI driver for ffmpeg based webcams
audacious-plugins-ffaudio : FFmpeg input plugin for Audacious
ffmpeg-free-devel : Development package for ffmpeg
kmplayer : A simple front-end for MPlayer/FFMpeg/Phonon
libavcodec-free : FFmpeg codec library
libavcodec-free-devel : Development files for FFmpeg's codec library
libavdevice-free : FFmpeg device library
libavdevice-free-devel : Development files for FFmpeg's device library
libavfilter-free : FFmpeg audio and video filtering library
libavfilter-free-devel : Development files for FFmpeg's audio/video filter library
libavformat-free : FFmpeg's stream format library
libavformat-free-devel : Development files for FFmpeg's stream format library
libavutil-free : FFmpeg's utility library
libavutil-free-devel : Development files for FFmpeg's utility library
libpostproc-free : FFmpeg post-processing library
libpostproc-free-devel : Development files for the FFmpeg post-processing library
libswresample-free : FFmpeg software resampling library
libswresample-free-devel : Development files for the FFmpeg software resampling library
libswscale-free : FFmpeg image scaling and colorspace/pixel conversion library
libswscale-free-devel : Development files for FFmpeg's image scaling and colorspace library
nv-codec-headers : FFmpeg version of Nvidia Codec SDK headers
python3-ffmpeg-python : Python bindings for FFmpeg - with complex filtering support
vlc-plugin-ffmpeg : VLC media player FFmpeg plugins
After adding the repo i get a conflict if i try to install it.
error: Could not depsolve transaction; 1 problem detected:
Problem: package ffmpeg-libs-6.1.1-8.fc40.x86_64 from rpmfusion-free conflicts with libavcodec-free provided by libavcodec-free-6.1.1-8.fc40.x86_64 from @System
- package ffmpeg-6.1.1-8.fc40.x86_64 from rpmfusion-free requires ffmpeg-libs(x86-64) = 6.1.1-8.fc40, but none of the providers can be installed
- conflicting requests
It wouldn’t be my choice, but you can always try installing Firefox as a Flatpak. It’s provided by Mozilla. Media playback works out of the box.
For media outside of your browser, installing the Celluloid flatpak is a great option. It also comes directly from the developer with support for lots of codecs, including the patent-encumbered ones found in .mp4.
You have the extra Gdk-CRITICAL error that I don’t. It seems like it’s failing to find your monitor? Which has nothing to do with codecs or RPM Fusion; it’s a far more fundamental failure.
For future reference, Tealk installed the Fedora flatpak for Celluloid, which was why it wasn’t working. The Fedora Flatpak lacks decoding support for H.264/H.265. When Tealk installed the Flathub version, it worked perfectly.