Video delay detection method and detection system

By marking video frames with frame numbers and splitting the transmission, high-precision and instant analysis of video delay detection is achieved, which solves the problems of low sampling accuracy and analysis lag in the existing technology, and improves detection efficiency and accuracy.

CN115361545BActive Publication Date: 2024-09-17BEIJING TRICOLOR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210812532.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-11
Publication Date
2024-09-17
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

Video delay detection methods in the existing technology have low sampling accuracy and analysis lag, and cannot accurately measure the delay duration of video frames in real time, resulting in insufficient detection efficiency and accuracy.

Method used

By labeling the video frames with frame numbers, and copying the video with the frame number into two channels, one channel is directly transmitted to the delay analysis device, and the other channel passes through the audio and video transmission system, and the delay duration is automatically calculated based on the frame number difference, to achieve Instant analysis and high-precision detection.

Benefits of technology

It improves the sampling accuracy and efficiency of video delay detection, can calculate the delay duration of all image frames in real time, and provides more accurate delay detection results for audio and video transmission systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361545B
    Figure CN115361545B
Patent Text Reader

Abstract

The present application provides a video delay detection method and a detection system, which are applied to the detection system, wherein the detection system includes a video generating device, a video distributor and a delay analysis device; the method includes: the video generating device marks a frame number for each image frame in a first target video, and sends a second target video marked with a frame number to the video distributor; the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via a target audio and video transmission system; the delay analysis device determines at least one target moment of image frames in two simultaneously received second target videos, and determines the image frame delay duration according to the frame number difference and frame rate of two image frames at each target moment, and determines the delay detection result according to the delay duration of each image frame, with high sampling accuracy, high detection efficiency and high accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video transmission, and in particular, to a video delay detection method and detection system. Background Art

[0002] In the field of audio and video transmission, delay is a key indicator for evaluating the performance of an audio and video transmission system. An ideal audio and video transmission system is one in which the audio and video signal is sent from the transmitter and output from the output. Therefore, shortening the delay from the transmitter to the output is the pursuit of the audio and video industry.

[0003] In the prior art, the measurement of video delay is generally done by taking photos and recording videos with a mobile phone, and only some frames can be extracted from all videos for judgment. When extracting image frames by taking photos, it is impossible to take photos of all frames, and only sampling analysis of delay can be performed, and the sampling accuracy is low. Taking 60 frames per second as an example, only one or two frames may be captured. The same problem exists in the method of recording videos with mobile phones. Although there is more data in the video, the video data needs to be analyzed later, which has a certain lag, and the analysis of the video is also done by people looking at the video data. People do not watch it frame by frame, but also extract some frames from all frames. Therefore, these two methods have two common problems: sampling detection and lag analysis. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a video delay detection method and detection system, which can automatically perform real-time analysis on the delay duration of video frames, with high detection efficiency, a large number of extracted video frames and high sampling accuracy, thereby improving the detection accuracy of video delay.

[0005] The embodiment of the present application provides a video delay detection method, which is applied to a detection system, wherein the detection system includes a video generation device, a video distributor, and a delay analysis device; the method includes the following steps:

[0006] In response to the target video acquisition condition being met, the video generation device acquires a first target video, marks a frame number for each image frame in the first target video, and sends the second target video marked with the frame number to the video distributor; the frame number represents the playback order of the image frame;

[0007] After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system;

[0008] The delay analysis device determines at least one target time of the image frames in the second target video in the two transmission channels received simultaneously, and determines the image frame delay duration of the target time according to the frame number difference and frame rate of the two image frames from the two transmission channels at each target time;

[0009] The delay analysis device determines the delay detection result of the target audio and video transmission system according to the delay duration of the image frame at each target moment.

[0010] In some embodiments, in the video delay detection method, the video generation device responds to satisfying the target video acquisition condition, including at least one of the following:

[0011] The video generating device responds to a start test operation for the video generating device;

[0012] The video generation device determines that a preset detection time point has been reached;

[0013] The video generating device receives a start operation instruction from a remote control device.

[0014] In some embodiments, in the video delay detection method, after receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via a target audio and video transmission system; including:

[0015] The video distributor receives multiple different second target videos, and transmits the multiple different second target videos directly to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device determines the delay detection result of the target audio and video transmission system when transmitting second target videos with different contents.

[0016] In some embodiments, in the video delay detection method, after receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via a target audio and video transmission system; including:

[0017] After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel every time a preset interval time period has passed, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device can determine the delay detection results of the target audio and video transmission system at different times.

[0018] In some embodiments, in the video delay detection method, the delay analysis device determines the delay detection result of the target audio and video transmission system according to the image frame delay duration at each target moment, including:

[0019] The delay analysis device determines the delay performance information of the target audio and video transmission system at each target moment and the delay fluctuation information of the second target video passing through the target audio and video transmission system according to the delay duration of the image frame at each target moment; determines the delay performance statistical information of the target audio and video transmission system according to the delay performance information at each target moment, and determines the stable performance statistical information of the target audio and video transmission system according to the delay fluctuation information;

