After a fresh install of a Fedora 35, I noticed that videos and gifs were a bit slow. After a bit of searching I found this post which gives instructions on how to install the ffmpeg system package.
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install ffmpeg-libs
Another things I also noticed is that Rstudio would no longer work because of the
rstudio: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
I suspect this was because I installed the RHEL7 (CentOS) version of the package. The error went away when I installed the RHEL8 version from here.