I’m experiencing this problem here on Tumbleweed: https://forums.opensuse.org/t/kdenlive-error-mp4-h264-libx264-not-supported/174871. The old thread no longer accepts replies, so I’m opening this one.
Specifically, rendering a Kdenlive project to MP4 would be good. I know from past experience (and indeed the post linked above) that the problem is with the codecs.
On Leap (before migrating to Tumbleweed), I got this working with the Packman essentials. Installing these seems to be the usual advice - see also https://forums.opensuse.org/t/how-to-get-mp4-h-264-working-on-opensuse-tumbleweed/136521/6
But this solution may be outdated now (see https://forums.opensuse.org/t/changing-from-packman-to-vlc-repo-question/195946 and https://forums.opensuse.org/t/replacing-packman-without-flatpaks-is-a-nightmare/196359/92 among others). And, when I tried anyway, I got a warning about expired signatures on the Packman packages. So that doesn’t look like a good solution.
The VLC repo has been proposed as an alternative recently. I added the repo and installed the ffmpeg package as explained here: https://en.opensuse.org/SDB:Installing_ffmpeg_from_the_VLC_repository
But Kdenlive is still showing the MP4 and Matroska formats as unsupported, as shown in the screenshot in the first thread linked above.
I have no problem at all playing back MP4 videos. The VLC seems to be working perfectly. The issue seems to be encoding.
Also note that Kdenlive doesn’t show an error message about missing codecs or dependencies on startup. It starts normally, but doesn’t allow rendering in MP4 or Matroska because of unsupported libx264.
I’m not an expert with zypper, but here’s some output requested in the other threads on this topic:
Looking for the libx264 that Kdenlive reports as unsupported:
~> sudo zypper se -si *264*
[sudo] password for root:
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+------------------+---------+---------------------+--------+------------------
i | libheif-openh264 | package | 1.23.5-2.2 | x86_64 | repo-oss
i | libopenh264-7 | package | 2.3.1-2.sle150600.5 | x86_64 | (System Packages)
i | libopenh264-8 | package | 2.6.0-2.suse1699.10 | x86_64 | repo-openh264
i+ | libplacebo264 | package | 5.264.1-5.5 | x86_64 | repo-oss
i+ | libx264-165 | package | 0.165-1.15 | x86_64 | VLC
i+ | libx264-devel | package | 0.165-1.15 | x86_64 | VLC
i+ | mozilla-openh264 | package | 2.6.0-2.suse1699.10 | x86_64 | repo-openh264
i+ | x264 | package | 0.165-1.15 | x86_64 | VLC
Looking for aac:
sudo zypper se -si *aac*
[sudo] password for root:
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------+---------+--------------------+--------+------------------
i+ | faac | package | 1.50-150600.2.pm.1 | x86_64 | (System Packages)
i+ | libfaac0 | package | 1.50-150600.2.pm.1 | x86_64 | (System Packages)
i+ | libfdk-aac2 | package | 2.0.3.git.160-2.3 | x86_64 | VLC
And ffmpeg:
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+----------------+---------+-------------+--------+-----------
i+ | ffmpeg-8 | package | 8.1.2-10.1 | x86_64 | VLC
i | ffmpegthumbs | package | 26.08.1-1.2 | x86_64 | repo-oss
i | libheif-ffmpeg | package | 1.23.5-2.2 | x86_64 | repo-oss
Does anyone have experience with this?