Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
candle_lighter ( candle_lighter@lemmy.ml )  to Linux@lemmy.mlEnglish · 3 years ago

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

lemmy.ml

message-square
20
link
fedilink
97

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

lemmy.ml

candle_lighter ( candle_lighter@lemmy.ml )  to Linux@lemmy.mlEnglish · 3 years ago
message-square
20
link
fedilink
alert-triangle
You must log in or register to comment.
  • Silejonu ( Silejonu@kbin.social ) 
    link
    fedilink
    arrow-up
    24
    ·
    3 years 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 ( candle_lighter@lemmy.ml ) OP
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 years 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 ( Silejonu@kbin.social ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

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

  • FluffyPotato ( FluffyPotato@lemm.ee ) 
    link
    fedilink
    arrow-up
    11
    ·
    3 years ago

    Didn’t some distro remove hardware transcoding support for some non-free codecs for AMD hardware? I remember being really pissed at Manjaro for that a while ago when I noticed Plex was devouring my CPU. Maybe something related to that if you got AMD and hardware acceleration is forced?

  • Bob Smith ( bismuthbob@sopuli.xyz ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 years 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/

    • candle_lighter ( candle_lighter@lemmy.ml ) OP
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      i’ve actually already followed that exact guide and it still is not working

      • Bob Smith ( bismuthbob@sopuli.xyz ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

        Well, dang! I’m sorry to read that. Codecs are definitely a tricky issue for Fedora.

  • Cwilliams ( Cwilliams@beehaw.org ) 
    link
    fedilink
    arrow-up
    7
    ·
    3 years ago

    Sorry this is off-topic, but what is that GTK theme? It looks really nice

    • candle_lighter ( candle_lighter@lemmy.ml ) OP
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      nordic

    • ParanoidFactoid ( ParanoidFactoid@beehaw.org ) deleted by creator
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 years ago

      deleted by creator

  • wolf ( wolf@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 years ago

    The Fedora documentation has the answer: Installing plugins for playing movies and music

    Fedora (combined with RHEL) has great documentation, take an hour, read the docs and you’ll have a great experience.

  • AphoticDev ( AphoticDev@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years 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.

  • voxel ( vox@sopuli.xyz ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    insteall it from dnf, not flatpak

  • Camilo ( Camilo@discuss.tchncs.de ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years 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

    • Silejonu ( Silejonu@kbin.social ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

      See my comment for the solution.

    • rah ( rah@feddit.uk ) BannedBanned
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      I guess I’ll try a different distro

      LOL

    • rish ( rish@lemmy.ml ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Just install VLC dude

      • Camilo ( Camilo@discuss.tchncs.de ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        I mean yes, it’s a way to solve playing offline videos, but it doesn’t seem to stop there. I found that codecs for playing videos on Firefox are also missing

        I could install Chrome as well or hack my way, but it makes me want to recommend the distro to beginners even less

    • voxel ( vox@sopuli.xyz ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      just use vlc

  • notonReddit ( notonReddit@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Cause Linux is trash

    • Aiden ( roi@lemmy.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 years ago

      nice opinion but I don’t think I understood you, you were lagging out a lot Packet dropped

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1.03K users / month
  • 5.69K users / 6 months
  • 1.31K local subscribers
  • 68.1K subscribers
  • 8.11K Posts
  • 109K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) deleted by creator
  • nooter692 ( nooter692@lemmy.ml ) 
  • MarcellusDrum ( MarcellusDrum@lemmy.ml ) 
  • Arthur Besse ( cypherpunks@lemmy.ml ) 
  • Cyclohexane ( cyclohexane@lemmy.ml ) 
  • d3Xt3r ( d3Xt3r@lemmy.nz ) deleted by creator
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code