kmssink

kmssink is a GStreamer plugin designed to serve as a simple video sink, rendering video frames directly in a plane of a DRM (Direct Rendering Manager) device. This allows for direct display of video content on a DRM device, such as a display or a video output.

Here’s a simple usage pipeline for kmssink in GStreamer:

Note

Remember to stop weston service before running the pipeline with kmssink.

gst-launch-1.0 -v videotestsrc num-buffers=30 ! videoconvert ! video/x-raw,width=640,height=480,format= RGB ! kmssink
In this pipeline:
  • videotestsrc generates a test video stream.

  • videoconvert converts the video format if needed.

  • kmssink renders the converted video buffer directly in a plane of a DRM device.