Decompressed video quality enhancement method and device, storage medium and chip

By identifying and utilizing motion information and coding unit information between video frames, low-quality frames are enhanced, which solves the video quality problem caused by ignoring inter-block correlation in video compression in the existing technology, and achieves a higher-quality video decompression effect.

CN118540506APending Publication Date: 2024-08-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310174177.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In existing video compression technology, the correlation between blocks is ignored, resulting in poor quality of the decompressed video.

Method used

By determining high-quality frames and low-quality frames in decompressed video frames, extracting inter-frame motion information between low-quality frames and adjacent high-quality frames, and using target coding unit information, use a quality enhancement model to enhance video quality.

Benefits of technology

Effectively improve the quality of the decompressed video, use high-quality frames to enhance low-quality frames, carry compression information for corresponding decompression, and improve the overall quality of the video.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540506A
    Figure CN118540506A
Patent Text Reader

Abstract

The invention relates to a decompressed video quality enhancement method and device, a storage medium and a chip, and the method comprises the steps: obtaining a target compressed video and target coding unit information corresponding to the target compressed video, determining a plurality of decompressed video frames after the target compressed video is decompressed, then determining high-quality frames and low-quality frames in the plurality of decompressed video frames, and obtaining a high-quality video frame and a low-quality video frame in the plurality of decompressed video frames; and extracting target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and obtaining a target quality enhanced video after the target compressed video is decompressed according to the plurality of decompressed video frames, the target inter-frame motion information and the target coding unit information. The quality of the low-quality frame can be effectively enhanced through the target inter-frame motion information and the target coding unit information, so that the quality of the decompressed video is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of video processing technology, and in particular to a method, device, storage medium and chip for enhancing decompressed video quality. Background Art

[0002] In order to reduce the pressure on memory storage and network bandwidth, video compression technology is usually used to save encoding bit rate. In related technologies, video compression usually adopts a block-based hybrid coding framework, whose core process includes predictive coding, transform coding, quantization and entropy coding, and block-based prediction. The transform and quantization operations ignore the correlation between blocks, which will result in poor quality of the decompressed video. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method for enhancing the quality of decompressed video, by determining high-quality frames and low-quality frames in a plurality of decompressed video frames after decompression of a target compressed video, extracting target inter-frame motion information between a low-quality frame and a high-quality frame adjacent to the low-quality frame, and obtaining a target quality enhanced video after decompression of the target compressed video according to the plurality of decompressed video frames, the target inter-frame motion information and the target coding unit information. Through the target inter-frame motion information and the target coding unit information, the low-quality frame can be effectively enhanced in quality, thereby improving the quality of the decompressed video.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for enhancing decompressed video quality is provided, comprising:

[0005] Acquire a target compressed video and target coding unit information corresponding to the target compressed video, wherein the target coding unit information includes coding unit information corresponding to each compressed frame in the target compressed video;

[0006] Determine a plurality of decompressed video frames after decompression of the target compressed video;

[0007] determining a high-quality frame and a low-quality frame among the plurality of decompressed video frames;

[0008] Target inter-frame motion information is extracted between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and a target quality enhanced video after decompression of the target compressed video is obtained based on the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information.

[0009] Optionally, extracting target inter-frame motion information between the low-quality frame and a high-quality frame adjacent to the low-quality frame, and obtaining a target quality enhanced video after decompression of the target compressed video according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, includes:

[0010] The target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame is extracted through the quality enhancement module in the quality enhancement model, and the target quality enhanced video after decompression of the target compressed video is obtained according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information. The quality enhancement model is obtained by training a basic network based on the sample compressed video, the original video corresponding to the sample compressed video and the coding unit information corresponding to the sample compressed video.

[0011] Optionally, the quality enhancement module includes a first network, a second network and a combination module;

[0012] The method further comprises: extracting target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame through a quality enhancement module in the quality enhancement model, and obtaining a target quality enhanced video after decompression of the target compressed video according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, including:

[0013] Extracting inter-frame motion information from the low-quality frame and the high-quality frame adjacent to the low-quality frame through the first network to obtain the target inter-frame motion information;

[0014] Processing the low-quality frame, the target inter-frame motion information, and the coding unit information corresponding to the low-quality frame through the second network to obtain a quality-enhanced frame corresponding to the low-quality frame;

[0015] The quality-enhanced frame and the high-quality frame are processed by the combination module to obtain a target quality-enhanced video after the target compressed video is decompressed.

[0016] Optionally, determining a target quality classification result of each of the multiple decompressed video frames includes:

[0017] Determine encoding parameters corresponding to each decompressed video frame;

[0018] Obtaining a quality mark map according to the encoding parameters corresponding to each decompressed video frame, wherein the quality mark map represents the quality change of the multiple decompressed video frames;

[0019] According to the quality label map, high-quality frames and low-quality frames among the multiple decompressed video frames are determined.

[0020] Optionally, the first network includes a coarse motion estimation network, a fine motion estimation network, a pixel-level motion estimation network and a merging network;

[0021] The extracting inter-frame motion information of the low-quality frame and the high-quality frame adjacent to the low-quality frame through the first network to obtain the target inter-frame motion information includes:

