fix-vlc-codecs.sh

!/bin/bash

echo „Starte VLC-Codecs-Installation für Arch/CachyOS…“

VLC und wichtige Codecs installieren

sudo pacman -Syu –noconfirm vlc ffmpeg vlc-plugins-all vlc-plugin-ffmpeg vlc-plugin-x264 \
vlc-plugins-extra vlc-plugins-visualization

Optional: VLC-Konfiguration zurücksetzen (nach Bestätigung)

read -p „VLC-Konfiguration zurücksetzen (falls VLC weiterhin Probleme macht)? [j/N] “ reset
if [[ „$reset“ == „j“ || „$reset“ == „J“ ]]; then
echo „Setze VLC-Konfiguration zurück…“
mv -v ~/.config/vlc ~/.config/vlc.bak 2>/dev/null || echo „Keine alte VLC-Konfiguration gefunden.“
fi

echo „VLC-Codecs wurden installiert und aktualisiert.“
echo „Du kannst jetzt Videos (inkl. H.264) ganz normal mit VLC abspielen.“

~
~
„~/Schreibtisch/fix-vlc-codecs.sh“ 18L, 744B 18,0-1 Alles