H264 codecs on Chromium

This is a pretty common topic everywhere…

Most of the answers just tell you to install a long list of packages.

EPT (Epiphany Technology Preview) and Firefox Nightly support all the codecs listed at youtube.com/html5, but Chromium is the only one that doesn’t (presumably because it’s not installed a Flatpak). This is the output of rpm-ostree status:

State: idle
AutomaticUpdates: disabled
Deployments:
● ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20181104.1 (2018-11-04T04:42:30Z)
                BaseCommit: 9c488a35cf37855872556aadff9e13a25503cdceec9dada7eeaee6c934c7d092
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
           LayeredPackages: chrome-gnome-shell chromium compat-ffmpeg28 ffmpeg ffmpeg-libs
                            file-roller gnome-tweaks gstreamer gstreamer-devel
                            gstreamer-tools gstreamer1-libav gstreamer1-plugins-ugly
                            gstreamer1-vaapi libgle nmap pygtk2 pygtkglext python
                            python-pygame python2 python2-future python2-pillow
                            python2-pyopengl python3-future python3-nautilus python3-numpy
                            python3-pygame python3-pyopengl python3-tkinter tilix
                            tilix-nautilus vte x264-libs
             LocalPackages: rpmfusion-free-release-29-1.noarch
                            rpmfusion-nonfree-release-29-1.noarch
                            flash-player-ppapi-31.0.0.122-release.x86_64

  ostree://fedora-workstation:fedora/29/x86_64/silverblue
                   Version: 29.20181104.1 (2018-11-04T04:42:30Z)
                BaseCommit: 9c488a35cf37855872556aadff9e13a25503cdceec9dada7eeaee6c934c7d092
              GPGSignature: Valid signature by 5A03B4DD8254ECA02FDA1637A20AA56B429476B4
           LayeredPackages: chrome-gnome-shell chromium compat-ffmpeg28 ffmpeg ffmpeg-libs
                            file-roller gnome-tweaks gstreamer gstreamer-devel
                            gstreamer-tools gstreamer1-libav gstreamer1-plugins-ugly libgle
                            nmap pygtk2 pygtkglext python python-pygame python2
                            python2-future python2-pillow python2-pyopengl python3-future
                            python3-nautilus python3-numpy python3-pygame python3-pyopengl
                            python3-tkinter tilix tilix-nautilus vte x264-libs
             LocalPackages: rpmfusion-free-release-29-1.noarch
                            rpmfusion-nonfree-release-29-1.noarch
                            flash-player-ppapi-31.0.0.122-release.x86_64

Do you know what I have to install to make Chromium support h264? :thinking:

1 Like
4 Likes

Thank you, that worked.

Does not work; for me…"Could not depsolve transaction; 1 problem detected:
0. nothing provides chromium-libs(x86-64) = 69.0.3497.100-1.fc29 needed by chromium-libs-media-freeworld-69.0.3497.100-1.fc29.x86_64"Does not work for Firefox… Can’t find vivladi in flatpaks,software,no codec in software add-ons–empty… How to fix please…

Try installing chromium-vaapi instead. All codecs are included and available out of the box(plus you get hardware video acceleration if you’re on intel/amdgpu. Tested on silverblue).
BTW, there’s been a problem in syncing chromium on Fedora with chromium-libs-media-freeworld in rpmfusion and will be fixed soon.

mmm, Silverblue… short answer; a few flatpaks vrs tons of rpms in other places… but you can find rpms ready for it… “chromium-freeworld” available in thirdparty repositories… Call it rpmfusion or unitedrpms…

I have tried to use Cisco Spark with Chromium and could not access my webcam (even after installing this chromium-freeworld stuff). My solution was simple I uninstalled Chromium and installed the normal Chrome instead. This works “out of the box”.