[0022] For any difference frame group, extracting inter-frame motion information of the any difference frame group through the rough motion estimation network to obtain first motion information, wherein the any difference frame group includes a low-quality frame and a high-quality frame adjacent to the low-quality frame;

[0023] Extracting inter-frame motion information from any difference frame group and the first motion information through the fine motion estimation network to obtain second motion information;

[0024] Extracting inter-frame motion information from any difference frame group and the second motion information through the pixel-level motion estimation network to obtain inter-frame motion information corresponding to any difference frame group;

[0025] The inter-frame motion information corresponding to the multiple difference frame groups corresponding to the low-quality frame is processed by the merging network to obtain the target inter-frame motion information.

[0026] Optionally, the quality enhancement model is trained by the following steps:

[0027] Acquire multiple sample training data, each sample training data includes a sample compressed video, an original video corresponding to the sample compressed video, and encoding unit information corresponding to the sample compressed video;

[0028] Performing multiple rounds of iterative training on the basic network according to the multiple sample training data;

[0029] After each round of iterative training, obtain the quality enhanced video output by this round of iterative training;

[0030] According to the quality enhanced video output by this round of iterative training and the original video corresponding to the sample compressed video in this round of iterative training, the decompression loss corresponding to this round of iterative training is obtained;

[0031] Optimizing the basic network according to the decompression loss corresponding to the current round of iterative training;

[0032] When the basic network meets the preset stopping condition, the training is stopped to obtain the quality enhancement model.

[0033] Optionally, the base network includes a plurality of intermediate decoding layers, and the method further includes:

[0034] After each round of iterative training, multiple intermediate losses of the multiple intermediate decoding layer outputs in this round of iterative training are obtained;

[0035] Obtaining a multi-scale loss corresponding to this round of iterative training according to the multiple intermediate losses and the decompression loss;

[0036] The optimizing the basic network according to the decompression loss corresponding to the current round of iterative training includes:

[0037] The basic network is optimized according to the multi-scale loss corresponding to the current round of iterative training.

[0038] According to a second aspect of an embodiment of the present disclosure, a decompressed video quality enhancement device is provided, comprising:

[0039] A first acquisition module is configured to acquire a target compressed video and target coding unit information corresponding to the target compressed video, wherein the target coding unit information includes coding unit information corresponding to each compressed frame in the target compressed video;

[0040] A first determining module is configured to determine a plurality of decompressed video frames after decompression of the target compressed video;

[0041] A second determination module is configured to determine a target quality classification result of each of the multiple decompressed video frames, wherein the target quality classification result is a high-quality frame or a low-quality frame;

[0042] The first acquisition module is configured to extract the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and obtain the target quality enhanced video after decompression of the target compressed video based on the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information.

[0043] According to a third aspect of an embodiment of the present disclosure, a decompressed video quality enhancement device is provided, including:

[0044] processor;

[0045] a memory for storing processor-executable instructions;

[0046] The processor is configured to execute the steps of the decompressed video quality enhancement method described in the first aspect of the present disclosure.

[0047] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the decompressed video quality enhancement method provided in the first aspect of the present disclosure are implemented.

[0048] According to a fifth aspect of an embodiment of the present disclosure, a chip is provided, including a processor and an interface; the processor is used to read instructions to execute the method for decompressed video quality enhancement described in the first aspect of the present disclosure.

[0049] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0050] By obtaining the target compressed video and the target coding unit information corresponding to the target compressed video, the target coding unit information includes the coding unit information corresponding to each compressed frame in the target compressed video, and determining multiple decompressed video frames after the target compressed video is decompressed, and then determining the high-quality frame and the low-quality frame in the multiple decompressed video frames, and extracting the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, the target quality enhanced video after the target compressed video is decompressed is obtained. Among them, the target inter-frame motion information can enhance the low-quality frame with the high-quality frame, the target coding unit information can carry compression information, so as to perform corresponding decompression according to the compression information, and the low-quality frame can be effectively enhanced in quality through the target inter-frame motion information and the target coding unit information, thereby improving the quality of the decompressed video.

[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0053] Figure 1 The figure is a flow chart of a method for enhancing the quality of decompressed video according to an exemplary embodiment.

[0054] Figure 2 The figure is a flow chart showing a method for obtaining a target quality enhanced video according to an exemplary embodiment.

[0055] Figure 3 The present invention is a flowchart of a method for obtaining target inter-frame motion information according to an exemplary embodiment.

[0056] Figure 4 The invention is a schematic block diagram showing a method for obtaining inter-frame motion information according to an exemplary embodiment.

[0057] Figure 5 The figure is a flowchart of a method for training a quality enhancement model according to an exemplary embodiment.

[0058] Figure 6 The diagram is a partial structural diagram of a basic network according to an exemplary embodiment.

[0059] Figure 7The figure is a block diagram of a device for enhancing the quality of decompressed video according to an exemplary embodiment.

[0060] Figure 8 The invention is a block diagram of a device for decompressing video and enhancing its quality according to an exemplary embodiment. DETAILED DESCRIPTION