[0020] The delay performance statistics information and the stability performance statistics information of the target audio and video transmission system are used as delay detection results.

[0021] In some embodiments, in the video delay detection method, the frame number is encoded using graphics;

[0022] Marking each image frame in the target video with a frame number, including:

[0023] Determining the frame number of the target image frame according to the order of the target image frame in the target video;

[0024] According to the correspondence between the coding area and the frame number in the preset graphic code, the target coding area of ​​the frame number of the target image frame in the graphic code is determined, and a coding mark is added to the target coding area to obtain the target graphic code of the target image frame;

[0025] The target graphic code is added to the target image frame to obtain the target image frame marked with a frame number.

[0026] In some embodiments, in the video delay detection method, after the delay analysis device determines the image frames in the two second target videos received at the same time, the method further includes:

[0027] For the image frames in the two second target videos received at the same time, the positions of the coding marks in the two image frames in the graphic code are parsed to determine the coding area where the coding marks are located;

[0028] The frame numbers of the two image frames are determined according to the corresponding relationship between the coding area where the coding identifier is located in the two image frames, the coding area in the preset graphic code and the frame number, and the frame number difference of the two image frames received at the same time is determined.

[0029] In some embodiments, in the video delay detection method, after obtaining the delay analysis result of the target audio and video transmission system according to the multiple delay durations, the method further includes:

[0030] The delay analysis device responds to satisfying the preset sending condition, and sends the delay analysis result to the remote control device, so as to display the delay analysis result of the target audio and video transmission system on the remote control device;

[0031] The delay analysis device response meets the preset sending conditions, including at least one of the following:

[0032] The delay analysis device responds to a sending operation directed to the delay analysis device;

[0033] The delay analysis device determines that a preset sending time point has been reached;

[0034] The video generating device receives a sending instruction from a remote control device.

[0035] In some embodiments, there is also provided a video delay detection system, comprising a video generation device, a video distributor, and a delay analysis device;

[0036] The video generation device is used to respond to the target video acquisition condition being met, obtain the first target video from the video source of the target audio and video transmission system, mark the frame number for each image frame in the first target video, and send the second target video marked with the frame number to the video distributor; the frame number represents the playback order of the image frame; the video distributor is used to directly transmit the second target video to the delay analysis device through one transmission channel after receiving the second target video, and transmit the second target video to the delay analysis device through the target audio and video transmission system through another transmission channel;

[0037] The delay analysis device is used to transmit the second target video directly to the delay analysis device through one transmission channel after receiving the second target video, and transmit the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, and determine the delay detection result of the target audio and video transmission system according to the image frame delay length at each target moment.

[0038] In some embodiments, in the video delay detection system, the response satisfies the target video acquisition condition, including at least one of the following:

[0039] The video generating device responds to a start test operation for the video generating device;

[0040] The video generation device determines that a preset detection time point has been reached;

[0041] The video generating device receives a start operation instruction from a remote control device.

[0042] Based on this, an embodiment of the present application provides a video delay detection method and a detection system, which first obtains a target video, then labels each image frame in the video with a frame number, and copies the target video labeled with a frame number into two paths, one of which is directly transmitted to a delay analysis device, and the other is transmitted to the delay analysis device through a target audio and video transmission system to be detected; in this way, based on the frame number difference between the image frames in the two target videos that arrive at the delay analysis device at the same time, the delay detection result of the target audio and video transmission system to be detected can be automatically and instantly parsed, and the entire process can calculate the delay duration of almost all image frames with high sampling accuracy; there is no need for manual photo taking or shooting operations, the detection efficiency is high, and instant analysis can be performed; due to the high sampling accuracy, the delay detection result of the target audio and video transmission system obtained is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A method flow chart of the video delay detection method according to an embodiment of the present application is shown;

[0045] Figure 2 A flowchart of a method for determining a delay detection result of a target audio and video transmission system according to the delay length of an image frame at each target moment according to an embodiment of the present application is shown;

[0046] Figure 3 A flow chart of a method for marking a frame number for each image frame in the target video according to an embodiment of the present application is shown;

[0047] Figure 4 A flow chart of a method for parsing frame numbers in image frames according to an embodiment of the present application is shown;

[0048] Figure 5 A schematic diagram of the graphic encoding of the frame number described in the embodiment of the present application is shown;

[0049] Figure 6 A schematic diagram showing a video frame marked with frame numbers according to an embodiment of the present application is shown;

[0050] Figure 7 A schematic diagram of the structure of the detection system described in the embodiment of the present application is shown. DETAILED DESCRIPTION

