Method for improving multi-picture video display efficiency based on hard decoding

By creating a back-up buffer in the video surveillance system and copying the hard-decoded video frames, the problem of low display efficiency of high-resolution multi-screen video is solved, a more efficient multi-screen video display is achieved, and GPU resource utilization is improved.

CN118632071APending Publication Date: 2024-09-10BEIJING CSVISION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410436951.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

When the existing video surveillance system displays multiple high-resolution surveillance video images, it consumes a lot of hardware resources, resulting in the inability to display a large number of video images at the same time. In particular, the rendering and display efficiency of video frames after hard decoding is low, and the GPU cannot be effectively utilized. decoding ability.

Method used

By creating a back buffer with the same size as the display area, copy the hard-decoded multi-channel video frames to the back buffer, and exchange the buffers used for display to form a buffer containing multiple images, thereby improving video display efficiency.

Benefits of technology

It greatly increases the number of multi-view display channels, saves GPU resource usage, and improves the ability of the same hardware to decode and display more video channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632071A
    Figure CN118632071A
Patent Text Reader

Abstract

The invention discloses a method for improving multi-picture video display efficiency based on hard decoding, which is characterized by comprising the following steps of: S1, creating one or more backup buffer areas for rendering based on a display area, and the size of each backup buffer area is the same as that of the display area; s2, performing hard decoding on the multiple paths of videos to obtain video frames, and storing the video frames in a video memory; s3, copying the multiple paths of video frames subjected to hard decoding to corresponding positions in the backup buffer area one by one according to the position occupied by each path of video in the display area to form a backup buffer area which contains multiple pictures and is used for displaying; s4, exchanging the backup buffer area and the main buffer area for display; and S5, repeating the steps S2 to S4 to complete the display of the multi-picture video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video monitoring, and in particular to a method for improving multi-screen video display efficiency based on hard decoding. Background Art

[0002] Currently, in video surveillance applications, it is often necessary to display as many surveillance video images as possible at the same time in order to detect abnormal situations in a more real-time manner. The image resolution of cameras in the current video surveillance field is basically above 1080P, and 4K and above are not uncommon. Such a high video resolution consumes a lot of hardware resources for decoding and display, which brings challenges to the realization of displaying more video images at the same time.

[0003] The main solutions to increase the number of video images displayed simultaneously include: (i) using a secondary stream with a lower bit rate and resolution; (ii) using hard decoding; (iii) stacking more decoding and display hardware. Solutions 1 and 2 can increase the number of video images per unit decoding and display hardware. Both solutions can be used at the same time. The hard decoding method can better tap the hardware capabilities and significantly reduce CPU usage.

[0004] Hard decoding refers to using GPU to decode videos. The hard-decoded video frame data (YUV format) can be stored in the video memory or directly output to the memory. The current display solution based on hard decoding generally retains the hard-decoded video frames in the video memory for direct rendering and display in order to improve display efficiency, and in the case of multiple channels of video, each channel is rendered and displayed separately. However, there are GPUs that can decode a large number of channels of video but do not have the ability to display these videos at the same time. For example, IntelHD Graphics 4600 can decode 40-50 channels of 1080P video, but can only display no more than 20 channels at the same time. Summary of the invention

[0005] In view of the above technical problems in the related art, the present invention proposes a method for improving the efficiency of multi-screen video display based on hard decoding, which can solve the above problems.

[0006] To achieve the above technical objectives, the technical solution of the present invention is implemented as follows: A method for improving multi-screen video display efficiency based on hard decoding, characterized in that it includes the following steps: S1. Create one or more backup buffers for rendering that are the same size as the display area based on the display area; S2, hard decoding the multi-channel videos to obtain video frames, and save them in the video memory; S3, copying the hard-decoded multi-channel video frames to corresponding positions in the backup buffer one by one according to the position occupied by each channel of video in the display area, so as to form a backup buffer for display containing multiple images in one; S4, swapping the backup buffer and the main buffer for display; S5. Repeat steps S2 to S4 to complete the display of multi-screen videos.

[0007] Furthermore, the size of the backup buffer is the same as the resolution of the display area.

[0008] Beneficial effects of the present invention: The method of the present application can greatly increase the number of multi-screen display channels based on hard decoding, saves GPU resource usage and improves display efficiency compared to displaying each video channel separately, and the same hardware can decode and display more video channels. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0010] The present invention is further described in detail below with reference to the accompanying drawings.

[0011] Figure 1 The present invention is a flowchart of a method for improving multi-screen video display efficiency based on hard decoding according to an embodiment of the present invention. DETAILED DESCRIPTION

[0012] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0013] like Figure 1 As shown, a method for improving multi-screen video display efficiency based on hard decoding according to an embodiment of the present invention is characterized by comprising the following steps: S1. Create one or more backup buffers for rendering that are the same size as the display area based on the display area; S2, hard decoding the multi-channel videos to obtain video frames, and save them in the video memory; S3, copying the hard-decoded multi-channel video frames to corresponding positions in the backup buffer one by one according to the position occupied by each channel of video in the display area, so as to form a backup buffer for display containing multiple images in one; S4, swapping the backup buffer and the main buffer for display; S5. Repeat steps S2 to S4 to complete the display of multi-screen videos.

[0014] In a specific embodiment of the present invention, the size of the backup buffer is the same as the resolution of the display area.

[0015] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for improving multi-screen video display efficiency based on hard decoding, characterized in that: The steps include: S1. Create one or more backup buffers for rendering that are the same size as the display area based on the display area; S2, hard decoding the multi-channel videos to obtain video frames, and save them in the video memory; S3, copying the hard-decoded multi-channel video frames to corresponding positions in the backup buffer one by one according to the position occupied by each channel of video in the display area, so as to form a backup buffer for display containing multiple images in one; S4, swapping the backup buffer and the main buffer for display; S5. Repeat steps S2 to S4 to complete the display of multi-screen videos.

2. The method for improving multi-screen video display efficiency based on hard decoding according to claim 1, characterized in that: The size of the backup buffer is the same as the resolution of the display area.