[FFmpeg-devel] [PATCH] libavdevice: Add KMS/DRM output device

Nicolas Caramelli caramelli.devel at gmail.com
Sun Jan 17 00:12:57 EET 2021


This patch adds KMS/DRM output device for rendering a video stream
using KMS/DRM dumb buffer.
The proposed implementation is very basic, only bgr0 pixel format is
currently supported (the most common format with KMS/DRM).
To enable this output device you need to configure FFmpeg with --enable-libdrm.
Example: ffmpeg -re -i INPUT -pix_fmt bgr0 -f kmsdumb /dev/dri/card0

Nicolas Caramelli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavdevice-Add-KMS-DRM-output-device.patch
Type: text/x-patch
Size: 11130 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210116/0757a4d5/attachment.bin>


More information about the ffmpeg-devel mailing list