Kdenlive - Unsupported video codec: libx264

  • running Tumbleweed 20250313.
  • kdenlive installed with ‘sudo zypper in kdenlive’.
  • repo-openh264 repo installed.
  • gstreamer-plugin-openh264 libopenh264-7 libplacebo264 mozilla-openh264 packages installed.

Trying to render a project using MP4 or Matroska-H264/AAC give me an ‘Unsupported video codec: libx264’ error message.

This does not occur if I install kendlive from flatpak. Any ideas on how to fix the TW repo version?

Thanks.

zypper if --recommends kdenlive
Loading repository data...
Reading installed packages...


Information for package kdenlive:
---------------------------------
Repository     : OSS
Name           : kdenlive
Version        : 23.08.5-bp156.1.6
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 65,7 MiB
Installed      : No
Status         : not installed
Source package : kdenlive-23.08.5-bp156.1.6.src
Upstream URL   : https://www.kdenlive.org/
Summary        : Non-linear video editor
Description    : 
    Kdenlive is a non-linear video editor for GNU/Linux and FreeBSD, which supports
    DV, AVCHD (experimental support) and HDV editing. Kdenlive relies on several
    other open source projects, such as FFmpeg and the MLT video framework. It was
    designed to answer all needs, from basic video editing to semi-professional
    work.
Recommends     : [8]
    libv4l
    frei0r-plugins
    /usr/bin/ffmpeg
    /usr/bin/dvdauthor
    /usr/bin/ffplay
    /usr/bin/mediainfo
    /usr/bin/dvgrab
    /usr/bin/genisoimage

That means you have to install ffmpeg, but the Version from Packman because this Version offers h264.

Thanks. What’s the point of having kdenlive in the TW repo, if we have to use ffmpeg from another repo?

It is a user decission. kdenlive can be used without patent encumbered codecs (that is why kdenlive is in the OSS repo). But if the user decides to use patent encumbered codecs, he needs to use packman. These codecs can not be distributed by any linux distribution.

2 Likes

Understood. I think the fact openSUSE goes out of its way to make the security implications of trusting 3rd party repos, as well as mentioning Packman is often responsible for upgrade errors, makes be a bit reluctant to install it. Somehow, instaling ubuntu-restricted-extras from multiverse feels safer. :slight_smile:

I’m thinking by the time I add Packman and it’s ffmpeg, I may as wellstick to kdenlive from flatpak.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.