[0061] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0062] Figure 1 is a flow chart of a method for enhancing decompressed video quality according to an exemplary embodiment. Figure 1 As shown, the following steps are included.

[0063] In step S101, a target compressed video and target coding unit information corresponding to the target compressed video are obtained, where the target coding unit information includes coding unit information corresponding to each compressed frame in the target compressed video.

[0064] In this embodiment, the target compressed video is a compressed video whose quality needs to be enhanced after decompression. The target compressed video can be obtained from the original video through HEVC (High Efficiency Video Coding). The target compressed video may include multiple compressed frames, and the target coding unit information may include coding unit information corresponding to each compressed frame in the target compressed video.

[0065] For example, partition information may be extracted from the HEVC coded bitstream in advance to obtain target coding unit information. The method for extracting the target coding unit information may be: extracting the position and size information of the coding unit from the bitstream of the target compressed video, wherein each original video frame in the original video may be divided into a plurality of coding units and encoded to obtain a compressed frame, for example, an original video frame may be encoded using 8×8 coding units, the position of the coding unit is the position corresponding to each coding unit in the original video frame, and the size of the coding unit is the area occupied by each coding unit in the original video frame, and then in each compressed frame corresponding to the target compressed video, according to the extracted information of the position and size of the coding unit, for each coding unit, the pixel values ​​of all pixels in the coding unit are averaged, and the pixel values ​​of all pixels in the coding unit are replaced with the average value, and an image containing compression information is regenerated, thereby obtaining the coding unit information corresponding to a compressed frame.

[0066] In step S102, a plurality of decompressed video frames after the target compressed video is decompressed is determined.

[0067] In this embodiment, a plurality of decompressed video frames after decompression of the target compressed video can be determined by a decompression module in a quality enhancement model, and the quality enhancement model is a trained model. The quality enhancement model may include a decompression module, and the decompression module is used to decompress the target compressed video to obtain a plurality of decompressed video frames after decompression. Among them, a decompressed video frame is obtained after a compressed frame is decompressed, and since each compressed frame has its corresponding coding unit information, the decompressed video frame obtained from the compressed frame can also correspond to the coding unit information of the compressed frame.

[0068] In step S103, a target quality classification result of each of the multiple decompressed video frames is determined, and the target quality classification result is a high-quality frame or a low-quality frame.

[0069] In this embodiment, the target quality classification result of each decompressed video frame in the multiple decompressed video frames can be determined by the quality marking module in the quality enhancement model. The quality enhancement model may also include a quality marking module, which can be used to determine the decompression quality of the multiple decompressed video frames, thereby determining high-quality frames and low-quality frames in the multiple decompressed video frames, wherein the high-quality frame may be a decompressed video frame whose decompression quality is greater than or equal to a preset decompression quality threshold, and the low-quality frame may be a decompressed video frame whose decompression quality is less than the preset decompression quality threshold.

[0070] In step S104, the target inter-frame motion information between the low-quality frames and the high-quality frames adjacent to the low-quality frames is extracted through the quality enhancement module in the quality enhancement model, and the target quality enhanced video after the target compressed video is decompressed is obtained based on multiple decompressed video frames, the target inter-frame motion information and the target coding unit information. The quality enhancement model is obtained by training a basic network based on the sample compressed video, the original video corresponding to the sample compressed video and the coding unit information corresponding to the sample compressed video.

[0071] In a possible implementation, step S104 may include:

[0072] The target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame is extracted through the quality enhancement module in the quality enhancement model, and the target quality enhanced video after decompression of the target compressed video is obtained according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information. The quality enhancement model is obtained by training a basic network based on the sample compressed video, the original video corresponding to the sample compressed video and the coding unit information corresponding to the sample compressed video.

[0073] In this embodiment, step S104 can be performed by a quality enhancement module in a quality enhancement model. The quality enhancement model can be obtained by training a basic network based on a sample compressed video, an original video corresponding to the sample compressed video, and information about a coding unit corresponding to the sample compressed video. The quality enhancement model can take a target compressed video and a target coding unit corresponding to the target compressed video as input, and output a decompressed target quality enhanced video corresponding to the target compressed video.

[0074] The quality enhancement model may include a quality enhancement module, which may be used to extract target inter-frame motion information between a low-quality frame and a high-quality frame adjacent to the low-quality frame, wherein the high-quality frame adjacent to the low-quality frame may be at least one of a high-quality frame that is before the low-quality frame and closest to the low-quality frame and a high-quality frame that is after the low-quality frame and closest to the low-quality frame. The quality enhancement module may be used to obtain a target quality enhanced video after decompression of a target compressed video according to multiple decompressed video frames, target inter-frame motion information and target coding unit information.

[0075] In this embodiment, by obtaining the target compressed video and the target coding unit information corresponding to the target compressed video, the target coding unit information includes the coding unit information corresponding to each compressed frame in the target compressed video, and determining multiple decompressed video frames after the target compressed video is decompressed, and then determining the high-quality frame and the low-quality frame in the multiple decompressed video frames, and extracting the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, the target quality enhanced video after the target compressed video is decompressed is obtained, and the quality enhancement model is obtained by training the basic network based on the sample compressed video, the original video corresponding to the sample compressed video and the coding unit information corresponding to the sample compressed video. Among them, the target inter-frame motion information can enhance the low-quality frame with the high-quality frame, the target coding unit information can carry compression information, so as to perform corresponding decompression according to the compression information, and the low-quality frame can be effectively enhanced in quality through the target inter-frame motion information and the target coding unit information, thereby improving the quality of the decompressed video.

