CN113115073B - Image coding method, system, device and medium capable of reducing interference - Google Patents

Image coding method, system, device and medium capable of reducing interference Download PDF

Info

Publication number
CN113115073B
CN113115073B CN202110388698.9A CN202110388698A CN113115073B CN 113115073 B CN113115073 B CN 113115073B CN 202110388698 A CN202110388698 A CN 202110388698A CN 113115073 B CN113115073 B CN 113115073B
Authority
CN
China
Prior art keywords
frame
advertisement
virtual
frames
display
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
CN202110388698.9A
Other languages
Chinese (zh)
Other versions
CN113115073A (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.)
Yibin Tianlong Communication Co ltd
Original Assignee
Yibin Tianlong Communication 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 Yibin Tianlong Communication Co ltd filed Critical Yibin Tianlong Communication Co ltd
Priority to CN202110388698.9A priority Critical patent/CN113115073B/en
Publication of CN113115073A publication Critical patent/CN113115073A/en
Application granted granted Critical
Publication of CN113115073B publication Critical patent/CN113115073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to an image coding method capable of reducing interference, a system, a video processor and a storage medium, wherein the image coding method capable of reducing interference is used for image synthesis processing of a competition scene and comprises the following steps: acquiring a terminal display frame frequency when a video image is displayed on a terminal display screen; creating a virtual frame template according to the display frame frequency of the terminal; receiving at least two first advertisement frames, and synthesizing the at least two first advertisement frames according to the virtual frame template to obtain virtual frames; the display frame frequency of the virtual frame is equal to the display frame frequency of the terminal; receiving a second advertisement frame, and inserting the virtual frame into the second advertisement frame according to a preset rule to obtain an image display code stream; and transmitting the image display code stream to a terminal display screen for display. The method has the advantages that a plurality of frames of the first advertisement frames are synthesized into the virtual frames through the virtual frame template, then the virtual frame template is inserted into the second advertisement frame, and on the premise that the display frame frequency of the terminal is not changed, the display time of the first advertisement frame is reduced, so that the influence of the insertion of the first advertisement frame on the second advertisement frame can be reduced.

Description

可降干扰的图像编码方法、系统、设备及介质Image coding method, system, device and medium capable of reducing interference

技术领域technical field

本申请涉及赛事转播领域,特别是涉及一种可降干扰的图像编码方法、系统、设备及介质。The present application relates to the field of event broadcasting, and in particular, to an image coding method, system, device and medium that can reduce interference.

背景技术Background technique

广告售卖对于体育赛事来说是体育赛事的主要收入,传统的模式下,赛事赞助商购买现场的广告牌,在广告牌上显示赞助商的品牌或产品广告,这种方式下,一个广告牌智能售卖一次,广告收入有限。现代赛事引入了LED显示屏,可以实现多次的广告售卖。具体来说,在现场的广告帧中插入其他的广告帧,使其他的广告帧对现场观众不可见,然后用转播摄像机去捕捉其他的广告帧,这样,可以实现一个广告牌的多次售卖,增加了体育赛事的广告收入。Advertising sales are the main income for sports events. Under the traditional model, event sponsors buy on-site billboards and display sponsors' brand or product advertisements on the billboards. In this way, a billboard intelligent One sale, limited advertising revenue. Modern events have introduced LED displays, which can achieve multiple advertising sales. Specifically, insert other advertising frames into the advertising frames on the scene, so that the other advertising frames are invisible to the audience, and then use the relay camera to capture other advertising frames, so that multiple sales of a billboard can be realized. Increased advertising revenue for sporting events.

但是,当插入的其他广告帧数量很多时,会对现场的广告帧造成负面影响,因此,预期提供一种方法,降低插入的其他 广告帧对现场的广告帧的影响。However, when the number of other advertisement frames inserted is large, it will negatively affect the advertisement frames on site, therefore, it is expected to provide a method to reduce the influence of the other advertisement frames inserted on the advertisement frames on site.

发明内容SUMMARY OF THE INVENTION

基于此,有必要针对当插入的其他广告帧数量很多时,会对现场的广告帧造成负面影响的问题,提供一种可降干扰的图像编码方法、系统、设备及介质。Based on this, it is necessary to provide an image encoding method, system, device and medium that can reduce interference in order to solve the problem that when a large number of other advertisement frames are inserted, it will negatively affect the advertisement frames on site.

本申请第一方面提供一种可降干扰的图像编码方法,用于赛事现场的图像合成处理,包括:A first aspect of the present application provides an image coding method with reduced interference, which is used for image synthesis processing at the event site, including:

获取视频图像在终端显示屏上显示时的终端显示帧频;Obtain the terminal display frame rate when the video image is displayed on the terminal display screen;

根据终端显示帧频创建虚拟帧模板;Create a virtual frame template according to the terminal display frame rate;

接收至少两种第一广告帧,根据虚拟帧模板合成至少两种第一广告帧,得到虚拟帧;其中,虚拟帧的显示帧频等于终端显示帧频;Receive at least two kinds of first advertisement frames, synthesize at least two kinds of first advertisement frames according to a virtual frame template, and obtain a virtual frame; wherein, the display frame rate of the virtual frame is equal to the terminal display frame rate;

接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,得到图像显示码流;Receive the second advertisement frame, insert the virtual frame into the second advertisement frame according to the preset rule, and obtain the image display code stream;

将图像显示码流输送到终端显示屏上显示。The image display code stream is sent to the terminal display screen for display.

在其中一个实施例中,所述根据虚拟帧模板合成至少两帧第一广告帧,得到虚拟帧,具体包括:In one of the embodiments, the at least two first advertisement frames are synthesized according to the virtual frame template to obtain the virtual frame, which specifically includes:

将第一广告帧整体编码为分帧数据包;Encoding the first advertisement frame as a whole into a framed data packet;

将分帧数据包装入虚拟帧模板内,得到虚拟帧。Pack the framed data into a virtual frame template to obtain a virtual frame.

在其中一个实施例中,不同的虚拟帧内,多种第一广告帧具有相同的位置分布。In one embodiment, within different virtual frames, a plurality of first advertisement frames have the same location distribution.

在其中一个实施例中,所述将虚拟帧按照预设的规则插入到第二广告帧内,具体包括:In one of the embodiments, the virtual frame is inserted into the second advertisement frame according to a preset rule, which specifically includes:

根据虚拟帧的显示帧频确定一组第二广告帧;determining a group of second advertisement frames according to the display frame rate of the virtual frame;

确定虚拟帧的插入序列号,根据插入序列号确定虚拟帧的插入位置;Determine the insertion sequence number of the virtual frame, and determine the insertion position of the virtual frame according to the insertion sequence number;

将虚拟帧插入到确定的一组第二广告帧内,和插入位置对应的位置。Insert the virtual frame into the determined group of second advertisement frames at the position corresponding to the insertion position.

在其中一个实施例中,所述根据虚拟帧的显示帧频确定一组第二广告帧,具体为:In one embodiment, the determining of a group of second advertisement frames according to the display frame rate of the virtual frame is specifically:

根据虚拟帧的显示帧频和虚拟帧的数量确定一个周期数,再根据周期数确定一组第二广告帧,其中,周期数小于终端显示帧频。A cycle number is determined according to the display frame rate of the virtual frame and the number of virtual frames, and then a group of second advertisement frames is determined according to the cycle number, wherein the cycle number is less than the terminal display frame rate.

在其中一个实施例中,所述接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,的步骤之前,还包括:In one embodiment, before the step of receiving the second advertisement frame and inserting the virtual frame into the second advertisement frame according to a preset rule, the method further includes:

对第一广告帧进行色度值运算,得到每一帧第一广告帧对应的运算帧;Perform chromaticity value operation on the first advertisement frame to obtain the operation frame corresponding to the first advertisement frame of each frame;

根据虚拟帧模板合成至少两帧运算帧,得到虚拟运算帧。Synthesize at least two operation frames according to the virtual frame template to obtain a virtual operation frame.

所述将虚拟帧按照预设的规则插入到第二广告帧内,具体为:The described virtual frame is inserted into the second advertisement frame according to the preset rule, specifically:

将虚拟帧和虚拟运算帧按照预设的规则插入到第二广告帧内。The virtual frame and the virtual operation frame are inserted into the second advertisement frame according to preset rules.

在其中一个实施例中,所述将图像显示码流输送到终端显示屏上显示的步骤中,In one of the embodiments, in the step of delivering the image display code stream to be displayed on the display screen of the terminal,

终端显示屏在接收到虚拟帧时,根据虚拟帧模板解析虚拟帧,得到封装在虚拟帧内的多帧第一广告帧;When the terminal display screen receives the virtual frame, it analyzes the virtual frame according to the virtual frame template, and obtains the multi-frame first advertisement frame encapsulated in the virtual frame;

控制多帧第一广告帧的显示,其中多帧第一广告帧的显示根据第一广告帧在虚拟帧内的分布来确定显示顺序。The display of the first advertisement frames of the multiple frames is controlled, wherein the display order of the first advertisement frames of the multiple frames is determined according to the distribution of the first advertisement frames in the virtual frame.

