Enable non-free ffmpeg on Fedora: Unterschied zwischen den Versionen

Aus MattWiki
Die Seite wurde neu angelegt: „Some multimedia codecs are not delivered by default with Fedora, because they are not open source. These are packaged in the RPM Fusion repos. Check out this article on how to enable RPM fusion: https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/“
 
Keine Bearbeitungszusammenfassung
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
Some multimedia codecs are not delivered by default with Fedora, because they are not open source.
sudo dnf swap ffmpeg-free ffmpeg --allowerasingIn case you have one of the following issues on Fedora Linux:


These are packaged in the RPM Fusion repos.
* VLC playback is stuttering
* You receive the warning to install ffmpeg
* yt-dlp and 4KTUBE cannot download higher bitrate / resolution streams or join separately downloaded audio and video stream


Check out this article on how to enable RPM fusion: https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/
Reason for the latter one is that some multimedia codecs are not delivered by default with Fedora Linux, because they are not open source.
 
In Fedora by default ffmpeg-free is packaged. There is another ffmpeg, which is packaged in the non-free RPM Fusion repos. After installing the non-free repos the ffmpeg-free libraries need to be replaced with the non-free ones.
 
This also improves stuttering during VLC playback.
 
== Add RPM Fusion Repositories ==
Specifically add rpmfusion non-free repositories:
sudo dnf install <nowiki>https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm</nowiki> -E %fedora).noarch.rpm
Source: https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/
 
== Replace ffmpeg-free with non-free ffmpeg ==
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
Source and further reading: https://rpmfusion.org/Howto/Multimedia
[[Kategorie:Terminal]]
[[Kategorie:Fedora]]

Aktuelle Version vom 17. August 2025, 12:42 Uhr

sudo dnf swap ffmpeg-free ffmpeg --allowerasingIn case you have one of the following issues on Fedora Linux:

  • VLC playback is stuttering
  • You receive the warning to install ffmpeg
  • yt-dlp and 4KTUBE cannot download higher bitrate / resolution streams or join separately downloaded audio and video stream

Reason for the latter one is that some multimedia codecs are not delivered by default with Fedora Linux, because they are not open source.

In Fedora by default ffmpeg-free is packaged. There is another ffmpeg, which is packaged in the non-free RPM Fusion repos. After installing the non-free repos the ffmpeg-free libraries need to be replaced with the non-free ones.

This also improves stuttering during VLC playback.

Add RPM Fusion Repositories

Specifically add rpmfusion non-free repositories:

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Source: https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/

Replace ffmpeg-free with non-free ffmpeg

sudo dnf swap ffmpeg-free ffmpeg --allowerasing

Source and further reading: https://rpmfusion.org/Howto/Multimedia