• devfuuu@lemmy.world
    link
    fedilink
    arrow-up
    61
    arrow-down
    3
    ·
    8 months ago

    Oh the good old days of suffering from a distro based on the US that has to follow the stupid laws of software patents and problems coming from all that shit.

    One of the top reasons to use Arch when I started because of the pragmatic approach of do not giving a fuck.

    • helenslunch@feddit.nl
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      8 months ago

      Wouldn’t it be be easier to just install VLC than to completely wipe your PC and change distros?

    • woelkchen@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      8 months ago

      a distro based on the US that has to follow the stupid laws of software patents and problems coming from all that shit.

      That’s one reason why Flathub exists and definitively much easier than to migrate to Arch.

  • Silejonu@kbin.social
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    8 months ago

    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.

    • candle_lighter@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      8 months ago

      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

      • Silejonu@kbin.social
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

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

      • woelkchen@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        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.

    • Pantherina@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      8 months ago

      True. They created x265 afaik. I literally only layer libavcodec-freeworld on Fedora Kinoite and thats all I need. VLC does everything. BUUUT the Flatpak is not official! And there is already VLC 4.0 out! So helping the Dev is always important, and Videolan would make it officially maintained like the snap, if the Flatpak devs approach them and explain everything etc.

    • 𝕸𝖔𝖘𝖘@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Oh. I was reading OP’s problem, and didn’t understand. I’ve been on Fedora for a while and never experienced this, but VLC is one of the first programs I install on every new distro.

  • Bob Smith@sopuli.xyz
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    8 months ago

    I ran into something like this the last time that I installed Fedora. They have (or used to have) a fairly hardcore stance about nonfree codecs, which includes anything licensed under MPEG LA.

    The codec in your screenshot probably doesn’t include support for H.265 playback - at the very least it isn’t in the list of formats. Here’s a guide that I googled for you: https://ostechnix.com/how-to-install-multimedia-codecs-in-fedora-linux/

  • Camilo@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    8 months ago

    I just installed fedora a couple of days ago and this happens to me too…

    I guess I’ll try a different distro 🤷‍♂️ it was being a nice experience until I tried to play a video

  • uis@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    I’m not sure what player you are using and what decoder it uses, but I suggest checking if you have h265 support in ffmpeg. If you do, you can play with ffplay anyway :)

  • AphoticDev@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    8 months ago

    I had this problem, but after not being able to resolve it I tried Bazzite and found the gaming experience was much better there anyway, so switched. This problem doesn’t exist on that distro.