[0076] Figure 2 is a flow chart of a method for obtaining a target quality enhanced video according to an exemplary embodiment. Figure 2 As shown, in a possible implementation, the quality enhancement module may include a first network, a second network and a combination module, wherein the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame is extracted by the quality enhancement module in the quality enhancement model, and a target quality enhanced video after decompression of the target compressed video is obtained according to multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, which may include the following steps:

[0077] In step S201, inter-frame motion information is extracted from a low-quality frame and a high-quality frame adjacent to the low-quality frame through a first network to obtain target inter-frame motion information.

[0078] In this embodiment, the target inter-frame motion information may include inter-frame motion information corresponding to each low-quality frame, and the inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame may be extracted through the first network for the low-quality frame. For example, for any low-quality frame among the decompressed multiple decompressed video frames, the high-quality frame adjacent to the low-quality frame may be a high-quality frame closest to the low-quality frame and before the low-quality frame, and a high-quality frame after the low-quality frame. Inter-frame motion information is extracted for the low-quality frame and a high-quality frame before the low-quality frame, and inter-frame motion information is extracted for the low-quality frame and a high-quality frame after the low-quality frame, respectively, to obtain inter-frame motion information for the low-quality frame.

[0079] In step S202, the low-quality frame, the target inter-frame motion information, and the coding unit information corresponding to the low-quality frame are processed through a second network to obtain a quality enhanced frame corresponding to the low-quality frame.

[0080] In this embodiment, for any low-quality frame, the quality of the low-quality frame can be enhanced through the second network based on the inter-frame motion information corresponding to the low-quality frame in the target inter-frame motion information and the coding unit information corresponding to the low-quality frame, so as to obtain a quality-enhanced frame corresponding to the low-quality frame, wherein each low-quality frame can obtain a corresponding quality-enhanced frame. The coding unit information corresponding to the low-quality frame is the coding unit corresponding to the compressed frame before the low-quality frame is decompressed.

[0081] In one possible implementation, the second network may include an encoding network and a decoding network, the encoding network includes multiple encoders, the decoding network includes multiple decoders, the input low-quality frames and the target frame inter-motion information are layer-downsampled through multiple encoders (stride convolution), and at the same time, the coding unit information corresponding to the input low-quality frames is introduced into the corresponding encoder through a summation operation in the guide channel of the corresponding convolution layer; then, the output of the encoding network is upsampled through multiple decoders (deconvolution) in the decoding network to obtain quality enhanced frames corresponding to the low-quality frames, so as to further obtain the target quality enhanced video.

[0082] In step S203, the quality-enhanced frame and the high-quality frame are processed by a combination module to obtain a target quality-enhanced video after the target compressed video is decompressed.

[0083] In this embodiment, after obtaining the quality enhanced frame corresponding to each low-quality frame, the obtained quality enhanced frame and the high-quality frame can be combined to obtain the target quality enhanced video after the target compressed video is decompressed. The target quality enhanced video can be obtained by combining the multiple decompressed video frames according to the arrangement order of the target compressed video after decompression.

[0084] In this embodiment, inter-frame motion information of each low-quality frame and the high-quality frames adjacent to the low-quality frame is extracted through the first network, and the low-quality frame is quality enhanced based on the inter-frame motion information corresponding to the low-quality frame in the target inter-frame motion information and the coding unit information corresponding to the low-quality frame through the second network, so as to obtain a quality enhanced frame corresponding to the low-quality frame, and finally, the quality enhanced frame and the high-quality frame are combined through the combination module to obtain a target quality enhanced video with higher decompression quality.

[0085] In a possible implementation, a method for determining a target quality classification result of each of the multiple decompressed video frames may be: determining encoding parameters corresponding to each decompressed video frame; obtaining a quality marking graph based on the encoding parameters corresponding to each decompressed video frame, the quality marking graph characterizing quality changes of multiple decompressed video frames; and determining high-quality frames and low-quality frames among the multiple decompressed video frames based on the quality marking graph.

[0086] In this embodiment, based on the encoding principle of the target compressed video, the encoding parameters corresponding to each decompressed video frame can be obtained, and the encoding parameters corresponding to each decompressed video frame can be further processed to determine whether each decompressed video frame is a high-quality frame or a low-quality frame.

[0087] A quality marker map can be obtained according to the encoding parameters corresponding to each decompressed video frame, and the quality marker map can characterize the quality changes of multiple decompressed video frames, wherein the decompression quality of the decompressed video frames can be quantified by the peak signal-to-noise ratio. For example, the quality marker map can characterize the peak signal-to-noise ratios corresponding to different decompressed video frames, and the decompression quality of the decompressed video frames can be positively correlated with the peak signal-to-noise ratio. The preset decompression quality threshold can be a threshold for the peak signal-to-noise ratio, for example, the preset decompression quality threshold can be 30dB.