[0051] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0052] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0053] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0054] At present, the application of audio and video transmission technology is becoming more and more extensive. For example, live broadcast, video conferencing, remote office and other occasions all involve audio and video transmission. In the field of audio and video transmission, the delay size is a key indicator for evaluating the performance of an audio and video transmission system. The ideal audio and video transmission system is: the audio and video signal sent by the transmitter can be output by the output terminal. Therefore, shortening the delay from the transmitter to the output terminal is the pursuit of the audio and video industry. The video transmission process includes video compression, data transmission algorithm, network transmission, data receiving algorithm, video decompression and other processes. Among them, some of the reasons for video delay are determined by factors other than the performance of the audio and video transmission system itself, such as network transmission delay; some are determined by the performance of the audio and video transmission system itself, and there is room for optimization, such as video compression algorithm, data transmission algorithm, data receiving algorithm, video decompression algorithm, etc. Therefore, it is necessary to detect the delay performance of the audio and video transmission system.

[0055] In the prior art, the measurement of video delay is generally done by taking photos and recording videos with a mobile phone, and only some frames can be extracted from all videos for judgment. When extracting image frames by taking photos with a mobile phone, it is impossible to take photos of all frames, and only sampling analysis of delay can be performed, and the sampling accuracy is low. Taking 60 frames per second as an example, only one or two frames may be captured. The same problem exists in the method of recording videos with a mobile phone. Although there is more data in the video, the video data needs to be analyzed later, which has a certain lag, and the analysis of the video is also done by people looking at the video data. People do not watch it frame by frame, but also extract some frames from all frames. Therefore, these two methods have two common problems: sampling detection and lag analysis.

[0056] Based on this, an embodiment of the present application provides a video delay detection method, which first obtains a target video, then labels each image frame in the video with a frame number, and copies the target video labeled with a frame number into two paths, one of which is directly transmitted to a delay analysis device, and the other is transmitted to the delay analysis device through a target audio and video transmission system to be detected; in this way, based on the frame number difference between the image frames in the two target videos that arrive at the delay analysis device at the same time, the delay detection result of the target audio and video transmission system to be detected can be automatically and instantly parsed, and the entire process can calculate the delay duration of almost all image frames with high sampling accuracy; there is no need for manual photo or filming operations, the detection efficiency is high, and instant analysis can be performed; due to the high sampling accuracy, the delay detection result of the target audio and video transmission system obtained is more accurate.

[0057] Please refer to Figure 1 , Figure 1A method flow chart of the video delay detection method described in an embodiment of the present application is given; specifically, the video delay detection method is applied to a detection system, the detection system includes a video generation device, a video distributor and a delay analysis device; the method includes the following steps S101-S104;

[0058] S101, in response to satisfying a target video acquisition condition, the video generation device acquires a first target video, marks a frame number for each image frame in the first target video, and sends a second target video marked with the frame number to a video distributor; the frame number represents a playback order of the image frame;

[0059] S102, after receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system;

[0060] S103, the delay analysis device determines at least one target time of the image frames in the second target video in the two transmission channels received simultaneously, and determines the image frame delay duration of the target time according to the frame number difference and frame rate of the two image frames from the two transmission channels at each target time;

[0061] S104: The delay analysis device determines a delay detection result of the target audio and video transmission system according to the delay duration of the image frame at each target moment.

[0062] In step S101, the video generation device responds to the target video acquisition condition, which includes at least one of the following:

[0063] The video generating device responds to a start test operation for the video generating device;

[0064] The video generation device determines that a preset detection time point has been reached;

[0065] The video generating device receives a start operation instruction from a remote control device.

[0066] The start test operation is an operation received locally by the video generating device, for example, a long press, short press, drag, click, etc. operation on a target control and / or a target button in the video generating device.

[0067] The video generating device determines that a preset detection time point has been reached, that is, the video delay detection method described in the embodiment of the present application can be performed on a regular basis; the user can set it to start detection at a fixed time point, such as starting detection at 12:00, or the user can set it to start detection after a preset period of time, such as setting it to start detection after 5 minutes; since the detection method implemented in the present application does not require manual photography or filming during the detection process, regular detection can be performed.

[0068] The video generation device receives a start operation instruction from a remote control device, and the remote control device may be a mobile phone, a tablet, a computer, etc. Since the detection method implemented in this application does not require manual photography or filming during the detection process, the detection system can be remotely controlled by a remote control device to perform detection.

[0069] The multiple target video detection conditions enable the video delay detection method to be carried out in more scenarios and is easy to operate.

[0070] The obtaining of the first target video may be to immediately obtain the first target video from the video source of the target audio and video transmission system, or to obtain the first target video from the video source of the target audio and video transmission system in advance and store it, and when the video generating device responds to the satisfaction of the target video obtaining condition, reads the first target video stored in advance; or the first target video may be obtained and stored from any video source.

[0071] The frame number of the image frame, that is, the playback order of the image frame in the first target video, for example, the first target video is a video containing 120 image frames, then the image frames in the first target video are numbered as follows: 0, 1, 2, 3, 4, ... 119.

