Help a newb: VLC Codec

Hi all,
me again :slight_smile:

Im running VLC nicely accept I get a warning
“Codec not supported:
VLC could not decode the format “hevc” (MPEG-H Part2/HEVC (H.265))”

Does anyone know how to get the codec for that format?

Thanks
Steve

Hello Steve,

I guess installing ffmpeg-libs from epel-release should help fix this. Give it a try.

sudo dnf install epel-release

sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm

sudo dnf install https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm

sudo dnf install vlcin case the epel repos would have an updated version etc.

sudo dnf install ffmpeg-libs

Hope this helps.

Cheers!

1 Like

Thanks so much but Im getting some kind of error

[steve@steve-pc ~]$ sudo dnf install ffmpeg-libs
Last metadata expiration check: 0:00:21 ago on Wed 25 Sep 2024 11:35:11.
Error: 
 Problem: problem with installed package libswscale-free-5.1.4-2.el9.x86_64
  - package ffmpeg-libs-5.1.6-1.el9.x86_64 from rpmfusion-free-updates conflicts with libswscale-free provided by libswscale-free-5.1.4-2.el9.x86_64 from @System
  - package ffmpeg-libs-5.1.6-1.el9.x86_64 from rpmfusion-free-updates conflicts with libswscale-free provided by libswscale-free-5.1.4-2.el9.x86_64 from epel
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[steve@steve-pc ~]$ sudo dnf install ffmpeg-libs
Last metadata expiration check: 0:00:32 ago on Wed 25 Sep 2024 11:35:11.
Error: 
 Problem: problem with installed package libswscale-free-5.1.4-2.el9.x86_64
  - package ffmpeg-libs-5.1.6-1.el9.x86_64 from rpmfusion-free-updates conflicts with libswscale-free provided by libswscale-free-5.1.4-2.el9.x86_64 from @System
  - package ffmpeg-libs-5.1.6-1.el9.x86_64 from rpmfusion-free-updates conflicts with libswscale-free provided by libswscale-free-5.1.4-2.el9.x86_64 from epel
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I think I have conflicting packages

I have two VLC players, the one you showed me how to install it works perfectly.

I would try sudo dnf install ffmpeg-libs --allowerasing (if you feel that’s safe to do for your environment) assuming the newer version of libswscale-free shall be installed as a part of the ffmpeg-libs.

Thansk I will try it.

I sometimes experience frastration with conflicting repositories

1 Like

You can also give a try to VLC AppImage:

VLC is available as an AppImage which means “one app = one file”, which you can download and run on your Linux system while you don’t need a package manager and nothing gets changed in your system. Awesome!

AppImages are single-file applications that run on most Linux distributions.

1 Like

Thanks, I’ll definetly try that out. Save the headache of repo management :slight_smile:

1 Like