本申请第二方面提供一种一种图像处理系统,包括帧频获取部件、模板创建部件、合成部件、插入部件和输出部件,其中,A second aspect of the present application provides an image processing system, including a frame rate acquisition component, a template creation component, a synthesis component, an insertion component, and an output component, wherein,

帧频获取部件,用于获取视频图像在终端显示屏上显示时的终端显示帧频;The frame rate acquisition component is used to acquire the terminal display frame rate when the video image is displayed on the terminal display screen;

模板创建部件,用于根据终端显示帧频创建虚拟帧模板;The template creation component is used to create a virtual frame template according to the terminal display frame rate;

合成部件,用于接收至少两种第一广告帧,根据虚拟帧模板合成至少两种第一广告帧,得到虚拟帧;其中,虚拟帧的显示帧频等于终端显示帧频;a synthesizing component, configured to receive at least two kinds of first advertisement frames, and synthesize at least two kinds of first advertisement frames according to a virtual frame template to obtain a virtual frame; wherein, the display frame rate of the virtual frame is equal to the terminal display frame rate;

插入部件,用于接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,得到图像显示码流;The inserting component is used for receiving the second advertisement frame, inserting the virtual frame into the second advertisement frame according to the preset rule, and obtaining the image display code stream;

输出部件,用于将图像显示码流输送到终端显示屏上显示。The output part is used to deliver the image display code stream to the terminal display screen for display.

根据本申请实施例的可降干扰的图像编码方法、系统,通过虚拟帧模板将多帧第一广告帧合成为虚拟帧,再将虚拟帧模板插入到第二广告帧内,这样,相当于原来多帧第一广告帧共用了一帧虚拟帧的显示时间,由于在不改变终端显示帧频的前提下,降低了第一广告帧的显示时间,因而可以降低插入第一广告帧对第二广告帧的影响。According to the image coding method and system for reducing interference according to the embodiments of the present application, multiple frames of the first advertisement frame are synthesized into a virtual frame by using a virtual frame template, and then the virtual frame template is inserted into the second advertisement frame. In this way, it is equivalent to the original Multiple frames of the first advertisement frame share the display time of one virtual frame. Since the display time of the first advertisement frame is reduced without changing the terminal display frame rate, the effect of inserting the first advertisement frame on the second advertisement can be reduced. frame effect.

本申请第三方面提供一种计算机设备,包括:处理器;存储器,用于存储所述处理器的可执行指令;所述处理器被配置为经由执行所述可执行指令来执行上述任一所述的方法的步骤。A third aspect of the present application provides a computer device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is configured to execute any of the above-mentioned executable instructions by executing the executable instructions steps of the method described.

本申请第四方面提供一种机器可读存储介质,其上存储有计算机程序,所述计算机程序在由处理器执行时实现上述任一所述方法的步骤。A fourth aspect of the present application provides a machine-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any one of the above-mentioned methods.

附图说明Description of drawings

图1为相关技术中LED显示系统的结构示意图;1 is a schematic structural diagram of an LED display system in the related art;

图2为相关技术中赛事转播系统的赛事广告转播示意图;FIG. 2 is a schematic diagram of the event advertisement broadcasting of the event broadcasting system in the related art;

图3为本申请一实施例的可降干扰的图像编码方法的流程示意图;FIG. 3 is a schematic flowchart of an image coding method with reduced interference according to an embodiment of the present application;

图4为本申请另一实施例的可降干扰的图像编码方法的流程示意图;4 is a schematic flowchart of an image coding method with reduced interference according to another embodiment of the present application;

图5为根据虚拟帧模板合成第一广告帧的过程示意图;5 is a schematic diagram of a process for synthesizing a first advertisement frame according to a virtual frame template;

图6为本申请又一实施例的可降干扰的图像编码方法的流程示意图;FIG. 6 is a schematic flowchart of an image coding method with reduced interference according to another embodiment of the present application;

图7为本申请又一实施例的可降干扰的图像编码方法的流程示意图;FIG. 7 is a schematic flowchart of an image coding method with reduced interference according to another embodiment of the present application;

图8为本申请又一实施例的可降干扰的图像编码方法的流程示意图;FIG. 8 is a schematic flowchart of an image coding method with reduced interference according to another embodiment of the present application;

图9为本申请一实施例的图像处理系统的框架结构图;FIG. 9 is a frame structure diagram of an image processing system according to an embodiment of the application;

图10为本申请另一实施例的图像处理系统的框架结构图;10 is a frame structure diagram of an image processing system according to another embodiment of the application;

图11为本申请又一实施例的图像处理系统的框架结构图。FIG. 11 is a frame structure diagram of an image processing system according to another embodiment of the present application.

具体实施方式Detailed ways

为了便于理解本申请,下面将参照相关附图对本申请进行更全面的描述。附图中给出了本申请的较佳实施方式。但是,本申请可以以许多不同的形式来实现,并不限于本文所描述的实施方式。相反地,提供这些实施方式的目的是使对本申请的公开内容理解的更加透彻全面。In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the related drawings. The preferred embodiments of the present application are shown in the accompanying drawings. However, the present application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that a thorough and complete understanding of the disclosure of this application is provided.

需要说明的是,当元件被称为“固定于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的,并不表示是唯一的实施方式。It should be noted that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for the purpose of illustration only and do not represent the only embodiment.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是旨在于限制本申请。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the present application are for the purpose of describing particular embodiments only, and are not intended to limit the present application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

LED显示系统LED display system

请参阅图1,LED显示系统包括视频源810、发送卡820、接收卡830(也叫控制卡)和终端显示屏840,在上位机的控制下,视频帧码流从视频源810流出至发送卡,由发送卡820对视频帧进行显示分配,然后发送到接收卡830,接收卡830设置在终端显示屏840上,接收卡830接收到视频帧后,将视频帧的至少一部分显示在自身的带载区域上。或者,视频帧直接从发送卡820发送到接收卡830,发送卡820不进行显示分配,而是由接收卡830在接收到完整的视频帧时,由接收卡830自己从视频帧中截取自身带载区域对应的显示部分,并将之显示在终端显示屏840上。Please refer to FIG. 1, the LED display system includes a video source 810, a sending card 820, a receiving card 830 (also called a control card) and a terminal display screen 840. Under the control of the host computer, the video frame stream flows from the video source 810 to the sending card. The video frame is displayed and distributed by the sending card 820, and then sent to the receiving card 830. The receiving card 830 is set on the terminal display screen 840. After receiving the video frame, the receiving card 830 displays at least a part of the video frame on its own video frame. on the loading area. Alternatively, the video frame is directly sent from the sending card 820 to the receiving card 830, the sending card 820 does not perform display allocation, but the receiving card 830 intercepts its own video frame from the video frame when the receiving card 830 receives the complete video frame. The display part corresponding to the loading area is displayed on the display screen 840 of the terminal.

终端显示屏840即通常所说的LED显示屏,包括多个LED箱体841,由多个LED箱体841拼接形成,箱体的拼接个数可以随意的添加,因而能够实现超大面积的显示。当终端显示屏840显示一帧视频帧时,由多个LED箱体841共同完成该视频帧的完整显示也就是说,每个LED箱体841仅显示视频帧的一部分。每个LED箱体841对应设置至少一个控制卡,每个控制卡对应有带载区域,控制卡控制带载区域的图像显示。例如,当一个LED箱体841仅设置一个控制卡时,则改控制卡对应的带载区域为该LED箱体841。当一个LED箱体841设置有两个控制卡时,每个控制卡对应的带载区域小于LED箱体841的显示区域。The terminal display screen 840 is commonly referred to as an LED display screen, and includes a plurality of LED boxes 841 , which are formed by splicing a plurality of LED boxes 841 . When the terminal display screen 840 displays one frame of video frame, the complete display of the video frame is completed by the plurality of LED cabinets 841 , that is, each LED cabinet 841 only displays a part of the video frame. Each LED box 841 is correspondingly provided with at least one control card, each control card corresponds to a loading area, and the control card controls the image display of the loading area. For example, when only one control card is set in one LED box 841 , the loading area corresponding to the control card is changed to the LED box 841 . When one LED box 841 is provided with two control cards, the loading area corresponding to each control card is smaller than the display area of the LED box 841 .

多个LED箱体841通过网络线缆相互级联,从而使得多个LED箱体841可以配合完成一帧视频帧的显示。在其中一些实施方式中,终端显示屏840提供有一个对外网络接口,所有的LED箱体841以类似电路中串联的方式实现级联。在这种级联方式下,视频帧可以从发送卡传递到终端显示屏的对外网络接口,并沿着级联路径一直传递,在经过各控制卡时,控制卡获取视频帧,并确定自身的显示部分。也可以由发送卡进行显示分配。在另一些实施方式中,终端显示屏提供有多个网络接口,发送卡可以分别向多个对外网络接口发送数据,所有的LED箱体841以类似电路中并联的方式级联。这种级联方式下,为了减小数据带宽,可以由发送卡进行显示分配后,将视频帧发送至各对外网络接口,然后各控制卡只接收自身显示部分的数据包,而不接收完整的视频帧。A plurality of LED boxes 841 are cascaded with each other through a network cable, so that the plurality of LED boxes 841 can cooperate to complete the display of one frame of video frame. In some of the embodiments, the terminal display screen 840 is provided with an external network interface, and all the LED boxes 841 are cascaded in a manner similar to that in a series circuit in a circuit. In this cascading mode, video frames can be transmitted from the sending card to the external network interface of the terminal display screen, and transmitted along the cascading path. When passing through each control card, the control card obtains the video frame and determines its own Display section. Display assignments can also be made by the sending card. In other embodiments, the terminal display screen is provided with multiple network interfaces, the sending card can send data to multiple external network interfaces respectively, and all the LED boxes 841 are cascaded in parallel in a similar circuit. In this cascading mode, in order to reduce the data bandwidth, the video frame can be sent to each external network interface after display distribution by the sending card, and then each control card only receives the data packet of its own display part, but not the complete data packet. video frame.