[0072] In step S102, after receiving the second target video, the video distributor copies the second target video to generate two second target videos; one of which is directly transmitted to the delay analysis device, and this video has no delay, that is, it reaches the delay analysis device; the other is transmitted to the delay analysis device through the target audio and video transmission system. When this video passes through the target audio and video transmission system, it may need to perform at least one of the following processing: video compression, video encoding, data transmission, video decoding, video decompression, etc. Therefore, this video has a delay and lags behind the previous second target video to reach the delay analysis device.

[0073] In the following, the second target video directly transmitted to the delay analysis device is set as the first channel, and the second target video transmitted to the delay analysis device through the target audio and video transmission system is set as the second channel.

[0074] Exemplarily, when the delay analysis device receives the first image frame of the first channel of the second target video, the first image frame of the first channel of the second target video has not yet arrived at the delay analysis device.

[0075] When the delay analysis device receives the sixth image frame of the first channel second target video, the sixth image frame of the first channel second target video arrives at the delay analysis device.

[0076] In step S103, the delay analysis device determines at least one target time of the image frames in the second target video in the two transmission channels received simultaneously, and based on the frame number difference and frame rate of the two image frames from the two transmission channels at each target time; that is, the delay analysis device determines the image frames in the first second target video and the image frames in the second second target video received simultaneously;

[0077] The simultaneous reception means that the difference between the time points at which the image frames in the first channel of the second target video and the image frames in the second channel of the second target video arrive at the delay analysis device is less than a preset threshold.

[0078] The delay caused by the target audio and video transmission system to each image frame in the second channel second target video is not fixed, and may be affected by some factors, such as the processing speed of the processor during video encoding, electromagnetic interference, etc., resulting in differences in the delay duration of the image frames in the second channel second target video.

[0079] Therefore, in step S103, the frame number difference between the two image frames from the two transmission channels at each target moment is not constant.

[0080] At the same time, the target moment in the embodiment of the present application is only used to characterize the relationship between the image frames of the two second target videos, and it is not necessary to obtain the specific time point of the target moment. For example, the two image frames from the two transmission channels at each target moment can be determined by simultaneously capturing the image frames of the first second target video and the image frames of the second second target video.

[0081] In the embodiment of the present application, there is no need for manual photography or video recording to obtain the two image frames that arrive successively, but they are obtained automatically. Therefore, the number of pairs of two image frames obtained for comparison is much larger than that obtained by manual photography or video recording before. For example, in a 120-frame second target video, 115 pairs of two image frames for comparison can be obtained, thereby determining the delay duration for the 115 image frames in the first target video.

[0082] In step S103, the image frame delay duration at the target moment is parsed, which can be performed immediately after receiving two image frames at the same target moment, or after receiving the complete first channel second target video and second channel second target video.

[0083] The image frame delay duration at each target moment is determined based on the frame number difference and frame rate of two image frames from two transmission channels at each target moment; specifically, the duration of one image frame is calculated based on the frame rate, and the image frame delay duration is the product of the duration of one image frame and the frame number difference.

[0084] For example, the second target video has 60 frames, one image frame is 16.666 milliseconds, and the frame number difference multiplied by 16.666 milliseconds is equal to the image frame delay duration.

[0085] In step S104, please refer to Figure 2 , Figure 2 A flow chart of a method for determining a delay detection result of a target audio and video transmission system according to the delay analysis device according to the delay duration of an image frame at each target moment is shown, which specifically includes the following steps S201-S203:

[0086] S201, the delay analysis device determines the delay performance information of the target audio and video transmission system at each target moment and the delay fluctuation information of the second target video passing through the target audio and video transmission system according to the delay duration of the image frame at each target moment; S202, according to the delay performance information of each target moment, the delay performance statistical information of the target audio and video transmission system is determined, and according to the delay fluctuation information, the stable performance statistical information of the target audio and video transmission system is determined;

[0087] S203: Use the delay performance statistical information and the stability performance statistical information of the target audio and video transmission system as the delay detection result.

[0088] In step S201, the image frame delay duration at each target moment characterizes the delay performance of the target audio and video transmission system at each target moment; the longer the image frame delay duration, the worse the delay performance of the target audio and video transmission system at the target moment; the delay performance information of the target audio and video transmission system at each target moment can be directly the image frame delay duration at the target moment, or it can be the processing result of the image frame delay duration, such as the ratio with the reference value of the target audio and video transmission system.

[0089] The delay fluctuation information characterizes the delay variation of multiple image frames in the second target video. The delay fluctuation information may be the standard deviation, variance, etc. of the delay duration of multiple target moments.

[0090] In the step S202, the delay performance statistical information includes at least one of the following: a maximum delay value, a minimum delay value, an average delay value, and delay exceeding threshold information.

[0091] The stable performance statistical information includes at least one of the following: delay waveform information, delay variance value information, and delay standard deviation information; the delay waveform can be a line graph, a bar graph, a dot graph, etc.

