this post was submitted on 31 Oct 2023
139 points (97.3% liked)

Linux

48145 readers
1048 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Silejonu@kbin.social 28 points 1 year ago* (last edited 1 year ago) (1 children)

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.ml 8 points 1 year ago (3 children)

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 4 points 1 year ago

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

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.

[–] woelkchen@lemmy.world 2 points 1 year ago (1 children)

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.

[–] candle_lighter@lemmy.ml 1 points 1 year ago

screenshot was gnome video player