LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
55 stars 6 forks source link

[graphics][graphics_drivers] Install all GStreamer plugins for codecs support on Fedora #1064

Open LukeShortCloud opened 6 months ago

LukeShortCloud commented 6 months ago

Using UnitedRPM which provides gstreamer1-plugins-bad-nonfree (the most compatibility but, as of 2023-12, it only has packages for Fedora 37 which is already end-of-life - I am not sure if this repository is still maintained):

$ sudo dnf install gstreamer1-{libav,plugins-{good,ugly,bad{-free,-nonfree}}} --setopt=strict=0

https://discussion.fedoraproject.org/t/gstreamer1-plugins-bad-nonfree-installation-on-fedora-31-workstation-multimedia-support/74331/10 https://github.com/UnitedRPMs/unitedrpms

Using RPM Fusion (the best supported):

$ sudo dnf swap ffmpeg-free ffmpeg --allowerasing
$ sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

https://rpmfusion.org/Howto/Multimedia

Using Fedora (lacks proprietary codecs):

$ sudo dnf  install gstreamer1-{libav,plugins-{good,ugly,bad-free}}

Also enable H.264 support in Fedora:

$ sudo dnf config-manager --set-enabled fedora-cisco-openh264
$ sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264

https://fedoraproject.org/wiki/OpenH264