[0092] The delay performance statistical information and the stability performance statistical information of the target audio and video transmission system are used as delay detection results to comprehensively characterize the delay performance of the target audio and video transmission system.

[0093] In some embodiments, in order to analyze the delay performance of the target audio and video transmission system when transmitting different videos, the video generation device obtains multiple different first target videos, generates a corresponding second target video based on each first target video, and sends the different second target videos to the video distributor according to preset sending rules.

[0094] The preset sending rule may be to send different second target videos in sequence according to a preset order; may be to send different second target videos randomly; or may be to send different second target videos according to a selection operation for the second target video.

[0095] After receiving the different second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system; comprising:

[0096] The video distributor receives multiple different second target videos, and transmits the multiple different second target videos directly to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device determines the delay detection result of the target audio and video transmission system when transmitting second target videos with different contents.

[0097] The different second target videos include: second target videos with different resolutions, such as a 480P second target video, a 720P second target video, and a 1080P second target video; second target videos with different contents, such as a second target video with animation content, a black and white second target video, etc.; second target videos with different formats, such as a second target video in MPEG / MPG / DAT / MP4 format, second target videos with different frame numbers, and second target videos with different lengths.

[0098] After the delay analysis device determines the delay detection result of the target audio and video transmission system when transmitting the second target video with different content, it further analyzes all the delay detection results to obtain a comprehensive delay detection result to characterize the first comprehensive delay performance of the target audio and video transmission system.

[0099] In the embodiment of the present application, in order to detect the delay performance of the target audio and video transmission system at different times, after receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through the target audio and video transmission system through another transmission channel; including:

[0100] After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel every time a preset interval time period has passed, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device can determine the delay detection results of the target audio and video transmission system at different times.

[0101] For example, the delay detection of the target audio and video transmission system is obtained once every 10 minutes, and a total of 20 delay detection results are obtained.

[0102] The delay analysis device determines the delay detection results of the target audio and video transmission system at different times, and then comprehensively analyzes the delay detection results at different times to obtain a second comprehensive delay performance of the target audio and video transmission system.

[0103] The first comprehensive delay performance, and / or the second comprehensive delay performance, can more comprehensively and truly characterize the delay performance and delay stability performance of the target audio and video transmission system.

[0104] The time-delay analysis device may include a display to intuitively display the sequence and delay display results between the two second target videos, for example, playing two second target videos one after the other while comparing them on the display; since the present application essentially does not require manual observation and shooting operations, a display may not be included.

[0105] After obtaining the delay analysis results of the target audio and video transmission system according to the multiple delay durations, the method further includes:

[0106] The delay analysis device responds to satisfying the preset sending condition, and sends the delay analysis result to the remote control device, so as to display the delay analysis result of the target audio and video transmission system on the remote control device;

[0107] The delay analysis device response meets the preset sending conditions, including at least one of the following:

[0108] The delay analysis device responds to a sending operation directed to the delay analysis device;

[0109] The delay analysis device determines that a preset sending time point has been reached;

[0110] The video generating device receives a sending instruction from a remote control device.

[0111] The remote control device may be a mobile phone, a tablet, a computer, etc.

[0112] The sending operation to the delay analysis device is an operation received by the delay analysis device, for example, a long press, short press, drag, click, etc. operation on a target control and / or a target button in the delay analysis device.

[0113] The delay analysis device determines that the preset sending time point has been reached, that is, the delay analysis result is sent regularly; the user can set it to start sending at a fixed time point, for example, 12:00.

[0114] By sending the delay analysis results to a remote control device, the delay analysis results can be conveniently viewed without the need for on-duty monitoring. In particular, for determining the delay detection results of the target audio and video transmission system when transmitting a second target video with different content, and determining the delay detection results of the target audio and video transmission system at different times, this can save staff time and increase the convenience of the detection method described in the embodiment of the present application.

[0115] The frame number is marked for each image frame in the first target video, and the frame number can be in various styles, such as graphic code, number, barcode, etc.

[0116] In the embodiment of the present application, the frame number is encoded using graphics;

[0117] Please refer to Figure 3 , marking a frame number for each image frame in the target video includes:

[0118] S301, determining the frame number of the target image frame according to the order of the target image frame in the target video;

[0119] S302, determining a target coding region of the frame number of the target image frame in the graphic coding according to a correspondence between a coding region and a frame number in a preset graphic coding, and adding a coding identifier to the target coding region to obtain a target graphic coding of the target image frame;

[0120] S303: Add the target graphic code to the target image frame to obtain a target image frame marked with a frame number.

[0121] The coding mark and the graphic code are in different colors.

[0122] Please refer to Figure 4 After the delay analysis device determines the image frames in the two second target videos received at the same time, it is necessary to parse the frame numbers in the image frames. The frame number parsing method includes:

[0123] S401, for image frames in two channels of second target videos received at the same time, parse the positions of the coding marks in the two channels of image frames in the graphic code to determine the coding area where the coding marks are located;

