Why can't I install the plugins needed to play certain videos and audios and how do I install the missing requirements?

Hi guys, I’m new to Fedora, and just wanted to install the plugins needed to play some video formats. However, I fail at this every time. The code that I type and the results that I get are the following:

[user@fedora-37 ~]$ sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
Last metadata expiration check: 0:32:30 ago on Mon Jun  5 10:43:31 2023.
Package gstreamer1-plugins-bad-free-1.20.5-1.fc37.x86_64 is already installed.
Package gstreamer1-plugins-good-gtk-1.20.5-1.fc37.x86_64 is already installed.
Package gstreamer1-plugins-base-1.20.5-1.fc37.x86_64 is already installed.
Package gstreamer1-plugin-openh264-1.20.3-3.fc37.x86_64 is already installed.
Error: 
 Problem: conflicting requests
  - nothing provides libde265.so.0 needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.i686 from rpmfusion-free-updates
  - nothing provides libfaad.so.2 needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.i686 from rpmfusion-free-updates
  - nothing provides libmjpegutils-2.2.so.0 needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.i686 from rpmfusion-free-updates
  - nothing provides libmpeg2encpp-2.2.so.0 needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.i686 from rpmfusion-free-updates
  - nothing provides libmplex2-2.2.so.0 needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.i686 from rpmfusion-free-updates
  - nothing provides librtmp.so.1 needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.i686 from rpmfusion-free-updates
  - nothing provides libfaad.so.2()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides libde265.so.0()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides libSvtHevcEnc.so.1()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides libSvtHevcEnc.so.1(SVT_HEVC_1)(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides libmjpegutils-2.2.so.0()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides libmpeg2encpp-2.2.so.0()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides libmplex2-2.2.so.0()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
  - nothing provides librtmp.so.1()(64bit) needed by gstreamer1-plugins-bad-freeworld-1:1.20.5-1.fc37.x86_64 from rpmfusion-free-updates
(try to add '--skip-broken' to skip uninstallable packages)
[user@fedora-37 ~]$ http://download1.rpmfusion.org/free/fedora/~
bash: http://download1.rpmfusion.org/free/fedora/~: No such file or directory

I got the code from this link: Gstreamer1-plugins-bad-nonfree installation on Fedora 31 Workstation Multimedia Support

However, it keeps telling me that some required files/programs are missing. The thing is I don’t know how to install the missing ones. I found some of them on this website https://fedora.pkgs.org/37/rpmfusion-free-x86_64/libde265-1.0.9-1.fc37.i686.rpm.html, but I’ve no idea how to download and install. Also I fear about downloading and installing wrong files

I tried some commands in the terminal but none yields good results. Could someone help me pls?
Thanks for reading and everything!

In most cases the i686 packages (32bit) are not required nor wanted.
Many of the freeworld packages conflict with and should replace the equivalent -free packages.

In most cases, if it is not available in the existing repo for your current OS version then it should not be installed. Software is improved constantly and older versions usually do not work properly (if at all).

I believe that one command will solve the issue.
dnf install gstreamer1-plugins-bad-freeworld --allowerasing --best which should select only the one for your current x86_64 architecture and also allow removal of the fedora version of that package. If that fails then you may need to use the dnf swap command to do that.

It seems like you somehow have the rpmfusion-free-updates repo enabled, but the rpmfusion-free repo disabled.

Try this to fix all rpmfusion repos to expected state:

sudo dnf config-manager --set-disabled rpmfusion*
sudo dnf config-manager --set-enabled rpmfusion-{free,nonfree}{,-updates}

If it doesn’t fix the problem, please give the output of:

dnf repolist --all rpmfusion*
2 Likes