LED箱体841包括多个显示模组,每个显示模组构成一个显示单元,每个控制卡至少带载一个显示模组。The LED box 841 includes a plurality of display modules, each display module constitutes a display unit, and each control card carries at least one display module.

赛事转播系统Event broadcast system

赛事转播系统主要通过LED显示系统来实现,LED显示系统被布置在赛事现场。根据本申请实施例的赛事现场的广告可降干扰的图像编码方法预先处理过的视频帧码流构成视频源,经过发送卡、接收卡后,被显示在终端显示屏上。当视频帧码流依次显示在终端显示屏上时,在现场观众看来,终端显示屏只播放了一种广告,而实际上,混合了多种广告,其他广告对现场观众视觉上隐藏。The event broadcast system is mainly realized through the LED display system, which is arranged at the event site. According to the image encoding method for reducing interference of advertisements at the event site according to the embodiment of the present application, the pre-processed video frame stream constitutes a video source, and is displayed on the terminal display screen after passing through the sending card and the receiving card. When the video frame stream is displayed on the terminal display screen in sequence, from the audience's point of view, only one type of advertisement is displayed on the terminal display screen, but in fact, a variety of advertisements are mixed, and other advertisements are visually hidden from the live audience.

请参阅图2,假设现场可见广告帧A为现场观众可见的广告帧,隐藏广告帧B1、C1为现场观众不可见的广告帧。现场可见广告帧对应的广告主体可以是主赞助商。隐藏广告帧对应的广告主体可以是次级赞助商,花费较小的代价在特定国家投放广告,该特定国家的电视台在转播时,仅在终端显示屏显示隐藏广告帧B1或C1时,开启转播摄像机的快门捕捉现场图像。例如,赞助商B2在国家B投放了广告赞助,赞助商C2在国家C投放了广告赞助,则国家B的电视台在终端显示屏显示隐藏广告帧B1时开启转播摄像机的快门,国家C的电视台在终端显示屏显示隐藏广告帧C1时开启转播摄像机的快门。不同国家的电视台在不同时刻开启转播摄像机的快门,这样就实现了多种隐藏广告帧在不同国家的转播。Referring to FIG. 2 , it is assumed that the on-site visible advertisement frame A is an advertisement frame visible to the live audience, and the hidden advertisement frames B1 and C1 are the advertisement frames that are not visible to the live audience. The advertisement subject corresponding to the on-site visible advertisement frame may be the main sponsor. The main body of the advertisement corresponding to the hidden advertisement frame can be a sub-sponsor, which can advertise in a specific country at a relatively low cost. When the TV station in the specific country broadcasts, only when the terminal display screen displays the hidden advertisement frame B1 or C1, start the broadcast The shutter of the camera captures the live image. For example, if sponsor B2 advertises sponsorship in country B, and sponsor C2 advertises sponsorship in country C, then the TV station of country B opens the shutter of the relay camera when the terminal display screen displays the hidden advertisement frame B1, and the TV station of country C is in When the terminal display screen displays the hidden advertisement frame C1, the shutter of the relay camera is opened. TV stations in different countries open the shutters of the broadcast cameras at different times, thus realizing the broadcast of various hidden advertising frames in different countries.

请参阅图3,示例性的示出了本申请一实施例的可降干扰的图像编码方法的流程图。可降干扰的图像编码方法用于赛事现场的图像合成处理。该方法包括步骤S102~S108,以下是对各步骤的具体说明。Please refer to FIG. 3 , which exemplarily shows a flowchart of an image coding method with reduced interference according to an embodiment of the present application. The image coding method that can reduce the interference is used for the image synthesis processing of the event scene. The method includes steps S102 to S108, and the following is a specific description of each step.

S102:获取视频图像在终端显示屏上显示时的终端显示帧频;S102: Obtain the terminal display frame rate when the video image is displayed on the terminal display screen;

当一组视频帧队列输送到一个显示器上进行显示时,具有预设的显示帧频。显示帧频是指单位时间内显示的视频帧的帧数。例如,1秒内显示256帧视频帧,则显示帧频为256。When a group of video frame queues are sent to a display for display, it has a preset display frame rate. Display frame rate refers to the number of video frames displayed per unit time. For example, if 256 video frames are displayed in 1 second, the display frame rate is 256.

本申请实施例中,终端显示屏为赛事现场的显示装置。例如,是前文所述赛事转播系统的LED显示屏。经过本申请实施例的可降干扰的图像编码方法处理后得到的视频帧队列输送到终端显示屏,以预设的显示帧频显示。In the embodiment of the present application, the terminal display screen is a display device at the event site. For example, it is the LED display of the event broadcasting system mentioned above. The video frame queue obtained after being processed by the interference-reducing image coding method according to the embodiment of the present application is sent to the terminal display screen, and displayed at a preset display frame rate.

显示帧频可以存储于上位机或视频处理器内。例如,在一些实施例中,显示帧频存储于上位机,上位机在向视频处理器发送视频码流时,一并将显示帧频发送到视频处理器,视频处理器根据显示帧频控制视频帧的显示。在另一些实施例中,显示帧频存储于视频处理器内。例如视频处理器具有预设的显示帧频参数,当显示帧频参数设置好后,经过视频处理器的视频帧就以该显示帧频进行显示。Display frame rate can be stored in the host computer or video processor. For example, in some embodiments, the display frame rate is stored in the host computer, and when the host computer sends the video code stream to the video processor, it also sends the display frame rate to the video processor, and the video processor controls the video according to the display frame rate. frame display. In other embodiments, the display frame rate is stored within the video processor. For example, the video processor has preset display frame rate parameters, and after the display frame rate parameters are set, the video frames passing through the video processor are displayed at the display frame rate.

在一些实施例中,获取视频图像在终端显示屏上显示时的终端显示帧频,即从视频处理器获取终端显示帧频。即使显示帧频存储于上位机,在进行图像合成时,仍然要从上位机发送到视频处理器,再由视频处理器分发到各终端显示屏进行显示(一个视频处理器可能控制多个终端显示屏),因此,只需要从视频处理器就可以过去到终端显示帧频。In some embodiments, the terminal display frame rate when the video image is displayed on the terminal display screen is acquired, that is, the terminal display frame rate is acquired from the video processor. Even if the display frame rate is stored in the host computer, during image synthesis, it still needs to be sent from the host computer to the video processor, and then distributed by the video processor to each terminal display screen for display (one video processor may control the display of multiple terminals). screen), therefore, it only needs to go from the video processor to the terminal to display the frame rate.

S104:根据终端显示帧频创建虚拟帧模板;S104: Create a virtual frame template according to the terminal display frame rate;

当显示帧频确定后,视频处理器即可以根据显示帧频创建虚拟帧模板。虚拟帧模板定义了一个帧框架,经过虚拟帧模板处理后得到的视频帧形成的视频帧队列具有与终端显示帧频相等的显示帧频。例如,一组视频帧队列经过虚拟帧模板后,显示帧频被设置为256。After the display frame rate is determined, the video processor can create a virtual frame template according to the display frame rate. The virtual frame template defines a frame frame, and the video frame queue formed by the video frames obtained after processing the virtual frame template has a display frame rate equal to the display frame rate of the terminal. For example, after a group of video frame queues pass through the virtual frame template, the display frame rate is set to 256.

本申请的实施例中,虚拟帧模板同时对至少两个视频帧队列进行处理,来自至少两个视频帧队列的至少两个视频帧,输入到虚拟帧模板后,合成为一帧虚拟帧。也就是说,虚拟帧包括多帧来自不同视频帧队列的视频帧。例如,两个视频帧队列输送到虚拟帧模板时,虚拟帧模板从两个视频帧队列各获取一帧视频帧,将两帧视频帧合成为一帧虚拟帧。即一帧虚拟帧内包括两帧来自两个视频帧队列的两帧不同视频帧。虚拟帧具有各终端显示帧频相同的显示帧频。In the embodiment of the present application, the virtual frame template processes at least two video frame queues at the same time, and at least two video frames from the at least two video frame queues are input into the virtual frame template and then synthesized into one virtual frame. That is, a virtual frame includes multiple frames of video frames from different video frame queues. For example, when two video frame queues are delivered to the virtual frame template, the virtual frame template obtains one video frame from each of the two video frame queues, and combines the two video frames into one virtual frame. That is, one virtual frame includes two different video frames from two video frame queues. The virtual frame has the same display frame rate of each terminal.

