January 21, 2019, 6:26pm
It’s very easy, but I couldn’t find these steps anywhere else, so I’d like to share it here:
Add the RPM Fusion free repo:
rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Reboot the system
compat-ffmpeg28 package (yes, even on Silverblue 29):
rpm-ostree install compat-ffmpeg28
That’s for the SB 29 pre-installed Firefox. Firefox Nightly flatpak includes H.264 support out of the box.
January 23, 2019, 3:03pm
Likely just very similar steps as
for “usual” Fedora Workstation that has been answered on AskFedora before. So it’s kinda answered there, except of the obvious changes for Silverblue and the fact that apparently the package name changed(?).
March 14, 2019, 8:57am
Thank you for posting here
March 14, 2019, 1:55pm
you can also just use Firefox Nightly from flatpak
July 7, 2019, 4:43pm
For what it’s worth
I’ve tried following the official instructions (only adapted them to Silverblue) for installing OpenH264 from Cisco, i.e.
enable that “fedora-cisco-openh264” dnf repo. (actually, you can do that from inside GNOME Software → software sources) and it seems to work fine. (i.e. rom-ostree shows me it uses this repo when downloading updates)
rpm-ostree gstreamer1-plugin-openh264 mozilla-openh264
This way, you need no (inofficial) rpmfusion repo (the Cisco repo is quite official and maintained by Fedora AFAIK,
it only has legal reasons as you can read on the wiki).
In the end I also saw the H264 plugin in the rpm-ostree-Firefox and even in the Fedora flatpaks one (from
registry.fedoraproject.org), but in both cases
youtube.com/html5 claimed H.264 was not available.
(John M. Harris, Jr )
July 7, 2019, 7:14pm
It’s probably just not available to the flatpack environments. I’d try on a
normal system and see if that works. If so, you know it’s flatpack which is
July 7, 2019, 7:28pm
As I’ve mentioned I’ve tried it (even) with the
rpm-ostree (i.e. build-in version) of Firefox in Silverblue. I would not even have expected it to appear in the flatpak version. But both don’t work.
(John M. Harris, Jr )
July 7, 2019, 10:22pm
You would have to install both with
dnf or the Silverblue equivalent. You
can’t mix and match with this, as it’s a shared object.
July 8, 2019, 5:20am
Rpmfusion is developed in tandem with Fedora and afaik is the closest to official a proprietary repo can get. It’s highly recommended overall.
I believe the Cisco h264 repos only cover WebRTC h264 for legal reasons. You need rpmfusion and the compat-ffmpeg28 package to be able to use them on Firefox for standard video.
July 8, 2019, 6:41pm
Ah okay, then this would also apply to Firefox on Fedora Workstation.
Maybe I just forgot that it works like this.
July 9, 2019, 4:04am
The easiest way for me was to install Google Chrome which includes H.264.
The problem with Chrome in Silverblue is that you cannot update it from the Software Center. You click download and install, reboot and the update is still available. The workaround is to uninstall it, reboot and then install the new version.
The GOOD news is that Fedora 31 will include OpenH264 2.0 by default and it will support the Main and High profiles. It is mentioned at the end of the blog post.
I hope that it will be back-ported to Fedora 30 so we won’t need to install Chrome only for HBO Go or Netflix.
July 9, 2019, 10:26am
It’s not updating because the RPM containing the older version is being installed again after rpm-ostree has pulled the updated package.
Easy fix is to just not use the RPM to install Chrome.
rpm-ostree install google-chrome-stable
July 9, 2019, 4:08pm
Okay, great, I’ve tested it and installing
compat-ffmpeg28 really fixes it (for the rpm-ostree Firefox! Flatpak(ed) Firefox (obviously) has not access to it.
What I wanted to add: GNOME Software works perfectly with rpm-ostree and thus you do not have to use the terminal to add the RPM Fusion free repo, but can now (in Silverblue 30) just download the file and open it with GNOME Software.
July 9, 2019, 4:15pm
If that is the case that would be pretty good news! However, where exactly do you read it will be included (or even shipped by default)? I just read:
OpenH264 2.0 release […] is out […] and Kalev Lember has been working to get the Fedora packages updated.
Only updated, i.e. that might just include that
OpenH264 package on Cisco’s servers? Anything else would be a bigger change, would not it.
Also BTW, as you can see in this thread, with rpm-fusion Firefox works fine for playing videos like with H264.
July 9, 2019, 8:50pm
If that is the case that would be pretty good news! However, where exactly do you read it will be included (or even shipped by default)
That is what I understood after first reading an
earlier post and then the title of the second post: “ On the Road to Fedora Workstation 31”. It seems that everything will work out of the box.
February 27, 2020, 5:27pm
What is the procedure for SB 31 pre-installed Firefox?
compat-ffmpeg28 still needed?
February 27, 2020, 6:20pm
compat-ffmpeg28 is still needed, the procedure is the same. Thanks.
April 24, 2020, 9:13pm
Now the instruction seems outdated. It doesn’t need
compat-ffmpeg28 any more,
ffmpeg-libs from the main repo is enough.
ffmpeg-libs in rpmfusion but not in the main (Fedora) repo. Am I missing something?
April 30, 2020, 1:22pm
Yes, seems you are right.
However, I see this:
$ dnf list ffmpeg-libs
Fedora 31 - x86_64 - Updates 24 kB/s | 15 kB 00:00
Fedora 31 - x86_64 - Updates 662 kB/s | 2.7 MB 00:04
Last metadata expiration check: 0:00:30 ago on Thu 30 Apr 2020 04:01:49 PM MSK.
ffmpeg-libs.x86_64 4.2.2-5.fc31 @System
ffmpeg-libs.i686 4.2.2-5.fc31 rpmfusion-free-updates
@System thing confused me probably.