Bug 497206

Summary: Screen recording with KPipeWire fails when FFMpeg isn't built against libvpx; note it as a dependency
Product: [Frameworks and Libraries] KPipeWire Reporter: Avraham Hollander <anhollander516>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: task CC: aleixpol, anhollander516, nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Avraham Hollander 2024-12-08 16:33:06 UTC
SUMMARY
Screen recording with KPipeWire fails when using an FFMpeg build that is not built against libvpx. I am using Spectacle as a reproducer.

STEPS TO REPRODUCE
1. I'm running Gentoo, so it was super easy to disable FFMpeg's libvpx support and rebuild it. Other distros it's going to be more complicated.
2. Run spectacle from the command line for logging purposes.
3. Try to make a screen recording.

OBSERVED RESULT
Errors are output:
kpipewire_record_logging: libvpx codec not found
kpipewire_record_logging: No encoder could be created

Spectacle then freezes.

EXPECTED RESULT
FFMpeg's libvpx support should be specified as a dependency upstream so that packagers know to declare it.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.12.3-20R5-sched-ext (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-10310U CPU @ 1.70GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Avraham Hollander 2024-12-08 16:35:54 UTC
Also see https://bugs.gentoo.org/946121.