视频处理器在对虚拟帧进行处理时,以虚拟帧为整帧进行处理。也就是说,视频处理器认为虚拟帧是一帧视频帧,不能识别为多帧第一广告帧。When the video processor processes the virtual frame, the virtual frame is used as a whole frame for processing. That is to say, the video processor considers the virtual frame to be one video frame and cannot be identified as the multi-frame first advertisement frame.

在具体的实施例中,虚拟帧模板包括帧隔符,帧隔符用于将不同的视频帧分隔开来,这样,来自不同视频帧队列的不同视频帧通过帧隔符分隔,将来自不同视频帧队列的多帧视频帧合并为一帧虚拟帧。In a specific embodiment, the virtual frame template includes a frame separator, and the frame separator is used to separate different video frames. In this way, different video frames from different video frame queues are separated by The multi-frame video frames of the video frame queue are combined into one virtual frame.

S106:接收至少两种第一广告帧,根据虚拟帧模板合成至少两种第一广告帧,得到虚拟帧;S106: Receive at least two types of first advertisement frames, synthesize at least two types of first advertisement frames according to a virtual frame template, and obtain virtual frames;

视频处理器创建虚拟帧模板后,即可利用虚拟帧模板对第一广告帧进行合成处理。具体来说,视频处理器接收多帧第一广告帧,并将多帧第一广告帧用虚拟帧模板合成为一帧虚拟帧。第一广告帧是其他电视台售卖的、对现场观众不可见的广告帧。第一广告帧经过虚拟帧模板处理后,得到虚拟帧,虚拟帧送到终端显示屏进行解码,得到合成前的多帧第一广告帧。After the video processor creates the virtual frame template, the virtual frame template can be used to synthesize the first advertisement frame. Specifically, the video processor receives multiple frames of the first advertisement frame, and synthesizes the multiple frames of the first advertisement frame into one virtual frame by using a virtual frame template. The first advertisement frame is an advertisement frame sold by other TV stations and invisible to the live audience. After the first advertisement frame is processed by the virtual frame template, a virtual frame is obtained, and the virtual frame is sent to the terminal display screen for decoding to obtain the multi-frame first advertisement frame before synthesis.

第一广告帧具有多种,分别来自不同的电视台。一个虚拟帧模板可以对多个第一广告帧进行处理,利用虚拟帧模板将至少来源于不同视频源的两帧第一广告帧合成为虚拟帧。这样,至少两个不同视频源的第一广告帧经过合成后,得到一个虚拟帧队列。可以理解,一个虚拟帧模板不宜合成太多种第一广告帧,否则,第一广告帧的显示时间过短,不利于转播摄像机捕捉。虚拟帧模板可以设置多个,以在第一广告帧的种类数量过多时,能够实现充分处理。在具体的实施例中,一个虚拟帧模板对应两种第一广告帧,则得到的虚拟帧中,一帧虚拟帧包括两帧第一广告帧,且第一广告帧来自不同的第一广告帧队列。虚拟帧的显示帧频等于终端显示帧频。There are many kinds of first advertisement frames, which come from different TV stations. One virtual frame template can process multiple first advertisement frames, and use the virtual frame template to synthesize at least two first advertisement frames from different video sources into a virtual frame. In this way, after the first advertisement frames of at least two different video sources are synthesized, a virtual frame queue is obtained. It can be understood that one virtual frame template should not synthesize too many kinds of first advertisement frames, otherwise, the display time of the first advertisement frame is too short, which is not conducive to the capture of the relay camera. Multiple virtual frame templates can be set, so that when the number of types of the first advertisement frame is too large, sufficient processing can be achieved. In a specific embodiment, one virtual frame template corresponds to two types of first advertisement frames, then among the obtained virtual frames, one virtual frame includes two frames of first advertisement frames, and the first advertisement frames come from different first advertisement frames queue. The display frame rate of the virtual frame is equal to the terminal display frame rate.

请参阅图4,在一些实施例中,根据虚拟帧模板合成至少两帧第一广告帧,得到虚拟帧,具体包括:Referring to Fig. 4, in some embodiments, at least two first advertisement frames are synthesized according to a virtual frame template to obtain a virtual frame, which specifically includes:

S161:将第一广告帧整体编码为分帧数据包;S161: Encode the first advertisement frame as a whole into a framed data packet;

S163:将分帧数据包装入虚拟帧模板内,得到虚拟帧。S163: Pack the framed data into a virtual frame template to obtain a virtual frame.

根据虚拟帧模板合成第一广告帧时,视频处理器接收到第一广告帧后,将第一广告帧编码为分帧数据包,然后将分帧数据包装载到虚拟帧模板的数据字段内,不同的分帧数据包(即不同的第一广告帧)用帧隔符进行分隔,这样,将两帧第一广告帧装载为一帧虚拟帧。When synthesizing the first advertisement frame according to the virtual frame template, after receiving the first advertisement frame, the video processor encodes the first advertisement frame into a framed data packet, and then loads the framed data packet into the data field of the virtual frame template, Different framed data packets (ie, different first advertisement frames) are separated by frame separators, so that two frames of the first advertisement frames are loaded as one virtual frame.

在将虚拟帧输送到终端显示屏进行显示时,需要对虚拟帧进行解码,将第一广告帧从虚拟帧内解码出来,再将解码得到的第一广告帧显示在终端显示屏上。可以通过对虚拟帧的帧频进行定义,使得从虚拟帧解码得到的多帧第一广告帧共用虚拟帧的显示时间,从而缩短了第一广告帧的显示时间,由于多个第一广告帧共用虚拟帧的显示时间,因此第一广告帧的显示时间要短于虚拟帧的显示时间。第一广告帧的显示时间降低,从而降低了对现场可见广告帧(下文中的第二广告帧)的干扰。在对解码得到的多帧第一广告帧进行显示控制时,可以根据第一广告帧在虚拟帧内的分布确定显示顺序。When the virtual frame is sent to the terminal display screen for display, the virtual frame needs to be decoded, the first advertisement frame is decoded from the virtual frame, and then the decoded first advertisement frame is displayed on the terminal display screen. The frame rate of the virtual frame can be defined so that the multiple first advertisement frames decoded from the virtual frame share the display time of the virtual frame, thereby shortening the display time of the first advertisement frame. The display time of the virtual frame, so the display time of the first advertisement frame is shorter than the display time of the virtual frame. The display time of the first advertisement frame is reduced, thereby reducing the interference with the live visible advertisement frame (hereinafter the second advertisement frame). When performing display control on the decoded multi-frame first advertisement frames, the display sequence may be determined according to the distribution of the first advertisement frames in the virtual frame.

例如,请参阅图5,虚拟帧模板具有两个数据字段B1、B2,数据字段B1、B2之间存在帧隔符。根据虚拟帧模板合成两帧第一广告帧C1、C2时,两帧第一广告帧C1、C2分别装载到数据字段B1、B2内,示例性的,第一广告帧C1装载到数据字段B1内,第二广告帧C2装载到数据字段B2内。在对虚拟帧进行解码时,按照预设的规则解码,例如,先解码数据字段B1,再解码数据字段B2,则第一广告帧C1先解码出来,在终端显示屏上显示时,可以先显示第一广告帧C1,再显示第一广告帧C2。For example, referring to FIG. 5, the virtual frame template has two data fields B1, B2, and a frame separator exists between the data fields B1, B2. When synthesizing two first advertisement frames C1 and C2 according to the virtual frame template, the two first advertisement frames C1 and C2 are loaded into the data fields B1 and B2 respectively. Exemplarily, the first advertisement frame C1 is loaded into the data field B1 , the second advertisement frame C2 is loaded into the data field B2. When decoding the virtual frame, it is decoded according to the preset rules. For example, if the data field B1 is decoded first, and then the data field B2 is decoded, the first advertisement frame C1 is decoded first, and can be displayed first when displayed on the terminal display screen. The first advertisement frame C1 is displayed, and then the first advertisement frame C2 is displayed.

为了使同种第一广告帧的显示具有周期性和规律性,便于转播摄像机捕捉第一广告帧,不同的虚拟帧中,多种第一广告帧具有相同的位置分布。例如,根据虚拟帧模板合成两帧第一广告帧C1、C2时,第一广告帧C1所属的第一视频源的第一广告帧均装载到数据字段B1内,第一广告帧C2所属的第一视频源的第一广告帧均装载到数据字段B2内。In order to make the display of the first advertisement frame of the same type have periodicity and regularity, and it is convenient for the relay camera to capture the first advertisement frame, in different virtual frames, a variety of first advertisement frames have the same position distribution. For example, when synthesizing two first advertisement frames C1 and C2 according to the virtual frame template, the first advertisement frames of the first video source to which the first advertisement frame C1 belongs are loaded into the data field B1, and the first advertisement frame C2 belongs to the first advertisement frame. The first advertisement frames of a video source are loaded into the data field B2.

当第一广告帧的数量和虚拟帧模板不匹配时,例如,第一广告帧有11种,每个虚拟帧模板合成2帧第一广告帧,则有一帧第一广告帧无法和其他第一广告帧装入虚拟帧模板内,此时,将不匹配的第一广告帧和空帧装入到一个虚拟帧模板内。When the number of first advertisement frames does not match the virtual frame template, for example, there are 11 types of first advertisement frames, and each virtual frame template synthesizes 2 first advertisement frames, then one frame of the first advertisement frame cannot be combined with other first advertisement frames. The advertisement frame is loaded into the virtual frame template, and at this time, the unmatched first advertisement frame and the empty frame are loaded into a virtual frame template.

