Skip to content

Instantly share code, notes, and snippets.

View gianmarcogg03's full-sized avatar

Gianmarco Gargiulo gianmarcogg03

View GitHub Profile
@gianmarcogg03
gianmarcogg03 / fedoracodecs.sh
Created February 22, 2025 19:35
Fedora Codecs Installation Script - A simple thing I made to fix Fedora's biggest OOTB flaw in just a few seconds
#!/bin/bash
echo "Fedora Codecs Installation Script, please respond to any prompts for a sudo password or something similar. This is still a work in progress!"
# Installing RPM Fusion free and nonfree repos
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm --assumeyes
# Installing the main codecs
sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel --assumeyes