Some experiences showing overlay video

zhaozj2021-02-16  53

1. Most graphics cards in the YUV format surface BLT to another YUV format are not supported (no matter what Overlay surface, flat surface, main surface, which will be like this), such as this BLT operation of the Geforce graphics will not zoom and the location is not Role (ie default stickers at 0, 0), if multiple images blt, then there will be only one, the other is covered, and will not zoom, then the TNT's graphics card is simply nothing, but nothing There will also be supported graphics cards, such as my graphics card, and I have already made a multi-video simultaneous display, and can be scaled, and I found only the type of graphics card support, I don't support it, so I don't support it. There is no job. (Another: YUV format BLT to RGB format Most graphics cards support, RGB's BLT to YUV did not tried)

2. Overlay features: Most graphics cards are overlay that supports YUV format, because Overlay is mainly designed to play movies, single video, he has its own tensile function, only one Overlay surface. To make a test, first open Realone to play movies, then grasp the picture, you can find that you can only catch the black background, indicating that Realone is displayed with overlay, then open MediaPlay Play Movie (Realone does not turn off), graphic, can catch pictures Icon, in turn, open MediaPlay, then open Realone, the same situation, this example is intended to illustrate these playback software to play with overlay format, but find Other methods to play with other methods. So I want to use overlay, it is best to use only on single video.

3. Summary 1 and 2, display multi-video unique outline with overlay is the surface BLT in the RPG format on the overlay surface? Everyone wants to use Overlay to improve performance, the video stream is YUV format. Do you want to turn the YUV format into RGB and then BLT to YUV? I don't want to think about this.

转载请注明原文地址:https://www.9cbs.com/read-21118.html

New Post(0)