S108:接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,得到图像显示码流。S108: Receive a second advertisement frame, insert a virtual frame into the second advertisement frame according to a preset rule, and obtain an image display code stream.

第二广告帧为显示在终端显示屏上,对现场观众可见的帧。视频处理器接收第一广告帧和第二广告帧后,将第一广告帧用虚拟帧模板处理,得到虚拟帧。再将得到的虚拟帧与第二广告帧进行处理,将虚拟帧插入到第二广告帧内,最后,将插入虚拟帧后的第二广告帧(即图像显示码流)输送到终端显示屏上显示。The second advertisement frame is a frame displayed on the terminal display screen and visible to the live audience. After receiving the first advertisement frame and the second advertisement frame, the video processor processes the first advertisement frame with a virtual frame template to obtain a virtual frame. Then process the obtained virtual frame and the second advertisement frame, insert the virtual frame into the second advertisement frame, and finally, transmit the second advertisement frame (ie, the image display code stream) after inserting the virtual frame to the terminal display screen show.

可以理解,虚拟帧模板设置有多个时,多个虚拟帧模板得到的多个虚拟帧均插入到第二广告帧内,由于虚拟帧的帧频和终端显示帧频相等,因此,虚拟帧可以直接插入到第二广告帧内,而无需进行帧频调整。It can be understood that when multiple virtual frame templates are set, multiple virtual frames obtained from the multiple virtual frame templates are inserted into the second advertisement frame. Insert directly into the second ad frame without frame rate adjustments.

请参阅图6,在一些实施例中,将虚拟帧按照预设的规则插入到第二广告帧内,具体包括:Please refer to FIG. 6, in some embodiments, the virtual frame is inserted into the second advertisement frame according to a preset rule, which specifically includes:

S182:根据虚拟帧的显示帧频确定一组第二广告帧;S182: Determine a group of second advertisement frames according to the display frame rate of the virtual frame;

S184:确定虚拟帧的插入序列号,根据插入序列号确定虚拟帧的插入位置;S184: Determine the insertion sequence number of the virtual frame, and determine the insertion position of the virtual frame according to the insertion sequence number;

S186:将虚拟帧插入到确定的一组第二广告帧内,和插入位置对应的位置。S186: Insert the virtual frame into the determined group of second advertisement frames at a position corresponding to the insertion position.

在将虚拟帧插入到第二广告帧内时,为了便于转播摄像机捕获,可以实现周期性的插入,因此,可以根据虚拟帧的显示帧频和虚拟帧的数量确定一个周期数,再根据周期数确定一组第二广告帧。周期数小于终端显示帧频。When inserting the virtual frame into the second advertisement frame, in order to facilitate the capture of the rebroadcast camera, periodic insertion can be implemented. Therefore, a period number can be determined according to the display frame rate of the virtual frame and the number of virtual frames, and then according to the number of periods A set of second advertisement frames is determined. The number of cycles is less than the terminal display frame rate.

例如,虚拟帧的显示帧频为256,周期数可以确定为256,则插入虚拟帧后的第二广告帧队列可以包括256帧视频帧。若虚拟帧模板有两个,且虚拟帧模板都执行第一广告帧的合成处理,则,虚拟帧有两帧,对应的第一广告帧有4帧,则,256帧视频帧中,包括两帧虚拟帧和252帧第二广告帧。因此,确定的一组第二广告帧包括252帧第二广告帧,将两帧虚拟帧插入到252帧第二广告帧内。在前述的示例中,第二广告帧的帧数和虚拟帧内第一广告帧的帧数之和等于显示帧频,即周期数等于显示帧频,但实际不限于此。若按照周期数等于显示帧频设置,则转播摄像机1秒内仅捕捉一帧第一广告帧,这显然不利于转播,因此,为了捕获更多的第一广告帧,周期数可以远远小于显示帧频。For example, if the display frame rate of the virtual frame is 256, and the number of cycles may be determined as 256, the second advertisement frame queue after the virtual frame is inserted may include 256 video frames. If there are two virtual frame templates, and both virtual frame templates perform the synthesis processing of the first advertisement frame, then there are two virtual frames, and the corresponding first advertisement frame has 4 frames, then, the 256 video frames include two frame dummy frame and 252 frame second ad frame. Therefore, the determined set of second advertisement frames includes 252 frames of second advertisement frames, and two virtual frames are inserted into the 252 frames of second advertisement frames. In the foregoing example, the sum of the frame number of the second advertisement frame and the frame number of the first advertisement frame in the virtual frame is equal to the display frame rate, that is, the number of cycles is equal to the display frame rate, but it is not limited in practice. If the number of cycles is equal to the display frame rate setting, the broadcast camera only captures one frame of the first advertisement frame within 1 second, which is obviously not conducive to broadcast. Therefore, in order to capture more first advertisement frames, the number of cycles can be much smaller than the display frame rate. frame rate.

插入序列号定义了虚拟帧在一组第二广告帧内的插入位置,可以预先存储在视频处理器中。例如,在一些实施例中,插入序列号和虚拟帧模板相关联,在创建虚拟帧模板时,为每个虚拟帧模板分配一个插入序列号,由虚拟帧模板得到的虚拟帧时,虚拟帧的插入序列号即确定,因此,不同的虚拟帧对应不同的插入位置。The insertion sequence number defines the insertion position of the virtual frame within a group of second advertisement frames, and can be pre-stored in the video processor. For example, in some embodiments, the insertion sequence number is associated with the virtual frame template. When creating a virtual frame template, an insertion sequence number is assigned to each virtual frame template. When a virtual frame is obtained from the virtual frame template, the virtual frame The insertion sequence number is determined, so different virtual frames correspond to different insertion positions.

当确定一组第二广告帧,且各虚拟帧在该组第二广告帧内的插入位置确定,即可根据插入序列号将虚拟帧插入到对应的位置。When a group of second advertisement frames is determined, and the insertion position of each virtual frame in the group of second advertisement frames is determined, the virtual frame can be inserted into the corresponding position according to the insertion sequence number.

插入完成后,视频处理器可以依据插入后得到的视频帧队列得到各种第一广告帧的转播序列,赛事转播系统依据转播序列生成转播信号,将转播信号发送给转播摄像机后,转播摄像机就可以依据转播信号确定在何时开启快门,从而从终端显示屏捕获自家电视台售卖的第一广告帧。赛事转播系统内也可以预先存储有各种第一广告帧的转播序列,例如,可以根据预先存储的转播序列确定各第一广告帧的插入序列号。在依据转播序列生成转播信号之前,可以将视频处理器反馈的转播序列和预先存储的转播序列进行比对检验,在检验正确后,再生成转播信号,发送到转播摄像机。After the insertion is completed, the video processor can obtain the broadcast sequence of various first advertisement frames according to the video frame queue obtained after insertion. The event broadcast system generates the broadcast signal according to the broadcast sequence, and sends the broadcast signal to the broadcast camera. Determine when to open the shutter according to the broadcast signal, so as to capture the first advertisement frame sold by the own TV station from the display screen of the terminal. The broadcasting sequence of various first advertisement frames may also be pre-stored in the event broadcasting system. For example, the insertion sequence number of each first advertisement frame may be determined according to the pre-stored broadcasting sequence. Before generating the rebroadcast signal according to the rebroadcast sequence, the rebroadcast sequence fed back by the video processor can be compared with the pre-stored rebroadcast sequence, and after the verification is correct, the rebroadcast signal is generated and sent to the rebroadcast camera.

请参阅图7,在一些实施例中,步骤S108之前,还包括:Please refer to Fig. 7, in some embodiments, before step S108, also include:

S172:对第一广告帧进行色度值运算,得到每一帧第一广告帧对应的运算帧;S172: Perform chromaticity value operation on the first advertisement frame to obtain the operation frame corresponding to the first advertisement frame of each frame;

S174:根据虚拟帧模板合成至少两帧运算帧,得到虚拟运算帧。S174: Synthesize at least two operation frames according to the virtual frame template to obtain a virtual operation frame.

步骤108中,将虚拟帧按照预设的规则插入到第二广告帧内,具体为:In step 108, the virtual frame is inserted into the second advertisement frame according to the preset rule, specifically:

将虚拟帧和虚拟运算帧按照预设的规则插入到第二广告帧内。The virtual frame and the virtual operation frame are inserted into the second advertisement frame according to preset rules.

