CN109803146B - Method, apparatus, medium, and device for secondary compression of video - Google Patents

Method, apparatus, medium, and device for secondary compression of video Download PDF

Info

Publication number
CN109803146B
CN109803146B CN201910272073.9A CN201910272073A CN109803146B CN 109803146 B CN109803146 B CN 109803146B CN 201910272073 A CN201910272073 A CN 201910272073A CN 109803146 B CN109803146 B CN 109803146B
Authority
CN
China
Prior art keywords
video
coding
target
processing
decoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910272073.9A
Other languages
Chinese (zh)
Other versions
CN109803146A (en
Inventor
严一实
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910272073.9A priority Critical patent/CN109803146B/en
Publication of CN109803146A publication Critical patent/CN109803146A/en
Application granted granted Critical
Publication of CN109803146B publication Critical patent/CN109803146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a secondary compression method and device for a video. The method comprises the following steps: acquiring coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video; determining target coding parameters corresponding to the decoded video according to the coding information and the decoding information; and carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain the target coded video. By the method and the device, the technical problem that the antagonistic relation between the video compression rate and the video distortion rate cannot be coordinated in the related technology is solved.

Description

Method, apparatus, medium, and device for secondary compression of video
Technical Field
The present application relates to the field of video compression technologies, and in particular, to a secondary compression method and apparatus for a video.
Background
Video coding is an important means for processing a large amount of video information, especially high-definition video information in the internet era. The core purpose is to achieve the purpose of greatly reducing the channel bandwidth or the storage space required by the video under the condition that the human eye cannot detect the distortion basically and subjectively by compressing a part of information which cannot be detected by the human eye.
However, in the process of video compression, the selection of compression algorithms and parameters is very important. Different videos are applicable to different compression algorithms and compression parameters, and if reasonable and correct selection cannot be made, the compression effect may be very unsatisfactory, and is generally embodied in three aspects: slow compression speed (or high delay, for real-time video streams), low compression ratio, and large compression distortion. Even in the process of secondary video compression, an irreconcilable antagonistic relationship between the video compression rate and the video distortion rate still exists.
In view of the above technical problem that the antagonistic relationship between the video compression rate and the video distortion rate cannot be coordinated in the related technology of video secondary compression, no effective solution has been proposed at present.
Disclosure of Invention
The present application mainly aims to provide a method and an apparatus for secondary compression of a video, so as to solve the technical problem that an antagonistic relationship between a video compression rate and a video distortion rate cannot be coordinated in the related art.
To achieve the above object, according to one aspect of the present application, there is provided a secondary compression method of a video. The method comprises the following steps: acquiring coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video; determining target coding parameter quantity corresponding to the decoded video according to the coding information and the decoding information; and carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video.
Optionally, the performing, by using the target encoding parameter, secondary encoding processing on the decoded video to obtain a target encoded video includes: carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter; detecting an additional distortion index resulting from a secondary encoding process of the decoded video; under the condition that the additional distortion index exceeds a first threshold value, correcting the target coding parameter according to the additional distortion index, and carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos according to the corrected target coding parameter until the coding is finished to obtain target coded videos; and under the condition that the extra distortion index does not exceed a first threshold value, performing secondary encoding processing on part of videos which are not subjected to secondary encoding processing in the decoded videos by adopting the target encoding parameter until encoding is finished to obtain target encoded videos.
Optionally, after the target encoded video is obtained, the method includes: determining a total number of frames of images for which the additional distortion index exceeds the first threshold; prompting that the target coded video is scrapped when the total number of the image frames exceeds a second threshold value; and prompting that the target coding video is qualified when the total image frame number does not exceed the second threshold.
Optionally, detecting an additional distortion index caused by the secondary encoding processing of the decoded video comprises: in the process of carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter, carrying out decoding processing on partial frames which are subjected to secondary coding processing to obtain a first reference video; determining a partial frame corresponding to the first reference video in the decoded video to obtain a second reference video; comparing the first reference video with the second reference video, and determining a distortion index of the first reference video relative to the second reference video; determining the distortion index as an additional distortion index resulting from the secondary encoding process of the decoded video.
Optionally, the encoded information includes at least one of: algorithm information selected when the preset video is subjected to initial coding processing; parameter information selected when the preset video is subjected to initial coding processing; and coding mode information selected when the initial coding processing is carried out on the preset video.
Optionally, the decoding information includes at least one of: algorithm information selected when the coded video is decoded; parameter information selected when the coded video is decoded; decoding mode information selected when the coded video is decoded; a distortion metric determined when decoding the encoded video; flag bit information determined when the encoded video is decoded.
Optionally, the target coding parameter includes: and target algorithm and target parameters adopted when the secondary coding processing is carried out on the decoded video.
In order to achieve the above object, according to another aspect of the present application, there is provided a secondary compression apparatus of a video. The device includes: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring coding information and decoding information, the coding information is a coding parameter determined according to a process of obtaining a coded video by carrying out initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by carrying out decoding processing on the coded video; a determining unit, configured to determine a target coding parameter corresponding to the decoded video according to the coding information and the decoding information; and the processing unit is used for carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video.
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program performs the secondary compression method of a video according to any one of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided a processor for executing a program, wherein the program executes to execute the secondary compression method for video according to any one of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided a terminal including: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the secondary compression method of video of any of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided an electronic apparatus including: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the secondary compression method of video of any of the above.
Through the application, the following steps are adopted: acquiring coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video; determining target coding parameter quantity corresponding to the decoded video according to the coding information and the decoding information; and performing secondary encoding processing on the decoded video by adopting the target encoding parameter to obtain a target encoded video, so as to achieve the technical effects of reducing an additional distortion index brought by secondary compression of the video, improving a result acceptance rate (video compression rate) of the secondary compression of the video within a specified encoding time, and solving the technical problem that an antagonistic relation between the video compression rate and the video distortion rate cannot be coordinated in the related technology.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a secondary compression method for video according to an embodiment of the present application;
FIG. 2 is a diagram of a pipeline for secondary encoding of video in the related art;
FIG. 3 is a pipeline diagram for secondary encoding of video according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an h.264 coding/decoding algorithm provided in an embodiment of the present application; and
fig. 5 is a schematic diagram of a secondary compression apparatus for video according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Before presenting the examples of the present application, some analytical statements need to be made on the prior art:
h.264 and HEVC (h.265) are two video coding schemes that are currently widely adopted, both of which are Block and motion compensation based codec algorithms. However, the above codec algorithms are based on the conversion between the original video stream and the specified encoding format, and there is no additional optimization for the conversion before the specified encoding format (or specified encoding parameters), which means that the secondary encoding must go through a secondary conversion process of "encoding-original-encoding".
Of course, the above-mentioned method is also the commonly used practice of secondary coding compression, but in fact, the extra loss caused by the method is considerable and even sometimes unacceptable, and specifically the following is:
1. the video secondary compression algorithm is a compression with distortion, and the common data compression is a compression without distortion. Specifically, the distortion-free compression is: the user can always repeatedly compress and decompress a section of data at will without any adverse effect; the distorted secondary compression means that each compression causes deterministic loss of video quality, but the improvement of the compression ratio is uncertain, even on the premise that the algorithm and parameter selection are not reasonable, the volume of the primary compression of the secondary compression ratio is larger, which is a common situation.
2. If a pure lossless compression algorithm is used, the video compression rate is usually negligibly small.
3. In the field of current video coding and video secondary coding, parameter self-adaptation can be performed by an algorithm, and only a small part of adjustment can be performed, and the selection of a main algorithm and main parameters is still based on manual experience in a large quantity. And the choice of such parameters is often tens of, if preferred by machine traversal attempts, the run time will reach unacceptable levels. Even with manual experience, it is still not guaranteed that the result given by the selected parameters is certainly satisfactory in the secondary encoding — the cost of the reduced code rate is to introduce additional degradation, and once the degradation is in an inappropriate position, the degradation degree is easily unacceptable (the degradation is usually in a high dynamic scene, and the degradation in the high dynamic scene is just one of the degradations most easily detected by human eyes), and thus the attempt of the secondary encoding is declared to fail. At present, when 2K or even 4K video sources are increasingly popular, it is quite common that a two-hour video takes 24 CPU hours to be compressed, and the cost caused by trial and error is very expensive.
In view of a large number of technical problems in the secondary compression technology, embodiments of the present application provide a secondary compression method for a video to solve the problem, specifically as follows:
fig. 1 is a flowchart of a secondary compression method of a video according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S102, obtaining coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video.
And step S104, determining target coding parameters corresponding to the decoded video according to the coding information and the decoding information.
And step S106, carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video.
According to the secondary compression method of the video, coding information and decoding information are obtained, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video; determining target coding parameter quantity corresponding to the decoded video according to the coding information and the decoding information; and performing secondary encoding processing on the decoded video by adopting the target encoding parameter to obtain a target encoded video, so that the technical problem that the antagonistic relation between the video compression rate and the video distortion rate cannot be coordinated in the related technology of video secondary compression is solved.
It should be noted that: the preset video may be a video that has not been encoded, or may be a video that has been encoded. For example, in the case where the preset video is a video that has undergone encoding processing, the secondary compression method of the video provided in the embodiment of the present application is to perform secondary encoding processing on the preset video.
In addition, in the case that the preset video is a video that has undergone encoding processing, the number of times of the encoding processing is not limited, that is, the preset video applied in the embodiment of the present application may be a video that has undergone secondary compression processing of the video provided in the embodiment of the present application, and in the embodiment of the present invention, the secondary encoder is also referred to as a re-encoder.
It should be noted that: fig. 2 is a schematic diagram of a pipeline for performing secondary encoding on a video in the related art, and as shown in fig. 2, the secondary encoding pipeline is: "preset video (original encoded video) -decoding process-re-encoding process-target encoded video". On this basis, the secondary compression method for video provided in the embodiment of the present application adds an auxiliary feeder in the secondary encoding pipeline, which is specifically shown in fig. 3, and adds a first feeder for transmitting encoded information to a secondary encoder and a second feeder for transmitting decoded information to the secondary encoder on the secondary encoding pipeline in the related art, thereby achieving the technical effects of reducing an additional distortion index brought in the secondary compression of video and simultaneously improving a result acceptance rate of the secondary compression of video within a specified encoding time.
That is, by adding the first feeder line for transmitting the encoding information (encoding data) to the secondary encoder and the second feeder line for transmitting the decoding information (decoding data) to the secondary encoder to the secondary encoding pipeline in the related art, the secondary encoder performs parameter adjustment based on the encoding information and the decoding information, thereby realizing high control of distortion introduced by an encoding algorithm in the secondary encoder, and achieving the technical effect of greatly improving the output effect of the secondary encoding and the compression acceptance rate.
In an optional example, the encoded information includes at least one of: algorithm information selected when the preset video is subjected to initial coding processing; parameter information selected when the preset video is subjected to initial coding processing; and coding mode information selected when the initial coding processing is carried out on the preset video.
That is, the first feeder line is used to transfer the encoded information (encoded data) in the preset video (original encoded video) to the secondary encoding link to be executed. That is, the first feeder line is used to transmit the algorithm information, the parameter information, and the encoding mode information, which are selected when the initial encoding processing is performed on the preset video, to the secondary encoding link to be executed.
In another optional example, the decoding information includes at least one of: algorithm information selected when the coded video is decoded; parameter information selected when the coded video is decoded; decoding mode information selected when the coded video is decoded; a distortion metric determined when decoding the encoded video; flag bit information determined when the encoded video is decoded.
That is, the second feeder is used to pass the decoding information (decoding metadata) in the decoded video to the secondary encoding stage to be performed. That is, the second feeder line is used to transmit the algorithm information, the parameter information, and the decoding mode information selected when the encoded video is decoded, and the distortion metric and the flag bit information determined when the encoded video is decoded, to the secondary encoding link to be executed.
It should be noted that: the most important data in the decoding information are Bit Rate (BR), Quality Control coefficient (QC), Quantization Parameter (QP), and motion prediction data. The bit rate, the quality control coefficient and the quantization parameter are used for avoiding the phenomenon of volume not shrinking and expanding caused by secondary compression, namely the secondary encoder can know which data are distorted through the bit rate, the quality control coefficient and the quantization parameter so as to make a correct judgment on code rate saving for the distorted data, and further avoid the situation that the distortion is aggravated because the distorted data is also used as part of original data. The motion prediction data is used for reducing the introduction of extra distortion, namely, a better solution is heuristically searched on the basis of the original prediction result so as to avoid the worse convergence result caused by the difference of the preset/profile strategy set configuration.
Based on this, the secondary encoder can practically save space and avoid distortion no matter under the condition of realizing simple operation or complex operation, wherein the simple operation comprises code rate limitation on new data, and the complex operation comprises: the predicted macroblock size is enlarged and/or additional probe direction optimization is performed.
It should also be noted that: the above-mentioned algorithm information, parameter information, decoding mode information selected when decoding the encoded video, and the distortion metric determined when decoding the encoded video are description information of decoding; the flag bit information determined when the coded video is decoded is primary coded decision information.
In another alternative example, the target coding parameter includes: and target algorithm and target parameters adopted when the secondary coding processing is carried out on the decoded video. Namely, the target algorithm and the target parameters adopted in the secondary coding link are determined through the coding information transmitted by the first feeder line and the decoding information transmitted by the second feeder line.
In addition, under the condition that the encoding modes selected by the primary encoder and the secondary encoder are the same, the information in the first feeder is pass-through (directly transmitted without processing). In the case where the encoding schemes selected by the primary encoder and the secondary encoder are different, the equivalent parameter between the encoding mode selected by the initial encoding process and the encoding scheme selected by the secondary encoding process should be carefully selected. Of course, in the case that the coding modes selected by the primary encoder and the secondary encoder are different, a preferable scheme is still to use a compatible coding format to obtain the best secondary coding effect, and the coding format may be: MP4, MKV, 3GP, AVI.
Fig. 4 is a schematic flow diagram of an h.264 encoding and decoding algorithm provided in an embodiment of the present application, and an example of the h.264 encoding and decoding algorithm is described below, that is, encoding information and decoding information are input to a change processing link and a quantization processing link, so as to perform transform processing and quantization processing (where the transform processing and the quantization processing are also secondary encoding processing) on a current decoded video frame to be processed, and further output a target encoded video (i.e., a re-encoded video in fig. 3).
It should be noted that: the current mainstream video coding algorithm is almost based on block and motion compensation algorithm, and the coding information and the decoding information play an important reference role in determining parameters adopted in the secondary coding process, wherein the parameters are parameters adopted when the secondary coding process is carried out based on the block and motion compensation algorithm. For example, when performing decoding processing and secondary encoding processing using the h.265 algorithm, parameters such as CRF among target encoding parameters used in the secondary encoding processing can be determined by performing simple arithmetic of squares (or power arithmetic and logarithm arithmetic) on parameters such as QC in decoded data.
In addition, in another embodiment provided by the present application, step S106 of the video secondary compression method (performing secondary encoding processing on the decoded video using the target encoding parameter to obtain a target encoded video) may be implemented by:
step A1, carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter.
Step A2, detecting an additional distortion index caused by the secondary encoding process of the decoded video.
And A3, when the extra distortion index exceeds a first threshold, correcting the target coding parameter according to the extra distortion index, and performing secondary coding processing on part of the decoded video which is not subjected to secondary coding processing according to the corrected target coding parameter until the coding is finished to obtain the target coded video.
And step A4, under the condition that the extra distortion index does not exceed the first threshold, performing secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos by adopting the target coding parameter until the coding is finished to obtain target coded videos.
That is, as shown in fig. 3, in the secondary compression method of video provided in this embodiment, an auxiliary feeder (third feeder) is added in the secondary encoding pipeline shown in fig. 2, so as to achieve the technical effects of reducing the extra distortion caused in the secondary compression of video, and improving the result acceptance rate of the secondary compression of video within the specified encoding time.
Specifically, the third feeder line performs decoding processing on the target coded video subjected to secondary coding processing, and sends the decoded video and the decoded video not subjected to secondary coding processing into the quantizer together, so as to evaluate an additional distortion index caused by the secondary coding processing of the decoded video in real time, sequentially correct the target coding parameters according to the additional distortion index under the condition that the additional distortion index exceeds a first threshold value, and perform secondary coding processing on part of the decoded video not subjected to secondary coding processing according to the corrected target coding parameters until the coding is finished to obtain the target coded video, thereby achieving the technical effect of performing adaptive adjustment on the target coding parameters.
It should be noted that the adaptive adjustment has a certain delay, and usually, when an i +1 frame image (key frame) is received, 0 to i frame images (or i frame images) are evaluated, and a target coding parameter is modified according to the evaluation result, so as to perform secondary coding processing on the i +1 frame image more reasonably. In addition, evaluation methods such as MSE/PSNR/SSIM can also be applied to the embodiments of the present application.
Further, the third feeder line is explained: firstly, encoding and decoding based on the same algorithm, the time complexity of encoding is usually tens of times of the time complexity of decoding, so the cost of introducing an additional decoding link (i.e. decoding the target encoded video subjected to secondary encoding processing) is actually quite limited; secondly, if the additional distortion index is obtained from the target encoded video instead of the first reference video obtained by decoding the target encoded video, it seems that the link of decoding the target encoded video is saved, but the complexity of the algorithm for quantitative evaluation is increased, and thus the method is not compensated.
In addition, in the case that the encoding link is entrusted to the GPU or the graphics card dedicated hardware, the idle CPU can be used for performing decoding calculation and detection evaluation calculation, and any efficiency bottleneck problem is not caused.
In an optional example, in the secondary compression method for video provided in the foregoing embodiment, detecting an additional distortion index caused by secondary encoding processing of the decoded video may be implemented by:
step a1, in the process of performing secondary encoding processing on the decoded video frame by frame according to the target encoding parameter, performing decoding processing on the partial frames which have completed the secondary encoding processing to obtain a first parameter video.
Step a2, determining a partial frame corresponding to the first parameter video in the decoded video, and obtaining a second reference video.
Step a3, comparing the first parameter video with the second reference video, and determining a distortion index of the first parameter video relative to the second reference video.
Step a4, determining the distortion index as an additional distortion index resulting from the secondary encoding process of the decoded video.
It should be noted that: the distortion index includes a first distortion index and a second distortion index, wherein the first distortion index is determined by comparing frame-to-frame (comparing two static information) and the second distortion index is determined by comparing frame-to-frame difference information (comparing two motion information).
It should be noted that: under the condition that the additional distortion index exceeds the first threshold, the secondary coding processing is still carried out on the part of the video which is not subjected to the secondary coding processing in the decoded video according to the corrected target coding parameter, the secondary coding processing is not carried out on the decoded video again according to the corrected target coding parameter, and the situation that the secondary coding falls into the circulation condition that the additional distortion index continuously exceeds the first threshold under the condition that the target coding parameter cannot be subjected to self-adaptive adjustment according to the additional distortion index is avoided.
Fig. 4 is a schematic flow diagram of an h.264 coding and decoding algorithm provided in an embodiment of the present application, and the following takes the h.264 coding and decoding algorithm as an example, that is, after a target coded video is output, inverse quantization processing and inverse transform processing are continuously performed on the target coded video to obtain a first reference video, and then a comparison processing is performed on the first reference video and a reference frame (a video frame of a second reference video) by an evaluation quantizer to adjust a related parameter (a target coding parameter) in the transform processing and the quantization processing.
And performing secondary encoding processing on part of the decoded video which is not subjected to secondary encoding processing according to the corrected target encoding parameter, instead of performing secondary encoding processing on the decoded video again according to the corrected target encoding parameter, may still cause another situation to occur, that is, the distortion condition of the generated target encoded video is too serious, so that the target encoded video cannot be used.
In view of the above situation that the distortion of the target encoded video is too severe, which results in that the target encoded video cannot be used, the present application further provides another embodiment, in which the secondary compression method of the video further includes the following steps:
step B1, determining the total number of frames of images for which the additional distortion index exceeds the first threshold.
And step B2, prompting that the target coded video is scrapped when the total number of the images exceeds a second threshold value.
And step B3, prompting the target coding video to be qualified when the total image frame number does not exceed the second threshold value.
That is, after the target encoded video is obtained, the distortion condition of the target encoded video is still judged to determine whether the severity of the distortion condition of the target encoded video is acceptable, and under the unacceptable condition, the target encoded video is judged to be discarded.
Finally, the applicant performs test processing on 10 video samples based on the video secondary encoding method provided by the embodiment of the application, wherein a distortion rejection ratio is defined as a ratio of an unacceptable number of distortion samples to a total number of samples, a distortion rejection criterion is determined by a mosaic degree and a detail retention degree of a high-motion scene of a picture, a compression ratio rejection ratio is defined as a ratio of an unacceptable number of samples to a total number of samples, and a compression ratio rejection criterion is that a disk space occupied by a secondary encoded video is more than 80% of an original video.
Further, under the condition that a default parameter is selected on the h264_ nvenc/dec codec, the video sample is processed by using the video secondary coding method provided by the embodiment of the application, and compared with the video sample which is not processed by using the video secondary coding method provided by the embodiment of the application, the distortion rejection ratio is reduced from 5/10 to 0/10, and the compression ratio rejection ratio 0/10 is kept unchanged; under the condition that default parameters are selected on the secondary compression method and the device 264 codec of the lib video, the video samples are processed by adopting the secondary coding method of the video provided by the embodiment of the application, and compared with the video samples which are not processed by adopting the secondary coding method of the video provided by the embodiment of the application, the distortion rejection ratio is reduced from 2/10 to 0/10, and the compression rejection ratio is reduced from 3/10 to 0/10.
Through the test results, the effectiveness and the beneficial effect of the technology in the secondary coding process are proved in a one-sided but generalized manner.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a secondary compression apparatus for a video, and it should be noted that the secondary compression apparatus for a video in the embodiment of the present application may be used to execute the secondary compression method for a video provided in the embodiment of the present application. The following describes a video secondary compression apparatus according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a video secondary compression apparatus according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: an acquisition unit 51, a determination unit 53 and a processing unit 55.
An obtaining unit 51, configured to obtain coding information and decoding information, where the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video;
a determining unit 53, configured to determine, according to the encoding information and the decoding information, a target encoding parameter corresponding to the decoded video;
and the processing unit 55 is configured to perform secondary encoding processing on the decoded video by using the target encoding parameter to obtain a target encoded video.
Optionally, in the apparatus for secondary compression of a video provided in the embodiment of the present application, the processing unit 55 includes: the first coding module is used for carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter; a distortion detection module for detecting an additional distortion index caused by secondary encoding processing of the decoded video; the correction processing module is used for correcting the target coding parameter according to the extra distortion index under the condition that the extra distortion index exceeds a first threshold value, and carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos according to the corrected target coding parameter until the coding is finished to obtain target coded videos; and the second coding module is used for performing secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos by adopting the target coding parameter under the condition that the extra distortion index does not exceed the first threshold value until the target coded videos are obtained after the coding is finished.
Optionally, in an apparatus for secondary compression of a video provided in an embodiment of the present application, the apparatus includes: a determining subunit, configured to determine, after acquiring a target encoded video, a total number of frames of images for which the additional distortion index exceeds the first threshold; the first prompting subunit is used for prompting that the target coded video is scrapped when the total number of the image frames exceeds a second threshold; and the second prompting subunit is used for prompting that the target coding video is qualified under the condition that the total frame number of the images does not exceed the second threshold value.
Optionally, in the apparatus for secondary compression of a video provided in an embodiment of the present application, the distortion detection module includes: the acquisition submodule is used for decoding partial frames which are subjected to secondary coding processing in the process of carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter to obtain a first reference video; a first determining sub-module, configured to determine a partial frame corresponding to the first reference video in the decoded video to obtain a second reference video; the second determining submodule is used for comparing the first reference video with the second reference video and determining a distortion index of the first reference video relative to the second reference video; a third determining sub-module for determining the distortion index as an additional distortion index resulting from the secondary encoding of the decoded video.
Optionally, in the apparatus for secondary compression of a video provided in an embodiment of the present application, the acquiring of the encoding information includes at least one of: algorithm information selected when the preset video is subjected to initial coding processing; parameter information selected when the preset video is subjected to initial coding processing; and coding mode information selected when the initial coding processing is carried out on the preset video.
Optionally, in the secondary compression apparatus for video provided in the embodiment of the present application, the obtaining of the decoding information includes at least one of: algorithm information selected when the coded video is decoded; parameter information selected when the coded video is decoded; decoding mode information selected when the coded video is decoded; a distortion metric determined when decoding the encoded video; flag bit information determined when the encoded video is decoded.
Optionally, in the apparatus for secondary compression of video provided in the embodiment of the present application, the target coding parameters include: and target algorithm and target parameters adopted when the secondary coding processing is carried out on the decoded video.
In the secondary compression device for a video provided in the embodiment of the present application, an obtaining unit 51 obtains encoding information and decoding information, where the encoding information is an encoding parameter determined according to a process of obtaining an encoded video by performing initial encoding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the encoded video; the determining unit 53 determines a target encoding parameter corresponding to the decoded video according to the encoding information and the decoding information; the processing unit 55 performs secondary encoding processing on the decoded video by using the target encoding parameter to obtain a target encoded video, so as to achieve the technical effects of reducing an additional distortion index caused in secondary video compression, and simultaneously improving a result acceptance rate of the secondary video compression within a specified encoding time, thereby solving the technical problem that an antagonistic relationship between a video compression rate and a video distortion rate cannot be coordinated in the related art.
The secondary compression device of the video comprises a processor and a memory, wherein the acquisition unit 51, the determination unit 53, the processing unit 55 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the technical problem that the antagonistic relation between the video compression rate and the video distortion rate cannot be coordinated is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the secondary compression method of video when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the secondary compression method of a video is executed when the program runs.
An embodiment of the present invention provides a terminal, including: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the secondary compression method of video of any of the above.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: acquiring coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video; determining target coding parameter quantity corresponding to the decoded video according to the coding information and the decoding information; and carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video.
Optionally, the performing, by using the target encoding parameter, secondary encoding processing on the decoded video to obtain a target encoded video includes: carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter; detecting an additional distortion index resulting from a secondary encoding process of the decoded video; under the condition that the additional distortion index exceeds a first threshold value, correcting the target coding parameter according to the additional distortion index, and carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos according to the corrected target coding parameter until the coding is finished to obtain target coded videos; and under the condition that the extra distortion index does not exceed a first threshold value, performing secondary encoding processing on part of videos which are not subjected to secondary encoding processing in the decoded videos by adopting the target encoding parameter until encoding is finished to obtain target encoded videos.
Optionally, after the target encoded video is obtained, the method includes: determining a total number of frames of images for which the additional distortion index exceeds the first threshold; prompting that the target coded video is scrapped when the total number of the image frames exceeds a second threshold value; and prompting that the target coding video is qualified when the total image frame number does not exceed the second threshold.
Optionally, detecting an additional distortion index caused by the secondary encoding processing of the decoded video comprises: in the process of carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter, carrying out decoding processing on partial frames which are subjected to secondary coding processing to obtain a first reference video; determining a partial frame corresponding to the first reference video in the decoded video to obtain a second reference video; comparing the first reference video with the second reference video, and determining a distortion index of the first reference video relative to the second reference video; determining the distortion index as an additional distortion index resulting from the secondary encoding process of the decoded video.
Optionally, the encoded information includes at least one of: algorithm information selected when the preset video is subjected to initial coding processing; parameter information selected when the preset video is subjected to initial coding processing; and coding mode information selected when the initial coding processing is carried out on the preset video.
Optionally, the decoding information includes at least one of: algorithm information selected when the coded video is decoded; parameter information selected when the coded video is decoded; decoding mode information selected when the coded video is decoded; a distortion metric determined when decoding the encoded video; flag bit information determined when the encoded video is decoded.
Optionally, the target coding parameter includes: and target algorithm and target parameters adopted when the secondary coding processing is carried out on the decoded video. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video; determining target coding parameter quantity corresponding to the decoded video according to the coding information and the decoding information; and carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video.
Optionally, the performing, by using the target encoding parameter, secondary encoding processing on the decoded video to obtain a target encoded video includes: carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter; detecting an additional distortion index resulting from a secondary encoding process of the decoded video; under the condition that the additional distortion index exceeds a first threshold value, correcting the target coding parameter according to the additional distortion index, and carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos according to the corrected target coding parameter until the coding is finished to obtain target coded videos; and under the condition that the extra distortion index does not exceed a first threshold value, performing secondary encoding processing on part of videos which are not subjected to secondary encoding processing in the decoded videos by adopting the target encoding parameter until encoding is finished to obtain target encoded videos.
Optionally, after the target encoded video is obtained, the method includes: determining a total number of frames of images for which the additional distortion index exceeds the first threshold; prompting that the target coded video is scrapped when the total number of the image frames exceeds a second threshold value; and prompting that the target coding video is qualified when the total image frame number does not exceed the second threshold.
Optionally, detecting an additional distortion index caused by the secondary encoding processing of the decoded video comprises: in the process of carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter, carrying out decoding processing on partial frames which are subjected to secondary coding processing to obtain a first reference video; determining a partial frame corresponding to the first reference video in the decoded video to obtain a second reference video; comparing the first reference video with the second reference video, and determining a distortion index of the first reference video relative to the second reference video; determining the distortion index as an additional distortion index resulting from the secondary encoding process of the decoded video.
Optionally, the encoded information includes at least one of: algorithm information selected when the preset video is subjected to initial coding processing; parameter information selected when the preset video is subjected to initial coding processing; and coding mode information selected when the initial coding processing is carried out on the preset video.
Optionally, the decoding information includes at least one of: algorithm information selected when the coded video is decoded; parameter information selected when the coded video is decoded; decoding mode information selected when the coded video is decoded; a distortion metric determined when decoding the encoded video; flag bit information determined when the encoded video is decoded.
Optionally, the target coding parameter includes: and target algorithm and target parameters adopted when the secondary coding processing is carried out on the decoded video.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may 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, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. A method for secondary compression of video, comprising:
acquiring coding information and decoding information, wherein the coding information is a coding parameter determined according to a process of obtaining a coded video by performing initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by performing decoding processing on the coded video;
determining target coding parameter quantity corresponding to the decoded video according to the coding information and the decoding information;
performing secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video;
wherein the performing, by using the target encoding parameter, the secondary encoding processing on the decoded video to obtain the target encoded video includes: carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter; detecting an additional distortion index resulting from a secondary encoding process of the decoded video; under the condition that the additional distortion index exceeds a first threshold value, correcting the target coding parameter according to the additional distortion index, and carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos according to the corrected target coding parameter until the coding is finished to obtain target coded videos; under the condition that the extra distortion index does not exceed a first threshold value, performing secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos by adopting the target coding parameter until the coding is finished to obtain target coded videos;
wherein after obtaining the target encoded video, the method comprises: determining a total number of frames of images for which the additional distortion index exceeds the first threshold; prompting that the target coded video is scrapped when the total number of the image frames exceeds a second threshold value; and prompting that the target coding video is qualified when the total image frame number does not exceed the second threshold.
2. The method of claim 1, wherein detecting an additional distortion index resulting from the secondary encoding of the decoded video comprises:
in the process of carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter, carrying out decoding processing on partial frames which are subjected to secondary coding processing to obtain a first reference video;
determining a partial frame corresponding to the first reference video in the decoded video to obtain a second reference video;
comparing the first reference video with the second reference video, and determining a distortion index of the first reference video relative to the second reference video;
determining the distortion index as an additional distortion index resulting from the secondary encoding process of the decoded video.
3. The method of claim 1, wherein the encoded information comprises at least one of:
algorithm information selected when the preset video is subjected to initial coding processing;
parameter information selected when the preset video is subjected to initial coding processing;
and coding mode information selected when the initial coding processing is carried out on the preset video.
4. The method of claim 1, wherein decoding information comprises at least one of:
algorithm information selected when the coded video is decoded;
parameter information selected when the coded video is decoded;
decoding mode information selected when the coded video is decoded;
a distortion metric determined when decoding the encoded video;
flag bit information determined when the encoded video is decoded.
5. The method of claim 1, wherein the target coding parameter comprises: and target algorithm and target parameters adopted when the secondary coding processing is carried out on the decoded video.
6. An apparatus for secondary compression of video, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring coding information and decoding information, the coding information is a coding parameter determined according to a process of obtaining a coded video by carrying out initial coding processing on a preset video, and the decoding information is a decoding parameter determined according to a process of obtaining a decoded video by carrying out decoding processing on the coded video;
a determining unit, configured to determine a target coding parameter corresponding to the decoded video according to the coding information and the decoding information;
the processing unit is used for carrying out secondary coding processing on the decoded video by adopting the target coding parameter to obtain a target coded video;
wherein, the processing unit includes: the first coding module is used for carrying out secondary coding processing on the decoded video frame by frame according to the target coding parameter; a distortion detection module for detecting an additional distortion index caused by secondary encoding processing of the decoded video; the correction processing module is used for correcting the target coding parameter according to the extra distortion index under the condition that the extra distortion index exceeds a first threshold value, and carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos according to the corrected target coding parameter until the coding is finished to obtain target coded videos; the second coding module is used for carrying out secondary coding processing on part of videos which are not subjected to secondary coding processing in the decoded videos by adopting the target coding parameter under the condition that the extra distortion index does not exceed a first threshold value until the coding is finished to obtain target coded videos;
wherein the apparatus comprises: a determining subunit, configured to determine, after acquiring a target encoded video, a total number of frames of images for which the additional distortion index exceeds the first threshold; the first prompting subunit is used for prompting that the target coded video is scrapped when the total number of the image frames exceeds a second threshold; and the second prompting subunit is used for prompting that the target coding video is qualified under the condition that the total frame number of the images does not exceed the second threshold value.
7. A storage medium characterized by comprising a stored program, wherein the program executes the secondary compression method of a video according to any one of claims 1 to 5.
8. An electronic device, comprising: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of twice compressing a video of any of claims 1-5.
CN201910272073.9A 2019-04-04 2019-04-04 Method, apparatus, medium, and device for secondary compression of video Active CN109803146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910272073.9A CN109803146B (en) 2019-04-04 2019-04-04 Method, apparatus, medium, and device for secondary compression of video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910272073.9A CN109803146B (en) 2019-04-04 2019-04-04 Method, apparatus, medium, and device for secondary compression of video

Publications (2)

Publication Number Publication Date
CN109803146A CN109803146A (en) 2019-05-24
CN109803146B true CN109803146B (en) 2021-05-25

Family

ID=66563334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910272073.9A Active CN109803146B (en) 2019-04-04 2019-04-04 Method, apparatus, medium, and device for secondary compression of video

Country Status (1)

Country Link
CN (1) CN109803146B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347415A (en) * 2020-03-02 2021-09-03 阿里巴巴集团控股有限公司 Coding mode determining method and device
CN111654706B (en) * 2020-05-06 2022-06-28 山东浪潮科学研究院有限公司 Video compression method, device, equipment and medium
CN114007077B (en) * 2021-11-17 2023-09-01 北京百度网讯科技有限公司 Method and device for processing multimedia resources, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001371A (en) * 2007-01-19 2007-07-18 华为技术有限公司 Method of vedio function and its method
CN101578875A (en) * 2007-01-04 2009-11-11 英国电讯有限公司 Video signal encoding
CN101945285A (en) * 2010-09-29 2011-01-12 广州市聚晖电子科技有限公司 Embedded interactive application service transcoding and encoding system
JP2012119969A (en) * 2010-12-01 2012-06-21 Mitsubishi Electric Corp Image encoding system conversion device and image encoding system conversion program
CN103828369A (en) * 2011-06-10 2014-05-28 茨特里克斯系统公司 Macroblock-level adaptive quantization in quality-aware video optimization
CN104253967A (en) * 2014-09-26 2014-12-31 厦门亿联网络技术股份有限公司 Real-time video communication transmission control method
CN104618734A (en) * 2015-01-29 2015-05-13 华为技术有限公司 Video code stream transcoding method and device under same protocol type
CN108574841A (en) * 2017-03-07 2018-09-25 北京金山云网络技术有限公司 A kind of coding method and device based on adaptive quantizing parameter

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001218213A (en) * 2000-01-31 2001-08-10 Mitsubishi Electric Corp Image signal conversion coder
US20150350686A1 (en) * 2014-05-29 2015-12-03 Apple Inc. Preencoder assisted video encoding

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101578875A (en) * 2007-01-04 2009-11-11 英国电讯有限公司 Video signal encoding
CN101001371A (en) * 2007-01-19 2007-07-18 华为技术有限公司 Method of vedio function and its method
CN101945285A (en) * 2010-09-29 2011-01-12 广州市聚晖电子科技有限公司 Embedded interactive application service transcoding and encoding system
JP2012119969A (en) * 2010-12-01 2012-06-21 Mitsubishi Electric Corp Image encoding system conversion device and image encoding system conversion program
CN103828369A (en) * 2011-06-10 2014-05-28 茨特里克斯系统公司 Macroblock-level adaptive quantization in quality-aware video optimization
CN104253967A (en) * 2014-09-26 2014-12-31 厦门亿联网络技术股份有限公司 Real-time video communication transmission control method
CN104618734A (en) * 2015-01-29 2015-05-13 华为技术有限公司 Video code stream transcoding method and device under same protocol type
CN108574841A (en) * 2017-03-07 2018-09-25 北京金山云网络技术有限公司 A kind of coding method and device based on adaptive quantizing parameter

Also Published As

Publication number Publication date
CN109803146A (en) 2019-05-24

Similar Documents

Publication Publication Date Title
US9414086B2 (en) Partial frame utilization in video codecs
CN109862359B (en) Code rate control method and device based on layered B frame and electronic equipment
US9143776B2 (en) No-reference video/image quality measurement with compressed domain features
US9813700B1 (en) Adaptively encoding a media stream with compound prediction
US11558639B2 (en) Selective resolution video encoding method, computer device, and readable storage medium
US10205953B2 (en) Object detection informed encoding
CN109803146B (en) Method, apparatus, medium, and device for secondary compression of video
US10631011B2 (en) Image processing method and apparatus for performing sample adaptive offset processing
US10368071B2 (en) Encoding data arrays
CN110149515B (en) Data transmission method and device
CN109089121B (en) Motion estimation method and device based on video coding and electronic equipment
US20160353107A1 (en) Adaptive quantization parameter modulation for eye sensitive areas
US20230051873A1 (en) Method and apparatus for video encoding and decoding based on adaptive coefficient group
US20190158885A1 (en) Intelligent compression of grainy video content
US9565404B2 (en) Encoding techniques for banding reduction
WO2021238546A1 (en) Video encoding method, video playing back method, related devices and medium
US20220329829A1 (en) Chroma residual scaling foreseeing a corrective value to be added to luma mapping slope values
US11611765B2 (en) Refinement mode processing in video encoding and decoding
CN114071161B (en) Image encoding method, image decoding method and related devices
WO2021263251A1 (en) State transition for dependent quantization in video coding
CN109561315B (en) Motion estimation method and device, electronic equipment and storage medium
CN109544591B (en) Motion estimation method and device, electronic equipment and storage medium
CN114302139A (en) Video encoding method, video decoding method and device
US10531096B2 (en) Decoder, method and system for decoding multimedia streams
CN110430427B (en) SKIP mode coding result-based fast video coding decision method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant