Enable non-free ffmpeg on Fedora: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
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 <nowiki>https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm</nowiki> -E %fedora).noarch.rpm | 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/ | 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:Terminal]] | ||
[[Kategorie:Fedora]] | [[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