当图像显示码流输送到终端显示屏显示时,图像显示码流包括虚拟帧和第二广告帧,虚拟帧在终端显示屏解码为第一广告帧,第二广告帧的数量远多于第一广告帧。但是由于第一广告帧也具有一定数量,且第一广告帧和第二广告帧的图像差异较大,色度值相差较大,会对第二广告帧的显示造成一定影响,第一广告帧的数量越多,造成的影响越大。为了降低这种影响,可以基于第一广告帧进行色度值运算,得到运算帧,运算帧和对应的第一广告帧叠加显示在显示器上是呈纯白色。因此,只要运算帧和对应的第一广告帧在极短的时间内先后显示,就可以通过运算帧降低该运算帧对应的第一广告帧对第二广告帧造成的干扰,每一个第一广告帧均对应一个运算帧,就可以降低全部第一广告帧的干扰。当然,为了降低在第二广告帧内插入其他视频帧的数量,也可以仅有部分第二广告帧对应的运算帧被插入到第二广告帧内。When the image display code stream is sent to the terminal display screen for display, the image display code stream includes a virtual frame and a second advertisement frame. The virtual frame is decoded into the first advertisement frame on the terminal display screen, and the number of the second advertisement frame is much more than that of the first advertisement frame. Advertising frame. However, because the first advertisement frame also has a certain number, and the image difference between the first advertisement frame and the second advertisement frame is large, and the chromaticity value is greatly different, it will have a certain impact on the display of the second advertisement frame. The greater the number, the greater the impact. In order to reduce this influence, the chromaticity value operation can be performed based on the first advertisement frame to obtain the operation frame, and the operation frame and the corresponding first advertisement frame are superimposed and displayed on the display as pure white. Therefore, as long as the operation frame and the corresponding first advertisement frame are displayed successively in a very short period of time, the interference caused by the first advertisement frame corresponding to the operation frame to the second advertisement frame can be reduced through the operation frame. Each frame corresponds to one operation frame, so that the interference of all the first advertisement frames can be reduced. Of course, in order to reduce the number of other video frames inserted into the second advertisement frame, only part of the operation frames corresponding to the second advertisement frame may be inserted into the second advertisement frame.

可以理解,根据虚拟帧模板合成虚拟运算帧的过程和合成虚拟帧的过程基本相同,最终显示在终端显示屏上时,解码得到运算帧再进行显示。It can be understood that the process of synthesizing the virtual operation frame according to the virtual frame template is basically the same as the process of synthesizing the virtual frame. When finally displayed on the terminal display screen, the operation frame is decoded to obtain the operation frame and then displayed.

根据虚拟帧模板合成运算帧的过程可以和根据虚拟帧模板合成第一广告帧的过程相适应,当多帧第一广告帧合成为一帧虚拟帧时,该多帧第一广告帧对应的运算帧也合成为一帧虚拟运算帧。The process of synthesizing the operation frame according to the virtual frame template can be adapted to the process of synthesizing the first advertisement frame according to the virtual frame template. Frames are also composited into a virtual arithmetic frame.

虚拟运算帧的插入可以无需插入序列号,可以随机的插入到确定的一组第二广告帧内,只要能够确保运算帧能够降低第一广告帧的影响即可。运算帧不被转播摄像机捕捉。The insertion of the virtual operation frame may be randomly inserted into a certain group of second advertisement frames without inserting a serial number, as long as the operation frame can be ensured to reduce the influence of the first advertisement frame. Computational frames are not captured by the broadcast camera.

请参阅图8,在一些实施例中,还可以包括步骤:Please refer to Fig. 8, in some embodiments, can also include steps:

S110:将图像显示码流输送到终端显示屏上显示。S110: Send the image display code stream to the terminal display screen for display.

将虚拟帧插入到第二广告帧内,得到图像显示码流,图像显示码流包括虚拟帧和第二广告帧,将虚拟帧和第二广告帧输送到终端显示屏。The virtual frame is inserted into the second advertisement frame to obtain an image display code stream, the image display code stream includes the virtual frame and the second advertisement frame, and the virtual frame and the second advertisement frame are sent to the terminal display screen.

在输送时,虚拟帧作为一帧输送到终端显示屏,即,虚拟帧内的多帧第一广告帧被同时输送到终端显示屏。During delivery, the virtual frame is delivered to the terminal display screen as one frame, that is, the first advertisement frames of multiple frames within the virtual frame are simultaneously delivered to the terminal display screen.

终端显示屏在接收到第二广告帧时,直接将第二广告帧显示。终端显示屏接收到虚拟帧时,先对虚拟帧进行解码处理,得到多帧第一广告帧,再将多帧第一广告帧先后显示在终端显示屏上。具体来说,终端显示屏的控制卡在接收到虚拟帧后,根据虚拟帧模板解析虚拟帧,得到封装在虚拟帧内的多帧第一广告帧。然后,控制卡控制多帧第一广告帧的显示。When receiving the second advertisement frame, the terminal display screen directly displays the second advertisement frame. When the terminal display screen receives the virtual frame, the virtual frame is first decoded to obtain the multi-frame first advertisement frame, and then the multi-frame first advertisement frame is successively displayed on the terminal display screen. Specifically, after receiving the virtual frame, the control card of the terminal display screen parses the virtual frame according to the virtual frame template, and obtains the multi-frame first advertisement frame encapsulated in the virtual frame. Then, the control card controls the display of the first advertisement frame of the multiple frames.

多帧第一广告帧的显示可以根据第一广告帧在虚拟帧内的分布来确定显示顺序。具体来说,可以根据前述的解码顺序来显示。或者,对虚拟帧内的数据字段进行优先级分级,解码出的第一广告帧根据数据字段的优先级的顺序来显示到终端显示屏上。The display sequence of the first advertisement frames of the multiple frames may be determined according to the distribution of the first advertisement frames in the virtual frame. Specifically, it can be displayed according to the aforementioned decoding order. Alternatively, the data fields in the virtual frame are prioritized, and the decoded first advertisement frame is displayed on the display screen of the terminal according to the priority order of the data fields.

根据本申请实施例的可降干扰的图像编码方法,通过虚拟帧模板将多帧第一广告帧合成为虚拟帧,再将虚拟帧模板插入到第二广告帧内,这样,相当于原来多帧第一广告帧共用了一帧虚拟帧的显示时间,由于在不改变终端显示帧频的前提下,降低了第一广告帧的显示时间,因而可以降低插入第一广告帧对第二广告帧的影响。According to the image coding method for reducing interference according to the embodiment of the present application, multiple frames of the first advertisement frame are synthesized into a virtual frame by using a virtual frame template, and then the virtual frame template is inserted into the second advertisement frame. In this way, it is equivalent to the original multiple frames. The first advertisement frame shares the display time of a virtual frame. Since the display time of the first advertisement frame is reduced without changing the terminal display frame rate, the insertion time of the first advertisement frame to the second advertisement frame can be reduced. influences.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the sake of simple description, the method embodiments are described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences, because According to embodiments of the present invention, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

请参阅图9,本申请还提供一种图像处理系统10,包括帧频获取部件110、模板创建部件120、合成部件130、插入部件140和输出部件150,其中,Referring to FIG. 9, the present application further provides an image processing system 10, including a frame rate acquisition unit 110, a template creation unit 120, a synthesis unit 130, an insertion unit 140, and an output unit 150, wherein,

帧频获取部件110,用于获取视频图像在终端显示屏上显示时的终端显示帧频;a frame rate acquiring component 110, configured to acquire the terminal display frame rate when the video image is displayed on the terminal display screen;

模板创建部件120,用于根据终端显示帧频创建虚拟帧模板;a template creation component 120, configured to create a virtual frame template according to the terminal display frame rate;

合成部件130,用于接收至少两种第一广告帧,根据虚拟帧模板合成至少两种第一广告帧,得到虚拟帧;其中,虚拟帧的显示帧频等于终端显示帧频;The synthesizing component 130 is configured to receive at least two kinds of first advertisement frames, and synthesize at least two kinds of first advertisement frames according to a virtual frame template to obtain a virtual frame; wherein, the display frame rate of the virtual frame is equal to the terminal display frame rate;

虚拟帧模板同时对至少两个视频帧队列进行处理,来自至少两个视频帧队列的至少两个视频帧,输入到虚拟帧模板后,合成为一帧虚拟帧。也就是说,虚拟帧包括多帧来自不同视频帧队列的视频帧。例如,两个视频帧队列输送到虚拟帧模板时,虚拟帧模板从两个视频帧队列各获取一帧视频帧,将两帧视频帧合成为一帧虚拟帧。合成得到的虚拟帧中,不同的虚拟帧内,多种第一广告帧具有相同的位置分布。The virtual frame template processes at least two video frame queues at the same time, and at least two video frames from the at least two video frame queues are input into the virtual frame template and then synthesized into one virtual frame. That is, a virtual frame includes multiple frames of video frames from different video frame queues. For example, when two video frame queues are delivered to the virtual frame template, the virtual frame template obtains one video frame from each of the two video frame queues, and combines the two video frames into one virtual frame. In the synthesized virtual frames, in different virtual frames, various first advertisement frames have the same position distribution.

插入部件140,用于接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,得到图像显示码流;The inserting part 140 is used for receiving the second advertisement frame, inserting the virtual frame into the second advertisement frame according to the preset rule, and obtaining the image display code stream;

输出部件150,用于将图像显示码流输送到终端显示屏上显示。The output component 150 is used for delivering the image display code stream to the terminal display screen for display.

请参阅图10,在一个或多个实施例中,合成部件130包括:Referring to FIG. 10, in one or more embodiments, the synthesis component 130 includes:

编码组件131,用于将第一广告帧整体编码为分帧数据包;an encoding component 131, configured to encode the first advertisement frame as a whole into a framed data packet;