[0124] S402, determining the frame numbers of the two image frames according to the parsed coding areas where the coding identifiers are located in the two image frames, the corresponding relationship between the coding areas and the frame numbers in the preset graphic codes, and determining the frame number difference between the two image frames received at the same time.

[0125] In the S401, the position of the coding mark in the graphic code is parsed. Specifically, the position of the coding mark in the graphic code is determined according to the grayscale value of the coding mark and the graphic code without complicated image recognition.

[0126] The frame number marking method described in the embodiment of the present application has a simple marking process. When parsing the graphic code, it is only necessary to determine the position of the coding identifier in the graphic code, without the need for a complex parsing algorithm, thereby improving the efficiency of frame number parsing and improving detection efficiency.

[0127] Exemplarily, the first target video has 60 frames, and the resolution of the first target video can be selected as 1920x1080; the graphic encoding of the frame number is a rectangle.

[0128] Specifically, a rectangular area in the image frame of the first target video is filled with pure black, and the rectangular area is used as a frame number area; exemplarily, the frame number area is (x=0, y=0, w=320, h=320); (x, y) is the target point coordinate of the frame number area, w is the width of the frame number area, and h is the height of the frame number area. The target point can be the center point of the rectangle, the lower left corner of the rectangle, etc.

[0129] Divide the black frame number area into 20x20 small squares, that is, get a 20x20 coding area; encode the frame numbers in sequence, and fill the corresponding coding area with white as a coding mark. For example, for the first frame, fill the first coding area with white, for the second frame, fill the second coding area with white, and so on. After filling the last one, start from the first one again, and repeat the cycle.

[0130] Please refer to Figure 5 , Figure 5 A schematic diagram of graphic coding of frame numbers is shown; specifically, the graphic coding of the 22nd frame, that is, the graphic coding corresponding to the frame number 22.

[0131] Here, the 20x20 coding area is a logical division, not a practical division. Figure 5 The white grid lines in the figure are intentionally drawn for the convenience of display. In the actual detection process, there are no white lines, but a black area block; the frame number is marked as a white coding area.

[0132] Please refer to Figure 6 , Figure 6 A schematic diagram of a video frame marked with frame numbers is shown; wherein the area where the white squares are located is the graphic code.

[0133] In some embodiments, the rectangular area and the coded mark may also be filled with other colors.

[0134] Correspondingly, the method flow for extracting the frame number is as follows:

[0135] Step 1: intercept the frame number area (x=0, y=0, w=320, h=320) of the image frame, and logically divide this area block into 20x20 coding areas; since the frame number area in the embodiment of the present application is (x=0, y=0, w=320, h=320), the width of each coding area is rw=w / 20=16, and the height is rh=h / 20=16;

[0136] Step 2: Generate the center point coordinates (rx, ry) of each coding area, where f is defined as the frame number, f = 0, 1, 2, 3, 4, ... 119; based on the frame number, the width and length of each coding area, the center point coordinates (rx, ry) of each coding area can be determined.

[0137] Exemplarily, taking the upper left corner of the coding area as the origin, the coordinates of the center point of each coding area are:

[0138] rx=f%20*rw+0.5rw,ry=f%20*rh+0.5rh;f%20 is the remainder function. The above formula can generate 20x20=400 coordinate points.

[0139] Traverse the RGB values ​​of the pixels at the 400 coordinate points in the 400 coding areas, convert the pixel values ​​of these coordinate points into grayscale values, and determine whether the grayscale values ​​of these pixels are greater than 128. If they are greater than 128, terminate the detection immediately. The f value at this time is the frame number of this image frame.

[0140] The formula for converting the pixel values ​​of these coordinate points into grayscale values ​​is as follows:

[0141] Gray=0.299*Red+0.587*Green+0.114*Blue;

[0142] Here, because the coded mark to be tested is pure white, the R value can also be used instead.

[0143] Get the frame numbers of the image frames at the target moment of the two test videos, make a difference between the two, and get the delayed frame difference. Because we use 60 frames, which is equivalent to one frame being 16.666 milliseconds, the delayed frame difference multiplied by 16.666 milliseconds is the image frame delay length delay at the target moment.

[0144] Please refer to Figure 7 In the embodiment of the present application, a structural diagram of a video delay detection system is also shown; Figure 7 As shown, the video delay detection system includes a video generation device 701, a video distributor 702 and a delay analysis device 703;

[0145] The video generation device 701 is used to respond to the target video acquisition condition being met, obtain the first target video from the video source of the target audio and video transmission system, mark the frame number for each image frame in the first target video, and send the second target video marked with the frame number to the video distributor 702; the frame number represents the playback order of the image frame; the video distributor 702 is used to directly transmit the second target video to the delay analysis device 703 through one transmission channel after receiving the second target video, and transmit the second target video to the delay analysis device 703 through the target audio and video transmission system 704 through another transmission channel;

