[FFmpeg-trac] #10188(avdevice:new): kmsgrab pixel formats missing DRM_FORMAT_ARGB2101010 and others
FFmpeg
trac at avcodec.org
Tue Apr 2 22:12:17 EEST 2024
#10188: kmsgrab pixel formats missing DRM_FORMAT_ARGB2101010 and others
-------------------------------------+-------------------------------------
Reporter: jean | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avdevice
Version: git-master | Resolution:
Keywords: kmsgrab | Blocked By:
pixfmt |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by bermond):
DRM format `30334241` is also missing.
The command bellow fails in Wayland and runs fine under X11:
{{{
$ ffmpeg -device /dev/dri/card1 -f kmsgrab -i '-' -vf
'hwmap=derive_device=vaapi,crop=1280:720:600:10,scale_vaapi=1280:720:nv12'
-c:v h264_vaapi test-out.mp4
ffmpeg version N-114554-g7bf85d2d3a Copyright (c) 2000-2024 the FFmpeg
developers
built with gcc 13.2.1 (GCC) 20230801
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --disable-htmlpages --enable-amf --enable-avisynth --enable-
cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls
--enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-
libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-
libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883
--enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e
--enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt
--enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2
--enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-
shared --enable-version3 --enable-vulkan
libavutil 59. 10.100 / 59. 10.100
libavcodec 61. 5.100 / 61. 5.100
libavformat 61. 2.100 / 61. 2.100
libavdevice 61. 2.100 / 61. 2.100
libavfilter 10. 2.100 / 10. 2.100
libswscale 8. 2.100 / 8. 2.100
libswresample 5. 2.100 / 5. 2.100
libpostproc 58. 2.100 / 58. 2.100
[kmsgrab @ 0x5f3360f73800] Using plane 31 to locate framebuffers.
[kmsgrab @ 0x5f3360f73800] Template framebuffer is 261: 1920x1080 format
30334241 modifier 100000000000002 flags 2.
[kmsgrab @ 0x5f3360f73800] Framebuffer pixel format 30334241 is not a
known supported format.
[in#0 @ 0x5f3360f3a600] Error opening input: Invalid argument
Error opening input file -.
Error opening input files: Invalid argument
}}}
- OS: Arch Linux
- Desktop: Plasma 6.0.3
- Session: Wayland
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10188#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list