装载组件133,用于将分帧数据包装入虚拟帧模板内,得到虚拟帧。The loading component 133 is used to package the framed data into a virtual frame template to obtain a virtual frame.

根据虚拟帧模板合成第一广告帧时,视频处理器接收到第一广告帧后,将第一广告帧编码为分帧数据包,然后将分帧数据包装载到虚拟帧模板的数据字段内,不同的分帧数据包(即不同的第一广告帧)用帧隔符进行分隔,这样,将两帧第一广告帧装载为一帧虚拟帧。When synthesizing the first advertisement frame according to the virtual frame template, after receiving the first advertisement frame, the video processor encodes the first advertisement frame into a framed data packet, and then loads the framed data packet into the data field of the virtual frame template, Different framed data packets (ie, different first advertisement frames) are separated by frame separators, so that two frames of the first advertisement frames are loaded as one virtual frame.

请参阅图10,在一个或多个实施例中,插入部件140包括:Referring to Figure 10, in one or more embodiments, the insert member 140 includes:

组数确定组件141,用于根据虚拟帧的显示帧频确定一组第二广告帧;具体的,组数确定组件141根据虚拟帧的显示帧频和虚拟帧的数量确定一个周期数,再根据周期数确定一组第二广告帧,其中,周期数小于终端显示帧频。The group number determination component 141 is used to determine a group of second advertisement frames according to the display frame rate of the virtual frame; specifically, the group number determination component 141 determines a cycle number according to the display frame rate of the virtual frame and the number of virtual frames, and then according to The number of cycles determines a group of second advertisement frames, wherein the number of cycles is less than the terminal display frame rate.

插入确定组件143,用于确定虚拟帧的插入序列号,根据插入序列号确定虚拟帧的插入位置;Insertion determining component 143, for determining the insertion sequence number of the virtual frame, and determining the insertion position of the virtual frame according to the insertion sequence number;

插入执行组件145,用于将虚拟帧插入到确定的一组第二广告帧内,和插入位置对应的位置。The insertion execution component 145 is used for inserting the virtual frame into the determined group of second advertisement frames at a position corresponding to the insertion position.

请参阅图11,在一个或多个实施例中,还包括:Referring to Figure 11, in one or more embodiments, it also includes:

运算部件160,用于对第一广告帧进行色度值运算,得到每一帧第一广告帧对应的运算帧;The operation part 160 is used for performing chromaticity value operation on the first advertisement frame to obtain the operation frame corresponding to the first advertisement frame of each frame;

合成部件130还用于根据虚拟帧模板合成至少两帧运算帧,得到虚拟运算帧。The synthesizing component 130 is further configured to synthesize at least two operation frames according to the virtual frame template to obtain a virtual operation frame.

插入部件140在将虚拟帧插入到第二广告帧内时,同时将虚拟运算帧插入到第二广告帧内。虚拟运算帧的插入可以是无规则的插入。When inserting the dummy frame into the second advertisement frame, the inserting part 140 inserts the dummy operation frame into the second advertisement frame at the same time. The insertion of virtual operation frames may be random insertion.

将图像显示码流输送到终端显示屏上显示时,终端显示屏在接收到虚拟帧时,根据虚拟帧模板解析虚拟帧,得到封装在虚拟帧内的多帧第一广告帧;然后控制多帧第一广告帧的显示,其中多帧第一广告帧的显示可以根据第一广告帧在虚拟帧内的分布来确定显示顺序。When the image display code stream is sent to the terminal display screen for display, when the terminal display screen receives the virtual frame, it parses the virtual frame according to the virtual frame template, and obtains the multi-frame first advertisement frame encapsulated in the virtual frame; then control the multi-frame The display of the first advertisement frame, wherein the display sequence of the multiple frames of the first advertisement frame may be determined according to the distribution of the first advertisement frame in the virtual frame.

本申请一实施例还提供一种机器可读存储介质,其上存储有计算机程序,其中所述计算机程序在由处理器执行时实现上述任一实施例所述的方法。An embodiment of the present application further provides a machine-readable storage medium on which a computer program is stored, wherein the computer program implements the method described in any of the foregoing embodiments when executed by a processor.

所述系统/计算机装置集成的部件/模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施方式方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,所述计算机程序在被处理器执行时,可实现上述各个方法实施方式的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The integrated components/modules/units of the system/computer device, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.

本申请还提供一种计算机设备,包括:处理器;存储器,用于存储所述处理器的可执行指令;其中,所述处理器被配置为经由执行所述可执行指令来执行上述任一实施例所述的方法。计算机设备可以是视频处理器。The present application also provides a computer device, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the above implementations by executing the executable instructions method described in the example. The computer device may be a video processor.

在本申请所提供的几个具体实施方式中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施方式仅仅是示意性的,例如,所述部件的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several specific embodiments provided in this application, it should be understood that the disclosed system and method may be implemented in other manners. For example, the system implementations described above are only illustrative. For example, the division of the components is only a logical function division, and there may be other division manners in actual implementation.

另外,在本申请各个实施例中的各功能模块/部件可以集成在相同处理模块/部件中,也可以是各个模块/部件单独物理存在,也可以两个或两个以上模块/部件集成在相同模块/部件中。上述集成的模块/部件既可以采用硬件的形式实现,也可以采用硬件加软件功能模块/部件的形式实现。In addition, each functional module/component in each embodiment of the present application may be integrated in the same processing module/component, or each module/component may exist physically alone, or two or more modules/components may be integrated in the same processing module/component. in the module/component. The above-mentioned integrated modules/components may be implemented in the form of hardware, or may be implemented in the form of hardware plus software function modules/components.

对于本领域技术人员而言,显然本申请实施例不限于上述示范性实施例的细节,而且在不背离本申请实施例的精神或基本特征的情况下,能够以其他的具体形式实现本申请实施例。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请实施例的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请实施例内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统、装置或终端权利要求中陈述的多个单元、模块或装置也可以由同一个单元、模块或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the embodiments of the present application are not limited to the details of the above-mentioned exemplary embodiments, and can be implemented in other specific forms without departing from the spirit or essential features of the embodiments of the present application. example. Accordingly, the embodiments should be considered in all respects to be exemplary rather than restrictive, and the scope of the embodiments of the present application is defined by the appended claims rather than the foregoing description, and is therefore intended to fall within the scope of All changes within the meaning and scope of equivalents of the claims are included in the embodiments of the present application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Multiple units, modules or means recited in the system, device or terminal claims can also be implemented by the same unit, module or means by software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

