[MA35D1] Qt Overlay on Video

Post Reply
chhsieh3
Posts: 309
Joined: 13 Mar 2020, 09:08

26 Apr 2024, 13:51

  • Application: This example code demonstrates how to write a Qt application that simultaneously plays a video at the bottom layer of the screen and overlays interactive elements on top, allowing the video playback to be controlled through these interactive components.
  • BSP Version: Linux-5.10.x
  • Hardware: NuMaker-HMI-MA35D1-S1
Compositing is a computer graphics technique that combines multiple images or layers into a single output image. It is commonly used in video and image processing, such as video and image compositing.

This example code demonstrates how to simultaneously play a video and run a Qt widget in a Qt application while displaying them on the screen. The video and Qt application are output to different frame buffers, such as Frame Buffer 0 and Frame Buffer 1, and then blended using the blending function provided by the display driver before being displayed on the screen. The MA35D1 display driver offers two types of blending functions: Color Key and Alpha Blending, and this example code uses Alpha Blending.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1502145101
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests