The first two commands work fine:
$ sudo dnf install gstreamer1-plugins-{bad-,good-,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
$ sudo dnf install lame* --exclude=lame-devel
The third command returns an error:
$ sudo dnf group upgrade --with-optional Multimedia
No match for group package âgstreamer1-libavâ
Error:
Problem 1: problem with installed package libswscale-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-1.fc37.x86_64
package ffmpeg-5.1.2-3.fc37.x86_64 requires ffmpeg-libs(x86-64) = 5.1.2-3.fc37, but none of the providers can be installed
conflicting requests
package ffmpeg-5.1.2-9.fc37.x86_64 requires ffmpeg-libs(x86-64) = 5.1.2-9.fc37, but none of the providers can be installed
package ffmpeg-libs-5.1.2-9.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-9.fc37.x86_64 conflicts with libswscale-free provided by libswscale-free-5.1.2-1.fc37.x86_64
Problem 2: ffmpeg-libs-5.1.2-3.fc37.i686 has inferior architecture
conflicting requests
problem with installed package libavcodec-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-3.fc37.x86_64 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-1.fc37.x86_64
ffmpeg-libs-5.1.2-9.fc37.i686 has inferior architecture
package ffmpeg-libs-5.1.2-9.fc37.x86_64 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-9.fc37.x86_64 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-1.fc37.x86_64
problem with installed package firefox-109.0-4.fc37.x86_64
package ffmpeg-libs-5.1.2-3.fc37.i686 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-1.fc37.x86_64
package ffmpeg-libs-5.1.2-9.fc37.i686 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-1.fc37.x86_64
package ffmpeg-libs-5.1.2-3.fc37.i686 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-6.fc37.x86_64
package ffmpeg-libs-5.1.2-9.fc37.i686 conflicts with libavcodec-free provided by libavcodec-free-5.1.2-6.fc37.x86_64
(try to add ââallowerasingâ to command line to replace conflicting packages or ââskip-brokenâ to skip uninstallable packages)
The packages libavcodec-free and libswscale-free are crippled version of ffmpeg-libs and that is why they conclict with each other.
You thus need to remove those packages if you want the full functionality of ffmpeg.
In your transaction you also have the 32 bit version of ffmpeg-libs. That would only be useful in special cases where it is needed by some old third party software. Do you have any 32 bit programs installed on your system?
I did use sudo dnf swap ffmpeg-free ffmpeg --best --allowerasing.
Then after that I used sudo dnf group upgrade --with-optional Multimedia and it said (37 packages downgraded):
the qtwebengine-freeworld thing is a different issuesâwhen Fedora updates qtwebenine, the RPM Fusion freeworld package needs to be re-built, but it always lags a little and in that interval, users will see it as a âbroken dependencyâ etc. If one waits a few days until the freeworld package hits the repos, itâll update correctly
Very glad to have found this conversation, I was having the same problem. Did not know how to get passed this, you guys helped me out with your trouble shooting. I use media codecs a lot, so it was important to me. Thanks a bunch, it really got me out of a pinch.
Hi @freelibre1 I am facing a dilemma related to this.
I just want to ask, have you done another fresh install since this post?
If yes, do you always run sudo dnf swap ffmpeg-free ffmpeg --allowerasing now every time you do it?
I am curious to know if you just use the exact commands Fedoraâs Docs tell you to use nowadays, or if you still run into issues that need to be solved through additional commands.
On F37 and F38 that command was correct. Now with F39 the swap is no longer required since both ffmpeg-free from fedora and ffmpeg from rpmfusion happily reside together. They do need to be the same version but otherwise work well together.