Since I first installed Fedora 38 Workstation (meanwhile I upgraded to Fedora 39 Workstation), I couldn’t play videos and livestreams of almost all websites that I tried in Firefox. I remeber that I got an error message on one website but on most websites, I don’t get an error message, it just doesn’t work.
I told the problem the support of one of the websites which I tried. They informed me, that their technical department told them, that the support of HLS (whatever this means) isn’t available by default in most Linux versions because of patent law reasons. To play the streams without problems, I’d need to install the necessary Fedora packages.
@computersavvy@chrisawi@vekruse Before, almost all videos and livestreams couldn’t even be started. Then I executed the 3 commands specified on Installing plugins for playing movies and music :: Fedora Docs. After I did that, I could at least start the videos and livestreams. However, after approx. 1 min. either the video gets stuck and the audio continues to play or the whole video is cancelled directly. So this improved the problem but wasn’t the breakthrough.
Is RPM Fusion or RPM Fusion for H.264 and H.265 a non-default repo that needs to be added first?
Does ‘Fedora with dnf’ or ‘On Fedora, we default to use the openh264 library, so you need the repository to be explicitely enabled’ or both paragraphs apply to me and can I ignore ‘Silverblue with rpm-ostree’?
rpmfusion-free-release is a package that contains the repo configuration (/etc/yum.repos.d/rpmfusion-free*.repo) for RPM Fusion Free. Once that is installed, you can install packages in that repo such as libavcodec-freeworld.
@chrisawi I installed libavcodec-freeworld. First, the problem wasn’t solved. Then I opened ‘Software’>Updates and clicked the circular arrow (Refresh) and a few updates were displayed. I downloaded all these updates and clicked Restart and Install Updates. After the restart, I checked again on several websites, whether it’s possible to play videos and livestreams. All worked.
For the case that there might be further problems, I leave this topic open for a few days.
Unfortunately for many, with the release of fedora 39 VLC and MPV have both been moved from rpmfusion to fedora for distribution. As such many codecs previously included in those packages have been stripped out because of the restrictions fedora has about distributing those codecs.
It seems a user must now either install ffmpeg and ffmpeg-libs or install libavcodec-freeworld (both from rpmfusion) to have those extra codecs that were previously included when installing either VLC or MPV.
That documentation page has not yet caught up to the actual conditions. Older versions of fedora still use the fully contained MPV and VLC.
Last metadata expiration check: 0:03:34 ago on Thu 25 Jan 2024 21:20:24 GMT.
vlc-1:3.0.19-1.fc39.x86_64 : The cross-platform open-source multimedia framework, player and server
Repo : rpmfusion-free
Provide : vlc = 1:3.0.19-1.fc39
vlc-1:3.0.20-7.fc39.x86_64 : The cross-platform open-source multimedia framework, player and server
Repo : @System
Provide : vlc = 1:3.0.20-7.fc39
vlc-1:3.0.20-9.fc39.x86_64 : The cross-platform open-source multimedia framework, player and server
Repo : updates
Provide : vlc = 1:3.0.20-9.fc39
So I’m guessing the first listing is where I installed it from in Fedora 37, ie rpmfusion-free.
The second is my currently installed version (@system) and the third shows that vlc is now sourced from updates ie the main Fedora repository updates. It will update vlc next update to 1:3.0.20-9.fc39
I went from Fedora 37 direct to 39, so I’m guessing that I am not necessarily updating all of my codecs each time I …
sudo dnf upgrade --refresh
I think I probably need to “reassess” when we got to 40 and do a fresh install under the new regime.
Sometimes I applaud Fedora’s “sticking to principles”, it makes it a distinctive and principled distribution that has “all of the options”, just not necessarily in the places you might expect them.
Other times it’s just a pain in the @?$£ (UK spellings).
It appears that fedora decided to include the packages. I think they previously were only available from rpmfusion because they included all the available codecs so fedora could not distribute them. Apparently it was decided to strip out the offending codecs and package the apps for distribution by fedora.
This means that the restricted codecs now must be added separately from the multimedia players with either ffmpeg or libavcodec-freeworld when users want the extra codecs.