[0088] Through the above method, high-quality frames and low-quality frames in multiple decompressed videos can be determined based on the encoding parameters corresponding to each decompressed video frame.

[0089] Figure 3 is a flowchart of a method for obtaining target inter-frame motion information according to an exemplary embodiment. Figure 4 is a schematic block diagram of a method for obtaining inter-frame motion information according to an exemplary embodiment. Figure 3 and Figure 4 As shown, in a possible implementation manner, the first network may include at least a coarse motion estimation network, a fine motion estimation network, a pixel-level motion estimation network, and a merging network. The first network extracts inter-frame motion information from low-quality frames and high-quality frames adjacent to the low-quality frames to obtain target inter-frame motion information, which may include the following steps:

[0090] In step S301, for any difference frame group, inter-frame motion information of the difference frame group is extracted through a coarse motion estimation network to obtain first motion information, and the difference frame group includes a low-quality frame and a high-quality frame adjacent to the low-quality frame.

[0091] In this embodiment, the difference frame group includes a low-quality frame and a high-quality frame adjacent to the low-quality frame, that is, for any low-quality frame, there may be two difference frame groups, which may be a difference frame group consisting of a low-quality frame and a high-quality frame adjacent to and in front of the low-quality frame, and a difference frame group consisting of a low-quality frame and a high-quality frame adjacent to and behind the low-quality frame. Each low-quality frame may correspond to at least one difference frame group in the two difference frame groups. For each difference frame group, a first motion information may be extracted through a rough motion estimation network. That is, by inputting a low-quality frame and a high-quality frame in a difference frame group into the rough motion estimation network, the first motion information corresponding to the difference frame group may be output.

[0092] In step S302, inter-frame motion information is extracted from the difference frame group and the first motion information through a fine motion estimation network to obtain second motion information.

[0093] In this embodiment, each difference frame group can extract a second motion information through the fine motion estimation network. That is, the difference frame group and the first motion information corresponding to the difference frame group are input into the fine motion estimation network, and the second motion information corresponding to the difference frame group can be output.

[0094] In step S303, inter-frame motion information is extracted from the difference frame group and the second motion information through a pixel-level motion estimation network to obtain inter-frame motion information corresponding to the difference frame group.

[0095] In this implementation, the difference frame group and the second motion information corresponding to the difference frame group may be input into a fine motion estimation network, and the inter-frame motion information corresponding to the difference frame group may be output.

[0096] In step S304, the inter-frame motion information corresponding to the multiple difference frame groups corresponding to the low-quality frames is processed through a merging network to obtain target inter-frame motion information.

[0097] In this embodiment, each low-quality frame may correspond to at least one difference frame group, and the difference frame group corresponding to the low-quality frame may be at least one of a difference frame group consisting of a low-quality frame and a high-quality frame adjacent to and in front of the low-quality frame, and a difference frame group consisting of a low-quality frame and a high-quality frame adjacent to and behind the low-quality frame. When a low-quality frame corresponds to two difference frame groups, the inter-frame motion information corresponding to the two difference frame groups corresponding to the low-quality frame may be merged to obtain the merged motion information of the low-quality frame, and the target inter-frame motion information includes the merged motion information corresponding to each low-quality frame.

[0098] Among them, the coarse motion estimation network, the fine motion estimation network and the pixel-level motion estimation network may all include 5 convolutional layers. For example, the 5 convolutional layers included in the coarse motion estimation network are: K5-n24-s2 / PReLU, K3-n24-s1 / PReLU, K5-n24-s2 / PReLU, K3-n24-s1 / PReLUh and K3-n32-s1 / tanh; the 5 convolutional layers included in the fine motion estimation network are: K5-n24-s2 / PReLU, K3-n24-s1 / PReLUh and K3-n32-s1 / tanh. 2 / PReLU, K3-n24-s1 / PReLU, K3-n24-s1 / PReLU, K3-n24-s1 / PReLUh and K3-n8-s1 / tanh; the 5 convolutional layers included in the pixel-level motion estimation network are K3-n24-s1 / PReLU, K3-n24-s1 / PReLU, K3-n24-s1 / PReLU, K3-n24-s1 / PReLUh and K3-n2-s1 / tanh. Among them, K is the size of the convolution kernel, for example, K5 is a 5×5 convolution kernel; n is the number of channels, for example, n24 is 24 channels; s is the step size, for example, s2 is a step size of 2, and PReLU and tanh are different activation functions. Figure 4 F ×4 is the first motion information, F ×2 is the second motion information.

[0099] Through the above method, the target inter-frame motion information corresponding to the low-quality frame can be obtained through the coarse motion estimation network, fine motion estimation network, pixel-level motion estimation network and merging network in the first network, so as to perform quality enhancement processing on the low-quality frame according to the inter-frame motion information corresponding to each low-quality frame.

[0100] Figure 5 is a flow chart of a method for training a quality enhancement model according to an exemplary embodiment. Figure 5 As shown, in a possible implementation manner, the quality enhancement model is trained by the following steps:

