candle_lighter@lemmy.ml to Linux@lemmy.mlEnglish · 11 months agoWhy can't I play H.265 videos on Fedora 38 even though I have the codec installedlemmy.mlimagemessage-square17fedilinkarrow-up137arrow-down12
arrow-up135arrow-down1imageWhy can't I play H.265 videos on Fedora 38 even though I have the codec installedlemmy.mlcandle_lighter@lemmy.ml to Linux@lemmy.mlEnglish · 11 months agomessage-square17fedilink
minus-squareSilejonu@kbin.sociallinkfedilinkarrow-up4arrow-down1·11 months agoTry this: sudo dnf update 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 sudo dnf groupupdate core sudo dnf swap ffmpeg-free ffmpeg --allowerasing sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin sudo dnf groupupdate sound-and-video You should also add the hardware accelerated codecs, by following the appropriate section depending on your hardware: https://rpmfusion.org/Howto/Multimedia?highlight=%28%5CbCategoryHowto%5Cb%29 Make sure to reboot. If this still does not work, install Celluloid and enjoy the superiority of mpv.
minus-squarecandle_lighter@lemmy.mlOPlinkfedilinkEnglisharrow-up1·11 months agoI was actually using Celluloid before but videos were not playing until I used the commands you gave. Gnome videos is now crashing but I don’t care as much since Celluloid is now working
Try this:
sudo dnf update 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 sudo dnf groupupdate core sudo dnf swap ffmpeg-free ffmpeg --allowerasing sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin sudo dnf groupupdate sound-and-video
You should also add the hardware accelerated codecs, by following the appropriate section depending on your hardware:
https://rpmfusion.org/Howto/Multimedia?highlight=%28%5CbCategoryHowto%5Cb%29
Make sure to reboot.
If this still does not work, install Celluloid and enjoy the superiority of
mpv
.I was actually using Celluloid before but videos were not playing until I used the commands you gave. Gnome videos is now crashing but I don’t care as much since Celluloid is now working