Install hvec codec

The steps here no longer work:

$ sudo dnf group upgrade --with-optional Multimedia --allowerasing
Unknown argument "--with-optional" for command "upgrade". Add "--help" for more information about the arguments.
The argument is available for commands: group install. (It has to be placed after the command.)

I did a reinstall of vlc after removing the vlc folders in ~/.config and ~/.cache hvec encoded source no longer plays.:slight_smile:

Codec not supported:
VLC could not decode the format “hevc” (MPEG-H Part2/HEVC (H.265))

Also this didn´t help:

sudo dnf reinstall https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

But this did:

sudo dnf -y swap 'ffmpeg-free' 'ffmpeg' --allowerasing
1 Like

You apparently encountered one of the issues seen in fedora related to the codec restrictions we all see due to fedora and legal issues related to distribution of proprietary/licensed/otherwise restricted software here in the US. rpmfusion does not have the same restrictions since they are not located in the USA.

Hi,

I have created a script to remove geo block and install all essential media codecs, it does everything automatically.

try running

curl -sSL https://raw.githubusercontent.com/supertico/fedora-open264-geoblock-fix/main/fedora-cisco-403-mitigation.sh | sudo bash

hopefully this helps.

This is a dnf4 syntax command and still does not pull in the omitted codecs since the group is defined in fedora.
Try the steps shown in the doc

The second command there could also be used as
sudo dnf install @multimedia for use with dnf5 (the current fedora dnf version).

The additional codecs can almost all be installed from rpmfusion with one command
sudo dnf install libavcodec-freeworld x246 x265 --allowerasing