[0101] In step S501, a plurality of sample training data are obtained, each of which includes a sample compressed video, an original video corresponding to the sample compressed video, and coding unit information corresponding to the sample compressed video.

[0102] In this embodiment, in order to achieve a better generalization effect, multiple lossless videos can be randomly obtained as training data. The training data is data under different scene conditions. Multiple lossless videos can be compressed by HEVC reference software HM16.9 under the configuration of low delay (LD) mode, and its quantization parameter can be set to 37. After each lossless video is compressed, a sample compressed video can be obtained, and the coding unit information corresponding to the sample compressed video can be determined. Thus, multiple sample training data can be obtained, each sample training data includes a sample compressed video, the original video corresponding to the sample compressed video, and the coding unit information corresponding to the sample compressed video, and each lossless video is an original video.

[0103] In step S502, multiple rounds of iterative training are performed on the basic network according to multiple sample training data.

[0104] In this embodiment, the basic network may be trained for multiple rounds of iterations based on multiple sample training data, wherein a sample compressed video may include multiple compressed frames, and an original video may include multiple original frames. During the training process, the compressed frame, the original frame, and the coding unit information corresponding to the frame may be segmented into multiple sub-images at the same random position, for example, into 128×128 sub-images. The Adam optimizer may be used, with the learning rate starting from 0.0001, and the learning rate may be reduced tenfold every 10 stages.

[0105] In step S503, after each round of iterative training, a quality enhanced video outputted by the current round of iterative training is obtained.

[0106] For each round of iterative training, the sample training data is input into the basic network to output the corresponding quality-enhanced video.

[0107] In step S504, the decompression loss corresponding to the current round of iterative training is obtained according to the quality enhanced video output by the current round of iterative training and the original video corresponding to the sample compressed video in the current round of iterative training.

[0108] In this implementation, the distance between the quality enhanced video output by this round of iterative training and the original video corresponding to the sample compressed video in this round of iterative training can be calculated to obtain the decompression loss corresponding to this round of iterative training.

[0109] In step S505, the basic network is optimized according to the decompression loss corresponding to this round of iterative training.

[0110] In this implementation, the parameters in the basic network may be adjusted based on the decompression loss corresponding to this round of iterative training, so that the output quality enhanced video can be closer to the original video.

[0111] In step S506, when the basic network meets the preset stop condition, the training is stopped to obtain a quality enhancement model.

[0112] In this embodiment, the preset stop condition may be a preset training round number threshold. For example, the preset training round number threshold may be set to 30. When the training round number reaches 30, the training may be stopped, thereby obtaining a trained quality enhancement model.

[0113] Figure 6 is a schematic diagram showing a partial structure of a basic network according to an exemplary embodiment. Figure 6 As shown, in a possible implementation, the basic network may include multiple intermediate decoding layers, and the decompressed video quality enhancement method may also include: after each round of iterative training, obtaining multiple intermediate losses output by multiple intermediate decoding layers in this round of iterative training, and obtaining a multi-scale loss corresponding to this round of iterative training based on the multiple intermediate losses and the decompression loss.

[0114] In this embodiment, the basic network may include multiple intermediate decoding layers, which are connected in sequence and connected to the final decoding layer. Each intermediate decoding layer can output an intermediate loss. The final decoding layer outputs a decompression loss, and based on the multiple intermediate losses and the decompression loss, the multi-scale loss corresponding to this round of iterative training is obtained.

[0115] For example, the calculation formula of the multi-scale loss can be:

[0116]

[0117] in, is the decompression loss, M is the number of intermediate losses, represents the intermediate loss of the output of the i-th intermediate decoding layer.

[0118] After obtaining the multi-scale loss, optimizing the basic network according to the decompression loss corresponding to the current round of iterative training may include: optimizing the basic network according to the multi-scale loss corresponding to the current round of iterative training. Figure 6 G1, G2, G3, G4 and G5 in are the guiding channels of the convolutional layer.

[0119] In the above method, by utilizing multi-scale loss, useful parameters can be learned faster, thereby converging faster, so as to minimize the difference between the enhanced quality video and the original video.

[0120] Figure 7 is a block diagram of a decompressed video quality enhancement device according to an exemplary embodiment. Figure 7 The device 700 includes a first acquisition module 701, a first determination module 702, a second determination module 703 and a first obtaining module 704.

[0121] The first acquisition module 701 is configured to acquire a target compressed video and target coding unit information corresponding to the target compressed video, wherein the target coding unit information includes coding unit information corresponding to each compressed frame in the target compressed video;

[0122] The first determination module 702 is configured to determine a plurality of decompressed video frames after the target compressed video is decompressed;

[0123] The second determination module 703 is configured to determine a target quality classification result of each decompressed video frame in the multiple decompressed video frames, wherein the target quality classification result is a high-quality frame or a low-quality frame;

[0124] The first acquisition module 704 is configured to extract the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and obtain the target quality enhanced video after decompression of the target compressed video based on the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information.

[0125] Optionally, the first acquisition module 704 is also configured to extract the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame through the quality enhancement module in the quality enhancement model, and obtain the target quality enhanced video after decompression of the target compressed video based on the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information. The quality enhancement model is obtained by training a basic network based on the sample compressed video, the original video corresponding to the sample compressed video, and the coding unit information corresponding to the sample compressed video.

