Skip Navigation

Why can't I play H.265 videos on Fedora 38 even though I have the codec installed

33

You're viewing a single thread.

33 comments
  • 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

      • Can you run GNOME Videos in the command line and copy/paste the error output when it crashes?

      • I was actually using Celluloid

        Celluloid is an MPV client and installing GStreamer codecs, as you did initially, does nothing. I didn't recognize Celluloid on the screenshot, though.

33 comments