1.一种可降干扰的图像编码方法,用于赛事现场的图像合成处理,其特征在于,包括:1. a kind of image coding method that can reduce interference, is used for the image synthesis processing of event site, it is characterised in that comprising: 获取视频图像在终端显示屏上显示时的终端显示帧频;Obtain the terminal display frame rate when the video image is displayed on the terminal display screen; 根据终端显示帧频创建虚拟帧模板;Create a virtual frame template according to the terminal display frame rate; 接收至少两种第一广告帧,根据虚拟帧模板合成至少两种第一广告帧,得到虚拟帧;其中,虚拟帧的显示帧频等于终端显示帧频;Receive at least two kinds of first advertisement frames, synthesize at least two kinds of first advertisement frames according to a virtual frame template, and obtain a virtual frame; wherein, the display frame rate of the virtual frame is equal to the terminal display frame rate; 接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,得到图像显示码流;Receive the second advertisement frame, insert the virtual frame into the second advertisement frame according to the preset rule, and obtain the image display code stream; 将图像显示码流输送到终端显示屏上显示。The image display code stream is sent to the terminal display screen for display. 2.根据权利要求1所述的可降干扰的图像编码方法,其特征在于,所述根据虚拟帧模板合成至少两帧第一广告帧,得到虚拟帧,具体包括:2. the image coding method of reducing interference according to claim 1, is characterized in that, described according to virtual frame template synthesizing at least two frames of first advertisement frame, obtains virtual frame, specifically comprises: 将第一广告帧整体编码为分帧数据包;Encoding the first advertisement frame as a whole into a framed data packet; 将分帧数据包装入虚拟帧模板内,得到虚拟帧。Pack the framed data into a virtual frame template to obtain a virtual frame. 3.根据权利要求1所述的可降干扰的图像编码方法,其特征在于,不同的虚拟帧内,多种第一广告帧具有相同的位置分布。3 . The image coding method with reduced interference according to claim 1 , wherein, within different virtual frames, a plurality of first advertisement frames have the same location distribution. 4 . 4.根据权利要求1所述的可降干扰的图像编码方法,其特征在于,所述将虚拟帧按照预设的规则插入到第二广告帧内,具体包括:4. The image coding method that can reduce interference according to claim 1, is characterized in that, described virtual frame is inserted in the second advertisement frame according to preset rule, specifically comprises: 根据虚拟帧的显示帧频确定一组第二广告帧;determining a group of second advertisement frames according to the display frame rate of the virtual frame; 确定虚拟帧的插入序列号,根据插入序列号确定虚拟帧的插入位置;Determine the insertion sequence number of the virtual frame, and determine the insertion position of the virtual frame according to the insertion sequence number; 将虚拟帧插入到确定的一组第二广告帧内,和插入位置对应的位置。Insert the virtual frame into the determined group of second advertisement frames at the position corresponding to the insertion position. 5.根据权利要求4所述的可降干扰的图像编码方法,其特征在于,所述根据虚拟帧的显示帧频确定一组第二广告帧,具体为:5. The image coding method for reducing interference according to claim 4, wherein the determining a group of second advertisement frames according to the display frame frequency of the virtual frame is specifically: 根据虚拟帧的显示帧频和虚拟帧的数量确定一个周期数,再根据周期数确定一组第二广告帧,其中,周期数小于终端显示帧频。A cycle number is determined according to the display frame rate of the virtual frame and the number of virtual frames, and then a group of second advertisement frames is determined according to the cycle number, wherein the cycle number is less than the terminal display frame rate. 6.根据权利要求4所述的可降干扰的图像编码方法,其特征在于,所述接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内的步骤之前,还包括:6 . The image coding method for reducing interference according to claim 4 , wherein before the step of receiving the second advertisement frame and inserting the virtual frame into the second advertisement frame according to a preset rule, the method further comprises: 7 . : 对第一广告帧进行色度值运算,得到每一帧第一广告帧对应的运算帧;Perform chromaticity value operation on the first advertisement frame to obtain the operation frame corresponding to the first advertisement frame of each frame; 根据虚拟帧模板合成至少两帧运算帧,得到虚拟运算帧;Synthesize at least two operation frames according to the virtual frame template to obtain a virtual operation frame; 所述将虚拟帧按照预设的规则插入到第二广告帧内,具体为:The described virtual frame is inserted into the second advertisement frame according to the preset rule, specifically: 将虚拟帧和虚拟运算帧按照预设的规则插入到第二广告帧内。The virtual frame and the virtual operation frame are inserted into the second advertisement frame according to preset rules. 7.根据权利要求1所述的可降干扰的图像编码方法,其特征在于,所述将图像显示码流输送到终端显示屏上显示的步骤中,7. The image encoding method with reduced interference according to claim 1, wherein, in the step of delivering the image display code stream to display on the terminal display screen, 终端显示屏在接收到虚拟帧时,根据虚拟帧模板解析虚拟帧,得到封装在虚拟帧内的多帧第一广告帧;When the terminal display screen receives the virtual frame, it analyzes the virtual frame according to the virtual frame template, and obtains the multi-frame first advertisement frame encapsulated in the virtual frame; 控制多帧第一广告帧的显示,其中多帧第一广告帧的显示根据第一广告帧在虚拟帧内的分布来确定显示顺序。The display of the first advertisement frames of the multiple frames is controlled, wherein the display order of the first advertisement frames of the multiple frames is determined according to the distribution of the first advertisement frames in the virtual frame. 8.一种图像处理系统,其特征在于,包括帧频获取部件、模板创建部件、合成部件、插入部件和输出部件,其中,8. An image processing system, characterized in that it comprises a frame rate acquisition part, a template creation part, a synthesis part, an insertion part and an output part, wherein, 帧频获取部件,用于获取视频图像在终端显示屏上显示时的终端显示帧频;The frame rate acquisition component is used to acquire the terminal display frame rate when the video image is displayed on the terminal display screen; 模板创建部件,用于根据终端显示帧频创建虚拟帧模板;The template creation component is used to create a virtual frame template according to the terminal display frame rate; 合成部件,用于接收至少两种第一广告帧,根据虚拟帧模板合成至少两种第一广告帧,得到虚拟帧;其中,虚拟帧的显示帧频等于终端显示帧频;a synthesizing component, configured to receive at least two kinds of first advertisement frames, and synthesize at least two kinds of first advertisement frames according to a virtual frame template to obtain a virtual frame; wherein, the display frame rate of the virtual frame is equal to the terminal display frame rate; 插入部件,用于接收第二广告帧,将虚拟帧按照预设的规则插入到第二广告帧内,得到图像显示码流;The inserting component is used for receiving the second advertisement frame, inserting the virtual frame into the second advertisement frame according to the preset rule, and obtaining the image display code stream; 输出部件,用于将图像显示码流输送到终端显示屏上显示。The output part is used to deliver the image display code stream to the terminal display screen for display. 9.一种计算机设备,包括:处理器;存储器,用于存储所述处理器的可执行指令;其特征在于,所述处理器被配置为经由执行所述可执行指令来执行权利要求1-7任一项所述的方法的步骤。9. A computer device comprising: a processor; a memory for storing executable instructions of the processor; characterized in that the processor is configured to execute claims 1- via executing the executable instructions 7 the steps of any one of the methods. 10.一种机器可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序在由处理器执行时实现权利要求1~7任一所述方法的步骤。10 . A machine-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of any one of the methods of claims 1 to 7 .
CN202110388698.9A 2021-04-12 2021-04-12 Image coding method, system, device and medium capable of reducing interference Active CN113115073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110388698.9A CN113115073B (en) 2021-04-12 2021-04-12 Image coding method, system, device and medium capable of reducing interference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110388698.9A CN113115073B (en) 2021-04-12 2021-04-12 Image coding method, system, device and medium capable of reducing interference

Publications (2)

Publication Number Publication Date
CN113115073A CN113115073A (en) 2021-07-13
CN113115073B true CN113115073B (en) 2022-09-02

Family

ID=76715552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110388698.9A Active CN113115073B (en) 2021-04-12 2021-04-12 Image coding method, system, device and medium capable of reducing interference

Country Status (1)

Country Link
CN (1) CN113115073B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118317093B (en) * 2024-06-11 2024-09-03 杭州芯正微电子有限公司 Compression coding stable code rate stream pushing method, device and application thereof

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4849297B2 (en) * 2005-04-26 2012-01-11 ソニー株式会社 Encoding apparatus and method, decoding apparatus and method, and program
US9031138B1 (en) * 2014-05-01 2015-05-12 Google Inc. Method and system to combine multiple encoded videos for decoding via a video docoder
CN106162221A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 The synthetic method of live video, Apparatus and system
DE102016010037A1 (en) * 2016-08-22 2018-02-22 Michael Schick Changing a representation of a reality for informational purposes
AU2018211533B2 (en) * 2017-01-27 2020-08-27 H2Vr Holdco, Inc. Method and system for transmitting alternative image content of a physical display to different viewers
CN107071322A (en) * 2017-04-27 2017-08-18 西安诺瓦电子科技有限公司 Video record and processing system and method
CN107147861A (en) * 2017-04-27 2017-09-08 西安诺瓦电子科技有限公司 Video record and processing system and method
CN110225265A (en) * 2019-06-21 2019-09-10 深圳市奥拓电子股份有限公司 Advertisement replacement method, system and storage medium during video transmission
CN110677559B (en) * 2019-09-10 2021-07-09 深圳市奥拓电子股份有限公司 Method, device and storage medium for displaying rebroadcast video in different ways
WO2021056199A1 (en) * 2019-09-24 2021-04-01 华为技术有限公司 Communication method and apparatus
CN110806845B (en) * 2019-09-30 2021-10-26 深圳市奥拓电子股份有限公司 Image display control method, system and storage medium

Also Published As

Publication number Publication date
CN113115073A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN110475150B (en) Rendering method and device for special effect of virtual gift and live broadcast system
CN110536151B (en) Virtual gift special effect synthesis method and device and live broadcast system
CN110493630B (en) Processing method and device for special effect of virtual gift and live broadcast system
CN101910999B (en) Method, apparatus and system for generating and facilitating mobile high-definition multimedia interface
CN108495152B (en) Video live broadcast method and device, electronic equipment and medium
CN110225265A (en) Advertisement replacement method, system and storage medium during video transmission
JP2021532638A (en) Methods and systems for sending alternative image content on physical displays to different viewers
CN105791889A (en) Advertisement inter-cut method for video live broadcasting and advertisement inter-cut device for video live broadcasting
CN109195025B (en) Game advertisement production method and platform and storage medium
CN106341696A (en) Live video stream processing method and device
CN108769824A (en) A kind of video mixed flow method, apparatus, system, equipment and medium
CN113115073B (en) Image coding method, system, device and medium capable of reducing interference
US10924779B2 (en) Location agnostic media control room and broadcasting facility
CN107317815A (en) A kind of method and device, storage medium and the terminal of video superposition
CN106713942A (en) Video processing method and video processing device
CN105142000A (en) Information pushing method and system based on television playing content
CN116489454A (en) Method and device for processing high dynamic range video containing subtitles
CN107071322A (en) Video record and processing system and method
CN106686405B (en) Video rebroadcasting method and system
CN106921884A (en) Display control card and display control method
CN107147861A (en) Video record and processing system and method
CN108848106A (en) Customized data method, device and readable storage medium storing program for executing are transmitted by audio stream
CN105847990B (en) The method and apparatus for playing media file
Kim et al. Design and implementation for interactive augmented broadcasting system
CN105812960A (en) Method, display terminal and system for carrying hidden information in display picture

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220810

Address after: 644000 Room 301, block d1-c, science and technology innovation center, Guoxing Avenue, Lingang Economic Development Zone, Yibin City, Sichuan Province

Applicant after: Yibin Tianlong Communication Co.,Ltd.

Address before: No. 230, Zhonghuan West Road, Panyu District, Guangzhou, Guangdong 511400

Applicant before: Li Hongfu

GR01 Patent grant
GR01 Patent grant