Opened 14 months ago
#10188 new defect
kmsgrab pixel formats missing DRM_FORMAT_ARGB2101010 and others
Reported by: | jean | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avdevice |
Version: | git-master | Keywords: | kmsgrab pixfmt |
Cc: | jean | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: When a DRM plane is using certain formats found in modern wayland compositors, kmsgrab will fail to recognize the pixel format and refuse to start.
How to reproduce:
On KDE Plasma wayland 5.26.5:
% sudo ffmpeg -f kmsgrab -i - output.mp4 ffmpeg version N-109841-ge3bbf5c17d Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.1 (GCC) 20230201 ... [kmsgrab @ 0x559fd171b2c0] Framebuffer pixel format 30335241 is not a known supported format.
This was tested on Arch Linux.
The specific pixfmt missing in my case was DRM_FORMAT_ARGB2101010
, though it's possible other formats of this classification (32 bpp format with 10 bits per color and 2 bits of alpha) might also be used and would also need to be added.
Note:
See TracTickets
for help on using tickets.