Video playback issues on Firefox.
I’m struggling to understand why the universe is screaming about this issue. Usually that means I have a localised issue but in this case I don’t think so.
That’s a video on a website. No YouTube, just an MP4 and highly unlikely to be anything but ordinary.
I can download and play the video, I can’t play it on Firefox.
There was some “buck passing” on Bugzillia with the recommendation that I use a different decoder and a claim this issue stems from Redhat.
Can someone try the above video using Firefox and any other browser?
I’d like to get to the following…
the problem is here or the problem is universal
is the problem owned by Firefox or is it deeper in the system
I’m happy to follow up on Bugzilla. I’d just like some proof that the issue isn’t just on this computer.
You are likely missing codecs/libraries for firefox.
dnf install epel-release rpmfusion-free-release -y
dnf install compat-ffmpeg4 ffmpeg gstreamer1-plugin-openh264 mozilla-openh264 gstreamer1-plugins-ugly -y
You can search for others via
dnf search gstreamer if needed after.
Been through your suggestions N and added other items that I likely will never need.
This test page
This web page is provided to test video support on a device used to browse the Internet. There are three different formats of the same video, MPEG-4, WebM and Ogg. See which formats your device supports.
It is the MP4 videos that fail.
dnf install gstreamer1-plugin-openh264.x86_64
Last metadata expiration check: 1:24:38 ago on Tue 10 Oct 2023 22:01:26.
Package gstreamer1-plugin-openh264-1.18.2-1.el9.x86_64 is already installed.
Nothing to do.
And I rebooted just to be sure.
And I loaded Opera and get the same results.
System: AlmaLinux 9
Plain Firefox could replay all but the mp4 from that test page.
EPEL has now a side channel (
epel-cisco-openh264) with four packages. I did install three of them:
dnf install gstreamer1-plugin-openh264 mozilla-openh264 openh264
The mp4 did remain dead, so I did add ugly from RPM Fusion:
dnf install gstreamer1-plugins-ugly
The mp4 did remain dead, so I did add ffmpeg from RPM Fusion (which did pull 50 other packages):
dnf install ffmpeg
Now Firefox plays that mp4 for me.
dnf install ffmpeg
Last metadata expiration check: 2:44:37 ago on Tue 10 Oct 2023 22:01:26.
Problem: problem with installed package ffmpeg-free-5.1.3-1.el9.x86_64
package ffmpeg-5.1.3-1.el9.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-5.1.3-1.el9.x86_64
(try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
dnf install ffmpeg --allowerasing
Still no luck…
And the following changes, Firefoox – about:config
Seems to work but will need more testing.
ffmpeg-free and ffmpeg cannot be installed together. You should use
dnf swap ffmpeg-free ffmpeg instead. Else, dnf remove and then install.
Firefox for Linux includes a complete video player (
gstreamer was given up years ago). It is backed by a stripped-down version of
libavcodec.so.* for patent reasons. But it can instead
dlopen a full-featured
libavcodec.so.* installed in the system if it finds one. All you need to say is
# yum install ffmpeg-libs
if you have rpmfusion enabled and that’s it. Of course, rpmfusion has many packages that depend on
I did get this working. Sorry if I didn’t reply, I no I reported success but might have done so in Bugzillia.
dnf install ffmpeg-libs
That would have been the solution.