One of those conflicts is an i686 package.
Yes you can remove libavcodec-free
I would recommend that you remove libavcodec-free (provided from fedora & codec limited) and replace it with libavcodec-freeworld (provided from rpmfusion & with almost all av codecs available)
ffmpeg-libs is also from rpmfusion. dnf swap libavcodec-free libavcodec-freeworld --allowerasing should manage that.
libavcodec is a library providing audio & visual codecs for encoding and decoding av files. Libavcodec-free has only part of the available codecs due to the restriction within fedora about distributing software with copyright, patent, or licensing restrictions. The one from rpmfusion does not have those limitations.
This one doesn’t work because libavcodec-free is not a layered package:
[michael@fedora ~]$ rpm-ostree upgrade --install ffmpeg-libs --uninstall libavcodec-free
error: Package/capability 'libavcodec-free' is not currently requested
This one unfortunately results in two package conflicts:
That might be why installing libavcodec-freeworld doesn’t solve the issue. Version 112 of Firefox will have ffmpeg 6.0 support, so I’ll check whether video playback works once it’s available for Fedora 38.
EDIT: I just tried out Firefox beta 112 using Flatpak, and I can confirm that H.264 works after installing libavcodec-freeworld.
More for reference at this point: rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free --install ffmpeg
Problem: package mesa-va-drivers-freeworld-23.0.2-1.fc38.i686 requires mesa-filesystem(x86-32) >= 23.0.2, but none of the providers can be installed
- conflicting requests
- mesa-filesystem-23.0.2-2.fc38.i686 has inferior architecture
- package mesa-va-drivers-freeworld-23.0.2-1.fc38.x86_64 requires mesa-filesystem(x86-64) >= 23.0.2, but none of the providers can be installed
- cannot install both mesa-filesystem-23.0.2-2.fc38.x86_64 and mesa-filesystem-23.0.1-2.fc38.x86_64
i don’t have any i686 package installed
Edit : Today was repo update and system update from Fedora and problem was resolved itself.
I’ve had issues with not being able to update my system after I removed all those base packages and installed ffmpeg-libs. Every time I ran rpm-ostree upgrade I would just get the message No upgrade available, even though running rpm-ostree upgrade --preview showed that there were updates available.
I reinstalled the base packages in addition to installing libavcodec-freeworld. Videos are playing back normally and I’m going to run this build for a while to see whether my system will update.
It’s possible that I simply misunderstood how rpm-ostree works. I noticed again that I appeared to have an update available today when I ran rpm-ostree status, but rpm-ostree upgrade just produced No upgrade available. What I think happened is that my system auto-updated in the background, which caused a newer deployment to be available and ready to be used at the next reboot. After I rebooted rpm-ostree status showed that I was on the latest deployment.