CN111147770B - Multi-channel video window superposition display method, electronic equipment and storage medium - Google Patents

Multi-channel video window superposition display method, electronic equipment and storage medium Download PDF

Info

Publication number
CN111147770B
CN111147770B CN201911309240.9A CN201911309240A CN111147770B CN 111147770 B CN111147770 B CN 111147770B CN 201911309240 A CN201911309240 A CN 201911309240A CN 111147770 B CN111147770 B CN 111147770B
Authority
CN
China
Prior art keywords
video
display
image
video signals
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911309240.9A
Other languages
Chinese (zh)
Other versions
CN111147770A (en
Inventor
张常华
朱正辉
赵定金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN201911309240.9A priority Critical patent/CN111147770B/en
Publication of CN111147770A publication Critical patent/CN111147770A/en
Application granted granted Critical
Publication of CN111147770B publication Critical patent/CN111147770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a multi-channel video window superposition display method, which comprises the following steps: receiving video signals sent by multipath video output, and obtaining display positions of the corresponding video signals; judging whether the multi-path video signals overlap or not according to the display positions of the video signals; selecting an image with an overlapping area to be overlapped with a video signal without the overlapping area to form an image to be rendered; and uniformly rendering the obtained images to be rendered and putting the images to a display page for a user to watch. The invention also provides an electronic device and a computer readable storage medium. According to the multi-channel video window superposition display method, the superposition result can be displayed by combining the video inputs with the overlapped multi-channel display windows and then performing output rendering only once; the method can effectively solve the problem that the overlapping part of the large-resolution video window is abnormal in display.

Description

Multi-channel video window superposition display method, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video playing technologies, and in particular, to a method for overlapping and displaying multiple video windows, an electronic device, and a storage medium.
Background
In the existing video decoding box, each video output window needs to be independently rendered for display, so that not only is the computing resource consumed, but also a larger video delay is caused, more importantly, when a plurality of output windows are overlapped on a large-resolution video such as a 4K video display, the display of the overlapped part is abnormal, such as a skip picture or a screen. Therefore, providing a display scheme capable of having a faster processing speed and a lower video delay is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the purposes of the invention is to provide a multi-channel video window superposition display method which can solve the problem of abnormal superposition display of multi-channel video output windows.
The second objective of the present invention is to provide an electronic device, which can solve the problem of abnormal superposition display of multiple video output windows.
It is a third object of the present invention to provide a computer-readable storage medium, which can solve the problem of abnormal overlay display of multiple video output windows.
One of the purposes of the invention is realized by adopting the following technical scheme:
a multi-channel video window superposition display method comprises the following steps:
a receiving step: receiving video signals sent by multipath video output, and obtaining display positions of the corresponding video signals;
judging: judging whether the multi-path video signals overlap or not according to the display positions of the video signals, if so, executing the superposition step, and if not, executing the rendering step;
and (3) superposition: selecting an image with an overlapping area to be overlapped with a video signal without the overlapping area to form an image to be rendered;
rendering: and uniformly rendering the obtained images to be rendered and putting the images to a display page for a user to watch.
Further, the method further includes a first priority setting step before the receiving step: setting different priorities for different video outputs;
the overlapping step: and selecting the image corresponding to the video output with the highest priority in the overlapping area, and overlapping the image with the video signal without the image to form the image to be rendered.
Further, the reception step is preceded by a second priority setting step: determining the priority of each video signal according to the video-on-demand sequence;
and (3) superposition: and selecting the image corresponding to the video output with the highest priority in the overlapping area, and overlapping the image with the video signal without the image to form the image to be rendered.
Further, in the second priority setting step: the priority of each video signal is determined according to the video-on-demand sequence, and the video signals with the rear video-on-demand sequence have higher priority.
Further, in the receiving step, the multiple paths of video outputs are two paths of video outputs or three paths of video outputs or four paths of video outputs.
Further, the step of receiving is followed by an adjustment step of: and determining the size and the position of the video signal on the display page according to the received user adjustment signal.
The second purpose of the invention is realized by adopting the following technical scheme:
an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a multi-way video window overlay display method according to any one of the objects of the invention when executing the computer program.
The third purpose of the invention is realized by adopting the following technical scheme:
a computer-readable storage medium having stored thereon a computer program, characterized by: the computer program when executed by a processor implements a multi-channel video window overlay display method according to any one of the objects of the present invention.
Compared with the prior art, the invention has the beneficial effects that:
according to the multi-channel video window superposition display method, the superposition result can be displayed by combining the video inputs with the overlapped multi-channel display windows and then performing output rendering only once; the method can effectively solve the problem that the overlapping part of the large-resolution video window is abnormal in display.
Drawings
Fig. 1 is a flowchart of a multi-channel video window overlay display method according to a first embodiment;
fig. 2 is a video signal superimposed display diagram in the first embodiment.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and detailed description, wherein it is to be understood that, on the premise of no conflict, the following embodiments or technical features may be arbitrarily combined to form new embodiments.
Example 1
The prior implementation method is to independently render each video output, thus consuming relatively large resources and easily generating abnormal display when video pictures are overlapped
As shown in fig. 1, the present embodiment provides a multi-channel video window overlapping display method, which includes the following steps:
s1: receiving video signals sent by multipath video output, and obtaining display positions of the corresponding video signals; in particular, when a video channel of a video decoder is operated at a client, a plurality of video output windows are often superimposed due to the limitation of the interface size; all video signals need to be acquired and the display positions of the video signals on the display page. The multi-path video output is two paths of video output or three paths of video output or four paths of video output.
After step S1, step S11 is further included: and determining the size and the position of the video signal on the display page according to the received user adjustment signal. That is, the user can adjust the sizes of different video signals and the corresponding display positions by himself, and the user can use the video display device more conveniently.
S2: judging whether the multi-path video signals overlap or not according to the display positions of the video signals, if so, executing the step S3, and if not, executing the step S4;
s3: selecting an image with an overlapping area to be overlapped with a video signal without the overlapping area to form an image to be rendered; if no overlap exists, abnormal display cannot occur, and the problems of picture skip or screen display cannot occur if no overlap exists; however, when overlapping occurs, abnormal display occurs at this time; in this embodiment, one video signal may be selected for rendering, and the occluded portion of the other video signal is not rendered. If the shielding rendering is performed in a random manner, a problem arises in that the displayed page is not necessarily the page desired by the user, and therefore, in order to perform the throwing and displaying more reasonably, logic more conforming to the daily use habit of the user needs to be set for performing the displaying better.
In the present embodiment, more preferably, different priorities are set for different video outputs; and selecting the image corresponding to the video output with the highest priority in the overlapping area, and overlapping the image with the video signal without the image to form the image to be rendered. That is, the priority of the line 1 is set to 5, the priority of the line 2 is set to 3, and the priority of the line 3 is set to 1; when three video signals are all superimposed, the priority of the line 1 is highest, so that the signals of the line 1 are put in and displayed, and the shielded parts of the line 2 and the line 3 are hidden.
In addition to the above embodiments, there is a more suitable way of prioritizing the operation, i.e. determining the priority of each video signal according to the video on demand order; determining the priority of each video signal according to the video-on-demand sequence, wherein the video signals with the back video-on-demand sequence have higher priority; the lower the priority of the order of the program is, the lower the priority of the order of the program is; in this embodiment, the video signals with the order of video-on-demand being later are most preferably implemented as higher priority. That is, the priority of the video window on demand by the client is low, and the priority of the video window on demand is highest, so the video window with low priority does not shade the window with high priority, and the specific implementation code is as follows:
if RectInfo window priority is less than the priority then of the InputLisThead window
Calaulremainderrec(Rectinfo,NextRectInfo,OutRectInfoList)
END IF
The code is a specific implementation code, and the video window with low priority can not shade the video window with high priority through the code.
When different video signals are overlapped, two paths of signals are overlapped to illustrate in the embodiment, the dividing rule of the residual rectangle after the bottom rectangle is overlapped is shown in fig. 2, the A is positioned at the bottom and is blocked by the B, and the residual displayable areas after the blocking are A1 and A2. Depending on the size of B and the relative position between A, B, there may be multiple different superimposed states between the two rectangles altogether; the algorithm for calculating whether two rectangles overlap or not and calculating the remaining rectangular area after the lower rectangle is overlapped by the upper rectangle is specifically as follows:
if RectInfo overlaps with InputListHead by then
Computing rectangular area remaining after rectangular window RectInfo is covered by InputListHead window
The remaining rectangular area is output to OutRectInfolist.
S4: and uniformly rendering the obtained images to be rendered and putting the images to a display page for a user to watch.
In the whole algorithm flow of this embodiment, the input terminals are: an InputInfo List input video window information linked list; the output end is: and after a plurality of video windows are mutually overlapped, the area position information linked list OutRectInfoList can be displayed. In this example, a related operation of the linked list is also used, where GetNext represents a next element to get a current element in the linked list, and GetNodeByIndex represents an index element to get the linked list, which are all basic operations of the linked list.
When a client operates a video channel of a video decoder, multiple video output windows often overlap due to the limited interface size. The method firstly obtains all display window positions set by a user, sets display priority for each window according to the order of on-demand, and the window output with high priority is not blocked by the window output with lower priority. Then, the position information and the priority information of the windows are input into a video window superposition method realized by the patent, the method finally calculates the positions of the non-shielded parts of all the windows displayed on the client interface, and finally intercepts the corresponding non-shielded parts of each path of video to perform unified output rendering and display to a user; the video window superposition method of the embodiment combines the video inputs with the overlapped multi-channel display windows and can display the superposition result only by one output rendering, thereby having faster processing speed, lower video output delay and effectively solving the problem of abnormal display of the overlapped part of the large-resolution video window.
Example two
The second embodiment discloses an electronic device, which includes a processor, a memory, and a program, where the processor and the memory may each adopt one or more, the program is stored in the memory, and configured to be executed by the processor, and when the processor executes the program, the method for displaying multiple video windows in the first embodiment is implemented. The electronic device may be a series of electronic devices such as a cell phone, a computer, a tablet computer, etc.
Example III
Embodiment three discloses a computer-readable storage medium for storing a program, and when the program is executed by a processor, a multi-path video window superimposition display method of embodiment one is implemented.
Of course, the storage medium containing computer executable instructions provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the above embodiment of the notification device based on content update, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
The above embodiments are only preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, but any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention are intended to be within the scope of the present invention as claimed.

Claims (7)

1. A multi-channel video window superposition display method is characterized by comprising the following steps:
a receiving step: receiving video signals sent by multipath video output, and obtaining display positions of the corresponding video signals;
judging: judging whether the multi-path video signals overlap or not according to the display positions of the video signals, if so, executing a superposition step, and if not, directly taking the image displayed corresponding to the video signals as an image to be rendered and executing a rendering step;
and (3) superposition: selecting an image with an overlapping area to be overlapped with a video signal without the overlapping area to form an image to be rendered, and executing a rendering step;
the superposition step specifically comprises the following steps: selecting the video signal with the highest priority, forming an image to be rendered together with an image part which is not overlapped with the video signal with the highest priority in the video signals except the video signal with the highest priority, and executing a rendering step;
rendering: and uniformly rendering the images to be rendered and putting the images to a display page for the user to watch.
2. The multi-channel video window overlay display method according to claim 1, further comprising a first priority setting step prior to the receiving step: different priorities are set for different video outputs.
3. The multi-channel video window overlay display method according to claim 1, further comprising a second priority setting step prior to the receiving step: the priority of each video signal is determined according to the video-on-demand sequence, and the video signals with the rear video-on-demand sequence have higher priority.
4. The method of claim 1, wherein in the receiving step, the multiple video outputs are two-way video outputs or three-way video outputs or four-way video outputs.
5. The method of claim 1, further comprising the step of adjusting after the step of receiving: and determining the size and the position of the video signal on the display page according to the received user adjustment signal.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements a multi-way video window overlay display method according to any one of claims 1-5 when the computer program is executed by the processor.
7. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program, when executed by a processor, implements a multi-channel video window overlay display method according to any one of claims 1-5.
CN201911309240.9A 2019-12-18 2019-12-18 Multi-channel video window superposition display method, electronic equipment and storage medium Active CN111147770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911309240.9A CN111147770B (en) 2019-12-18 2019-12-18 Multi-channel video window superposition display method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911309240.9A CN111147770B (en) 2019-12-18 2019-12-18 Multi-channel video window superposition display method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111147770A CN111147770A (en) 2020-05-12
CN111147770B true CN111147770B (en) 2023-07-07

Family

ID=70518718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911309240.9A Active CN111147770B (en) 2019-12-18 2019-12-18 Multi-channel video window superposition display method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111147770B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511896A (en) * 2020-11-05 2021-03-16 浙江大华技术股份有限公司 Video rendering method and device
CN112672210A (en) * 2020-12-18 2021-04-16 杭州叙简科技股份有限公司 Variable frame rate multi-channel video rendering method and system
CN112738612B (en) * 2020-12-28 2023-04-11 浙江大华技术股份有限公司 Video processing method and system
CN114793295B (en) * 2021-01-25 2023-07-07 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN112911371B (en) * 2021-01-29 2023-05-05 Vidaa美国公司 Dual-channel video resource playing method and display equipment
CN113205573B (en) * 2021-04-23 2023-03-07 杭州海康威视数字技术股份有限公司 Image display method and device, image processing equipment and storage medium
CN114363533A (en) * 2022-01-10 2022-04-15 京东方科技集团股份有限公司 Display control method and device, display equipment and computer readable medium
CN115243092B (en) * 2022-07-01 2024-02-23 网易(杭州)网络有限公司 Video playing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08275130A (en) * 1995-04-04 1996-10-18 Canon Inc Multimedia communication equipment
JP2010124429A (en) * 2008-11-21 2010-06-03 Sony Corp Video processing apparatus, video processing method and video processing program
CN104618797A (en) * 2015-02-06 2015-05-13 腾讯科技(北京)有限公司 Information processing method and device and client

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3080087B2 (en) * 1998-12-28 2000-08-21 日本電気株式会社 Image processing method and apparatus
US8937685B1 (en) * 2008-10-09 2015-01-20 Tp Lab, Inc. Method and system for overlaying videos in a television set using a television script
RU2541128C2 (en) * 2009-07-10 2015-02-10 Панасоник Корпорэйшн Recording medium, playback device and integrated circuit
JP5792607B2 (en) * 2011-12-09 2015-10-14 株式会社ソニー・コンピュータエンタテインメント Image processing apparatus and image processing method
US20170345206A1 (en) * 2016-05-27 2017-11-30 Intel Corporation Occlusion query apparatus and method for accelerated rendering
US10846915B2 (en) * 2018-03-21 2020-11-24 Intel Corporation Method and apparatus for masked occlusion culling
US11044456B2 (en) * 2018-05-31 2021-06-22 Electronics And Telecommunications Research Institute Image processing method and image player using thereof
CN110418075B (en) * 2019-07-23 2021-09-24 中国航空无线电电子研究所 Multi-desktop window video cross-screen overlapping display method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08275130A (en) * 1995-04-04 1996-10-18 Canon Inc Multimedia communication equipment
JP2010124429A (en) * 2008-11-21 2010-06-03 Sony Corp Video processing apparatus, video processing method and video processing program
CN104618797A (en) * 2015-02-06 2015-05-13 腾讯科技(北京)有限公司 Information processing method and device and client

Also Published As

Publication number Publication date
CN111147770A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN111147770B (en) Multi-channel video window superposition display method, electronic equipment and storage medium
US10529050B2 (en) Method and apparatus for processing wide angle image
US9544343B2 (en) Content sharing system for small-screen devices
US20210400356A1 (en) Method For Displaying Message On Smart Television, And Smart Television
US10705671B2 (en) Information sharing method, terminal, and storage medium
US10528239B2 (en) Display processing method, display processing apparatus and electronic device
US20170127141A1 (en) Method and electronic device for dynamic reminding of live broadcast contents
CN112394892A (en) Screen projection method, screen projection equipment, mobile terminal and storage medium
WO2017107447A1 (en) Method and device for displaying chat messages in live-broadcast applications
US11204688B2 (en) Video playing method and device, electronic equipment and storage medium
CN110662109B (en) Video playing method, electronic equipment and computer readable storage medium
CN111901624A (en) Live broadcast display method and device, electronic equipment and storage medium
US20170366840A9 (en) Video playing method and system
KR20220137067A (en) Video special effect processing method and apparatus
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
WO2016201803A1 (en) Method and device for controlling display of screen projection, and mobile terminal
CN113015007A (en) Video frame insertion method and device and electronic equipment
CN106960460B (en) Animation processing method, device and equipment
CN115657893A (en) Display control method, display control device and intelligent equipment
US20170187927A1 (en) Method and electronic device for switching video display window
CN110489040B (en) Method and device for displaying feature model, terminal and storage medium
CN111880880A (en) Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop
CN112948730A (en) Webpage data display method and device, storage medium and electronic equipment
WO2021126403A1 (en) Multiple calendar display
CN106131638B (en) Information display method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: 511400 Building 1, industrial zone B, Zhongcun street, Zhongcun street, Panyu District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant