Hello everybody, i have some videos that i am getting mad to play in fedora
one is a h265 video with e-ac-3 audio, some others do play but due to e-ac-3 audio, i have no audio at all
here’s what i tried
totem (taken from fedora’s repo) complain about missing h265 codec
clapper (rpm version from eithor fedora or author’s repo) complain h265 main 10 profile is missing
showtime (rpm taken from fedora’s repo) complain about e-ac-3 codec not being installed and asks me to install, but when i click on the install button i get redirected to an already installed codec
rpmfusion is already enabled, libav is installed, i switched already from ffmpeg-free to ffmpeg, and x264 and ac3 libraries are already installed, but there’s no way to play this video
quite weirdly i have no problems at all with mpv taken from fedora’s repo too (so i assume it should use same codecs), and with same apps taken from flathub (so in flatpak)
I tried a h265/e-ac3 video and it seems to work on my system using MPV and ffmpeg from rpmfusion.
None of the freeworld packages mentioned by @augenauf or by @leigh123linux are on my system, so i don’t think those are necessary:
$ rpm -qa | grep freeworld | wc -l
0
I feel OP’s pain though. It would be really nice if we could (together?) undertake an effort to consolidate all the information about the needed packages for all the codecs and libraries. Currently it’s mostly shooting with hail, randomly installing or replacing packages (from the main repos and rpmfusion, flatpaks or otherwise), in the hope that it magically starts to work. This should/could be easier.
The native version of VLC available from Fedora 41 rpm didn’t play H.265 videos for me either. No matter what codecs I’d install. The Flatpak version of VLC does work fine though with H.265 videos.
as of yesterday i had already installed all the relevant codecs from rpmfusion, installed also the x265 package (other than the already installed gstreamer x265 packages) then swapped ffmpeg-free with ffmpeg, tried clapper, totem and showtime (all in rpm from fedora’s repo) and none was able to read the file
i am also sure i had cleaned the gstreamer cache, and it wasn’t working
some minutes ago i cleaned the gstreamer cache again with rm ~/.cache/gstreamer-1.0/registry.x86_64.bin
as suggested by @leigh123linux and it’s automagically working
i don’t have an explanation for this as i am sure i did clean the cache yesterday but wasn’t working so i don’t know what to think
tried anyway with either clapper and showtime and both are working now
x265 is an encoder, you don’t need that if you only want to play back h265.
According to the mpv log gstreamer shouldn’t be used, so i’m not sure if cleaning this file could be related.
Hmm i would advise no unless you know which part is the solution, otherwise it wouldn’t really help other people stuck in a similar situation.
My guess is that swapping ffmpeg-free for ffmpeg was the main thing that helped, but your session needed a restart for the libraries to be used. Did you logout from your user session in the meantime?
As was mentioned the gstreamer cache may have nothing to do with it, since gstreamer isn’t used by mpv.
There are two different playback backends: ffmpeg and gstreamer. Some software uses ffmpeg and other software uses gstreamer. Mpv uses ffmpeg by default, so clearing the gstreamer cache in principle doesn’t have influence in that scenario.
ok but, i have stated multiple times that i mainly use showtime and clapper, which are gstreamer based and i have tried also totem, everything was related to them which weren’t working yesterday for 265 and now are
i also tried mvp which had video but no audio and got it when i switched ffmpeg
that’s why i am saying that the cache cleaning of gstreamer “might” be the solution