Bug 497206 - Screen recording with KPipeWire fails when FFMpeg isn't built against libvpx
Summary: Screen recording with KPipeWire fails when FFMpeg isn't built against libvpx
Status: REPORTED
Alias: None
Product: KPipeWire
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-08 16:33 UTC by anhollander516@gmail.com
Modified: 2024-12-08 16:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anhollander516@gmail.com 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 anhollander516@gmail.com 2024-12-08 16:35:54 UTC
Also see https://bugs.gentoo.org/946121.