Kdenlive and other applications with missing errors of libx264.so and libx265.so

Hello,

I am having a problem with shared libraries while running some applications. It seems the library files (libx264.so and libx265.so) for the video codecs H.264 and H.265 are missing.

At first, I was getting these error messages while running media players, such as VLC, but as the content would play normally, I just ignored it.

The problem became impossible to ignore when I tried to render a video I edited with Kdenlive to a file. It will refuse to render because:

libx265.so.215: cannot open shared object file: No such file or directory
libx265.so.215 is missing, x265 support will be disabled
libx265.so.215: cannot open shared object file: No such file or directory
libx265.so.215 is missing, x265 support will be disabled [libx264 @ 0x7fdc7c0019c0]
libx264.so.164: cannot open shared object file: No such file or directory
libx264.so.164 is missing, x264 support will be disabled

The same error messages are shown if I run VLC from the command-line and play a video.

I tried looking for libraries with dnf provides */libx265.so and many variations of it, but it seems there is no package in the whole OpenMandriva repository that provides them?

I suspect that either these library files would be provided by the ffmpeg package or ffmpeg itself would replace them somehow, but running ldd /usr/bin/ffmpeg | grep x26 gives no results.

This problem is happening ever since I installed OpenMandriva. So, it’s not a matter of started happening after an update or upgrade. Like I said, I just ignored it, but now I have to fix it. I would appreciate if anyone can help.

System information

Software

  • OpenMandriva Lx version: ROME 25.04
  • KDE version: KDE Plasma 6.3.4 / KDE Frameworks 6.13.0
  • Qt version: 6.9.0
  • Kernel version: 6.15.0-desktop-0.rc2.3omv2590
  • Display server: X11

Hardware

  • Processor: AMD Ryzen 5 5600 GT with Radeon Graphics
  • Memory: 16 GB
  • Graphics processing: AMD Radeon Graphics (No dedicated GPU)
  • Motherboard: Gigabyte A520M S2H

That’s because the patent mafia likes to charge fees for any implementation of the H.264 and H.265 codecs, including those implemented independently of their reference implementation such as x264 and x265.

If you want to use those codecs, enable the restricted repos and install lib64x264 and lib64x265. Of course by enabling the repositories, as far as we’re concerned, you’ve confirmed that you have a valid license to use those codecs blah blah blah.

The other option is to use properly free codecs that are not encumbered by patents.

2 Likes

1 Like

Licensing issues, how annoying. Thank you all, @bero and @rugyada! That did it.

1 Like

Such is life. How dare we be happy.