[0126] Optionally, the quality enhancement module includes a first network, a second network and a combination module;

[0127] The first obtaining module 704 includes:

[0128] A first obtaining submodule is configured to extract inter-frame motion information from the low-quality frame and the high-quality frame adjacent to the low-quality frame through the first network to obtain the target inter-frame motion information;

[0129] A second obtaining submodule is configured to process the low-quality frame, the target inter-frame motion information, and the coding unit information corresponding to the low-quality frame through the second network to obtain a quality enhanced frame corresponding to the low-quality frame;

[0130] The third obtaining submodule is configured to process the quality-enhanced frame and the high-quality frame through the combining module to obtain a target quality-enhanced video after decompression of the target compressed video.

[0131] Optionally, the first determining module 702 includes:

[0132] A first determination submodule is configured to determine the encoding parameters corresponding to each decompressed video frame through the quality marking module in the quality enhancement model;

[0133] An obtaining subunit is configured to obtain a quality mark map according to the encoding parameters corresponding to each decompressed video frame, wherein the quality mark map represents the quality change of multiple decompressed video frames;

[0134] The determination subunit is configured to determine high-quality frames and low-quality frames among the multiple decompressed video frames according to the quality label map.

[0135] Optionally, the first network includes a coarse motion estimation network, a fine motion estimation network, a pixel-level motion estimation network and a merging network;

[0136] The first obtaining submodule includes:

[0137] a second obtaining subunit configured to extract inter-frame motion information of any difference frame group through the rough motion estimation network to obtain first motion information, wherein the any difference frame group includes a low-quality frame and a high-quality frame adjacent to the low-quality frame;

[0138] A third obtaining subunit is configured to extract inter-frame motion information from any difference frame group and the first motion information through the fine motion estimation network to obtain second motion information;

[0139] a fourth obtaining subunit, configured to extract inter-frame motion information from any difference frame group and the second motion information through the pixel-level motion estimation network to obtain inter-frame motion information corresponding to any difference frame group;

[0140] The fifth obtaining subunit is configured to process the inter-frame motion information corresponding to the multiple difference frame groups corresponding to the low-quality frame through the merging network to obtain the target inter-frame motion information.

[0141] Optionally, the device 700 further includes:

[0142] A second acquisition module is configured to acquire a plurality of sample training data, each sample training data including a sample compressed video, an original video corresponding to the sample compressed video, and coding unit information corresponding to the sample compressed video;

[0143] A training module, configured to perform multiple rounds of iterative training on the basic network according to the multiple sample training data;

[0144] A third acquisition module is configured to acquire, after each round of iterative training, a quality enhanced video output by the current round of iterative training;

[0145] The second obtaining module is configured to obtain the decompression loss corresponding to the current round of iterative training according to the quality enhanced video output by the current round of iterative training and the original video corresponding to the sample compressed video in the current round of iterative training;

[0146] An optimization module, configured to optimize the basic network according to the decompression loss corresponding to the current round of iterative training;

[0147] The third acquisition module is configured to stop training when the basic network meets a preset stop condition to obtain the quality enhancement model.

[0148] Optionally, the base network includes multiple intermediate decoding layers, and the device 700 further includes:

[0149] A fourth acquisition module is configured to acquire, after each round of iterative training, a plurality of intermediate losses output by the plurality of intermediate decoding layers in the current round of iterative training;

[0150] A fourth obtaining module is configured to obtain a multi-scale loss corresponding to the current round of iterative training according to the multiple intermediate losses and the decompression loss;

[0151] The optimization module comprises:

[0152] The optimization submodule is configured to optimize the basic network according to the multi-scale loss corresponding to the current round of iterative training.

[0153] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0154] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the decompressed video quality enhancement method provided by the present disclosure are implemented.

[0155] Figure 8 800 is a block diagram of an apparatus for decompressing video quality enhancement according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0156] Reference Figure 8, the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0157] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned decompressed video quality enhancement method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0158] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0159] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0160] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0161] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0162] The input / output interface 812 provides an interface between the processing component 802 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0163] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0164] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0165] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned decompressed video quality enhancement method.

[0166] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to complete the above-mentioned decompressed video quality enhancement method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0167] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned decompressed video quality enhancement method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned decompressed video quality enhancement method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned decompressed video quality enhancement method.

[0168] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned decompression video quality enhancement method when executed by the programmable device.

[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0170] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for enhancing the quality of decompressed video, characterized in that: include: Acquire a target compressed video and target coding unit information corresponding to the target compressed video, wherein the target coding unit information includes coding unit information corresponding to each compressed frame in the target compressed video; Determine a plurality of decompressed video frames after decompression of the target compressed video; Determine a target quality classification result of each of the multiple decompressed video frames, wherein the target quality classification result is a high-quality frame or a low-quality frame; Target inter-frame motion information is extracted between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and a target quality enhanced video after decompression of the target compressed video is obtained based on the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information.

