[FFmpeg-trac] #10188(avdevice:new): kmsgrab pixel formats missing DRM_FORMAT_ARGB2101010 and others
FFmpeg
trac at avcodec.org
Sun Feb 12 04:12:44 EET 2023
#10188: kmsgrab pixel formats missing DRM_FORMAT_ARGB2101010 and others
-------------------------------------+-------------------------------------
Reporter: jean | Type: defect
Status: new | Priority: normal
Component: avdevice | Version: git-
Keywords: kmsgrab | master
pixfmt | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10188>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list