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%29Make 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
This confused the hell out of me last month. You can install two different versions off fmpeg/gstreamer on Fedora. One version of ffmpeg—the completely free, patent-unencumbered version—is available in Fedora’s official repositories. This one does not include decoders for H.264 or H.265. You can still install OpenH264 from Cisco and use that to decode H.264 video, but there is no “free” way of decoding H.265 video. For that, you need to go to RPMFusion, which is not associated with Fedora. They ship the H.265 and AAC decoders, among other codecs that cannot be shipped without paying a licensing fee. RPMFusion is a third-party and they believe they can’t/won’t be pursued for patent infringement.
And all of that is great, but I installed ffmpeg from RPMFusion and it still didn’t work. I had to mindlessly copy commands until it did work. So you’re not alone. I’m just giving you the context in case you were curious.
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.
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?
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 :)
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.
insteall it from dnf, not flatpak
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
See my comment for the solution.
Just install VLC dude
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
just use vlc
I guess I’ll try a different distro
LOL
Just use VLC, problem solved
Sorry this is off-topic, but what is that GTK theme? It looks really nice
nordic
Removed by mod
nice opinion but I don’t think I understood you, you were lagging out a lot Packet dropped