User-end non-reference streaming media video quality evaluation method, system and terminal
By using a neural network method based on temporal attention to extract features from streaming video streams and combine them with transmission service quality indicators, the problem of evaluating streaming video quality under no-reference conditions is solved, achieving efficient evaluation of real-time and overall quality, and improving the accuracy and interpretability of the evaluation.
Patent Information
- Application Number
- CN202311421828.X
- 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 struggle to effectively evaluate the real-time and overall viewing experience quality of streaming video without reference, especially during streaming video playback under the DASH standard, where the user's real-time viewing experience fluctuates dramatically with changes in distortion events, lacking an effective and objective quality evaluation method.
A neural network method based on temporal attention is adopted to extract image sequences from video streams at streaming media users. Display features and motion features are extracted through pre-trained ResNet50 and SlowFast R50 networks. Combined with transmission service quality indicators, temporal processing is performed to output real-time and overall objective quality evaluation scores.
It enables effective evaluation of the real-time and overall experience quality of streaming video in the absence of reference. The output quality evaluation score is closely related to human subjective evaluation, and has high accuracy and interpretability, which is superior to existing methods.
Smart Images

Figure CN117478951B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of streaming media technology, and more specifically, to a method, system, and terminal for evaluating the quality of user-end reference-free streaming media video. 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 each time using an HTTP GET request. The ABR (Adaptive Bitrate) algorithm determines the bitrate level of the requested video chunk, downloads the corresponding video chunk, and plays the video using a 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; (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 user-side no-reference streaming video quality evaluation method, system, and terminal based on a temporal attention neural network.
[0009] The first objective of this invention is to provide a client-side no-reference streaming video quality evaluation method based on temporal attention, comprising: Extracting a sequence of single frames from the video stream at the streaming media user's end; Obtain the transmission service quality index of the video stream, and process the transmission service quality index into a time series in a unified format; A pre-trained ResNet50 network is provided. The single-frame image sequence is uniformly sampled in time and then input into the ResNet50 network to obtain feature maps of the four stages of the ResNet50 network. The average and variance of each feature of the four stages are calculated in the pixel domain to obtain the temporal display feature sequence of the four stages of the ResNet50 network. A pre-trained slowfast r50 network is provided. The single-frame image sequence extracted from the video stream is passed through the slowfast r50 network, and the features output by the fast path in the slowfast r50 network are extracted to obtain the temporal motion feature sequence. The time-series display feature sequence, the time-series motion feature sequence, and the unified format time series are processed and output to obtain real-time and overall objective quality evaluation scores.
[0010] Optionally, time-series processing is performed on the time-series display feature sequence, the time-series motion feature sequence, and the unified format time series, wherein: The time-series display feature sequence and the time-series motion feature sequence are high-level feature sequences; the unified format time series is a low-level feature sequence. The video is divided into two paths based on high-level feature sequences and low-level feature sequences for temporal regression processing. The temporal regression processing is divided into short-term feature extraction and long-term feature extraction. Short-time feature extraction is performed separately for the two-way temporal regression processing, and the methods are the same; the short-time feature extraction is to extract the temporal information of the video within N seconds before each specific time step; After obtaining the short-time feature sequence, the channel attention weights are dynamically calculated based on the video. The calculation of the attention weights of the two time-series sequences is performed separately but in the same way. Then, long-term features are extracted from the two short-term feature sequences after channel attention is calculated. The long-term feature extraction of the two sequences is performed separately and in the same way, resulting in two long-term feature fusion sequences.
[0011] Optionally, the output of real-time and overall objective quality evaluation scores includes: The two long-term feature fusion sequences are merged at each time step, and the real-time experience quality score at each time step is output through several fully connected networks. The two long-term feature fusion sequences are merged and then temporally pooled. Finally, through several fully connected networks, the overall streaming video experience quality score of the entire video segment is output. The above two steps are performed in parallel, and the results are output in parallel.
[0012] A second objective of this invention is to provide a client-side no-reference streaming video quality evaluation system based on temporal attention, comprising: Image sequence acquisition module: Extracts single-frame image sequences from the video stream of the streaming media user; Time series acquisition module: Acquires the transmission service quality indicators of the video stream and processes the transmission service quality indicators into a time series in a unified format; Temporal feature extraction module: A pre-trained ResNet50 network is used. Single-frame image sequences are uniformly sampled temporally and then input into the ResNet50 network to obtain feature maps for the four stages of the ResNet50 network. The average and variance of each dimension of the feature maps in the four stages are calculated in the pixel domain to obtain the temporal display feature sequence of the four stages of the ResNet50 network. A pre-trained SlowFast R50 network is used. Single-frame image sequences extracted from the video stream are passed through the SlowFast R50 network. The features output by the fast path in the SlowFast R50 network are extracted to obtain the temporal motion feature sequence. Quality assessment and prediction module: Performs time series processing on time series display feature sequences, time series motion feature sequences, and time series in a unified format to obtain real-time and overall objective quality assessment scores.
[0013] A third objective of this invention is to provide a user-end referenceless streaming media video quality evaluation device, comprising: 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 aforementioned user-side no-reference streaming video quality evaluation method according to the obtained program instructions.
[0014] A fourth objective of this invention is to provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the aforementioned user-end-without-reference streaming media video quality evaluation method.
[0015] Compared with the prior art, the embodiments of the present invention have at least one of the following beneficial effects: This invention provides a user-side no-reference streaming video quality evaluation method and system. It processes transmission service quality indicators into a unified time series format. A pre-trained ResNet50 network is used to uniformly sample single-frame image sequences in time to extract display feature sequences. A SlowFast R50 network is used to extract motion feature sequences from the unsampled original video sequences. Time-series processing is performed on the time-series display feature sequences, time-series motion feature sequences, and the unified time series, and real-time and overall objective quality evaluation scores are output. This method can effectively evaluate the overall user experience quality of streaming video in a no-reference environment and outperforms current cutting-edge objective quality evaluation methods for streaming video and UGC video. It not only integrates deep learning methods into the field of no-reference streaming video objective quality evaluation but also offers strong interpretability. With reasonable and sufficient training, this invention can simultaneously output real-time and overall experience quality scores for users watching a short video. Attached Figure Description
[0016] 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: Figure 1 This is a flowchart illustrating the overall process of user-side no-reference streaming media video quality evaluation according to an embodiment of the present invention. Figure 2 This is a flowchart of a user-side no-reference streaming media video quality evaluation method according to a specific embodiment of the present invention. Detailed Implementation
[0017] 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.
[0018] 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 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 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.
[0019] Against this backdrop, this invention, by analyzing the shortcomings of existing models and reviewing advanced models in other fields, proposes a learnable model based on a temporal attention mechanism to accurately predict the real-time viewing experience of streaming video users, which is not covered by most related works. Considering the close relationship between real-time QoE and the overall QoE of a video, this invention uses a similar model to predict the overall QoE. This invention is compared with several state-of-the-art methods on six open-source datasets. Finally, experimental results demonstrate that the proposed model achieves superior results.
[0020] This invention first extracts single-frame image sequences from the video stream at the user's streaming media client, and then reads these image sequences. Simultaneously, it uses detection methods to identify or calculate transmission service quality indicators (TSIs) such as stuttering and average bitrate per second from the video stream itself. Then, it uses a deep neural network to display the feature sequences and motion feature sequences in a time series. The extracted TSIs are then processed into a unified time series format. Short-term and long-term time series information are then extracted and fused. Finally, through time series processing, the predicted real-time and overall perceived quality scores of the streaming video are simultaneously output. This invention can effectively evaluate the real-time and overall perceived quality of streaming video at the user's end.
[0021] This invention provides a user-side no-reference streaming video quality evaluation method based on a temporal attention neural network, referring to... Figure 1 As shown, it includes the following steps: S1: Extract single-frame image sequences from the video stream at the streaming media user's end; obtain the transmission service quality index of the video stream, and process the transmission service quality index into a time series in a unified format; In this step, a sequence of single-frame images is extracted from the video stream at the streaming media user's end. Simultaneously, detection methods are used to detect or extract stuttering phenomena and transmission service quality indicators such as the average bit rate per second from the video stream itself. Optionally, extracting a sequence of single-frame images from the video stream at the streaming media user's end can be done by sequentially sampling several frames of images evenly over time from the single-frame image sequence of the distorted video.
[0022] In this step, existing technologies can be used to extract transmission service quality indicators, and these indicators can be further processed into a time series in a unified format. Specifically, the time series in the unified format includes the following characteristics: (1) Whether there is a pause every second, with pause represented by 1, to obtain a time series; (2) The average bit rate per second yields a time sequence; (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, significant reduction in bitrate (for example, the threshold can be set to 800kbps).
[0023] These three sequences are concatenated into a three-dimensional time series, resulting in a time series with a unified format.
[0024] The aforementioned stuttering refers to the period of time in the video where the time complexity (TI) fluctuates within a certain small threshold, calculated from the video's time complexity (TI). The average bitrate mentioned above refers to the average bitrate within each time block of the video, obtained from the video's playback information.
[0025] S2: Provide a pre-trained ResNet50 network. Input the single-frame image sequence into the ResNet50 network after uniformly sampling it in time. This will result in feature maps for the four stages of the ResNet50 network. Then, calculate the average and variance of each feature dimension of the four stages in the pixel domain (i.e., calculate the average and variance of all pixel values in each feature channel) to obtain the temporal display feature sequence of the four stages of the ResNet50 network. In this step, the image sequence obtained in S1 is uniformly sampled in time, and the feature maps are processed in four stages using the ResNet50 network pre-trained in the ImageNet dataset classification task.
[0026] S3: Provide a pre-trained slowfast r50 network, pass the single-frame image sequence extracted from the video stream through the slowfast r50 network, and extract the features of the fast path output in the slowfast r50 network to obtain the temporal motion feature sequence. In this step, the complete image sequence is passed through a slowfast r50 network, and only the features of the fast path are selected to obtain a temporal motion feature sequence.
[0027] There is no strict requirement for the order of execution of steps S2 and S3 above; they can also be performed in parallel.
[0028] The pre-trained ResNet50 and SlowFast networks are used to obtain video features of various levels from low to high by removing the last fully connected layer and pooling layer of the neural network and averaging the pixel domain of each dimension of the feature map. These are the temporal display feature sequence and the temporal motion feature sequence.
[0029] S4: Perform time series processing on time series display feature sequences, time series motion feature sequences, and time series in a unified format, and output real-time and overall objective quality evaluation scores.
[0030] In this step, the previously obtained feature sequences, which include a high-level feature sequence composed of time-series display feature sequences and motion feature sequences, and a low-level feature sequence composed of transmission service quality indicators, are processed in two separate paths according to the high-level feature sequences and the low-level feature sequences. After time-series processing, time-series pooling and score prediction are performed, and real-time and overall objective quality evaluation scores are output synchronously.
[0031] The video is divided into two paths based on high-level features and low-level features for temporal regression processing. High-level features consist of temporal display feature sequences and temporal motion feature sequences obtained through a deep learning network. Low-level features consist of three time series in a unified format, which may include the following: (1) The video is divided into two paths based on the high-level feature sequence and the low-level feature sequence for temporal regression processing. Temporal regression processing is divided into short-term feature extraction and long-term feature extraction. (2) The short-term feature extraction of the two-way temporal regression processing is performed separately and in the same way; short-term feature extraction is to extract the temporal information of the video within N seconds before each specific time step and fuse it as the input for the subsequent long-term feature extraction; For example, temporal information within 5 seconds prior to each specific time step in the video is extracted and fused, serving as input for subsequent long-term feature extraction. The two sequences are then processed separately through a one-dimensional convolutional neural network to extract short-term features. The resulting short-term feature sequence has the same length as the original input sequence because padding has been added before the original input sequence to accommodate the convolution. Of course, in other embodiments, the specific timeframe can be set as needed and is not limited to the first 5 seconds.
[0032] (3) After obtaining the short-time feature sequence, the channel attention weights are dynamically calculated based on the video. The attention weights of the two time series sequences are calculated separately but in the same way. After obtaining the short-term feature sequences, since both sequences have a high number of channels at each time step (due to the large number of convolutional kernels), there are mutual inhibition and promotion relationships between the channels. These relationships are different for each video segment, so it is necessary to dynamically calculate the channel attention weights based on the video. The calculation of the attention weights for the two time-series sequences is performed separately, but the method is consistent. For example, taking one sequence as an example: the high-dimensional features are input into the compression-activation network (SE-Net), and compression (overall averaging) is performed on all time steps of the entire video. Then, the attention coefficient of each channel is calculated through fully connected layers and a sigmoid activation function. This coefficient is restricted to between 0 and 1. Then, this coefficient is multiplied by the two input time sequences channel by channel to obtain the attention weights.
[0033] (4) Then, long-term feature extraction is performed on the two short-term feature sequences after calculating channel attention. The long-term feature extraction of the two sequences is performed separately and in the same way.
[0034] In long-term features, "long-term" means that for each time step in the sequence, the time steps that need to be aggregated include all time steps before that time step. The short-term feature sequence obtained after calculating channel attention in (3) is passed through a stacked Transformer-encoder network. At the same time, a randomly initialized position encoding matrix and a mask matrix are designed. The mask matrix is to ensure that the information of the time steps after each time step does not affect the feature aggregation of that time step.
[0035] For example, the specific method for describing long-term feature aggregation at a specific time step is as follows: The features at the specific time step are linearly transformed into the Q matrix. The short-term features at this time step and all previous time steps are then linearly transformed into the K matrix. These K matrices are then multiplied by the Q matrix to obtain the attention coefficients for each time step. These attention coefficients are then subjected to softmax to sum to one. Another linear transformation is then performed on the short-term features at this time step and all previous time steps to obtain the V matrix. These V matrices are then weighted and summed using the previously obtained attention coefficients to obtain the feature aggregation matrix for the specific time step. The linear transformations used to obtain the K, Q, and V matrices described above 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. This matrix is the long-term feature sequence, where each column represents the long-term fused feature of a single time step.
[0036] In the preferred embodiment of the present invention, a display feature sequence is extracted by uniformly sampling a single-frame image sequence in time using a pre-trained ResNet50 network, and a motion feature sequence is extracted from the unsampled original video sequence using a SlowFast R50 network. The display feature sequence and the motion feature sequence are used as high-level feature sequences. Then, three uniformly formatted transmission service quality feature sequences are extracted as low-level feature sequences. The high-level and low-level feature sequences are divided into two paths for short-term feature extraction, channel attention calculation, and long-term feature extraction, respectively. Finally, the two feature paths are concatenated, and the real-time QoE curve and overall QoE score of the video are output synchronously. This embodiment uses both short-term and long-term features, which can effectively evaluate the overall perceived quality of audio and video.
[0037] Based on the same concept described above, in another embodiment of the present invention, a user-side no-reference streaming video quality evaluation system based on a temporal attention neural network is also provided, such as... Figure 1 As shown, it includes: Image sequence acquisition module: Extracts single-frame image sequences from the video stream of the streaming media user; Time series acquisition module: Acquires the transmission service quality indicators of the video stream and processes the transmission service quality indicators into a time series in a unified format; Temporal feature extraction module: A pre-trained ResNet50 network is used. Single-frame image sequences are uniformly sampled temporally and then input into the ResNet50 network to obtain feature maps for the four stages of the ResNet50 network. The average and variance of each dimension of the feature maps in the four stages are calculated in the pixel domain to obtain the temporal display feature sequence of the four stages of the ResNet50 network. A pre-trained SlowFast R50 network is used. Single-frame image sequences extracted from the video stream are passed through the SlowFast R50 network. The features output by the fast path in the SlowFast R50 network are extracted to obtain the temporal motion feature sequence. Quality assessment and prediction module: performs time series processing on time series display feature sequences, time series motion feature sequences, and time series in a unified format, and outputs real-time and overall objective quality assessment scores.
[0038] In this embodiment, the quality assessment and prediction module performs temporal processing on the temporal display feature sequence, the temporal motion feature sequence, and the unified format time series. The temporal display feature sequence and the temporal motion feature sequence are high-level feature sequences; the unified format time series is a low-level feature sequence. The video is divided into two paths based on the high-level and low-level feature sequences for temporal regression processing. Temporal regression processing is divided into short-term feature extraction and long-term feature extraction. Short-term feature extraction is performed separately for both paths using the same method. Short-term feature extraction extracts the temporal information of the video within N seconds before each specific time step. After obtaining the short-term feature sequences, channel attention weights are dynamically calculated based on the video. The calculation of attention weights for the two paths is performed separately using the same method. Then, long-term feature extraction is performed on the two short-term feature sequences after calculating channel attention. The long-term feature extraction for the two sequences is performed separately using the same method, resulting in two long-term feature fusion sequences.
[0039] In this embodiment, the quality evaluation prediction module outputs real-time and overall objective quality evaluation scores, including: merging the feature dimensions of the two long-term feature fusion sequences at each time step, and outputting the real-time experience quality score for each time step through several fully connected networks; merging the two long-term feature fusion sequences and performing temporal pooling, and then outputting the overall streaming video experience quality score for the entire video segment through several fully connected networks; the above two steps are implemented in parallel and the results are output in parallel.
[0040] In the above embodiments, the image sequence acquisition module uniformly samples the image sequence from the video sequence (the image sequence composed of each frame of the original video) and obtains some sequence features through a neural network.
[0041] In the above embodiments, the time series acquisition module obtains QoS features from video information (image sequences composed of each frame of the original video), and after processing, obtains a processable time series of equal length, i.e. a time series in a uniform format.
[0042] In the above embodiments, the temporal feature extraction module takes a single-frame image sequence as input and outputs high-level features obtained from a pre-trained network and low-level features (a time series in a uniform format) obtained from the video itself. The high-level features include temporal display features and temporal motion features, while the low-level features are QoS features obtained from the video information. The output of this module consists of two separate high-level and low-level feature sequences.
[0043] In some possible embodiments, the quality assessment prediction module includes a short-term feature extraction module, a channel attention calculation module, a long-term feature fusion module, and a temporal pooling module, the functions of which are detailed below.
[0044] The short-term feature extraction module employs a one-dimensional temporal convolution. The input to the short-term feature extraction module consists of the preceding high-level and low-level feature sequences. Specifically, the high-level and low-level feature sequences are divided into two paths, each input to a separate short-term feature extraction module. These two modules do not share parameters and are trained independently. The output of the short-term feature extraction module is a short-term feature sequence of the same length as the input sequence. This equal length is achieved by padding the input sequence with zeros before the convolution, with the padding position at the beginning of the entire sequence and the padding size being one less than the convolution kernel size.
[0045] Channel attention calculation module: A compressed-excitation network is used as the channel attention calculation module. The input is the short-time feature sequence obtained by the short-time feature extraction module, and the output is the short-time feature sequence after channel attention weighting. Specifically, the two sequences are input into two separate channel attention calculation modules, which do not share parameters and are trained independently.
[0046] Long-term feature fusion module: A stacked Transforner-encoder is used as the temporal attention module to achieve long-term feature fusion. The input of 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 a long-term feature fusion sequence of equal length. The two short-term feature sequences after channel attention weighting are respectively input into two long-term feature fusion modules, which do not share parameters and are trained independently.
[0047] Temporal Pooling Module: The implementation of the temporal pooling module is optional. It can directly perform simple temporal averaging, or use reg-tokens or fully connected networks for temporal pooling to obtain the overall perceptual features of the video. The input of the temporal pooling module is the concatenation of two long-term feature fusion sequences along the feature dimension. After concatenation, the time length remains unchanged, but the feature dimension is doubled. The output is the real-time QoE score and the overall QoE score obtained simultaneously.
[0048] For the specific implementation techniques of each module in the above system embodiments of the present invention, and for others not described in detail, please refer to the corresponding steps in the above embodiments of the user-end no-reference streaming media video quality evaluation method, which will not be repeated here.
[0049] Based on the same concept described above, in another embodiment of the present invention, a user-end no-reference streaming media video quality evaluation 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 user-end no-reference streaming media video quality evaluation method.
[0050] To better understand the above technology, the parameters and operations of specific embodiments are described in detail below, but this is not intended to limit the present invention.
[0051] like Figure 2 As shown, Figure 2 In this context, the memory feature refers to the third time series, which is the duration per second since the last quality degradation. This duration is normalized using the total video duration. Because this feature is designed with the viewer's memory characteristics in mind, it is called the memory feature.
[0052] Figure 2 In the context of bitstream metadata extraction features, the time series in a unified format refers to the three QoS feature sequences (low-level features) mentioned above (1)-(3). Since obtaining these sequences requires bitstream information, they are called bitstream metadata.
[0053] Figure 2 In this context, pixel-level features refer to the temporal display feature sequences and temporal motion feature sequences (high-level features) obtained through ResNet50 and SlowFast-R50. Since obtaining these features requires a pre-trained network to traverse each pixel, they are called pixel-level features.
[0054] Figure 2 In the Transformer-encoder, the mask multi-head attention mechanism is a core component, and its implementation is shown above. "Multi-head" refers to generating multiple K, Q, V matrices and performing simultaneous operations, and finally concatenating and inversely transforming the results to obtain the same format as the input.
[0055] In a specific embodiment, the specific parameters and operations of the user-end reference-free streaming media video quality evaluation method are as follows; for parts not described in detail, please refer to other parts of the specification.
[0056] First, obtain single-frame image sequences and QoS features (time series in a unified format). In this embodiment, the QoS features of the video are extracted by extracting the video playback information and obtaining three QoS feature sequences according to the following criteria: Whether there is a pause every second, with pause represented by 1, results in a time series. The average bit rate per second yields a time sequence. The duration per second since the last quality degradation, normalized using the total video duration. Quality degradation phenomena include: stuttering, and a significant reduction in bitrate (threshold is 800kbps).
[0057] Second, temporal feature extraction, including temporal display feature sequences and temporal motion feature sequences.
[0058] A single-frame image sequence is uniformly sampled temporally and then input into the ResNet50 network to obtain feature maps for the four stages of the ResNet50 network. The average and variance of each dimension of the feature maps for each stage are calculated within pixels to obtain the temporal display feature sequence of the four stages of the ResNet50 network. Specifically, From the image sequence composed of frames of the video to be extracted, several frames are sampled sequentially and evenly over time. The sampling frequency is 16 frames per second. These image patches are input into a pre-trained ResNet50 network to extract and concatenate features from each stage. These features encompass a range from low-level distortion features to high-level semantic features. After compressing the feature information through global average pooling and global standard deviation pooling operations, the feature maps of these 16 frames are averaged over time to obtain the display features for that second. The display features from each second are then combined to form a display feature sequence, i.e., the time-series display feature sequence.
[0059] The complete video frame sequence of the video to be extracted is passed through the slowfast-r50 network to obtain temporal motion features, forming a temporal motion feature sequence.
[0060] The SlowFast-R50 network utilizes two parallel CNN streams to process video frame sequences. A slow, high-resolution CNN (Slow channel) is used to analyze static content, while a fast, low-resolution CNN (Fast channel) is used to analyze dynamic content. In this embodiment, the features output by the Fast channel in the SlowFast-R50 network are used to obtain temporal motion features.
[0061] In this embodiment, when extracting temporal display features, a ResNet50 network pre-trained with ImagNet is used, and the last fully connected layer and pooling layer of the pre-trained ResNet50 network are removed.
[0062] The ResNet50 network is a commonly used deep convolutional neural network. Its structure consists of four stages: Stage 1: Contains 3 convolutional layers and 2 pooling layers, mainly responsible for feature extraction from the input image; Stage 2: Contains 4 convolutional layers and 2 pooling layers, mainly responsible for further deepening and enhancing the features extracted in Stage 1; Stage 3: Contains 6 convolutional layers and 2 pooling layers, mainly responsible for further deepening and enhancing the features extracted in Stage 2; Stage 4: Contains 3 convolutional layers and 1 pooling layer, mainly responsible for further deepening and enhancing the features extracted in Stage 3. In summary, the main function of these four stages is to extract and enhance the features of the input image for subsequent image classification or other tasks.
[0063] In this embodiment, a pre-trained slowfast-r50 network was used to extract temporal motion features.
[0064] The resolution of the small image patches extracted from the video frame is the same as the original video resolution. When extracting motion features, the resolution is downsampled to 224. 224.
[0065] Third, perform time series processing on time series display feature sequences, time series motion feature sequences, and time series in a unified format, and output real-time and overall objective quality evaluation scores.
[0066] The feature sequences extracted through the network are concatenated along the feature dimension and then fed into two different 1D-CNN modules along with the QoS features. Grouped convolutions are used to process the QoS features. The kernel size for each convolution is 1. 5, each with 60 convolution kernels.
[0067] The high-dimensional feature output obtained earlier is compressed and activated by the SE-Net. Compression is performed every 5 time steps (usually 5 seconds), which means that dynamic channel attention weights are calculated every five time steps.
[0068] The obtained time-equal-length sequences are passed through a stacked Transformer-encoder network, with randomly initialized positional encoding and mask matrices designed. The attention blocks are stacked at 1 layer, the self-attention heads are 4, the linear transformation matrices are all of equal dimension, and the feature dimension inflation factor of the feedforward layer is 2.
[0069] The temporal feature sequence, after feature extraction and temporal processing, is passed through several fully connected networks at each time step to output the real-time QoE score for each time step. Simultaneously, the temporal feature sequence is temporally pooled and then passed through several fully connected networks to output the overall QoE score of the dispute video.
[0070] The aforementioned time-series pooling operations include, but are not limited to: Direct average; Regression is performed using a regression token appended to the input Transformer; The moral continuous QoE score above is flattened and then obtained through a fully connected network.
[0071] When using regtoken output, the design of the mask matrix needs to be changed. Attention coefficients are calculated for each time step and all other time steps. The mask matrix only covers useless parts that exceed the length of the video.
[0072] Implementation effect
[0073] To verify the effectiveness of the user-side referenceless streaming video quality assessment method provided 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 signal used H.264 compression. The video 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 Phase I Full Reference-TVtest, the following two evaluation criteria were selected to measure the performance of the audio and video quality assessment method: Pearson linear correlation coefficients (PLCC) and Spearman rank order correlation coefficients (SRCC).
[0074] 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.
[0075] 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 sums to that segment were used as the training set, and 27 videos with content sums 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.
[0076]
[0077]
[0078] The real-time QoE performance test results under no-reference conditions are shown in Table 1, and the overall QoE is shown in Table 2. The comparison algorithms are all high-performance algorithms proposed in this field in recent years. It can be seen that under the same experimental settings and with sufficient datasets, the implementation effect of this invention is better than these comparison algorithms.
[0079] This invention provides a user-side reference-free streaming video quality evaluation method, which can effectively evaluate the real-time and overall experience quality of streaming video in the absence of a reference, and can output both metrics simultaneously.
[0080] Based on the same concept described above, in another embodiment of the present invention, a user-end no-reference streaming media video quality evaluation 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 no-reference image quality evaluation method based on graph convolutional neural networks.
[0081] 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 and functional modules that implement the above methods), computer instructions, etc., and the aforementioned computer programs and computer instructions 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.
[0082] 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.
[0083] 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.
[0084] 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.
[0085] 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 user-end no-reference streaming media video quality evaluation method in any of the above embodiments.
[0086] 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.
[0087] 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.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] 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.
Claims
1. A method for evaluating the quality of user-side reference-free streaming media video, characterized in that, include: Extracting a sequence of single frames from the video stream at the streaming media user's end; Obtain the transmission service quality index of the video stream, and process the transmission service quality index into a time series in a unified format; A pre-trained ResNet50 network is provided. The single-frame image sequence is uniformly sampled in time and then input into the ResNet50 network to obtain feature maps of the four stages of the ResNet50 network. The average and variance of each feature of the four stages are calculated in the pixel domain to obtain the temporal display feature sequence of the four stages of the ResNet50 network. A pre-trained slowfast r50 network is provided. The single-frame image sequence extracted from the video stream is passed through the slowfast r50 network, and the features output by the fast path in the slowfast r50 network are extracted to obtain the temporal motion feature sequence. The time-series display feature sequence, the time-series motion feature sequence, and the unified format time series are processed in a time series manner, and real-time and overall objective quality evaluation scores are output. Processing the transmission service quality indicators into a time series in a unified format includes: (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 series sequence; (2) The average bit rate per second yields a time sequence; (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, bitrate reduction exceeding a set threshold. This sequence is called the memory feature sequence. These three sequences are concatenated into a three-dimensional time series, resulting in a time series with a unified format.
2. The user-side referenceless streaming media video quality evaluation method according to claim 1, characterized in that, The term "stuttering" refers to the time period in a video where the time complexity TI fluctuates within a certain small threshold, as determined by calculating the video's time complexity TI. The average bitrate refers to the average bitrate within each time block of the video obtained from the video playback information.
3. The user-side referenceless streaming media video quality evaluation method according to claim 1, characterized in that, The step of extracting a single-frame image sequence from the video stream of the streaming media user terminal involves: sequentially sampling several frames of images uniformly over time from the single-frame image sequence extracted from the video stream of the streaming media user terminal according to the time sequence, thereby forming the single-frame image sequence.
4. The user-side referenceless streaming media video quality evaluation method according to claim 1, characterized in that, The pre-trained ResNet50 and SlowFast networks, wherein: By removing the last fully connected layer and pooling layer of the neural network and averaging the pixel domain of each dimension of the feature map, video features of various levels from low to high are obtained, which are the temporal display feature sequence and the temporal motion feature sequence.
5. The user-side referenceless streaming media video quality evaluation method according to claim 4, characterized in that, The time-series display feature sequence, the time-series motion feature sequence, and the unified format time series are subjected to time-series processing, wherein: The time-series display feature sequence and the time-series motion feature sequence are high-level feature sequences; the unified format time series is a low-level feature sequence. The video is divided into two paths based on high-level feature sequences and low-level feature sequences for temporal regression processing. The temporal regression processing is divided into short-term feature extraction and long-term feature extraction. Short-time feature extraction is performed separately for the two-way temporal regression processing, and the methods are the same; the short-time feature extraction is to extract the temporal information of the video within N seconds before each specific time step; After obtaining the short-time feature sequence, the channel attention weights are dynamically calculated based on the video. The calculation of the attention weights of the two time-series sequences is performed separately but in the same way. Then, long-term features are extracted from the two short-term feature sequences after channel attention is calculated. The long-term feature extraction of the two sequences is performed separately and in the same way, resulting in two long-term feature fusion sequences.
6. The user-side referenceless streaming media video quality evaluation method according to claim 5, characterized in that, The output includes real-time and overall objective quality evaluation scores, including: The two long-term feature fusion sequences are merged at each time step, and the real-time experience quality score at each time step is output through several fully connected networks. The two long-term feature fusion sequences are merged at each time step and then temporally pooled. Finally, they are passed through several fully connected networks to output the overall streaming video experience quality score of the entire video. The two steps above are performed in parallel, and the results are output in parallel.
7. A client-side no-reference streaming video quality evaluation system based on temporal attention, characterized in that, include: Image sequence acquisition module: Extracts single-frame image sequences from the video stream of the streaming media user; Time series acquisition module: Acquires the transmission service quality index of the video stream and processes the transmission service quality index into a time series in a unified format; Temporal feature extraction module: A pre-trained ResNet50 network is used. Single-frame image sequences are uniformly sampled temporally and then input into the ResNet50 network to obtain feature maps for the four stages of the ResNet50 network. The average and variance of each dimension of the feature maps in the four stages are calculated in the pixel domain to obtain the temporal display feature sequence of the four stages of the ResNet50 network. A pre-trained SlowFast R50 network is used. Single-frame image sequences extracted from the video stream are passed through the SlowFast R50 network. The features output by the fast path in the SlowFast R50 network are extracted to obtain the temporal motion feature sequence. Quality assessment and prediction module: Performs time series processing on time series display feature sequences, time series motion feature sequences, and time series in a unified format to obtain real-time and overall objective quality assessment scores; Processing the transmission service quality indicators into a time series in a unified format includes: (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 series sequence; (2) The average bit rate per second yields a time sequence; (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, bitrate reduction exceeding a set threshold. This sequence is called the memory feature sequence. These three sequences are concatenated into a three-dimensional time series, resulting in a time series with a unified format.
8. A user-side reference-free 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-6 according to the obtained program instructions.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1-6.
Citation Information
Patent Citations
No-reference video quality evaluation method based on short-time space-time fusion network and long-time sequence fusion network
CN113784113A
End-to-end reference-free video quality evaluation method based on layered time-space domain feature representation
CN113822856A
