# Firefox video issues

**URL:** <https://forums.rockylinux.org/t/firefox-video-issues/11527>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [October 9, 2023, 12:15am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527 "2023-10-09T00:15:15Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yani](https://avatars.discourse-cdn.com/v4/letter/y/e9c0ed/32.png) [@Yani](https://forums.rockylinux.org/u/Yani)\
**Post date:** [October 9, 2023, 12:15am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/1 "2023-10-09T00:15:15Z")

</div>

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.

[https://www.prolux-solutions.com/media/content/videos/home/STORAC\_Animation\_VRFB\_mit\_Sprecher\_mit\_Vorschaubild\_DE.mp4#t=0.1](https://www.prolux-solutions.com/media/content/videos/home/STORAC_Animation_VRFB_mit_Sprecher_mit_Vorschaubild_DE.mp4#t=0.1)

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…

1. the problem is here or the problem is universal
2. 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.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [October 9, 2023, 3:36am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/2 "2023-10-09T03:36:00Z")

</div>

You are likely missing codecs/libraries for firefox.

```auto
dnf install epel-release rpmfusion-free-release -y
crb enable
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.

---

<div class="post-metadata">

**Author:** ![Yani](https://avatars.discourse-cdn.com/v4/letter/y/e9c0ed/32.png) [@Yani](https://forums.rockylinux.org/u/Yani)\
**Post date:** [October 10, 2023, 1:33pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/3 "2023-10-10T13:33:52Z")

</div>

Been through your suggestions N and added other items that I likely will never need.

This test page

> **[HTML5 Video Test Page | Tek Eye](https://tekeye.uk/html/html5-video-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.

Checked…

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.  
Dependencies resolved.  
Nothing to do.  
Complete!

And I rebooted just to be sure.

And I loaded Opera and get the same results.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 10, 2023, 2:11pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/4 "2023-10-10T14:11:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yani](https://avatars.discourse-cdn.com/v4/letter/y/e9c0ed/32.png) [@Yani](https://forums.rockylinux.org/u/Yani)\
**Post date:** [October 10, 2023, 3:12pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/5 "2023-10-10T15:12:17Z")

</div>

dnf install ffmpeg  
Last metadata expiration check: 2:44:37 ago on Tue 10 Oct 2023 22:01:26.  
Error:  
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
- conflicting requests  
(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

media.cache\_readahead\_limit 120   
media.cache\_readahead\_limit.cellular 90   
media.decoder-doctor.decode-errors-allowed true   
media.decoder-doctor.decode-warnings-allowed true   
media.decoder-doctor.verbose true   
media.decoder.recycle.enabled true   
media.eme.enabled true   
**media.ffmpeg.allow-openh264 true**  
**media.ffmpeg.vaapi.enabled true**

Seems to work but will need more testing.

Thanks!

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [October 10, 2023, 7:42pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/6 "2023-10-10T19:42:22Z")

</div>

ffmpeg-free and ffmpeg cannot be installed together. You should use `dnf swap ffmpeg-free ffmpeg` instead. Else, dnf remove and then install.

---

<div class="post-metadata">

**Author:** ![chemal](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chemal/32/2238_2.png) [@chemal](https://forums.rockylinux.org/u/chemal)\
**Post date:** [October 11, 2023, 6:02pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/7 "2023-10-11T18:02:07Z")

</div>

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

```auto
 # yum install ffmpeg-libs

```

if you have rpmfusion enabled and that’s it. Of course, rpmfusion has many packages that depend on `ffmpeg-libs` …

---

<div class="post-metadata">

**Author:** ![Yani](https://avatars.discourse-cdn.com/v4/letter/y/e9c0ed/32.png) [@Yani](https://forums.rockylinux.org/u/Yani)\
**Post date:** [November 21, 2023, 6:07am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/8 "2023-11-21T06:07:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ITIStudios](https://avatars.discourse-cdn.com/v4/letter/i/7bcc69/32.png) [@ITIStudios](https://forums.rockylinux.org/u/ITIStudios)\
**Post date:** [January 14, 2024, 8:30pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/9 "2024-01-14T20:30:18Z")

</div>

This solution doesn’t work with out rpmfusion.  
If “Solved” solution doesn’t work for you, follow the steps in the next post by nazunalika

This has been an absolute pain in the as\_.  
I don’t understand why Rocky isn’t including it?

Anyway thanks to both of you, Yani and nazunalika.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [January 15, 2024, 8:46am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/10 "2024-01-15T08:46:58Z")

</div>

> [@ITIStudios](#):
>
> I don’t understand why Rocky isn’t including it?

Include what?

Rocky has what RHEL has. That is the idea behind Rocky.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [January 15, 2024, 12:20pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/11 "2024-01-15T12:20:00Z")

</div>

> [@ITIStudios](#):
>
> I don’t understand why Rocky isn’t including it?

If you don’t know what Red Hat is, and that Rocky is based upon it, then you won’t know why it is or isn’t included. Since Rocky is based on Red Hat then it only has the packages that Red Hat have. That is why third party repositories exist, to allow packages to be installed that don’t exist in Red Hat/Rocky. This is not Debian/Ubuntu with contrib or non-free, or universe/multiverse or wherever the packages come from. Something that people new to EL need to realise before complaining.

Third party repositories also exist for Debian/Ubuntu as well, including PPA’s, so it’s not really different from any other distro.

And if no repo exists, or a package cannot be found, it means building/using the source to build your own. It shouldn’t be expected of **any** distro to have every package possible. Requests can be made, but to third-party repositories like EPEL or whatever to ask for a package to be added if one doesn’t exist. It won’t be possible to ask Rocky or Red Hat to add to their base repositories because that simply won’t happen.

---

<div class="post-metadata">

**Author:** ![ITIStudios](https://avatars.discourse-cdn.com/v4/letter/i/7bcc69/32.png) [@ITIStudios](https://forums.rockylinux.org/u/ITIStudios)\
**Post date:** [January 15, 2024, 7:44pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/12 "2024-01-15T19:44:17Z")

</div>

> [@jlehtone](#):
>
> Include what?

A working version of Firefox.

---

<div class="post-metadata">

**Author:** ![ITIStudios](https://avatars.discourse-cdn.com/v4/letter/i/7bcc69/32.png) [@ITIStudios](https://forums.rockylinux.org/u/ITIStudios)\
**Post date:** [January 15, 2024, 8:03pm UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/13 "2024-01-15T20:03:59Z")

</div>

Wow…  
I was referring to a “working version” of Firefox as part of the Rocky installation.

I found your response inappropriate and unnecessary not to mention offensive and condescending.

I’ve been using Red Hat since we were compiling with their source code under CentOS.  
If you don’t know who CentOS, or what source code is well, let’s just leave it at that.

And once again, thank you, Yani and nazunalika for the solution.

---

<div class="post-metadata">

**Author:** ![Yani](https://avatars.discourse-cdn.com/v4/letter/y/e9c0ed/32.png) [@Yani](https://forums.rockylinux.org/u/Yani)\
**Post date:** [January 16, 2024, 2:24am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/14 "2024-01-16T02:24:47Z")

</div>

> [@iwalker](#):
>
> It shouldn’t be expected of **any** distro to have every package possible.

Yes there are too many specific purposes that Linux fits for that the be the case and I really appreciate this forum and direct access to people in the know.

However, I’d like to say again, that the opportunity for being the version of Linux that wins the hearts and minds of the graphics and video community exists and should be explored under a forum dedicated to that. At least to the point of considering what is possible and what is not.

Reason being, Rocky has won the hearts and minds at Blackmagic so you have a special position in the graphics community. That’s something to build on by upping the game and getting the most recent versions of GIMP, Inkscape etc into a repro.

It’s an opportunity that is current and not something that will last as an opportunity if it isn’t built out.

Tell me the reasons this is wrong. Tell me how I can help if this is correct.

Yani

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [January 16, 2024, 6:19am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/15 "2024-01-16T06:19:28Z")

</div>

> [@Yani](#):
>
> Tell me the reasons this is wrong. Tell me how I can help if this is correct.

Rocky is based on Red Hat - so the base repositories available have only what Red Hat has. Therefore, pretty much everything outside of that is to obtain from third-party repositories like EPEL, rpmfusion, elrepo, etc. Red Hat decided what packages make their repositories, and what they leave out - including the issues here with Firefox and video.

Red Hat obviously have reasons for it, probably to focus on what is better for them and the purpose they see their distribution being used for. The more packages being maintained, means more people having to do it.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 16, 2024, 6:20am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/16 "2024-01-16T06:20:02Z")

</div>

> [@Yani](#):
>
> However, I’d like to say again, that the opportunity for being the version of Linux that wins the hearts and minds of the graphics and video community exists and should be explored under a forum dedicated to that. At least to the point of considering what is possible and what is not.
> 
> Reason being, Rocky has won the hearts and minds at Blackmagic so you have a special position in the graphics community. That’s something to build on by upping the game and getting the most recent versions of GIMP, Inkscape etc into a repro.
> 
> It’s an opportunity that is current and not something that will last as an opportunity if it isn’t built out.

If I’m understanding correctly, this is about “why” we aren’t just rebasing certain packages to the latest/newest (gimp, inkscape, a recent one was about firefox in our IRC channel, and perhaps others), including some packages that third-party repos like EPEL/rpmfusion already have, or not re-enabling features that our upstream purposely disables. Perhaps this is being seen as a “missed opportunity”.

It’s not that we can’t, we don’t because we are following our upstream 1:1 and rely on Special Interest Groups within the project and third-party repositories to provide add-ons to enhance the user experience[1]. By default, we provide extra release packages ([as described here](https://wiki.rockylinux.org/rocky/repo/#community-approved-repositories) and [here](https://forums.rockylinux.org/t/rocky-linux-resources-and-you/7007)) to try to help provide easy access to that enhanced experience, if the user chooses[2][3]. Granted, new users may not be aware of this sort of thing.

It should be noted that EPEL and RPMFusion have been around for a very, very long time serving primarily RHEL but also other rebuilds (like CentOS past and present). They have plenty of experience in this area. As a general rule, they do not replace/update base packages. Instead, they enhance the enterprise linux experience with useful add-on packages.

> [@Yani](#):
>
> Tell me the reasons this is wrong. Tell me how I can help if this is correct.

[1] The reason why we don’t is that it will make us no longer 1:1 with our upstream. However, we have [SIG/FastTrack](https://sig-fasttrack.rocky.page/) that is starting up that could potentially provide rebased packages or additional features that perhaps the other third-party repos do not have nor is our upstreams willing to backport or add in. What it’s going to come down to is one of the following:

1. Put in a request for a package, and they can see what they can do
2. Join/participate in the SIG to add on those packages (we have plenty of great RPM building mentors)

Helping can come down to just requesting (point 1) or joining a special interest group (point 2).

[2] EPEL as far as I know is the most popular add on repository for enterprise linux.

[3] As an example, if someone installs the raspberry pi image we have, it already has the necessary addon repositories installed and enabled to make it work. Rocky Linux (and upstream) was not built nor designed to run on a raspberry pi and this had to be built as an enhancement.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [January 16, 2024, 7:58am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/17 "2024-01-16T07:58:43Z")

</div>

RPM Fusion has _founding principles_: [FoundingPrinciples - RPM Fusion](https://rpmfusion.org/FoundingPrinciples)  
that reveal their repositories to have packages that **can’t** be in Fedora/RHEL/Rocky/EPEL.

---

<div class="post-metadata">

**Author:** ![Yani](https://avatars.discourse-cdn.com/v4/letter/y/e9c0ed/32.png) [@Yani](https://forums.rockylinux.org/u/Yani)\
**Post date:** [January 16, 2024, 8:07am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/18 "2024-01-16T08:07:33Z")

</div>

Goal, make sure Rocky runs on everything.

I haven’t had a lot of “fun” with Inkscape 1.3 or GIMP 2.99 Beta.

Flat pack for Inkscape the menus suck. They work but with weirdness.

I’m up for being more involved once summer gets past the heat here in Australia.

I don’t understand the model of the repos or the business model much.

I can see the potential to leverage on Blackmagic Resolve’s commitment to Rocky as a starting point to build market share in the graphics space. That requires effort over time. I’m not sure how that can be translated into project income.

From readings, the big wins in the last 15 years have come from integration. A phone + camera + GPS + LiDAR + xxx and not from the invention of new tech.

I’d say that Linux for graphics and video people would start with a default of KDE.

VivaDesigner (VD)

> **[Designer](https://viva.systems/designer/)**
>
> VivaDesigner is a professional AI-based design, publishing, layout, typesetting and illustration program for desktop, server and web.

Like Resolve, VD is commercial and has Windows, Mac and Linux versions.

Inkscape and GIMP could never state a preference for a specific version of Linux. I think VD could in the same way as Resolve does.

Don’t know how Rocky won BlackMagic or if BlackMagic just picked Rocky but that is what brought me here. If you are good enough for BlackMagic and Grant then you are doing something right because they a heroic in effort to make customers happy.

If you got VD onboard with Rocky as preferred Linux that would have a similar marketing effect.

Then by means of Help files, I think that would be enough, cover Inkscape, GIMP, Darktable, Scribus…

And the best Help files on the web that are kept up to date on running Windows with QEM and graphics card pass through.

That would be enough to claim “Rocky the best choice for graphics professional” and I doubt anyone would disagree.

We could build out from there.

If Adobe did Linus they would do Adobe Linux. And Corel is highly unlikely to ever go near Linux again. If either Adobe or Corel touch Linux, Microsoft would go nasty and important information they rely on to keep up with Windows be on stop supply.

And while Adobe are putting AI into everything that is not the case for GIMP. I’ve talked with them about it, the policy is “we are open source, we don’t add commercial code period and not stuff that has possibly been trained on images that they had little rights to train on”.

Corel… we will have to see if they even survive. I told them to rack off with their X4 Adobe pricing, if they don’t change policy I can’t see them continuing.

The sell point is that you lose features moving off Windows and the Mac but you gain at the archival level as your software doesn’t kick you out if you don’t pay the subscription.

I’m not at “let me sell you on moving to Linux” rather “can I make Linux work for me and not spend $3,000 a year on software”.

That said, I’m of the belief that there are only X necessary features and over time Linux will catch up while commercial software will be adding fluff.

I don’t think it is that hard to make Rocky, the Linux that is the first choice in the graphics professional market segment. It’s the right Linux for that market if for no other reason than Blackmagic’s choice of Rocky. Start running Resolve on Linux then you need to support it with other applications to make content that goes into Resolve like GIMP and Inkscape. If you have gone that far then VD over InDesign is the next move.

And KDE I love it! It’s made for me! Screen capture tool, the clipboard, the troubleshooting, the simple video editor, the lack of nagging advertising…

All up, it is as if something is coming together for graphics professionals on Linux. That it isn’t all there yet is why there is an opportunity.

Yani

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 16, 2024, 8:08am UTC](https://forums.rockylinux.org/t/firefox-video-issues/11527/19 "2024-03-16T08:08:25Z")

</div>

Closed on March 16, 2024, 8:08am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
