Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58253 - [ffmpeg] Add 'kmsgrab'

Attached to Project: Arch Linux
Opened by AK (Andreaskem) - Tuesday, 17 April 2018, 19:29 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 13 May 2018, 09:52 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I tried to use the 'kmsgrab' video input device [1] but it seems to be disabled in ffmpeg-3.4.2-2:

ffmpeg -f kmsgrab -i - -vf 'hwdownload,format=bgr0' output.mp4
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
...
Unknown input format: 'kmsgrab'

From what I can tell, enabling this device would require passing --enable-libdrm to the configure script:

...
--enable-libdrm enable DRM code (Linux) [no]
...
kmsgrab_indev_deps="libdrm"
...

The ffmpeg package seems to already require libdrm indirectly via its libva dependency. Therefore, I would like to request the 'kmsgrab' device to be enabled in the Arch package. Would this be possible?

Thank you for your support.

[1] https://www.ffmpeg.org/ffmpeg-devices.html#kmsgrab
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Sunday, 13 May 2018, 09:52 GMT
Reason for closing:  Implemented
Additional comments about closing:  ffmpeg-1:4.0-2

Loading...