[0146] The delay analysis device 703 is used to transmit the second target video directly to the delay analysis device 703 through one transmission channel after receiving the second target video, and transmit the second target video to the delay analysis device 703 through another transmission channel via the target audio and video transmission system 704, and determine the delay detection result of the target audio and video transmission system 704 according to the image frame delay length at each target moment.

[0147] The embodiment of the present application provides a video delay detection system, which first obtains a target video, then labels a frame number for each image frame in the video, and copies the target video labeled with the frame number into two paths, one of which is directly transmitted to a delay analysis device, and the other is transmitted to the delay analysis device through a target audio and video transmission system to be detected; in this way, according to the frame number difference between the image frames in the two target videos that arrive at the delay analysis device at the same time, the delay detection result of the target audio and video transmission system to be detected can be automatically and instantly parsed, and the whole process can calculate the delay duration of almost all image frames with high sampling accuracy; there is no need for manual photo taking or filming operations, the detection efficiency is high, and instant analysis can be performed; due to the high sampling accuracy, the delay detection result of the target audio and video transmission system obtained is more accurate.

[0148] In some embodiments, in the video delay detection system, the response satisfies the target video acquisition condition, including at least one of the following:

[0149] The video generating device responds to a start test operation for the video generating device;

[0150] The video generation device determines that a preset detection time point has been reached;

[0151] The video generating device receives a start operation instruction from a remote control device.

[0152] In some embodiments, after receiving the second target video, the video distributor in the video delay detection system directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, specifically for:

[0153] Receive multiple different second target videos, and transmit the multiple different second target videos directly to the delay analysis device through one transmission channel, and transmit the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device determines the delay detection result of the target audio and video transmission system when transmitting second target videos with different contents.

[0154] In some embodiments, after receiving the second target video, the video distributor in the video delay detection system directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, specifically for:

[0155] After receiving the second target video, each time a preset interval time period has passed, the second target video is directly transmitted to the delay analysis device through one transmission channel, and the second target video is transmitted to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device can determine the delay detection results of the target audio and video transmission system at different times.

[0156] In some embodiments, the delay analysis device in the video delay detection system, when determining the delay detection result of the target audio and video transmission system according to the image frame delay duration at each target moment, is specifically used to:

[0157] The delay analysis device determines the delay performance information of the target audio and video transmission system at each target moment and the delay fluctuation information of the second target video passing through the target audio and video transmission system according to the delay duration of the image frame at each target moment; determines the delay performance statistical information of the target audio and video transmission system according to the delay performance information at each target moment, and determines the stable performance statistical information of the target audio and video transmission system according to the delay fluctuation information;

[0158] The delay performance statistics information and the stability performance statistics information of the target audio and video transmission system are used as delay detection results.

[0159] In some embodiments, in the video delay detection system, the frame number is encoded using a graphic code; and the video generation device, when marking a frame number for each image frame in the target video, is specifically configured to:

[0160] Determining the frame number of the target image frame according to the order of the target image frame in the target video;

[0161] According to the correspondence between the coding area and the frame number in the preset graphic code, the target coding area of ​​the frame number of the target image frame in the graphic code is determined, and a coding mark is added to the target coding area to obtain the target graphic code of the target image frame;

[0162] The target graphic code is added to the target image frame to obtain the target image frame marked with a frame number.

[0163] In some embodiments, after determining the image frames in the two second target videos received at the same time, the delay analysis device in the video delay detection system is further used to:

[0164] For the image frames in the two second target videos received at the same time, the positions of the coding marks in the two image frames in the graphic code are parsed to determine the coding area where the coding marks are located;

[0165] The frame numbers of the two image frames are determined according to the corresponding relationship between the coding area where the coding identifier is located in the two image frames, the coding area in the preset graphic code and the frame number, and the frame number difference of the two image frames received at the same time is determined.

[0166] In some embodiments, after obtaining the delay analysis results of the target audio and video transmission system according to the multiple delay durations, the delay analysis device in the video delay detection system is further used to:

[0167] In response to satisfying a preset sending condition, the delay analysis result is sent to a remote control device, so as to display the delay analysis result of the target audio and video transmission system on the remote control device;

[0168] The delay analysis device response meets the preset sending conditions, including at least one of the following:

[0169] The delay analysis device responds to a sending operation directed to the delay analysis device;

[0170] The delay analysis device determines that a preset sending time point has been reached;

[0171] The video generating device receives a sending instruction from a remote control device.

[0172] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0173] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] In addition, each functional device in each embodiment of the present application may be integrated into one device, or each device may exist physically separately, or two or more devices may be integrated into one unit.

