Cant get all codecs working so that my torrenting qube will play all audio and video files

@barto yes ive installed vlc and tried using vlc, mpv, and what comes w fedora which is parole media player and none have worked w the 265 or eac3 audio yet. need help w kitsune’s proposed solution. from what he said that makes sense. just don’t know how to remove the original repos and then reinstall them and ffmpeg and hopefully that works. thanks everyone

using a fedora template w qbittorrent over vpn. wanted the faster download speeds than tor.

No need to remove anything, first check what repositories you have enabled:

# dnf repolist --all

Enable rpmfusion-free-updates if it isn’t enabled:

# dnf config-manager setopt rpmfusion-free-updates.enabled=1

And then search for ffmpeg:

# dnf search ffmpeg

It’s okay if you see both ffmpeg and ffmpeg-free, you only need to install ffmpeg with --allowerasing to let dnf remove the free version:

# dnf install ffmpeg --allowerasing
2 Likes

I think he needs reinstall because dnf won’t install ffmpeg from rpmfusion if there’s one installed already. He tried just install with --allowerasing and have enabled rpmfusion per report of dnf list --installed:

sudo dnf reinstall --allowerasing ffmpeg

PS: @stonehedge , don’t remove anything with sudo rm, it’s not a tool for application uninstalling

1 Like

so when i follow your lead i get this first