2. The method for enhancing the quality of decompressed video according to claim 1, characterized in that: The step of extracting target inter-frame motion information between the low-quality frame and a high-quality frame adjacent to the low-quality frame, and obtaining a target quality enhanced video after decompression of the target compressed video according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, includes: The target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame is extracted through the quality enhancement module in the quality enhancement model, and the target quality enhanced video after decompression of the target compressed video is obtained according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information. The quality enhancement model is obtained by training a basic network based on the sample compressed video, the original video corresponding to the sample compressed video and the coding unit information corresponding to the sample compressed video.

3. The method for enhancing the quality of decompressed video according to claim 2, characterized in that: The quality enhancement module includes a first network, a second network and a combination module; The method further comprises: extracting target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame through a quality enhancement module in the quality enhancement model, and obtaining a target quality enhanced video after decompression of the target compressed video according to the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information, including: Extracting inter-frame motion information from the low-quality frame and the high-quality frame adjacent to the low-quality frame through the first network to obtain the target inter-frame motion information; Processing the low-quality frame, the target inter-frame motion information, and the coding unit information corresponding to the low-quality frame through the second network to obtain a quality-enhanced frame corresponding to the low-quality frame; The quality-enhanced frame and the high-quality frame are processed by the combination module to obtain a target quality-enhanced video after the target compressed video is decompressed.

4. The method for enhancing the quality of decompressed video according to claim 3, characterized in that: The first network includes a coarse motion estimation network, a fine motion estimation network, a pixel-level motion estimation network and a merging network; The extracting inter-frame motion information of the low-quality frame and the high-quality frame adjacent to the low-quality frame through the first network to obtain the target inter-frame motion information includes: For any difference frame group, extracting inter-frame motion information of the any difference frame group through the rough motion estimation network to obtain first motion information, wherein the any difference frame group includes a low-quality frame and a high-quality frame adjacent to the low-quality frame; Extracting inter-frame motion information from any difference frame group and the first motion information through the fine motion estimation network to obtain second motion information; Extracting inter-frame motion information from any difference frame group and the second motion information through the pixel-level motion estimation network to obtain inter-frame motion information corresponding to any difference frame group; The inter-frame motion information corresponding to the multiple difference frame groups corresponding to the low-quality frame is processed by the merging network to obtain the target inter-frame motion information.

5. The method for enhancing the quality of decompressed video according to claim 1, characterized in that: The determining a target quality classification result of each of the multiple decompressed video frames comprises: Determine encoding parameters corresponding to each decompressed video frame; Obtaining a quality mark map according to the encoding parameters corresponding to each decompressed video frame, wherein the quality mark map represents the quality change of the multiple decompressed video frames; According to the quality label map, high-quality frames and low-quality frames among the multiple decompressed video frames are determined.

6. The method for enhancing the quality of decompressed video according to claim 2, characterized in that: The quality enhancement model is trained by the following steps: Acquire multiple sample training data, each sample training data includes a sample compressed video, an original video corresponding to the sample compressed video, and encoding unit information corresponding to the sample compressed video; Performing multiple rounds of iterative training on the basic network according to the multiple sample training data; After each round of iterative training, obtain the quality enhanced video output by this round of iterative training; According to the quality enhanced video output by this round of iterative training and the original video corresponding to the sample compressed video in this round of iterative training, the decompression loss corresponding to this round of iterative training is obtained; Optimizing the basic network according to the decompression loss corresponding to the current round of iterative training; When the basic network meets the preset stopping condition, the training is stopped to obtain the quality enhancement model.

7. The method for enhancing the quality of decompressed video according to claim 6, characterized in that: The base network includes a plurality of intermediate decoding layers, and the method further includes: After each round of iterative training, multiple intermediate losses of the multiple intermediate decoding layer outputs in this round of iterative training are obtained; Obtaining a multi-scale loss corresponding to this round of iterative training according to the multiple intermediate losses and the decompression loss; The optimizing the basic network according to the decompression loss corresponding to the current round of iterative training includes: The basic network is optimized according to the multi-scale loss corresponding to the current round of iterative training.

8. A decompressed video quality enhancement device, characterized in that: include: A first acquisition module is configured to acquire a target compressed video and target coding unit information corresponding to the target compressed video, wherein the target coding unit information includes coding unit information corresponding to each compressed frame in the target compressed video; A first determining module is configured to determine a plurality of decompressed video frames after decompression of the target compressed video; A second determination module is configured to determine a target quality classification result of each of the multiple decompressed video frames, wherein the target quality classification result is a high-quality frame or a low-quality frame; The first acquisition module is configured to extract the target inter-frame motion information between the low-quality frame and the high-quality frame adjacent to the low-quality frame, and obtain the target quality enhanced video after decompression of the target compressed video based on the multiple decompressed video frames, the target inter-frame motion information and the target coding unit information.

9. A decompressed video quality enhancement device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of the decompressed video quality enhancement method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the decompressed video quality enhancement method described in any one of claims 1 to 7 are implemented.

11. A chip, characterized in that: It comprises a processor and an interface; the processor is used to read instructions to execute the method for enhancing the quality of decompressed video as claimed in any one of claims 1 to 7.