[0175] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A video delay detection method, characterized in that: Applied to a detection system, the detection system includes a video generation device, a video distributor and a delay analysis device; the method includes the following steps: In response to the target video acquisition condition being met, the video generation device acquires a first target video, marks a frame number for each image frame in the first target video, and sends the second target video marked with the frame number to the video distributor; the frame number represents the playback order of the image frame; After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system; The delay analysis device determines at least one target time of the image frames in the second target video in the two transmission channels received simultaneously, and determines the image frame delay duration of the target time according to the frame number difference and frame rate of the two image frames from the two transmission channels at each target time; The delay analysis device determines the delay detection result of the target audio and video transmission system according to the delay duration of the image frame at each target moment; The delay analysis device determines the delay detection result of the target audio and video transmission system according to the delay duration of the image frame at each target moment, including: The delay analysis device determines the delay performance information of the target audio and video transmission system at each target moment and the delay fluctuation information of the second target video passing through the target audio and video transmission system according to the image frame delay duration at each target moment; Determine the delay performance statistics of the target audio and video transmission system according to the delay performance information of each target moment, and determine the stable performance statistics of the target audio and video transmission system according to the delay fluctuation information; The delay performance statistics information and the stability performance statistics information of the target audio and video transmission system are used as delay detection results.

2. The video delay detection method according to claim 1, characterized in that: The video generation device responds to the target video acquisition condition, including at least one of the following: The video generating device responds to a start test operation for the video generating device; The video generation device determines that a preset detection time point has been reached; The video generating device receives a start operation instruction from a remote control device.

3. The video delay detection method according to claim 1, characterized in that: After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system; including: The video distributor receives multiple different second target videos, and transmits the multiple different second target videos directly to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device determines the delay detection result of the target audio and video transmission system when transmitting second target videos with different contents.

4. The video delay detection method according to claim 1, characterized in that: After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system; including: After receiving the second target video, the video distributor directly transmits the second target video to the delay analysis device through one transmission channel every time a preset interval time period has passed, and transmits the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, so that the delay analysis device can determine the delay detection results of the target audio and video transmission system at different times.

5. The video delay detection method according to claim 1, characterized in that: The frame number adopts graphic coding; Marking each image frame in the target video with a frame number, including: Determining the frame number of the target image frame according to the order of the target image frame in the target video; According to the correspondence between the coding area and the frame number in the preset graphic code, the target coding area of ​​the frame number of the target image frame in the graphic code is determined, and a coding mark is added to the target coding area to obtain the target graphic code of the target image frame; The target graphic code is added to the target image frame to obtain the target image frame marked with a frame number.

6. The video delay detection method according to claim 5, characterized in that: After the delay analysis device determines the image frames in the two second target videos received at the same time, the method further includes: For the image frames in the two second target videos received at the same time, the positions of the coding marks in the two image frames in the graphic code are parsed to determine the coding area where the coding marks are located; The frame numbers of the two image frames are determined according to the corresponding relationship between the coding area where the coding identifier is located in the two image frames, the coding area in the preset graphic code and the frame number, and the frame number difference of the two image frames received at the same time is determined.

7. The video delay detection method according to claim 1 or 2, characterized in that: After obtaining the delay analysis results of the target audio and video transmission system according to the multiple delay durations, the method further includes: The delay analysis device responds to satisfying the preset sending condition, and sends the delay analysis result to the remote control device, so as to display the delay analysis result of the target audio and video transmission system on the remote control device; The delay analysis device response meets the preset sending conditions, including at least one of the following: The delay analysis device responds to a sending operation directed to the delay analysis device; The delay analysis device determines that a preset sending time point has been reached; The video generating device receives a sending instruction from a remote control device.

8. A video delay detection system, characterized in that: It includes video generation equipment, video distributor and delay analysis equipment; The video generating device is used for acquiring a first target video from a video source of a target audio and video transmission system in response to satisfying a target video acquisition condition, marking a frame number for each image frame in the first target video, and sending a second target video marked with a frame number to a video distributor; The frame number represents the playback order of the image frame; The video distributor is used to transmit the second target video directly to the delay analysis device through one transmission channel after receiving the second target video, and transmit the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system; The delay analysis device is used to directly transmit the second target video to the delay analysis device through one transmission channel after receiving the second target video, transmit the second target video to the delay analysis device through another transmission channel via the target audio and video transmission system, and determine the delay detection result of the target audio and video transmission system according to the image frame delay length at each target moment; The delay analysis device in the video delay detection system is specifically used to determine the delay detection result of the target audio and video transmission system according to the image frame delay duration at each target moment: The delay analysis device determines the delay performance information of the target audio and video transmission system at each target moment and the delay fluctuation information of the second target video passing through the target audio and video transmission system according to the delay duration of the image frame at each target moment; determines the delay performance statistical information of the target audio and video transmission system according to the delay performance information at each target moment, and determines the stable performance statistical information of the target audio and video transmission system according to the delay fluctuation information; The delay performance statistics information and the stability performance statistics information of the target audio and video transmission system are used as delay detection results.

9. The video delay detection system according to claim 8, characterized in that: The response meets the target video acquisition condition and includes at least one of the following: The video generating device responds to a start test operation for the video generating device; The video generation device determines that a preset detection time point has been reached; The video generating device receives a start operation instruction from a remote control device.