WO2021082799A1 - Videoconference auxiliary stream processing method and device - Google Patents
Videoconference auxiliary stream processing method and device Download PDFInfo
- Publication number
- WO2021082799A1 WO2021082799A1 PCT/CN2020/116249 CN2020116249W WO2021082799A1 WO 2021082799 A1 WO2021082799 A1 WO 2021082799A1 CN 2020116249 W CN2020116249 W CN 2020116249W WO 2021082799 A1 WO2021082799 A1 WO 2021082799A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- auxiliary stream
- coding
- window
- encoding
- video conference
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
- H04N7/152—Multipoint control units therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
Definitions
- the present invention relates to the field of communication technology, and in particular to a method and device for processing auxiliary streams of video conferences.
- the video conference terminal sends the main stream and secondary stream to other terminals through the MCU (Multipoint Control Unit).
- the main stream refers to the video signal of the camera connected to the video conference terminal
- the secondary stream refers to the signal of the computer connected to the video conference terminal, such as the screen signal output when the computer shares files.
- auxiliary stream access of the video conference terminal In video conferences, PCs, notebooks, etc. are very common application scenarios as the auxiliary stream access of the video conference terminal. It is often necessary to view Excel or presentation PPT on a PC or notebook.
- the auxiliary stream picture is more complicated and contains many lines.
- the MCU device When the picture is switched, the video auxiliary stream video frame after the encoding of the video conference terminal will be blurry and occupy Very large bandwidth, the MCU device has strict bandwidth restrictions.
- the MCU device When the encoding of the auxiliary stream exceeds the negotiated bandwidth, the MCU device will discard part of the video auxiliary stream data, causing the receiving end of the auxiliary stream to decode abnormally, causing problems such as screen freezes or blurring. .
- the embodiments of the present application provide a method and device for processing a video conference auxiliary stream, which can improve the picture clarity of the video conference auxiliary stream and improve user experience.
- an embodiment of the present application provides a video conference auxiliary stream processing method, including:
- an embodiment of the present application provides a video conference auxiliary stream processing device, including:
- the encoding module is set to encode the auxiliary stream of the video conference by using an encoding window of a predetermined length
- the bandwidth limit module is set to perform real-time bandwidth detection and current limiting processing on the video conference auxiliary stream by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frame in the current encoding window exceeds the bandwidth limit, all The auxiliary stream video frames in the current encoding window are subjected to frame drop processing, so that the total amount of encoding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit.
- an embodiment of the present application provides a video conference auxiliary stream processing device, including:
- a memory, a processor, and a video conference auxiliary stream processing program that is stored on the memory and can run on the processor, and the video conference auxiliary stream processing program is executed by the processor to realize the video conference auxiliary stream processing Method steps.
- an embodiment of the present application provides a computer-readable storage medium having a video conference auxiliary stream processing program stored on the computer-readable storage medium, and the video conference auxiliary stream processing program is executed by a processor When realizing the steps of the above video conference auxiliary stream processing method.
- FIG. 1 is a flowchart of a method for processing auxiliary streams of a video conference according to Embodiment 1 of the application;
- FIG. 2 is a schematic diagram of a video conference auxiliary stream processing apparatus according to Embodiment 2 of the application.
- an embodiment of the present application provides a video conference auxiliary stream processing method, including:
- Step S110 encoding the auxiliary stream of the video conference by using an encoding window of a predetermined length
- Step S120 Perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, the current encoding window Frame drop processing is performed on the auxiliary stream video frames inside, so that the total amount of coding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit;
- the performing real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window includes:
- m is the largest integer that can make the total coding amount of the first m auxiliary stream video frames in the current sliding window not exceed the bandwidth limit
- the encoding size of the encoded video conference auxiliary stream is detected frame by frame through the sliding window, which can ensure the real-time performance of encoding bandwidth detection. And by abandoning the coding of some frames in the sliding window, the bandwidth limit can be adaptively adapted.
- the performing real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window includes:
- I-frame encoding refers to intra-frame compression encoding, which compresses, encodes and transmits the full-frame image information, and only uses I-frame data to reconstruct the complete image during decoding;
- the method before encoding a video conference auxiliary stream by using an encoding window of a predetermined length, the method further includes:
- the encoding parameter includes at least one of the following parameters: quantizer parameter (Quantizer Parameter, QP for short), resolution, frame rate, and code rate;
- the quantization parameter reflects the compression of spatial details. The smaller the value, the finer the quantization, the higher the image quality, and the longer the code stream generated.
- the resolution determines the fineness of the bitmap image details. Generally, the higher the resolution of the image, the more pixels it contains, the clearer the image and the greater the amount of coding.
- Frame rate refers to the number of frames or images that are shown or displayed per second. If you play more frames per second, the playback will be smoother. Too low frame rate will cause intermittent playback.
- the code rate is the number of data bits transmitted per unit time during data transmission. The higher the bit rate, the smaller the compressed ratio and the smaller the playback quality loss.
- the setting of coding parameters is usually limited by the bandwidth, the quantization parameter cannot be unlimitedly small, and the resolution cannot be unlimitedly high.
- the clarity of the picture can be improved to a certain extent.
- the definition of each frame of the video conference auxiliary stream can be improved. Since the video conference auxiliary stream is not sensitive to the smoothness of the picture, it is possible to sacrifice part of the smoothness of the video conference auxiliary stream picture through dynamic frame drop processing, thereby improving the clarity of the overall picture.
- the length of the encoding window is 1 second
- the sliding distance of the encoding window is 1 frame each time
- performing real-time bandwidth detection and current limiting processing on the video conference auxiliary stream by sliding the encoding window includes performing the following steps:
- Step 1 Create an array Array[] with a length of M.
- the value of each element in the array Array[] represents the encoding amount of one frame of video conference auxiliary stream encoding frame. Initially, the value of all elements is set to 0; The size of M is equal to the size of the frame rate;
- Step 3 Determine whether the cumulative sum of the values of all elements in the array Array[] is greater than the preset bit rate of the video conference auxiliary stream. If yes, give up the coding result of the j-th frame of the video conference auxiliary stream, and add the array Array[] The value of the i-th element of is modified to 0, otherwise the encoding result of the j-th frame of the video conference auxiliary stream is accepted;
- Step 4 Determine whether the current encoded frame j is the last frame of the video conference auxiliary stream, that is, determine whether j is equal to N, and if yes, it ends, otherwise the current encoded frame of the video conference auxiliary stream is moved one frame backward, that is, Add 1 to j and return to step two.
- the encoding size of the encoded video conference auxiliary stream is detected frame by frame by using the array Array[] with a preset length, which can ensure the real-time performance of encoding bandwidth detection. And by discarding the encoding result of the encoding frame corresponding to some elements in the array Array[], the upper limit of the bandwidth can be adaptively adapted.
- the picture definition of the video conference auxiliary stream can be improved when the video conference is accessed through the MCU, and the user experience can be improved.
- the method for processing video conference auxiliary streams uses an encoding window of a predetermined length to encode the video conference auxiliary stream, and performs real-time processing of the video conference auxiliary stream by sliding the encoding window.
- Bandwidth detection and current limiting processing when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, the auxiliary stream video frames in the current encoding window are subjected to frame loss processing to make the encoding window after frame loss The total amount of encoding of the auxiliary stream video frames does not exceed the bandwidth limit.
- the technical solution of the embodiment of the present application can improve the picture clarity of the auxiliary stream of the video conference and improve the user experience.
- an embodiment of the present application provides a video conference auxiliary stream processing device, including:
- the encoding module 10 is configured to encode the auxiliary stream of the video conference by using an encoding window of a predetermined length
- the bandwidth limiting module 20 is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, The auxiliary stream video frames in the current encoding window are subjected to frame drop processing, so that the total amount of encoding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit.
- the bandwidth limiting module is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:
- m is the largest integer that can make the total coding amount of the first m auxiliary stream video frames in the current sliding window not exceed the bandwidth limit.
- the bandwidth limiting module is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:
- auxiliary stream video frame in the current encoding window is subjected to frame dropping processing, then the auxiliary stream video frame in the next encoding window is subjected to I-frame encoding.
- the encoding module is further configured to set encoding parameters for the auxiliary stream of the video conference.
- the encoding parameters include at least one of the following parameters: quantization parameters, resolution, frame rate, and code rate;
- the length of the encoding window is 1 second.
- the sliding distance of the encoding window is 1 frame each time.
- the bandwidth limiting module is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:
- Step 1 Create an array Array[] with a length of M.
- the value of each element in the array Array[] represents the encoding amount of one frame of video conference auxiliary stream encoding frame. Initially, the value of all elements is set to 0; The size of M is equal to the size of the frame rate;
- Step 3 Determine whether the cumulative sum of the values of all elements in the array Array[] is greater than the preset bit rate of the video conference auxiliary stream. If yes, give up the coding result of the j-th frame of the video conference auxiliary stream, and add the array Array[] The value of the i-th element of is modified to 0, otherwise the encoding result of the j-th frame of the video conference auxiliary stream is accepted;
- Step 4 Judge whether j is equal to N, if yes, end, otherwise add 1 to j and return to step 2.
- the video conference auxiliary stream processing device uses an encoding window of a predetermined length to encode the video conference auxiliary stream, and performs real-time on the video conference auxiliary stream by sliding the encoding window.
- Bandwidth detection and current limiting processing when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, the auxiliary stream video frames in the current encoding window are subjected to frame loss processing to make the encoding window after frame loss The total amount of encoding of the auxiliary stream video frames does not exceed the bandwidth limit.
- the technical solution of the embodiment of the present application can improve the picture clarity of the auxiliary stream of the video conference and improve the user experience.
- An embodiment of the application provides a video conference auxiliary stream processing device, including:
- An embodiment of the present application provides a computer-readable storage medium having a video conference auxiliary stream processing program stored on the computer-readable storage medium.
- the video conference auxiliary stream processing program is executed by a processor, the implementation of the above-mentioned embodiment 1 is The steps of the video conference auxiliary stream processing method.
- Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
- the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
- Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The embodiments of the present application provide a videoconference auxiliary stream processing method and device. The videoconference auxiliary stream processing method comprises: coding a videoconference auxiliary stream by using a coding window of a predetermined length; performing real-time bandwidth detection and traffic limitation on the videoconference auxiliary stream by sliding the coding window; and when the total code amount of a current auxiliary stream video frame in the coding window exceeds a bandwidth limit, performing frame drop on the current auxiliary stream video frame in the coding window, so that the total code amount of the auxiliary stream video frame in the coding window subjected to the frame drop does not exceed the bandwidth limit. The solution of the embodiments of the present application can improve the picture definition of the videoconference auxiliary stream, and improve user experience.
Description
本发明涉及通信技术领域,尤其涉及的是一种视频会议辅流处理方法及装置。The present invention relates to the field of communication technology, and in particular to a method and device for processing auxiliary streams of video conferences.
视频会议中,视频会议终端通过MCU(Multipoint Control Unit,多点控制单元)向其他终端发送主流和辅流。其中,主流是指与视频会议终端连接的摄像机的视频信号,辅流是指与视频会议终端连接的计算机的信号,比如计算机共享文件时输出的屏幕信号等。In a video conference, the video conference terminal sends the main stream and secondary stream to other terminals through the MCU (Multipoint Control Unit). Among them, the main stream refers to the video signal of the camera connected to the video conference terminal, and the secondary stream refers to the signal of the computer connected to the video conference terminal, such as the screen signal output when the computer shares files.
在视频会议中,PC、笔记本等作为会议电视终端的辅流接入是很常见的应用场景。经常需要在PC、笔记本上查看Excel或者演示PPT,在该应用场景下,辅流画面比较复杂、包含很多线条,当画面切换时,视频会议终端编码之后的视频辅流视频帧会比较模糊且占用很大带宽,MCU设备对带宽限制比较严格,当辅流编码超过上会协商的带宽时,MCU设备会丢弃部分视频辅流数据,引起辅流接收端解码异常,造成画面卡顿或花屏等问题。In video conferences, PCs, notebooks, etc. are very common application scenarios as the auxiliary stream access of the video conference terminal. It is often necessary to view Excel or presentation PPT on a PC or notebook. In this application scenario, the auxiliary stream picture is more complicated and contains many lines. When the picture is switched, the video auxiliary stream video frame after the encoding of the video conference terminal will be blurry and occupy Very large bandwidth, the MCU device has strict bandwidth restrictions. When the encoding of the auxiliary stream exceeds the negotiated bandwidth, the MCU device will discard part of the video auxiliary stream data, causing the receiving end of the auxiliary stream to decode abnormally, causing problems such as screen freezes or blurring. .
因此,在通过MCU连接视频会议时,辅流画面的清晰度较差,存在卡顿等现象,影响了用户体验。Therefore, when the video conference is connected through the MCU, the clarity of the auxiliary stream picture is poor, and there are phenomena such as freezing, which affects the user experience.
发明内容Summary of the invention
本申请实施例提供一种视频会议辅流处理方法及装置,能够提升视频会议辅流的画面清晰度,改善用户体验。The embodiments of the present application provide a method and device for processing a video conference auxiliary stream, which can improve the picture clarity of the video conference auxiliary stream and improve user experience.
根据本申请的第一方面,本申请实施例提供一种视频会议辅流处理方法,包括:According to the first aspect of the present application, an embodiment of the present application provides a video conference auxiliary stream processing method, including:
采用预定长度的编码窗口对视频会议辅流进行编码;Use a coding window of a predetermined length to encode the video conference auxiliary stream;
通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理: 在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。Perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the coding window: when the total amount of coding of the auxiliary stream video frames in the current coding window exceeds the bandwidth limit, the auxiliary stream in the current coding window is The stream video frame is subjected to frame dropping processing, so that the total amount of coding of the auxiliary stream video frame in the coding window after the frame is dropped does not exceed the bandwidth limit.
根据本申请的第二方面,本申请实施例提供一种视频会议辅流处理装置,包括:According to the second aspect of the present application, an embodiment of the present application provides a video conference auxiliary stream processing device, including:
编码模块,被设置为采用预定长度的编码窗口对视频会议辅流进行编码;The encoding module is set to encode the auxiliary stream of the video conference by using an encoding window of a predetermined length;
带宽限制模块,被设置为通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。The bandwidth limit module is set to perform real-time bandwidth detection and current limiting processing on the video conference auxiliary stream by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frame in the current encoding window exceeds the bandwidth limit, all The auxiliary stream video frames in the current encoding window are subjected to frame drop processing, so that the total amount of encoding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit.
根据本申请的第三方面,本申请实施例提供一种视频会议辅流处理装置,包括:According to the third aspect of the present application, an embodiment of the present application provides a video conference auxiliary stream processing device, including:
存储器、处理器及存储在所述存储器上并可在所述处理器上运行的视频会议辅流处理程序,所述视频会议辅流处理程序被所述处理器执行时实现上述视频会议辅流处理方法的步骤。A memory, a processor, and a video conference auxiliary stream processing program that is stored on the memory and can run on the processor, and the video conference auxiliary stream processing program is executed by the processor to realize the video conference auxiliary stream processing Method steps.
根据本申请的第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有视频会议辅流处理程序,所述视频会议辅流处理程序被处理器执行时实现上述视频会议辅流处理方法的步骤。According to the fourth aspect of the present application, an embodiment of the present application provides a computer-readable storage medium having a video conference auxiliary stream processing program stored on the computer-readable storage medium, and the video conference auxiliary stream processing program is executed by a processor When realizing the steps of the above video conference auxiliary stream processing method.
图1为本申请实施例1的一种视频会议辅流处理方法流程图;FIG. 1 is a flowchart of a method for processing auxiliary streams of a video conference according to Embodiment 1 of the application;
图2为本申请实施例2的一种视频会议辅流处理装置示意图。FIG. 2 is a schematic diagram of a video conference auxiliary stream processing apparatus according to Embodiment 2 of the application.
为使本申请实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily if there is no conflict.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系 统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the drawings may be executed in a computer system such as a set of computer-executable instructions. And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
实施例1Example 1
如图1所示,本申请实施例提供了一种视频会议辅流处理方法,包括:As shown in Figure 1, an embodiment of the present application provides a video conference auxiliary stream processing method, including:
步骤S110,采用预定长度的编码窗口对视频会议辅流进行编码;Step S110, encoding the auxiliary stream of the video conference by using an encoding window of a predetermined length;
步骤S120,通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制;Step S120: Perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, the current encoding window Frame drop processing is performed on the auxiliary stream video frames inside, so that the total amount of coding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit;
在一种实施方式中,所述通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理,包括:In an implementation manner, the performing real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window includes:
在当前编码窗口内的辅流视频帧的编码总量未超过带宽限制时,保留所述编码窗口内的所有辅流视频帧的编码结果;发送当前编码窗口内的所有编码帧;When the total amount of coding of the auxiliary stream video frames in the current coding window does not exceed the bandwidth limit, retaining the coding results of all the auxiliary stream video frames in the coding window; sending all the coding frames in the current coding window;
在当前编码窗口内的前n帧辅流视频帧的编码总量超过带宽限制时,保留所述编码窗口内的前m帧辅流视频帧的编码结果,丢弃当前编码窗口内第m帧以后的所有辅流视频帧的编码结果;发送当前编码窗口内的前m帧编码帧;When the total amount of coding of the first n auxiliary stream video frames in the current coding window exceeds the bandwidth limit, the coding results of the first m auxiliary stream video frames in the coding window are retained, and the mth frame after the current coding window is discarded The coding results of all auxiliary stream video frames; sending the first m coding frames in the current coding window;
其中,m是能够使得当前滑动窗口内的前m帧辅流视频帧的编码总量不超过所述带宽限制的最大整数;Wherein, m is the largest integer that can make the total coding amount of the first m auxiliary stream video frames in the current sliding window not exceed the bandwidth limit;
在上述实施方式中,通过滑动窗口逐帧检测编码后的视频会议辅流的编码大小,能够保证编码带宽检测的实时性。并且通过将滑动窗口内的部分帧放弃编码从而能够自适应带宽限制。In the foregoing embodiment, the encoding size of the encoded video conference auxiliary stream is detected frame by frame through the sliding window, which can ensure the real-time performance of encoding bandwidth detection. And by abandoning the coding of some frames in the sliding window, the bandwidth limit can be adaptively adapted.
在一种实施方式中,所述通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理,包括:In an implementation manner, the performing real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window includes:
如果对当前编码窗口内的辅流视频帧进行丢帧处理,则对下一个编码窗口内的辅流视频帧进行I帧编码;If performing frame dropping processing on the auxiliary stream video frame in the current encoding window, then perform I frame encoding on the auxiliary stream video frame in the next encoding window;
其中,I帧编码是指帧内压缩编码,它将全帧图像信息进行压缩编码及传输,解码时仅用I帧的数据就可重构完整图像;Among them, I-frame encoding refers to intra-frame compression encoding, which compresses, encodes and transmits the full-frame image information, and only uses I-frame data to reconstruct the complete image during decoding;
在一种实施方式中,采用预定长度的编码窗口对视频会议辅流进行编码之前,所述方法还包括:In an implementation manner, before encoding a video conference auxiliary stream by using an encoding window of a predetermined length, the method further includes:
为视频会议辅流设置编码参数;Set coding parameters for the video conference auxiliary stream;
在一种实施方式中,所述编码参数包括以下参数的至少一种:量化参数(Quantizer Parameter,简称QP)、分辨率、帧频和码率;In an implementation manner, the encoding parameter includes at least one of the following parameters: quantizer parameter (Quantizer Parameter, QP for short), resolution, frame rate, and code rate;
其中,量化参数反映了空间细节压缩情况。值越小,量化越精细,图像质量越高,产生的码流也越长。分辨率决定了位图图像细节的精细程度。通常情况下,图像的分辨率越高,所包含的像素就越多,图像就越清晰,编码量越大。帧频(frame rate)是指每秒钟放映或显示的帧或图像的数量。如果每秒钟播放越多的帧数,则播放越流畅,过低的帧频会导致播放时断时续。码率就是数据传输时单位时间传送的数据位数。码率越高,被压缩的比例越小,播放质量损失越小。Among them, the quantization parameter reflects the compression of spatial details. The smaller the value, the finer the quantization, the higher the image quality, and the longer the code stream generated. The resolution determines the fineness of the bitmap image details. Generally, the higher the resolution of the image, the more pixels it contains, the clearer the image and the greater the amount of coding. Frame rate (frame rate) refers to the number of frames or images that are shown or displayed per second. If you play more frames per second, the playback will be smoother. Too low frame rate will cause intermittent playback. The code rate is the number of data bits transmitted per unit time during data transmission. The higher the bit rate, the smaller the compressed ratio and the smaller the playback quality loss.
其中,编码参数的设置通常受到带宽的限值,量化参数不可能无限制的小,分辨率也不可能无限制的高。通过设置合适的编码参数,能够在一定程度上提高画面的清晰度。Among them, the setting of coding parameters is usually limited by the bandwidth, the quantization parameter cannot be unlimitedly small, and the resolution cannot be unlimitedly high. By setting appropriate coding parameters, the clarity of the picture can be improved to a certain extent.
在上述实施方式中,通过设置合适的编码参数,能够提高视频会议辅流的每一帧的清晰度。由于视频会议辅流对画面流畅度并不敏感,因此,可以通过动态丢帧处理牺牲视频会议辅流画面的部分流畅度,从而提高整体画面的清晰度。In the foregoing embodiment, by setting appropriate coding parameters, the definition of each frame of the video conference auxiliary stream can be improved. Since the video conference auxiliary stream is not sensitive to the smoothness of the picture, it is possible to sacrifice part of the smoothness of the video conference auxiliary stream picture through dynamic frame drop processing, thereby improving the clarity of the overall picture.
在一种实施方式中,所述编码窗口的长度为1秒;In an embodiment, the length of the encoding window is 1 second;
在一种实施方式中,所述编码窗口每次滑动的距离为1帧;In an embodiment, the sliding distance of the encoding window is 1 frame each time;
在一种实施方式中,所述通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理,包括执行以下步骤:In an implementation manner, performing real-time bandwidth detection and current limiting processing on the video conference auxiliary stream by sliding the encoding window includes performing the following steps:
步骤一、创建长度为M的数组Array[],所述数组Array[]中的每一个元素的数值代表一帧视频会议辅流编码帧的编码量,初始时设置所有元素的数值均为0;M的大小等于帧频的大小;Step 1: Create an array Array[] with a length of M. The value of each element in the array Array[] represents the encoding amount of one frame of video conference auxiliary stream encoding frame. Initially, the value of all elements is set to 0; The size of M is equal to the size of the frame rate;
步骤二、将视频会议辅流的当前编码帧j的编码量赋值给数组Array[]中的第i个元素,i=(j-1)%x+1;1≤i≤M,1≤j≤N,N是视频会议辅流的总帧数;%是取余数符号;Step 2: Assign the coding amount of the current coded frame j of the auxiliary stream of the video conference to the i-th element in the array Array[], i=(j-1)%x+1; 1≤i≤M, 1≤j ≤N, N is the total number of frames of the auxiliary stream of the video conference;% is the sign of the remainder;
步骤三、判断数组Array[]中所有元素的数值的累加和是否大于视频会议辅流的预设码率,是则放弃对视频会议辅流的第j帧的编码结果,将数组Array[]中的第i个元素的数值修改为0,否则接受对视频会议辅流的第j帧的编码结果;Step 3: Determine whether the cumulative sum of the values of all elements in the array Array[] is greater than the preset bit rate of the video conference auxiliary stream. If yes, give up the coding result of the j-th frame of the video conference auxiliary stream, and add the array Array[] The value of the i-th element of is modified to 0, otherwise the encoding result of the j-th frame of the video conference auxiliary stream is accepted;
步骤四、判断当前编码帧j是否为视频会议辅流的最后一帧,也即,判断j是否等于N,是则结束,否则将视频会议辅流当前编码帧向后移动一帧,也即,将j加1,返回步骤二。Step 4: Determine whether the current encoded frame j is the last frame of the video conference auxiliary stream, that is, determine whether j is equal to N, and if yes, it ends, otherwise the current encoded frame of the video conference auxiliary stream is moved one frame backward, that is, Add 1 to j and return to step two.
在上述实施方式中,通过采用预设长度的数组Array[]逐帧检测编码后的视频会议辅流的编码大小,能够保证编码带宽检测的实时性。并且通过将数组Array[]中部分元素对应的编码帧放弃编码结果从而能够自适应带宽上限。In the foregoing embodiment, the encoding size of the encoded video conference auxiliary stream is detected frame by frame by using the array Array[] with a preset length, which can ensure the real-time performance of encoding bandwidth detection. And by discarding the encoding result of the encoding frame corresponding to some elements in the array Array[], the upper limit of the bandwidth can be adaptively adapted.
在上述实施方式中,通过在MCU上执行上述视频会议辅流处理方法,能够提升通过MCU接入视频会议时视频会议辅流的画面清晰度,改善用户体验。In the foregoing embodiment, by executing the foregoing video conference auxiliary stream processing method on the MCU, the picture definition of the video conference auxiliary stream can be improved when the video conference is accessed through the MCU, and the user experience can be improved.
与相关技术相比,本申请实施例提供的一种视频会议辅流处理方法,采用预定长度的编码窗口对视频会议辅流进行编码,通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。本申请实施例的技术方案能够提升视频会议辅流的画面清晰度,改善用户体验。Compared with related technologies, the method for processing video conference auxiliary streams provided by the embodiments of the present application uses an encoding window of a predetermined length to encode the video conference auxiliary stream, and performs real-time processing of the video conference auxiliary stream by sliding the encoding window. Bandwidth detection and current limiting processing: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, the auxiliary stream video frames in the current encoding window are subjected to frame loss processing to make the encoding window after frame loss The total amount of encoding of the auxiliary stream video frames does not exceed the bandwidth limit. The technical solution of the embodiment of the present application can improve the picture clarity of the auxiliary stream of the video conference and improve the user experience.
实施例2Example 2
如图2所示,本申请实施例提供了一种视频会议辅流处理装置,包括:As shown in FIG. 2, an embodiment of the present application provides a video conference auxiliary stream processing device, including:
编码模块10,被设置为采用预定长度的编码窗口对视频会议辅流进行编码;The encoding module 10 is configured to encode the auxiliary stream of the video conference by using an encoding window of a predetermined length;
带宽限制模块20,被设置为通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。The bandwidth limiting module 20 is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, The auxiliary stream video frames in the current encoding window are subjected to frame drop processing, so that the total amount of encoding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit.
在一种实施方式中,带宽限制模块,被设置为采用以下方式通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:In an implementation manner, the bandwidth limiting module is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:
在当前编码窗口内的辅流视频帧的编码总量未超过带宽限制时,保留所述编码窗口内的所有辅流视频帧的编码结果;发送当前编码窗口内的所有编码帧;When the total amount of coding of the auxiliary stream video frames in the current coding window does not exceed the bandwidth limit, retaining the coding results of all the auxiliary stream video frames in the coding window; sending all the coding frames in the current coding window;
在当前编码窗口内的前n帧辅流视频帧的编码总量超过带宽限制时,保留所述编码窗口内的前m帧辅流视频帧的编码结果,丢弃当前编码窗口内第m帧以后的所有辅流视频帧的编码结果;发送当前编码窗口内的前m帧编码帧;When the total amount of coding of the first n auxiliary stream video frames in the current coding window exceeds the bandwidth limit, the coding results of the first m auxiliary stream video frames in the coding window are retained, and the mth frame after the current coding window is discarded The coding results of all auxiliary stream video frames; sending the first m coding frames in the current coding window;
其中,m是能够使得当前滑动窗口内的前m帧辅流视频帧的编码总量不超过所述带宽限制的最大整数。Wherein, m is the largest integer that can make the total coding amount of the first m auxiliary stream video frames in the current sliding window not exceed the bandwidth limit.
在一种实施方式中,带宽限制模块,被设置为采用以下方式通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:In an implementation manner, the bandwidth limiting module is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:
如果对当前编码窗口内的辅流视频帧进行丢帧处理,则对下一个编码窗口内的辅流视频帧进行I帧编码。If the auxiliary stream video frame in the current encoding window is subjected to frame dropping processing, then the auxiliary stream video frame in the next encoding window is subjected to I-frame encoding.
在一种实施方式中,所述编码模块,还被设置为为视频会议辅流设置编码参数。In an implementation manner, the encoding module is further configured to set encoding parameters for the auxiliary stream of the video conference.
在一种实施方式中,所述编码参数包括以下参数的至少一种:量化参数、分辨率、帧频和码率;In an implementation manner, the encoding parameters include at least one of the following parameters: quantization parameters, resolution, frame rate, and code rate;
在一种实施方式中,所述编码窗口的长度为1秒。In an embodiment, the length of the encoding window is 1 second.
在一种实施方式中,所述编码窗口每次滑动的距离为1帧。In an embodiment, the sliding distance of the encoding window is 1 frame each time.
在一种实施方式中,所述带宽限制模块,被设置为采用以下方式通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:In an implementation manner, the bandwidth limiting module is configured to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:
执行以下步骤:Perform the following steps:
步骤一、创建长度为M的数组Array[],所述数组Array[]中的每一个元素的数值代表一帧视频会议辅流编码帧的编码量,初始时设置所有元素的数值均为0;M的大小等于帧频的大小;Step 1: Create an array Array[] with a length of M. The value of each element in the array Array[] represents the encoding amount of one frame of video conference auxiliary stream encoding frame. Initially, the value of all elements is set to 0; The size of M is equal to the size of the frame rate;
步骤二、将视频会议辅流的当前编码帧j的编码量赋值给数组Array[]中的第i个元素,i=(j-1)%x+1;1≤i≤M,1≤j≤N,N是视频会议辅流的总帧数;%是取余数符号;Step 2: Assign the coding amount of the current coded frame j of the auxiliary stream of the video conference to the i-th element in the array Array[], i=(j-1)%x+1; 1≤i≤M, 1≤j ≤N, N is the total number of frames of the auxiliary stream of the video conference;% is the sign of the remainder;
步骤三、判断数组Array[]中所有元素的数值的累加和是否大于视频会议辅流的预设码率,是则放弃对视频会议辅流的第j帧的编码结果,将数组Array[]中的第i个元素的数值修改为0,否则接受对视频会议辅流的第j帧的编码结果;Step 3: Determine whether the cumulative sum of the values of all elements in the array Array[] is greater than the preset bit rate of the video conference auxiliary stream. If yes, give up the coding result of the j-th frame of the video conference auxiliary stream, and add the array Array[] The value of the i-th element of is modified to 0, otherwise the encoding result of the j-th frame of the video conference auxiliary stream is accepted;
步骤四、判断j是否等于N,是则结束,否则将j加1,返回步骤二。Step 4: Judge whether j is equal to N, if yes, end, otherwise add 1 to j and return to step 2.
与相关技术相比,本申请实施例提供的一种视频会议辅流处理装置,采用预定长度的编码窗口对视频会议辅流进行编码,通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。本申请实施例的技术方案能够提升视频会议辅流的画面清晰度,改善用户体验。Compared with related technologies, the video conference auxiliary stream processing device provided by the embodiments of the present application uses an encoding window of a predetermined length to encode the video conference auxiliary stream, and performs real-time on the video conference auxiliary stream by sliding the encoding window. Bandwidth detection and current limiting processing: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit, the auxiliary stream video frames in the current encoding window are subjected to frame loss processing to make the encoding window after frame loss The total amount of encoding of the auxiliary stream video frames does not exceed the bandwidth limit. The technical solution of the embodiment of the present application can improve the picture clarity of the auxiliary stream of the video conference and improve the user experience.
实施例3Example 3
本申请实施例提供了一种视频会议辅流处理装置,包括:An embodiment of the application provides a video conference auxiliary stream processing device, including:
存储器、处理器及存储在所述存储器上并可在所述处理器上运行的视频会议辅流处理程序,所述视频会议辅流处理程序被所述处理器执行时实现上述实施例1中所述的视频会议辅流处理方法的步骤。A memory, a processor, and a video conference auxiliary stream processing program that is stored on the memory and can run on the processor, and the video conference auxiliary stream processing program is executed by the processor to implement the above-mentioned embodiment 1 The steps of the video conference auxiliary stream processing method described above.
实施例4Example 4
本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有视频会议辅流处理程序,所述视频会议辅流处理程序被处理器执行时实现上述实施例1中所述的视频会议辅流处理方法的步骤。An embodiment of the present application provides a computer-readable storage medium having a video conference auxiliary stream processing program stored on the computer-readable storage medium. When the video conference auxiliary stream processing program is executed by a processor, the implementation of the above-mentioned embodiment 1 is The steps of the video conference auxiliary stream processing method.
本领域普通技术人员可以理解,上文本申请实施例方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常 包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。A person of ordinary skill in the art can understand that all or some of the steps, systems, and functional modules/units in the method of the embodiments of the application in the above text can be implemented as software, firmware, hardware, and appropriate combinations thereof. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media. Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
需要说明的是,本申请实施例还可有其他多种实施例,在不背离本申请精神及其实质的情况下,熟悉本领域的技术人员可根据本申请实施例作出各种相应的改变和变形,但这些相应的改变和变形都应属于本申请所附的权利要求的保护范围。It should be noted that the embodiments of the present application can also have various other embodiments. Without departing from the spirit and essence of the present application, those skilled in the art can make various corresponding changes and changes based on the embodiments of the present application. Deformations, but these corresponding changes and deformations should fall within the protection scope of the appended claims of this application.
通过采用预定长度的编码窗口对视频会议辅流进行编码,滑动编码窗口对视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。解决了辅流画面的清晰度较差,存在卡顿的问题,提升了视频会议辅流的画面清晰度,改善用户体验。Encode the video conference auxiliary stream by using an encoding window of a predetermined length, and slide the encoding window to perform real-time bandwidth detection and current limiting processing on the video conference auxiliary stream: when the total amount of encoding of the auxiliary stream video frames in the current encoding window exceeds the bandwidth limit , Perform frame drop processing on the auxiliary stream video frames in the current encoding window, so that the total amount of encoding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit. It solves the problem of poor clarity and stuttering of the secondary stream, improves the clarity of the secondary stream of the video conference, and improves the user experience.
Claims (10)
- 一种视频会议辅流处理方法,包括:A video conference auxiliary stream processing method, including:采用预定长度的编码窗口对视频会议辅流进行编码;Use a coding window of a predetermined length to encode the video conference auxiliary stream;通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。Perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the coding window: when the total amount of coding of the auxiliary stream video frame in the current coding window exceeds the bandwidth limit, the auxiliary stream in the current coding window is The stream video frame is subjected to frame dropping processing so that the total amount of coding of the auxiliary stream video frame in the coding window after the frame is dropped does not exceed the bandwidth limit.
- 如权利要求1所述的方法,其中:The method of claim 1, wherein:所述通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理,包括:The performing real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window includes:在当前编码窗口内的辅流视频帧的编码总量未超过带宽限制时,保留所述编码窗口内的所有辅流视频帧的编码结果;发送当前编码窗口内的所有编码帧;When the total amount of coding of the auxiliary stream video frames in the current coding window does not exceed the bandwidth limit, retaining the coding results of all the auxiliary stream video frames in the coding window; sending all the coding frames in the current coding window;在当前编码窗口内的前n帧辅流视频帧的编码总量超过带宽限制时,保留所述编码窗口内的前m帧辅流视频帧的编码结果,丢弃当前编码窗口内第m帧以后的所有辅流视频帧的编码结果;发送当前编码窗口内的前m帧编码帧;When the total amount of coding of the first n auxiliary stream video frames in the current coding window exceeds the bandwidth limit, the coding results of the first m auxiliary stream video frames in the coding window are retained, and the mth frame after the current coding window is discarded The coding results of all auxiliary stream video frames; sending the first m coding frames in the current coding window;其中,m是能够使得当前滑动窗口内的前m帧辅流视频帧的编码总量不超过所述带宽限制的最大整数。Wherein, m is the largest integer that can make the total coding amount of the first m auxiliary stream video frames in the current sliding window not exceed the bandwidth limit.
- 如权利要求1或2所述的方法,其中:The method of claim 1 or 2, wherein:所述通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理,包括:The performing real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window includes:如果对当前编码窗口内的辅流视频帧进行丢帧处理,则对下一个编码窗口内的辅流视频帧进行I帧编码。If the auxiliary stream video frame in the current encoding window is subjected to frame dropping processing, then the auxiliary stream video frame in the next encoding window is subjected to I-frame encoding.
- 如权利要求1所述的方法,采用预定长度的编码窗口对视频会议辅流进行编码之前,其中,所述方法还包括:The method according to claim 1, before encoding the auxiliary stream of the video conference by using an encoding window of a predetermined length, wherein the method further comprises:为视频会议辅流设置编码参数。Set encoding parameters for the video conference auxiliary stream.
- 如权利要求1所述的方法,其中:The method of claim 1, wherein:所述编码窗口的长度为1秒。The length of the encoding window is 1 second.
- 如权利要求1所述的方法,其中:The method of claim 1, wherein:所述编码窗口每次滑动的距离为1帧。Each sliding distance of the encoding window is 1 frame.
- 一种视频会议辅流处理装置,包括:A video conference auxiliary stream processing device, including:编码模块,被设置为采用预定长度的编码窗口对视频会议辅流进行编码;The encoding module is set to encode the auxiliary stream of the video conference by using an encoding window of a predetermined length;带宽限制模块,被设置为通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:在当前编码窗口内的辅流视频帧的编码总量超过带宽限制时,对所述当前编码窗口内的辅流视频帧进行丢帧处理,使得丢帧后的编码窗口内的辅流视频帧的编码总量不超过带宽限制。The bandwidth limit module is set to perform real-time bandwidth detection and current limiting processing on the video conference auxiliary stream by sliding the encoding window: when the total amount of encoding of the auxiliary stream video frame in the current encoding window exceeds the bandwidth limit, all The auxiliary stream video frames in the current encoding window are subjected to frame drop processing, so that the total amount of encoding of the auxiliary stream video frames in the encoding window after frame loss does not exceed the bandwidth limit.
- 如权利要求7所述的装置,其中:The device of claim 7, wherein:带宽限制模块,被设置为采用以下方式通过滑动所述编码窗口对所述视频会议辅流进行实时带宽检测与限流处理:The bandwidth limiting module is set to perform real-time bandwidth detection and current limiting processing on the auxiliary stream of the video conference by sliding the encoding window in the following manner:在当前编码窗口内的辅流视频帧的编码总量未超过带宽限制时,保留所述编码窗口内的所有辅流视频帧的编码结果;发送当前编码窗口内的所有编码帧;When the total amount of coding of the auxiliary stream video frames in the current coding window does not exceed the bandwidth limit, retaining the coding results of all the auxiliary stream video frames in the coding window; sending all the coding frames in the current coding window;在当前编码窗口内的前n帧辅流视频帧的编码总量超过带宽限制时,保留所述编码窗口内的前m帧辅流视频帧的编码结果,丢弃当前编码窗口内第m帧以后的所有辅流视频帧的编码结果;发送当前编码窗口内的前m帧编码帧;When the total amount of coding of the first n auxiliary stream video frames in the current coding window exceeds the bandwidth limit, the coding results of the first m auxiliary stream video frames in the coding window are retained, and the mth frame after the current coding window is discarded The coding results of all auxiliary stream video frames; sending the first m coding frames in the current coding window;其中,m是能够使得当前滑动窗口内的前m帧辅流视频帧的编码总量不超过所述带宽限制的最大整数。Wherein, m is the largest integer that can make the total coding amount of the first m auxiliary stream video frames in the current sliding window not exceed the bandwidth limit.
- 一种视频会议辅流处理装置,包括:A video conference auxiliary stream processing device, including:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的视频会议辅流处理程序,所述视频会议辅流处理程序被所述处理器执行时实现上述权利要求1-6中任一项所述的视频会议辅流处理方法的步骤。A memory, a processor, and a video conference auxiliary stream processing program that is stored on the memory and can run on the processor, and the video conference auxiliary stream processing program is executed by the processor to implement the above claims 1-6 The steps of any one of the video conference auxiliary stream processing methods.
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有视频会议辅流处理程序,所述视频会议辅流处理程序被处理器执行时实现上述权利要求1-6中任一项所述的视频会议辅流处理方法的步骤。A computer-readable storage medium, wherein a video conference auxiliary stream processing program is stored on the computer-readable storage medium, and when the video conference auxiliary stream processing program is executed by a processor, the above-mentioned any one of claims 1 to 6 is realized. The steps of the video conference auxiliary stream processing method described above.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911046444.8 | 2019-10-30 | ||
CN201911046444.8A CN112752057A (en) | 2019-10-30 | 2019-10-30 | Auxiliary stream processing method and device for video conference |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021082799A1 true WO2021082799A1 (en) | 2021-05-06 |
Family
ID=75640687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/116249 WO2021082799A1 (en) | 2019-10-30 | 2020-09-18 | Videoconference auxiliary stream processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112752057A (en) |
WO (1) | WO2021082799A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436990A (en) * | 2008-12-23 | 2009-05-20 | 深圳华为通信技术有限公司 | Method for automatically adjusting encoding rate, receiving device and communication system |
CN103281509A (en) * | 2013-05-29 | 2013-09-04 | 华为技术有限公司 | Optimizing display method and device in video session |
CN103475902A (en) * | 2013-09-06 | 2013-12-25 | 同观科技(深圳)有限公司 | Video coding and network transmission method and video forwarding server |
WO2018077105A1 (en) * | 2016-10-25 | 2018-05-03 | 中兴通讯股份有限公司 | Dual-stream conference device and method |
US10291544B1 (en) * | 2016-07-19 | 2019-05-14 | Harmonic, Inc. | Bandwidth saving with programmable redistribution |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540954A (en) * | 2003-10-30 | 2004-10-27 | 清华大学深圳研究生院 | Method for controlling flux of audio and video flow transferred in IP video meeting system |
CN101488916B (en) * | 2009-01-24 | 2012-07-11 | 华为终端有限公司 | Band-width control method, apparatus, terminal and system based on video conference |
EP2224667B1 (en) * | 2009-02-27 | 2014-07-16 | BlackBerry Limited | Systems and methods for facilitating conference calls using multiple media streams |
-
2019
- 2019-10-30 CN CN201911046444.8A patent/CN112752057A/en active Pending
-
2020
- 2020-09-18 WO PCT/CN2020/116249 patent/WO2021082799A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436990A (en) * | 2008-12-23 | 2009-05-20 | 深圳华为通信技术有限公司 | Method for automatically adjusting encoding rate, receiving device and communication system |
CN103281509A (en) * | 2013-05-29 | 2013-09-04 | 华为技术有限公司 | Optimizing display method and device in video session |
CN103475902A (en) * | 2013-09-06 | 2013-12-25 | 同观科技(深圳)有限公司 | Video coding and network transmission method and video forwarding server |
US10291544B1 (en) * | 2016-07-19 | 2019-05-14 | Harmonic, Inc. | Bandwidth saving with programmable redistribution |
WO2018077105A1 (en) * | 2016-10-25 | 2018-05-03 | 中兴通讯股份有限公司 | Dual-stream conference device and method |
Also Published As
Publication number | Publication date |
---|---|
CN112752057A (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240267540A1 (en) | Coded-block-flag coding and derivation | |
US9872021B2 (en) | Video conversion method and apparatus | |
US10616498B2 (en) | High dynamic range video capture control for video transmission | |
US11949853B2 (en) | Data decoding method and apparatus, and data coding method and apparatus | |
US9306987B2 (en) | Content message for video conferencing | |
WO2021057705A1 (en) | Video encoding and decoding methods, and related apparatuses | |
US10021398B2 (en) | Adaptive tile data size coding for video and image compression | |
WO2021052500A1 (en) | Video image transmission method, sending device, and video call method and device | |
WO2021057697A1 (en) | Video encoding and decoding methods and apparatuses, storage medium, and electronic device | |
US9210444B2 (en) | Method and apparatus for vision and network guided prefiltering | |
US11849127B2 (en) | Video encoding method, video decoding method, and related apparatuses | |
KR101957539B1 (en) | On-demand intra-refresh for end-to-end coded video transmission systems | |
WO2021082799A1 (en) | Videoconference auxiliary stream processing method and device | |
KR100746005B1 (en) | Apparatus and method for managing multipurpose video streaming | |
WO2021056575A1 (en) | Low-delay joint source-channel coding method, and related device | |
CN111182310A (en) | Video processing method and device, computer readable medium and electronic equipment | |
US20220078454A1 (en) | Video encoding method, video decoding method, and related apparatuses | |
US11825088B2 (en) | Adaptively encoding video frames based on complexity | |
WO2024051299A1 (en) | Encoding method and apparatus, and decoding method and apparatus | |
US20130329798A1 (en) | Inferred key frames for fast initiation of video coding sessions | |
US20180062907A1 (en) | Server device, user terminal device, control methods thereof and streaming system | |
US11388412B2 (en) | Video compression technique using a machine learning system | |
WO2020181540A1 (en) | Video processing method and device, encoding apparatus, and decoding apparatus | |
KR20220144241A (en) | Server and control method thereof | |
CN114430501A (en) | Content adaptive encoding method and system for file transcoding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20881867 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20881867 Country of ref document: EP Kind code of ref document: A1 |