dnf repolist --all
repo id                                     repo name                                 status
fedora                                      Fedora 42 - x86_64                       enabled
fedora-cisco-openh264                       Fedora 42 openh264 (From Cisco) - x86_6  enabled
fedora-cisco-openh264-debuginfo             Fedora 42 openh264 (From Cisco) - x86_6 disabled
fedora-cisco-openh264-source                Fedora 42 openh264 (From Cisco) - x86_6 disabled
fedora-debuginfo                            Fedora 42 - x86_64 - Debug              disabled
fedora-source                               Fedora 42 - Source                      disabled
google-chrome                               google-chrome - x86_64                  disabled
qubes-vm-r4.3-current                       Qubes OS Repository for VM (updates)     enabled
qubes-vm-r4.3-current-testing               Qubes OS Repository for VM (updates-tes disabled
qubes-vm-r4.3-security-testing              Qubes OS Repository for VM (security-te disabled
qubes-vm-r4.3-unstable                      Qubes OS Repository for VM (unstable)   disabled
rpmfusion-free                              RPM Fusion for Fedora 42 - Free         disabled
rpmfusion-free-debuginfo                    RPM Fusion for Fedora 42 - Free - Debug disabled
rpmfusion-free-source                       RPM Fusion for Fedora 42 - Free - Sourc disabled
rpmfusion-free-updates                      RPM Fusion for Fedora 42 - Free - Updat disabled
rpmfusion-free-updates-debuginfo            RPM Fusion for Fedora 42 - Free - Updat disabled
rpmfusion-free-updates-source               RPM Fusion for Fedora 42 - Free - Updat disabled
rpmfusion-free-updates-testing              RPM Fusion for Fedora 42 - Free - Test  disabled
rpmfusion-free-updates-testing-debuginfo    RPM Fusion for Fedora 42 - Free - Test  disabled
rpmfusion-free-updates-testing-source       RPM Fusion for Fedora 42 - Free - Test  disabled
rpmfusion-nonfree                           RPM Fusion for Fedora 42 - Nonfree      disabled
rpmfusion-nonfree-debuginfo                 RPM Fusion for Fedora 42 - Nonfree - De disabled
rpmfusion-nonfree-source                    RPM Fusion for Fedora 42 - Nonfree - So disabled
rpmfusion-nonfree-updates                   RPM Fusion for Fedora 42 - Nonfree - Up disabled
rpmfusion-nonfree-updates-debuginfo         RPM Fusion for Fedora 42 - Nonfree - Up disabled
rpmfusion-nonfree-updates-source            RPM Fusion for Fedora 42 - Nonfree - Up disabled
rpmfusion-nonfree-updates-testing           RPM Fusion for Fedora 42 - Nonfree - Te disabled
rpmfusion-nonfree-updates-testing-debuginfo RPM Fusion for Fedora 42 - Nonfree - Te disabled
rpmfusion-nonfree-updates-testing-source    RPM Fusion for Fedora 42 - Nonfree - Te disabled
updates                                     Fedora 42 - x86_64 - Updates             enabled
updates-debuginfo                           Fedora 42 - x86_64 - Updates - Debug    disabled
updates-source                              Fedora 42 - Updates Source              disabled
updates-testing                             Fedora 42 - x86_64 - Test Updates       disabled
updates-testing-debuginfo                   Fedora 42 - x86_64 - Test Updates Debug disabled
updates-testing-source                      Fedora 42 - Test Updates Source         disabled

then this…

sudo dnf search ffmpeg
Updating and loading repositories:
 RPM Fusion for Fedora 42 - Free - Updates                                     100% |  24.5 KiB/s |  80.0 KiB |  00m03s
Repositories loaded.
Matched fields: name (exact)
 ffmpeg.x86_64	Digital VCR and streaming server
Matched fields: name, summary
 compat-ffmpeg4-devel.x86_64	Development package for compat-ffmpeg4
 ffmpeg-devel.i686	Development package for ffmpeg
 ffmpeg-devel.x86_64	Development package for ffmpeg
 ffmpeg-free-devel.i686	Development package for ffmpeg
 ffmpeg-free-devel.x86_64	Development package for ffmpeg
 ffmpeg-libs.i686	Libraries for ffmpeg
 ffmpeg-libs.x86_64	Libraries for ffmpeg
 ffmpegthumbnailer-devel.i686	Development files for ffmpegthumbnailer
 ffmpegthumbnailer-devel.x86_64	Development files for ffmpegthumbnailer
 ffmpegthumbnailer-libs.i686	Library for ffmpegthumbnailer
 ffmpegthumbnailer-libs.x86_64	Library for ffmpegthumbnailer
 ffmpegthumbs.i686	KDE ffmpegthumbnailer service
 ffmpegthumbs.x86_64	KDE ffmpegthumbnailer service
 mythffmpeg.x86_64	MythTV build of FFmpeg
 python3-ffmpeg-normalize.noarch	Normalize audio via ffmpeg
 python3-ffmpeg-progress-yield.noarch	Run an ffmpeg command with progress
 vlc-plugin-ffmpeg.x86_64	VLC media player FFmpeg plugins
Matched fields: name
 compat-ffmpeg4.x86_64	Digital VCR and streaming server
 ffmpeg-free.x86_64	A complete solution to record, convert and stream audio and video
 ffmpegthumbnailer.x86_64	Lightweight video thumbnailer that can be used by file managers
Matched fields: summary
 audacious-plugins-ffaudio.x86_64	FFmpeg input plugin for Audacious
 gstreamer1-plugin-libav.i686	GStreamer FFmpeg/LibAV plugin
 gstreamer1-plugin-libav.x86_64	GStreamer FFmpeg/LibAV plugin
 indi-3rdparty-webcam.x86_64	INDI driver for ffmpeg based webcams
 kmplayer.x86_64	A simple front-end for MPlayer/FFMpeg/Phonon
 libavcodec-free.i686	FFmpeg codec library
 libavcodec-free.x86_64	FFmpeg codec library
 libavcodec-free-devel.i686	Development files for FFmpeg's codec library
 libavcodec-free-devel.x86_64	Development files for FFmpeg's codec library
 libavdevice-free.i686	FFmpeg device library
 libavdevice-free.x86_64	FFmpeg device library
 libavdevice-free-devel.i686	Development files for FFmpeg's device library
 libavdevice-free-devel.x86_64	Development files for FFmpeg's device library
 libavfilter-free.i686	FFmpeg audio and video filtering library
 libavfilter-free.x86_64	FFmpeg audio and video filtering library
 libavfilter-free-devel.i686	Development files for FFmpeg's audio/video filter library
 libavfilter-free-devel.x86_64	Development files for FFmpeg's audio/video filter library
 libavformat-free.i686	FFmpeg's stream format library
 libavformat-free.x86_64	FFmpeg's stream format library
 libavformat-free-devel.i686	Development files for FFmpeg's stream format library
 libavformat-free-devel.x86_64	Development files for FFmpeg's stream format library
 libavutil-free.i686	FFmpeg's utility library
 libavutil-free.x86_64	FFmpeg's utility library
 libavutil-free-devel.i686	Development files for FFmpeg's utility library
 libavutil-free-devel.x86_64	Development files for FFmpeg's utility library
 libpostproc-free.i686	FFmpeg post-processing library
 libpostproc-free.x86_64	FFmpeg post-processing library
 libpostproc-free-devel.i686	Development files for the FFmpeg post-processing library
 libpostproc-free-devel.x86_64	Development files for the FFmpeg post-processing library
 libswresample-free.i686	FFmpeg software resampling library
 libswresample-free.x86_64	FFmpeg software resampling library
 libswresample-free-devel.i686	Development files for the FFmpeg software resampling library
 libswresample-free-devel.x86_64	Development files for the FFmpeg software resampling library
 libswscale-free.i686	FFmpeg image scaling and colorspace/pixel conversion library
 libswscale-free.x86_64	FFmpeg image scaling and colorspace/pixel conversion library
 libswscale-free-devel.i686	Development files for FFmpeg's image scaling and colorspace library
 libswscale-free-devel.x86_64	Development files for FFmpeg's image scaling and colorspace library
 nv-codec-headers.noarch	FFmpeg version of Nvidia Codec SDK headers

THEN I RUN INTO THIS…

sudo dnf install ffmpeg --allowerasing
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: package ffmpeg-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates requires ffmpeg-libs(x86-64) = 7.1.2-1.fc42, but none of the providers can be installed
  - conflicting requests
  - nothing provides libx264.so.164()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
  - nothing provides libx265.so.215()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
You can try to add to command line:
  --skip-broken to skip uninstallable packages
[user@fedora-42-xfce ~]$ sudo dnf install ffmpeg --allowerasing --skip-broken
Updating and loading repositories:
Repositories loaded.
Problem: package ffmpeg-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates requires ffmpeg-libs(x86-64) = 7.1.2-1.fc42, but none of the providers can be installed
  - conflicting requests
  - nothing provides libx264.so.164()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
  - nothing provides libx265.so.215()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates

Package                              Arch     Version                              Repository                      Size
Skipping packages with broken dependencies:
 ffmpeg                              x86_64   7.1.2-1.fc42                         rpmfusion-free-updates       2.5 MiB
 ffmpeg-libs                         x86_64   7.1.2-1.fc42                         rpmfusion-free-updates      21.2 MiB

Nothing to do.

this is what i keep running into. @otter2 @KitsuneNoBaka thx for all your help and others!

With --skip-broken you are skipping uninstallable packages. It skips your only requested package.

dnf has provides command that allows searching your enabled repositories for specific features and files. Not sure what is a good way to search disabled repositories, I ended up enabling them in a disposable to do this little search. In any case, the things you need are in the rpmfusion-free repository, enable it as well.

Ok.
Somehow you have disabled rpmfusion repositories - all of them.

sudo yum-config-manager --enable rpmfusion-free
sudo yum-config-manager --enable rpmfusion-free-updates
sudo dnf update

and then

sudo dnf repolist

should list this two enabled repositories

then you can install ffmpeg:

sudo dnf install ffmpeg --allowerasing

PS: sudo dnf config-manager setopt rpmfusion-free.enabled=1 needs template restart to be reflected in yum files

[user@fedora-42-xfce ~]$ sudo yum-config-manager --enable rpmfusion-free
[user@fedora-42-xfce ~]$ sudo yum-config-manager --enable rpmfusion-free-updates
[user@fedora-42-xfce ~]$ sudo dnf update
Updating and loading repositories:
 RPM Fusion for Fedora 42 - Free - Upda 100% |   1.4 KiB/s |   8.2 KiB |  00m06s
 Fedora 42 - x86_64 - Updates           100% |   4.3 KiB/s |  20.3 KiB |  00m05s
 Qubes OS Repository for VM (updates)   100% |   1.1 KiB/s |   2.8 KiB |  00m03s
Repositories loaded.
Package                         Arch   Version                 Reposit      Size
Upgrading:
 librsvg2                       x86_64 2.60.0-5.fc42           updates   5.1 MiB
   replacing librsvg2           x86_64 2.60.0-2.fc42           updates   5.0 MiB
 librsvg2-tools                 x86_64 2.60.0-5.fc42           updates   6.1 MiB
   replacing librsvg2-tools     x86_64 2.60.0-2.fc42           updates   6.0 MiB
 rav1e-libs                     x86_64 0.8.1-2.fc42            updates   3.1 MiB
   replacing rav1e-libs         x86_64 0.7.1-8.fc42            updates   3.0 MiB
 rsvg-pixbuf-loader             x86_64 2.60.0-5.fc42           updates 335.7 KiB
   replacing rsvg-pixbuf-loader x86_64 2.60.0-2.fc42           updates 339.4 KiB

Transaction Summary:
 Upgrading:          4 packages
 Replacing:          4 packages

Total size of inbound packages is 5 MiB. Need to download 5 MiB.
After this operation, 337 KiB extra will be used (install 15 MiB, remove 14 MiB).
Is this ok [y/N]: y
[1/4] rsvg-pixbuf-loader-0:2.60.0-5.fc4 100% | 128.3 KiB/s | 164.0 KiB |  00m01s
[2/4] rav1e-libs-0:0.8.1-2.fc42.x86_64  100% | 211.6 KiB/s |   1.1 MiB |  00m05s
[3/4] librsvg2-0:2.60.0-5.fc42.x86_64   100% | 275.6 KiB/s |   1.9 MiB |  00m07s
[4/4] librsvg2-tools-0:2.60.0-5.fc42.x8 100% | 294.5 KiB/s |   2.1 MiB |  00m07s
--------------------------------------------------------------------------------
[4/4] Total                             100% | 726.9 KiB/s |   5.3 MiB |  00m07s
Running transaction
[ 1/10] Verify package files            100% | 235.0   B/s |   4.0   B |  00m00s
[ 2/10] Prepare transaction             100% |  23.0   B/s |   8.0   B |  00m00s
[ 3/10] Upgrading rsvg-pixbuf-loader-0: 100% |  12.2 MiB/s | 336.7 KiB |  00m00s
[ 4/10] Upgrading librsvg2-0:2.60.0-5.f 100% | 128.2 MiB/s |   5.1 MiB |  00m00s
[ 5/10] Upgrading librsvg2-tools-0:2.60 100% | 112.3 MiB/s |   6.1 MiB |  00m00s
[ 6/10] Upgrading rav1e-libs-0:0.8.1-2. 100% |  81.0 MiB/s |   3.1 MiB |  00m00s
[ 7/10] Removing librsvg2-tools-0:2.60. 100% | 238.0   B/s |   5.0   B |  00m00s
[ 8/10] Removing librsvg2-0:2.60.0-2.fc 100% |   1.4 KiB/s |  14.0   B |  00m00s
[ 9/10] Removing rsvg-pixbuf-loader-0:2 100% |   1.2 KiB/s |   6.0   B |  00m00s
[10/10] Removing rav1e-libs-0:0.7.1-8.f 100% |   0.0   B/s |  11.0   B |  00m13s
Complete!
[user@fedora-42-xfce ~]$ sudo dnf repolist
repo id                            repo name                                    
fedora                             Fedora 42 - x86_64                           
fedora-cisco-openh264              Fedora 42 openh264 (From Cisco) - x86_64     
qubes-vm-r4.3-current              Qubes OS Repository for VM (updates)         
rpmfusion-free-updates             RPM Fusion for Fedora 42 - Free - Updates    
updates                            Fedora 42 - x86_64 - Updates                 
[user@fedora-42-xfce ~]$ sudo dnf install ffmpeg --allowerasing
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: package ffmpeg-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates requires ffmpeg-libs(x86-64) = 7.1.2-1.fc42, but none of the providers can be installed
  - conflicting requests
  - nothing provides libx264.so.164()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
  - nothing provides libx265.so.215()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
You can try to add to command line:
  --skip-broken to skip uninstallable packages
[user@fedora-42-xfce ~]$ sudo dnf config-manager setopt rpmfusion-free.enabled=1

```[user@fedora-42-xfce ~]$ sudo yum-config-manager --enable rpmfusion-free
[user@fedora-42-xfce ~]$ sudo yum-config-manager --enable rpmfusion-free-updates
[user@fedora-42-xfce ~]$ sudo dnf update
Updating and loading repositories:
 RPM Fusion for Fedora 42 - Free - Upda 100% |   1.4 KiB/s |   8.2 KiB |  00m06s
 Fedora 42 - x86_64 - Updates           100% |   4.3 KiB/s |  20.3 KiB |  00m05s
 Qubes OS Repository for VM (updates)   100% |   1.1 KiB/s |   2.8 KiB |  00m03s
Repositories loaded.
Package                         Arch   Version                 Reposit      Size
Upgrading:
 librsvg2                       x86_64 2.60.0-5.fc42           updates   5.1 MiB
   replacing librsvg2           x86_64 2.60.0-2.fc42           updates   5.0 MiB
 librsvg2-tools                 x86_64 2.60.0-5.fc42           updates   6.1 MiB
   replacing librsvg2-tools     x86_64 2.60.0-2.fc42           updates   6.0 MiB
 rav1e-libs                     x86_64 0.8.1-2.fc42            updates   3.1 MiB
   replacing rav1e-libs         x86_64 0.7.1-8.fc42            updates   3.0 MiB
 rsvg-pixbuf-loader             x86_64 2.60.0-5.fc42           updates 335.7 KiB
   replacing rsvg-pixbuf-loader x86_64 2.60.0-2.fc42           updates 339.4 KiB

Transaction Summary:
 Upgrading:          4 packages
 Replacing:          4 packages

Total size of inbound packages is 5 MiB. Need to download 5 MiB.
After this operation, 337 KiB extra will be used (install 15 MiB, remove 14 MiB).
Is this ok [y/N]: y
[1/4] rsvg-pixbuf-loader-0:2.60.0-5.fc4 100% | 128.3 KiB/s | 164.0 KiB |  00m01s
[2/4] rav1e-libs-0:0.8.1-2.fc42.x86_64  100% | 211.6 KiB/s |   1.1 MiB |  00m05s
[3/4] librsvg2-0:2.60.0-5.fc42.x86_64   100% | 275.6 KiB/s |   1.9 MiB |  00m07s
[4/4] librsvg2-tools-0:2.60.0-5.fc42.x8 100% | 294.5 KiB/s |   2.1 MiB |  00m07s
--------------------------------------------------------------------------------
[4/4] Total                             100% | 726.9 KiB/s |   5.3 MiB |  00m07s
Running transaction
[ 1/10] Verify package files            100% | 235.0   B/s |   4.0   B |  00m00s
[ 2/10] Prepare transaction             100% |  23.0   B/s |   8.0   B |  00m00s
[ 3/10] Upgrading rsvg-pixbuf-loader-0: 100% |  12.2 MiB/s | 336.7 KiB |  00m00s
[ 4/10] Upgrading librsvg2-0:2.60.0-5.f 100% | 128.2 MiB/s |   5.1 MiB |  00m00s
[ 5/10] Upgrading librsvg2-tools-0:2.60 100% | 112.3 MiB/s |   6.1 MiB |  00m00s
[ 6/10] Upgrading rav1e-libs-0:0.8.1-2. 100% |  81.0 MiB/s |   3.1 MiB |  00m00s
[ 7/10] Removing librsvg2-tools-0:2.60. 100% | 238.0   B/s |   5.0   B |  00m00s
[ 8/10] Removing librsvg2-0:2.60.0-2.fc 100% |   1.4 KiB/s |  14.0   B |  00m00s
[ 9/10] Removing rsvg-pixbuf-loader-0:2 100% |   1.2 KiB/s |   6.0   B |  00m00s
[10/10] Removing rav1e-libs-0:0.7.1-8.f 100% |   0.0   B/s |  11.0   B |  00m13s
Complete!
[user@fedora-42-xfce ~]$ sudo dnf repolist
repo id                            repo name                                    
fedora                             Fedora 42 - x86_64                           
fedora-cisco-openh264              Fedora 42 openh264 (From Cisco) - x86_64     
qubes-vm-r4.3-current              Qubes OS Repository for VM (updates)         
rpmfusion-free-updates             RPM Fusion for Fedora 42 - Free - Updates    
updates                            Fedora 42 - x86_64 - Updates                 
[user@fedora-42-xfce ~]$ sudo dnf install ffmpeg --allowerasing
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: package ffmpeg-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates requires ffmpeg-libs(x86-64) = 7.1.2-1.fc42, but none of the providers can be installed
  - conflicting requests
  - nothing provides libx264.so.164()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
  - nothing provides libx265.so.215()(64bit) needed by ffmpeg-libs-7.1.2-1.fc42.x86_64 from rpmfusion-free-updates
You can try to add to command line:
  --skip-broken to skip uninstallable packages
[user@fedora-42-xfce ~]$ sudo dnf config-manager setopt rpmfusion-free.enabled=1

I’ve done everything you said to do. I started trying to trouble shoot with google AI before posting on the forum. Maybe I messed something up in that process. It had also told me to enable cisco 264 I’m not sure if that’s messing something up too. Will edit after restarting template.

EDIT: Those same two file types still not working

Something seems to be wrong with your dnf configuration. rpmfusion-free doesn’t show up among active repositories after you enable it.

1 Like

It’s up to you but why not reinstall the template, to start with something fresh?

1 Like

Again

sudo yum-config-manager --enable rpmfusion-free
sudo dnf update
sudo dnf repolist

@kitsunenobaka i did all that. it still wouldnt work.

I’m gonna try to run it in a debian template and see if its better. any commands that enable everything there would be great. think that would be better so once configured it should be more stable.