#57 H.264 not working in Firefox on Silverblue
Opened a year ago by zlopez. Modified 4 months ago

Hi,

according to https://www.youtube.com/html5 Firefox on Silverblue doesn't have H.264 support.
So I installed gstreamer1-plugin-openh264 and mozilla-openh264 and still no luck.

This is the output of rpm-ostree status

State: idle
AutomaticUpdates: disabled
Deployments:
● ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20181112.0 (2018-11-12T00:58:12Z)
                BaseCommit: b7c7432244c32f1d85442be323ae60ee0a8973b74aa8f856a3e911e90a61f97b
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
           LayeredPackages: ansible cherrytree gnome-tweak-tool gobby gstreamer1-plugin-openh264 krb5-workstation libvirt mozilla-openh264 powerline-fonts vagrant vagrant-libvirt vagrant-sshfs
             LocalPackages: nautilus-dropbox-2015.10.28-1.fc10.x86_64 redhat-internal-cert-install-0.1-7.el7.csb.noarch

  ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20181109.0 (2018-11-09T01:33:51Z)
                BaseCommit: 8eb384ed07a1c68a89125a7c3e84befcd0e806b41afd5446ffd2e0d4d1759cd4
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
           LayeredPackages: ansible cherrytree gnome-tweak-tool gobby gstreamer1-plugin-openh264 krb5-workstation libvirt mozilla-openh264 powerline-fonts vagrant vagrant-libvirt vagrant-sshfs
             LocalPackages: nautilus-dropbox-2015.10.28-1.fc10.x86_64 redhat-internal-cert-install-0.1-7.el7.csb.noarch

Is there something I'm missing perhaps?


Firefox switched from gstreamer to ffmpeg a while back and sadly you need to get the codecs from rpmfusion now to get this working.

@kalev
How can user, who is not good with command line, can obtain ffmpeg?

Just curious, because I'm still looking on Silverblue as OS for those, who are not very good with PC and don't want to use command line.

I think you'll need to drop to the command line to install this on Silverblue right now :( Needing ffmpeg for firefox is a pain point, definitely, and both for Silverblue and regular Fedora.

https://forums.fedoraforum.org/showthread.php?317721-fedora-28-and-firefox-video(h264-youtube-gstreamer1) has instructions for dnf; I think they should work if you replace 'dnf' with 'rpm-ostree install'

It's working, but you need to do restart after rpmfusion rpm is installed. So this is not optimal. :-(

Firefox switched from gstreamer to ffmpeg a while back and sadly you need to get the codecs from rpmfusion now to get this working.

This is unfortunate. Was this something we decided to inherit in Fedora. Could we switch it back? What would the pros/cons be?

Firefox switched from gstreamer to ffmpeg a while back and sadly you need to get the codecs from rpmfusion now to get this working.

This is unfortunate. Was this something we decided to inherit in Fedora. Could we switch it back? What would the pros/cons be?

I don't know, that's a question to the firefox maintainers. @stransky @xhorak

Yes, you need ffmpeg. Mozilla switched to ffmpeg from gstreamer due to gstreamer issues/bugs.

It can be surely switched back if anybody is going to work on that - what's the main problem here, as usually :)

I tried it again after some time and the Firefox is still not playing some videos out of the box. I tried https://vimeo.com/ and I'm just getting Player Error.

I also tried the flatpak version of Firefox, which unfortunatelly has the same issue.

So right now on Silverblue you can't play plenty of videos on net until you layer some packages, which is not nice.

Login to comment on this ticket.

Metadata