this post was submitted on 31 Oct 2023
144 points (97.4% liked)

Linux

45534 readers
1231 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
 
all 35 comments
sorted by: hot top controversial new old
[–] devfuuu 60 points 8 months ago (3 children)

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.

[–] [email protected] 10 points 8 months ago

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

[–] woelkchen 3 points 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.

[–] [email protected] 1 points 8 months ago

Where are they based?

[–] AProfessional 38 points 8 months ago (2 children)

You want gstreamer1-plugin-libav from rpmfusion.

[–] [email protected] 5 points 8 months ago

already have it

[–] uis 1 points 8 months ago (1 children)

Libav is wrapper for ffmpeg in gstreamer. You need h265 in ffmpeg now.

[–] AProfessional 1 points 8 months ago

ffmpeg has a native decoder, would be odd for them to not enable it.

[–] [email protected] 25 points 8 months ago* (last edited 8 months 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.

[–] [email protected] 9 points 8 months ago (2 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

[–] [email protected] 4 points 8 months ago

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

[–] woelkchen 2 points 8 months 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.

[–] [email protected] 1 points 8 months ago

screenshot was gnome video player

[–] woelkchen 15 points 8 months ago (3 children)

Avoid distribution eccentricities by istalling VLC from Flathub.

[–] [email protected] 4 points 8 months ago* (last edited 8 months ago) (1 children)

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.

[–] uis 2 points 8 months ago

x264 too. And dav1d. Cool people.

[–] [email protected] 1 points 8 months ago

This is the right answer

[–] [email protected] 1 points 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.

[–] [email protected] 14 points 8 months 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?

[–] [email protected] 10 points 8 months ago (1 children)

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/

[–] [email protected] 4 points 8 months ago (1 children)

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

[–] [email protected] 3 points 8 months ago

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

[–] [email protected] 5 points 8 months 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.

[–] uis 4 points 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 :)

[–] [email protected] 3 points 8 months ago (4 children)

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

[–] [email protected] 6 points 8 months ago

See my comment for the solution.

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months 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

[–] [email protected] 0 points 8 months ago

just use vlc

[–] [email protected] -1 points 8 months ago

I guess I'll try a different distro

LOL

[–] [email protected] 3 points 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.

[–] [email protected] 3 points 8 months ago

insteall it from dnf, not flatpak

[–] Presi300 1 points 8 months ago

Just use VLC, problem solved