Bugzilla – Bug 1227461
KRdp requires ffmpeg from Packman (missing h264 encoder)
Last modified: 2024-07-09 05:29:11 UTC
When I go to KDE System Settings, and then select the “Remote Desktop” sub-menu, I see the following error at the top of the window: “Remote desktop cannot be enabled because your system does not support H264 video encoding. Please contact your distribution regarding how to enable it.” libopenh264 is installed. My gut feeling is that openSUSE patches ffmpeg to load openh264 library on demand and checks that KRdp performs do not trigger loading of it. Internet search only finds this issue on openSUSE which indirectly confirms it. … quickly checking - yes, replacing ffmpeg packages (and only ffmpeg packages) with Packman version fixes KRdp error. See details in https://forums.opensuse.org/t/plasma-remote-desktop-krdp-and-h264-video-encoding-issue/176227
kpipewire needs to support openh264: https://bugs.kde.org/show_bug.cgi?id=476187 Should be fairly simple to implement, but supposedly its encoding might not be suitable for krdp? Worth a try though and probably better than nothing.
(In reply to Fabian Vogt from comment #1) > supposedly its encoding might not > be suitable for krdp? That is exactly the point of this bug report - if krdp is not usable without Packman, it should not be distributed in the main openSUSE repository.
I made a MR: https://invent.kde.org/plasma/kpipewire/-/merge_requests/152 FWICT, libfreerdp itself can use ffmpeg and libopenh264, but krdp uses kpipewire for encoding. No idea why.