Full-reference streaming video quality evaluation method and system based on time sequence attention
By adopting a full-reference streaming video quality evaluation method based on temporal attention, this paper addresses the problem of difficulty in evaluating the real-time and overall viewing experience of streaming video, achieves efficient quality prediction of streaming video, and improves the accuracy and interpretability of the evaluation.
Patent Information
- Application Number
- CN202311422647.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-10-30
AI Technical Summary
Existing technologies are insufficient to effectively evaluate the real-time and overall viewing experience quality of streaming video, especially during streaming video playback under the DASH standard, where the user's real-time viewing experience varies greatly and the requirements for cache capacity are low, making it difficult to monitor video quality.
A full-reference streaming video quality assessment method based on temporal attention is adopted. By acquiring the quality sequence of single-frame video and its transmission service quality index, a time series in a unified format is formed. Short-term and long-term features are extracted and fused, and a deep learning model is used to predict the real-time and overall perceived quality scores of streaming video.
It can effectively evaluate the overall experience quality of streaming video on the user end when the source video is available, which is superior to existing methods. It provides real-time and overall experience quality scores, improving the accuracy and interpretability of the evaluation.
Smart Images

Figure CN117478952B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of streaming media technology, and more specifically, to a method and system for evaluating the quality of full-reference streaming media video based on temporal attention. Background Technology
[0002] With the rapid development of streaming media technology, real-time streaming video experience quality assessment based on the DASH standard has become an important reference indicator for major live streaming and short video platforms to adjust streaming bitrate and other live streaming-related parameters in real time.
[0003] DASH, also known as MPEG-DASH (Dynamic Adaptive Streaming over HTTP), is a new standard that provides streaming media engineering with more flexible configurations, less workload, and better reliability. In DASH, a video is encoded into multiple different versions (called representations), typically corresponding to different resolutions (e.g., 480p, 720p, 1080p) and average bitrates (e.g., 1.85Mbps, 2.85Mbps, 4.3Mbps). A complete video is divided into multiple video chunks (called segments / chunks / GoPs), containing several seconds of video content (usually 2-5 seconds, of equal length). DASH uses MPD (Media Presentation Description) files to describe video information. All video content and MPD files are stored on the server. When a video session begins, the client first requests and parses the MPD file to obtain the video information from the server. Subsequently, the client requests a video chunk using HTTP GET each time. The ABR (Adaptive Bitrate) algorithm determines the bitrate level of the requested video chunk, downloads the corresponding video chunk, and plays the video using the player. The ABR algorithm takes network throughput and player buffer duration as input and outputs the bitrate level of the next video chunk. One of the core elements of the DASH standard is the specification of the MPD file format. An MPD file is a hierarchical structure described using XML.
[0004] Streaming media (technology) has the following characteristics: (1) it has strong real-time and interactivity; (2) the media startup time on the user side is greatly shortened; and (3) the cache capacity requirement of the client (user computer) is greatly reduced.
[0005] Network transmission is an asynchronous transmission based on packet transmission. Therefore, data is broken down into many packets for transmission. Since each data packet may choose a different route (for transmission), the time delay of these data packets arriving at the client (user's computer) will be different. Therefore, a caching system is needed on the client side to reduce the impact of latency and jitter, as well as to ensure the accuracy of the transmission order of received data packets.
[0006] Compared to traditional (complete) media transmission methods, streaming media playback requires significantly less buffer capacity because it eliminates the need to store all files in the buffer system. These advantages have made various video applications a major force in the online world.
[0007] Furthermore, considering that distortion during streaming video playback occurs sequentially, the user's real-time viewing experience (Time Varying Subjective Quality, TVSQ) changes significantly with the occurrence of these distortion events. Therefore, monitoring the user's real-time viewing experience—that is, outputting a continuous evaluation curve while the video is playing—is just as important as deriving the overall quality score after the video finishes playing. The vast majority of work related to objective evaluation of streaming video is related to these two tasks (continuous and overall quality score prediction). Summary of the Invention
[0008] To overcome the aforementioned shortcomings in the prior art, the purpose of this invention is to provide a method and system for evaluating the quality of full-reference streaming media video based on temporal attention.
[0009] The first objective of this invention is to provide a full-reference streaming video quality assessment method based on temporal attention, comprising:
[0010] Obtain a single-frame video quality sequence and its corresponding transmission service quality index; the single-frame video quality sequence is a full-reference single-frame quality feature extracted from the video stream at the streaming media user's end.
[0011] The single-frame video quality sequence and the transmission service quality index are processed to form a time series in a unified format;
[0012] Short-term and long-term features are extracted from the time series and fused to obtain the fused features. Short-term refers to extracting and fusing the time series information within N seconds before each time step in the sequence. Long-term refers to including all time steps before each time step in the sequence.
[0013] The fused features are processed to output the predicted real-time and overall perceived quality scores for the streaming video.
[0014] Optionally, obtaining the single-frame video quality sequence and its corresponding transmission service quality index includes: extracting all video frame sequences from the distorted video and the reference video in sequence according to the time order, calculating the video quality of a single frame to obtain a full reference single-frame quality score, and assembling a single-frame video quality sequence from the single-frame quality scores; wherein, the single-frame quality score corresponds to the video display characteristics.
[0015] Optionally, the process of processing the single-frame video quality sequence and the transmission service quality index to form a time series in a unified format includes:
[0016] (1) Whether there is a pause every second, with a pause represented by 1, to obtain a time sequence;
[0017] (2) The average bit rate per second yields a time sequence;
[0018] (3) The time elapsed per second since the last quality degradation, the time elapsed is normalized using the total video duration, the quality degradation phenomenon includes: stuttering, bitrate reduction greater than a set threshold;
[0019] (4) Merge the sequences in (1)-(3) to form a three-dimensional feature time series.
[0020] Optionally, the merging of sequences in (1)-(3) includes:
[0021] The three sequences obtained from (1)-(3) and the single-frame quality score sequence are pooled according to the determined pooling granularity and then merged according to the feature dimension.
[0022] Optionally, the step of extracting short-term and long-term features from the time series and fusing them to obtain fused features is achieved through a feature extraction and fusion module.
[0023] The feature extraction and fusion module includes a short-term feature extraction module, a channel attention calculation module, and a long-term feature fusion module, wherein:
[0024] The short-term feature extraction module is a one-dimensional temporal grouped convolution, with the time series as input and a short-term feature sequence of the same length as the input time series as output.
[0025] The channel attention calculation module uses a compressed-excitation network. The input is the short-time feature sequence output by the short-time feature extraction module, and the output is the short-time feature sequence after channel attention weighting calculation.
[0026] The long-term feature fusion module uses stacked Transforner-encoders as temporal attention modules to achieve long-term feature fusion. The input is the short-term feature sequence output by the channel attention calculation module after channel attention weighting calculation, and the output is the long-term feature fusion sequence with the same length as the short-term feature sequence after channel attention weighting calculation, i.e., the long-term feature fusion sequence.
[0027] Optionally, the fused features are processed to output a predicted overall perceptual quality score for the streaming video, wherein:
[0028] The long-term feature fusion sequence obtained by the long-term feature fusion module is subjected to temporal pooling to obtain the overall perceived quality score of the streaming video.
[0029] Optionally, the fused features are processed to output a predicted real-time perceived quality score for the streaming video, wherein:
[0030] The long-term feature fusion sequence obtained by the long-term feature fusion module is passed through several fully connected networks to output the real-time perceived quality score of the streaming video.
[0031] The real-time perceived quality score and the overall perceived quality score of the streaming video are output simultaneously.
[0032] A second aspect of the present invention provides a full-reference streaming video quality evaluation system based on temporal attention, comprising:
[0033] Video quality acquisition module: acquires single-frame video quality sequences and their corresponding transmission service quality indicators; the single-frame video quality sequence is a single-frame quality feature extracted from the video stream of the streaming media user terminal with full reference;
[0034] Time series acquisition module: processes the single-frame video quality sequence and the transmission service quality index to form a time series in a unified format;
[0035] Feature extraction and fusion module: Extracts short-term and long-term features from the time series and fuses them to obtain fused features;
[0036] Quality score prediction module: processes the fused features and outputs the predicted real-time and overall perceived quality scores of the streaming video.
[0037] A third aspect of the present invention provides a full-reference streaming media video quality evaluation device, comprising:
[0038] At least one memory for storing program instructions;
[0039] At least one processor is configured to invoke program instructions stored in the memory and execute the steps of the method described above according to the obtained program instructions.
[0040] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0041] The present invention provides a method and system for evaluating the quality of full-reference streaming video based on temporal attention. This method and system can effectively evaluate the overall experience quality of streaming video on the user end when the source video is known. It is superior to the objective full-parameter quality evaluation methods for streaming video and UGC video that have been proposed so far. It not only integrates deep learning methods into the field of objective quality evaluation of full-reference streaming video, but also has strong interpretability.
[0042] With sufficient training, this invention can simultaneously output the real-time and overall experience quality scores of a user while watching a short video. Attached Figure Description
[0043] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0044] Figure 1 This is a flowchart of the overall process of a full-reference streaming video quality evaluation method based on temporal attention in one embodiment of the present invention. Detailed Implementation
[0045] The embodiments of the present invention are described in detail below: These embodiments are implemented based on the technical solution of the present invention, and provide detailed implementation methods and specific operation processes. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention.
[0046] The Adaptive Bitrate Algorithms (ABR), currently crucial in the live streaming field, are designed to improve the quality of streaming video experience. Streaming video quality of experience (QoE) encompasses both real-time experience quality and overall experience quality. The former refers to the viewer's experience quality at each moment of viewing; the latter refers to the viewer's overall experience quality after watching the entire video. Evaluating streaming video experience quality is a complex problem concerning human visual perception. It is also a potential temporal analysis problem. While the overall experience quality of streaming video is related to the video content throughout the entire playback period, there are also potential temporal relationships in real-time experience quality evaluation. Qualitatively, for example, if a viewer watches poor video content for an extended period, their experience tends to decline at different rates over time. However, for the video itself, the content quality of each frame tends to be consistent; therefore, fitting the viewer's real-time experience is clearly a temporal analysis problem. This problem is difficult yet important when considering human attention perception. Furthermore, some scholars have demonstrated a close relationship between the real-time viewing experience curve and the overall viewing experience score, which presents an important opportunity to propose a unified model.
[0047] Against the backdrop described above, this invention analyzes the shortcomings of existing technologies and proposes a learnable model based on a time attention mechanism to accurately predict the real-time viewing experience of streaming video users, which is not covered by most related works.
[0048] This invention provides a full-reference streaming video quality assessment method based on a temporal attention neural network, referring to... Figure 1 As shown, it includes the following steps:
[0049] S1: Obtain the single-frame video quality sequence and the transmission service quality sequence; the single-frame video quality sequence is the single-frame quality feature extracted from the video stream of the streaming media user terminal with full reference.
[0050] In this step, the video stream from the streaming media user's terminal and the original video frame sequence that has not been transmitted are used to perform a full-reference short-time quality read to obtain a single-frame video quality sequence. More specifically, video frame sequences are extracted sequentially from the distorted video and the reference video, and the video quality of a single frame is calculated using a full-reference VMAF, SSIM, MSSIM, or a half-reference STRRED algorithm.
[0051] S2: Process the single-frame video quality sequence and transmission service quality indicators obtained from S1 to form a time series in a unified format;
[0052] In this step, detection methods are used to detect or extract stuttering phenomena and transmission service quality sequences such as the average bitrate per second from the video stream itself. Specifically, this may include:
[0053] (1) Whether there is a pause every second, a pause is represented by 1 and no pause is represented by 0, thus obtaining a time sequence;
[0054] (2) The average bit rate per second is used to obtain a time sequence, namely the average bit rate per second sequence;
[0055] (3) The time elapsed per second since the last quality degradation, wherein the time elapsed is normalized using the total video duration to obtain a time-normalized sequence; wherein the quality degradation phenomenon includes: stuttering, and the bit rate reduction is greater than a set threshold, and this sequence is denoted as the memory feature sequence;
[0056] (4) Merge the sequences in (1)-(3) to form a three-dimensional time series.
[0057] The three-dimensional transmission service quality sequence and the single-frame quality sequence in S1 are concatenated in the feature dimension to obtain the time series input into the subsequent network.
[0058] S3: Extract short-term and long-term features from the time series obtained in S2 and fuse them to obtain the fused features;
[0059] In this step, when extracting short-term features, "short-term" means that for each time step in the sequence, the temporal information within a set time period before that time step needs to be extracted and fused; when extracting long-term features, "long-term" means that for each time step in the sequence, the time steps to be aggregated include all time steps before that time step.
[0060] In this step, short-term and long-term video features can be fused using a feature extraction and fusion module based on a deep learning model. Specifically, the feature extraction and fusion module includes a short-term feature extraction module, a channel attention calculation module, and a long-term feature fusion module. The short-term feature extraction module is a one-dimensional temporal grouped convolution. Its input is a time series in a uniform format, and its output is a short-term feature sequence of the same length as the input time series. The channel attention calculation module uses a compression-activation network. Its input is the short-term feature sequence output by the short-term feature extraction module, and its output is a short-term feature sequence weighted by channel attention. The long-term feature fusion module uses stacked Transforner-encoders as temporal attention modules to achieve long-term feature fusion. Its input is the short-term feature sequence weighted by channel attention from the channel attention calculation module, and its output is a long-term feature fusion sequence of equal length.
[0061] S4: Process the fused features from S3 to output the predicted real-time and overall perceived quality scores for the streaming video.
[0062] In this step, the long-term feature fusion sequence output by the long-term feature extraction and fusion module is temporally pooled to obtain the overall perceived quality score of the streaming video (the overall perceived features of the video). The long-term feature fusion sequence is then directly passed through several fully connected networks to output the real-time streaming video experience quality score for each time step of the video. These two steps can be performed simultaneously, thus obtaining both the real-time and overall perceived quality scores of the streaming video at the same time.
[0063] The embodiments of this invention, considering the close relationship between real-time experience quality and the overall experience quality of a video, use a similar model to predict the overall experience quality, which can effectively evaluate the full-reference real-time and overall perceived experience quality of user-end streaming video when the original video is available. This invention was compared with several state-of-the-art methods on open-source datasets, and the experimental results demonstrate that the model of this invention achieves superior results.
[0064] Based on the same concept described above, in another embodiment of the present invention, a full-reference streaming video quality evaluation system based on a temporal attention neural network is also provided, such as... Figure 1 As shown, it includes:
[0065] Video quality acquisition module: acquires single-frame video quality sequences and their corresponding transmission service quality indicators; the single-frame video quality sequence is a single-frame quality feature extracted from the video stream of the streaming media user terminal with full reference;
[0066] Time series acquisition module: processes the single-frame video quality sequence and the transmission service quality index to form a time series in a unified format;
[0067] Feature extraction and fusion module: Extracts short-term and long-term features from the time series and fuses them to obtain fused features;
[0068] Quality score prediction module: processes the fused features and outputs the predicted real-time and overall perceived quality scores of the streaming video.
[0069] In this embodiment, the video quality acquisition module uses the video stream from the streaming media user's terminal and the original video before transmission to calculate a full-reference short-time quality score. Specifically, it uses existing mature algorithms, such as VMAF. Simultaneously, it uses detection methods to detect or extract stuttering phenomena and transmission service quality indicators such as the average bitrate per second from the video stream itself.
[0070] Specifically, the time series acquisition module processes the single-frame video quality sequence and transmission service quality indicators to form a unified time series with the following characteristics:
[0071] (1) Whether there is a pause every second, a pause is represented by 1 and no pause is represented by 0, thus obtaining a time sequence;
[0072] (2) The average bit rate per second is used to obtain a time sequence, namely the average bit rate per second sequence;
[0073] (3) The time elapsed per second since the last quality degradation, wherein the time elapsed is normalized using the total video duration to obtain a time-normalized sequence; wherein the quality degradation phenomenon includes: stuttering, and bitrate reduction exceeding a set threshold.
[0074] (4) Merge the sequences in (1)-(3) to form a time series with a unified format.
[0075] The three transmission service quality index sequences (1)-(3) and the obtained full reference short-time quality score sequence are processed according to the determined pooling granularity and merged according to the feature dimension to obtain the processed time series as the input for the next step. The pooling granularity is generally averaged per second, but can be set according to actual needs.
[0076] In a preferred embodiment, the feature extraction and fusion module can be based on a deep learning model. The feature extraction and fusion module includes a short-term feature extraction module, a channel attention calculation module, and a long-term feature fusion module. The short-term feature extraction module is a one-dimensional temporal grouped convolution. Its input is a time series in a uniform format, and its output is a short-term feature sequence of the same length as the input time series. The channel attention calculation module uses a compression-excitation network. Its input is the short-term feature sequence output by the short-term feature extraction module, and its output is a short-term feature sequence weighted by channel attention. The long-term feature fusion module uses stacked Transforner-encoders as temporal attention modules to achieve long-term feature fusion. Its input is the short-term feature sequence weighted by channel attention, output by the channel attention calculation module, and its output is a long-term feature fusion sequence of the same length as the weighted short-term feature sequence.
[0077] In one possible implementation, the short-term feature extraction module uses a one-dimensional temporal grouped convolution as its short-term feature extraction module. In this embodiment, the number of groups is 4, which is the feature dimension of the input, and the input is a three-dimensional time series. The output is a short-term feature sequence of the same length as the input sequence. The same length is achieved because the input sequence is padded with zeros before the convolution, with the padding position at the beginning of the entire sequence, and the padding size is one less than the convolution kernel size.
[0078] In one possible implementation, the channel attention calculation module employs a compression-enhancing network (SE-Net). The input to the channel attention calculation module is the short-term feature sequence obtained by the short-term feature extraction module, and the output is a short-term feature sequence weighted by channel attention. Since the input 4-dimensional sequence has a high number of channels at each time step after convolution, and because convolution has a large number of kernels, there are mutual inhibition and promotion relationships between the channels. These relationships are different for each video segment, therefore, it is necessary to dynamically calculate the channel attention weights based on the video. For example, in one embodiment: the high-dimensional features obtained from the short-term feature extraction module are input into the compression-enhancing network (SE-Net), and compression (overall averaging) is performed across all time steps of the entire video. Then, the attention coefficient for each channel is calculated through fully connected layers and a sigmoid activation function. This coefficient is restricted to between 0 and 1. Finally, this coefficient is multiplied by the input high-feature time sequence channel by channel to obtain the short-term feature sequence weighted by channel attention.
[0079] In one possible implementation, the long-term feature fusion module uses stacked Transforner-encoders as temporal attention modules to achieve long-term feature fusion. The input to the long-term feature fusion module is the short-term feature sequence obtained by the channel attention calculation module after channel attention weighting, and the output is the long-term feature fusion sequence of the same length as the short-term feature sequence after channel attention weighting.
[0080] For example, in one embodiment, the specific method for describing long-term features at a specific time step is as follows: The features of the short-term feature sequence at a specific time step, after being weighted by channel attention, are linearly transformed into a Q matrix. The features of this time step and all previous time steps are then linearly transformed into K matrices. These K matrices are then multiplied by the Q matrix to obtain the attention coefficients corresponding to each time step. These attention coefficients are then subjected to soft-maximization (S-max) to sum to one. Another linear transformation is then performed on the features of this time step and all previous time steps to obtain a V matrix. These V matrices are then weighted and summed using the obtained attention coefficients as weights to obtain the feature aggregation matrix for this specific time step. The linear transformations used to obtain the K, Q, and V matrices are three independent linear transformations. Applying this feature aggregation method to each time step of the short-term feature sequence yields the feature aggregation matrix for the entire sequence, which is the long-term feature fusion sequence.
[0081] In one possible implementation, the temporal pooling module can be implemented in various ways. It can perform simple temporal averaging directly, or it can be processed using a reg-token or a fully connected network to obtain the overall perceptual features of the video. The input to the temporal pooling module is a long-term feature fusion sequence, and it can simultaneously output the real-time experience quality score and the overall experience quality score.
[0082] Specifically, in one specific embodiment, the implementation details of the steps of the full-reference streaming video quality evaluation method based on temporal attention are described as follows:
[0083] First, calculation of single-frame quality score.
[0084] A full-reference short-time quality reading is performed using the video stream from the streaming client and the raw video before transmission. Simultaneously, detection methods are used to identify or extract stuttering phenomena and transmission service quality indicators such as average bitrate per second from the video stream itself.
[0085] In this embodiment, the reference video uses the source video that has not been compressed and encoded during transmission, and the full reference short-time quality extraction method is the reference video quality multi-method evaluation fusion (VMAF) method.
[0086] Second, extraction of video transmission quality score features.
[0087] By extracting video playback information, three transmission quality score feature sequences are obtained according to the following criteria:
[0088] (1) Determine whether there is a pause every second, with 1 representing a pause and 0 representing no pause, to obtain a time series.
[0089] (2) The average bit rate per second yields a time sequence.
[0090] (3) The time elapsed per second since the last quality degradation. This time is normalized using the total video duration. Quality degradation phenomena include: stuttering, and a significant reduction in bitrate (threshold is 800kbps). This sequence is called the memory feature sequence.
[0091] (4) The three sequences obtained in (1)-(3) and the single-frame quality score sequence are pooled according to the determined pooling granularity, and then merged according to the feature dimension to obtain a time series in a unified format.
[0092] Third, short-term feature extraction
[0093] The time series data in the above uniform format is input into the 1D-CNN module, where grouped convolutions are used. Each convolution kernel is 1x5 in size, resulting in a total of 45 kernels.
[0094] Fourth, channel attention calculation
[0095] The high-dimensional feature output obtained from short-term feature extraction is compressed and activated by the SE-Net network. Compression is performed every 5 time steps (usually 5 seconds), which means that dynamic channel attention weights are calculated every five time steps.
[0096] Fifth, long-term feature fusion
[0097] The equal-length sequences obtained from channel attention computation are passed through stacked Transformer-encoder networks, with randomly initialized positional encoding matrices and mask matrices. The mask matrix ensures that information from subsequent time steps does not affect feature aggregation at that time step. The attention blocks are stacked with 1 layer, the self-attention heads are 4, all linear transformation matrices are of equal dimension, and the feature dimension inflation factor of the feedforward layers is 2.
[0098] Sixth, time-series pooling and result output.
[0099] The obtained long-term feature fusion sequence of time series features is passed through several fully connected networks at each time step, and the real-time QoE score of each time step is output.
[0100] The obtained long-term feature fusion temporal feature sequence is temporally pooled and then passed through several fully connected networks to output the overall QoE score of the entire video.
[0101] Preferably, the above-described time-series pooling operations include, but are not limited to:
[0102] (1) Direct average;
[0103] (2) Regression is performed using a regression token appended to the input Transformer;
[0104] (3) The real-time perceived quality score obtained above is flattened and then obtained through a fully connected network.
[0105] When using regtoken output, the design of the mask matrix needs to be modified. Attention coefficients are calculated for each time step along with all other time steps, and the mask matrix only masks useless portions exceeding the video length. Implementation results:
[0106] To verify the effectiveness of the full-reference streaming video quality assessment method based on a temporal attention neural network in the above embodiments of the present invention, experimental tests were conducted on the LIVE-NFLX-II database. The LIVE-NFLX-II database consists of 15 original audio and video sequences and 420 distorted versions. Each sequence was subjectively quality-assessed by 16 human subjects. The video signals were compressed using the H.264 method. The distortion was added in a manner simulating a real streaming video transmission environment; therefore, distortion includes, but is not limited to, irregular stuttering and bitrate fluctuations. Based on the standards proposed by the Video Quality Experts Group (VQEG) in the Video Quality Experts Group (VQEG) Phase I FullReference-TV test, the following three evaluation criteria were selected to measure the performance of the audio and video quality assessment method: Pearson linear correlation coefficients (PLCC), Spearman rankorder correlation coefficients (SRCC), and the most common root mean square error (RMSE).
[0107] First, since the length of each video segment in the dataset varies, and positional encoding can only be used to process fixed-length time series, preprocessing is required. The temporal features extracted from each video segment are padded with zeros to the length of the longest video in the dataset, and the padded portions are marked. These padded portions are then discarded during output, which effectively solves this problem.
[0108] During the experiment, the source video and the distorted video in the given dataset in yuv format are first used to calculate the full parameter quality of a single frame video using the VMAF full reference algorithm, and then the time blocks are averaged to obtain a sequence that can be input into the network.
[0109] During the experiment, real-time QoE prediction evaluation experiments and overall video QoE prediction evaluation experiments were conducted separately. In the testing process, non-overlapping training, validation, and test sets were first defined: For the real-time QoE prediction experiments, using the LIVE-NFLX-II dataset, content dependency was avoided only, as this dataset is a simulated dataset without explicitly created "distortion types." When partitioning the dataset, each video segment was used as a baseline. 14*28=392 videos with complete content to that segment were used as the training set, and 27 videos with content to that segment were used as the validation set. Only that video was used as the validation set. This process was repeated for all videos, requiring 420 rounds of experiments to obtain the prediction results for all videos. For the overall QoE prediction experiments, the dataset was randomly divided into 80% of the content as the training set and 20% as the test set, with no duplicate source video content in either the training or test sets. No validation set was set in this case.
[0110] Table 1
[0111]
[0112] Table 2
[0113]
[0114] The performance test results for real-time QoE prediction under full reference conditions are shown in Table 1, and the overall performance test results for QoE prediction are shown in Table 2. The comparison algorithms are among the best-performing algorithms proposed in this field. It can be seen that, under the same experimental settings and with sufficient datasets, the implementation of this invention outperforms these comparison algorithms.
[0115] The full-reference streaming video quality assessment method based on temporal attention provided in this invention can effectively evaluate the real-time and overall experience quality of streaming video when the source video is known. Furthermore, it can output both metrics simultaneously. After sufficient training, this invention can simultaneously output the real-time and overall experience quality scores of a user watching a short video. For example, training can be performed on existing open-source datasets containing both real-time QoE subjective evaluation experimental results and overall QoE subjective evaluation experimental results. Supervised training is conducted using the subjective experimental results as the training objective and the root mean square error of the prediction results and the training objective as the loss function.
[0116] Based on the same concept described above, in another embodiment of the present invention, a network-based image pair color difference prediction terminal is also provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, it is used to execute the aforementioned temporal attention-based full-reference streaming video quality evaluation method.
[0117] Optionally, the memory is used to store programs; the memory may include volatile memory, such as random-access memory (RAM), such as static random-access memory (SRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), etc.; the memory may also include non-volatile memory, such as flash memory. The memory is used to store computer programs (such as application programs, functional modules, etc. that implement the above methods), computer instructions, etc., and the aforementioned computer programs, computer instructions, etc., can be partitioned and stored in one or more memories. Furthermore, the aforementioned computer programs, computer instructions, data, etc., can be accessed by the processor.
[0118] The aforementioned computer programs, computer instructions, etc., can be stored in partitions within one or more memory locations. Furthermore, the aforementioned computer programs, computer instructions, data, etc., can be accessed by a processor.
[0119] A processor is used to execute a computer program stored in memory to implement the various steps of the methods involved in the above embodiments. For details, please refer to the relevant descriptions in the preceding method embodiments.
[0120] The processor and memory can be separate structures or integrated structures. When the processor and memory are separate structures, they can be coupled together via a bus.
[0121] In this embodiment of the invention, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the full-reference streaming video quality evaluation method based on temporal attention in any of the above embodiments.
[0122] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0124] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0125] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0126] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the invention.
[0127] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
[0128] The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A full-reference streaming video quality evaluation method based on temporal attention, characterized in that, include: Obtain the quality sequence of a single frame of video and its corresponding transmission service quality indicators; The single-frame video quality sequence is a single-frame quality feature extracted from the video stream of the streaming media user terminal with full reference. The single-frame video quality sequence and the transmission service quality index are processed to form a time series in a unified format; Short-term and long-term features are extracted from the time series and fused to obtain the fused features; Short time refers to extracting and fusing the temporal information within N seconds before each time step in the sequence; long time refers to including all time steps before each time step in the sequence. The fused features are processed to output the predicted real-time and overall perceived quality scores for the streaming video. The process of obtaining a single-frame video quality sequence and its corresponding transmission service quality index includes: According to the time sequence, all video frame sequences are extracted from the distorted video and the reference video in sequence, and the video quality of a single frame is calculated to obtain the full reference single frame quality score. The single frame quality scores are then used to form a single frame video quality sequence. Among them, the single-frame quality score corresponds to the video display characteristics; The single-frame video quality sequence and the transmission service quality index are processed to form a time series in a unified format, including: (1) Whether there is a stutter per second, with 1 indicating stutter and 0 indicating no stutter; (2) The average bit rate per second is used to obtain a time sequence, namely the average bit rate per second sequence; (3) The time elapsed per second since the last quality degradation, wherein the time elapsed is normalized using the total video duration to obtain a time-normalized sequence; wherein the quality degradation phenomenon includes: stuttering, and bitrate reduction exceeding a set threshold. (4) Merge the sequences in (1)-(3) to form a three-dimensional feature time series.
2. The full-reference streaming video quality evaluation method based on temporal attention according to claim 1, characterized in that: The sequences in the merging (1)-(3) include: The three sequences obtained from (1)-(3) and the single-frame quality score sequence are pooled according to the determined pooling granularity and then merged according to the feature dimension.
3. The full-reference streaming video quality evaluation method based on temporal attention according to claim 1, characterized in that: The process of extracting short-term and long-term features from the time series and fusing them to obtain fused features is achieved through a feature extraction and fusion module. The feature extraction and fusion module includes a short-term feature extraction module, a channel attention calculation module, and a long-term feature fusion module, wherein: The short-term feature extraction module is a one-dimensional temporal grouped convolution, with the time series as input and a short-term feature sequence of the same length as the input time series as output. The channel attention calculation module uses a compressed-excitation network. The input is the short-time feature sequence output by the short-time feature extraction module, and the output is the short-time feature sequence after channel attention weighting calculation. The long-term feature fusion module uses stacked Transforner-encoders as temporal attention modules to achieve long-term feature fusion. The input is the short-term feature sequence output by the channel attention calculation module after channel attention weighting calculation, and the output is the long-term feature fusion sequence with the same length as the short-term feature sequence after channel attention weighting calculation, i.e., the long-term feature fusion sequence.
4. The full-reference streaming video quality evaluation method based on temporal attention according to claim 3, characterized in that, The fused features are processed to output a predicted overall perceptual quality score for the streaming video, wherein: The long-term feature fusion sequence obtained by the long-term feature fusion module is subjected to temporal pooling to obtain the overall perceived quality score of the streaming video.
5. The full-reference streaming video quality evaluation method based on temporal attention according to claim 4, characterized in that, The fused features are processed to output a predicted real-time perceived quality score for the streaming video, wherein: The long-term feature fusion sequence obtained by the long-term feature fusion module is passed through several fully connected networks to output the real-time perceived quality score of the streaming video. The real-time perceived quality score and the overall perceived quality score of the streaming video are output simultaneously.
6. A full-reference streaming video quality evaluation system based on temporal attention, characterized in that, include: Video quality acquisition module: acquires single-frame video quality sequences and their corresponding transmission service quality indicators; the single-frame video quality sequence is a single-frame quality feature extracted from the video stream of the streaming media user terminal with full reference; Time series acquisition module: processes the single-frame video quality sequence and the transmission service quality index to form a time series in a unified format; Feature extraction and fusion module: Extracts short-term and long-term features from the time series and fuses them to obtain fused features; Quality score prediction module: processes the fused features and outputs the predicted real-time and overall perceived quality scores of the streaming video; The process of obtaining a single-frame video quality sequence and its corresponding transmission service quality index includes: According to the time sequence, all video frame sequences are extracted from the distorted video and the reference video in sequence, and the video quality of a single frame is calculated to obtain the full reference single frame quality score. The single frame quality scores are then used to form a single frame video quality sequence. Among them, the single-frame quality score corresponds to the video display characteristics; The single-frame video quality sequence and the transmission service quality index are processed to form a time series in a unified format, including: (1) Whether there is a stutter per second, with 1 indicating stutter and 0 indicating no stutter; (2) The average bit rate per second is used to obtain a time sequence, namely the average bit rate per second sequence; (3) The time elapsed per second since the last quality degradation, wherein the time elapsed is normalized using the total video duration to obtain a time-normalized sequence; wherein the quality degradation phenomenon includes: stuttering, and bitrate reduction exceeding a set threshold. (4) Merge the sequences in (1)-(3) to form a three-dimensional feature time series.
7. A full-reference streaming media video quality evaluation device, characterized in that, include: At least one memory for storing program instructions; At least one processor is configured to invoke program instructions stored in the memory and execute the steps of the method described in any one of claims 1-5 according to the obtained program instructions.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-5.
Citation Information
Patent Citations
Full-reference audio and video objective quality evaluation method and system and terminal
CN113489971A
Full-reference video quality evaluation method based on motion estimation
CN114332088A
