CN111901591B - Method, device, server and storage medium for determining coding mode - Google Patents

Method, device, server and storage medium for determining coding mode Download PDF

Info

Publication number
CN111901591B
CN111901591B CN202010739370.2A CN202010739370A CN111901591B CN 111901591 B CN111901591 B CN 111901591B CN 202010739370 A CN202010739370 A CN 202010739370A CN 111901591 B CN111901591 B CN 111901591B
Authority
CN
China
Prior art keywords
coding
depth
target
mode
coding unit
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
CN202010739370.2A
Other languages
Chinese (zh)
Other versions
CN111901591A (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.)
You Peninsula Beijing Information Technology Co ltd
Original Assignee
You Peninsula Beijing Information Technology 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 You Peninsula Beijing Information Technology Co ltd filed Critical You Peninsula Beijing Information Technology Co ltd
Priority to CN202010739370.2A priority Critical patent/CN111901591B/en
Publication of CN111901591A publication Critical patent/CN111901591A/en
Application granted granted Critical
Publication of CN111901591B publication Critical patent/CN111901591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream

Abstract

The embodiment of the invention discloses a method, a device, a server and a storage medium for determining a coding mode. Wherein the method comprises the following steps: determining an adaptive prediction mode and a depth division indication of a target coding unit under each coding depth based on reference coding parameters of each mapping coding unit of the target coding unit under the corresponding reference video frame; and determining a target coding mode for optimizing the coding cost of the target coding unit from the adaptive prediction modes and the depth division instruction oriented coding division modes under the coding depth. The technical scheme provided by the embodiment of the invention greatly reduces the coding cost in the video coding process, fully utilizes the reference coding parameters of the reference video frame, guides the coding of the target coding unit under other code rates, reduces the coding complexity of the target coding unit on the basis of ensuring the coding quality of the target coding unit, and improves the coding efficiency of the target coding unit.

Description

Method, device, server and storage medium for determining coding mode
Technical Field
The embodiment of the invention relates to the technical field of video transcoding, in particular to a method, a device, equipment and a storage medium for determining a coding mode.
Background
With the rapid development of internet technology, along with the increase of demands of users for high-definition videos, the volume of video data interacted with multimedia resources is also increasing continuously, and at this time, the video compression decoding technology is generally adopted to effectively extract redundant information in the video data, so as to realize rapid transmission and offline storage of the video data in the internet. In order to adapt to the bandwidths and equipment conditions of different audiences, the server side can transcode the source stream video under different resolutions and different code rates, and distribute the transcoded video to the corresponding audiences for downloading; the existing transcoding process comprises three parts of source stream decoding, scaling to the resolution designated by transcoding and recoding, and at the same transcoding resolution, if the coding complexity is higher, the coding quality is better, but the coding time is longer, and the coding time is too long, so that the video playing of a viewer is blocked, and on the basis of ensuring high-quality coding, the coding speed is required to be improved, so that the coding time in the video transcoding process is reduced.
Currently, fast transcoding of source stream video at different code rates is usually implemented by means of high efficiency video coding (High Efficiency Video Coding, HEVC), in which multiple prediction coding modes exist for each coding block in bi-directional prediction coding frames and forward prediction coding frames, such as intra_2nx2N, INTRA _nxn and pulse coding modulation (Pulse Code Modulation, PCM) in INTRA prediction coding modes, inter_2nx2N, INTER _2nxn, inter_n 2N, INTER _nxn, inter_2nxnu, inter_2nxnd, inter_nlx2n, inter_nrx2n, and inter_nrx2n, etc., and in special INTER prediction coding, merge mode, skip mode, etc.
Therefore, when multiple paths of transcoding are performed on the same source video stream, for each coding unit under each recursion depth, the rate distortion cost of the coding unit under each prediction coding mode corresponding to the recursion depth and the rate distortion cost of each conversion unit under each prediction coding mode after the coding unit is divided are required to be traversed and calculated, so that an optimal coding mode with the minimum cost is screened for the coding unit; at this time, under each recursion depth, the rate distortion cost of each coding unit in each prediction coding mode needs to be calculated, which causes a large amount of calculation burden and increases coding overhead in the video transcoding process.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining a coding mode, which reduce the calculation overhead of video coding and ensure the high efficiency of video coding.
In a first aspect, an embodiment of the present invention provides a method for determining a coding mode, where the method includes:
determining an adaptive prediction mode and a depth division indication of a target coding unit under each coding depth based on reference coding parameters of each mapping coding unit of the target coding unit under the corresponding reference video frame;
And determining a target coding mode for optimizing the coding cost of the target coding unit from the adaptive prediction mode and the depth division indication-oriented coding division mode under the coding depth.
In a second aspect, an embodiment of the present invention provides a coding mode determining apparatus, including:
the coding adaptation module is used for determining an adaptation prediction mode and a depth division indication of a target coding unit under each coding depth based on reference coding parameters of each mapping coding unit in a corresponding reference video frame;
and the coding mode determining module is used for determining a target coding mode which enables the coding cost of the target coding unit to reach the optimal value from the adaptive prediction mode and the depth division indication-oriented coding division mode under the coding depth.
In a third aspect, an embodiment of the present invention provides a server, including:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for determining a coding mode according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the method for determining an encoding mode according to any embodiment of the present invention.
According to the method, the device, the server and the storage medium for determining the coding mode, when video transcoding under multiple code rates is achieved, the reference video frame is coded under a certain code rate, so that the video transcoding under other code rates can refer to the coding condition of the reference video frame, at the moment, by searching each mapping coding unit of a target coding unit under each coding depth in a corresponding reference video frame and referring to the reference coding parameters of each mapping coding unit, the adaptive prediction mode and the depth division indication of the target coding unit under the coding depth can be determined, the depth division indication can indicate whether the target coding unit needs to be divided continuously under the coding depth or not, whether the coding division mode exists in the target coding unit under the coding depth or not is judged, and then the coding cost of the target coding unit reaches the optimal target coding mode from each adaptive prediction mode and the coding division mode facing the depth division indication, at the moment, the coding cost of the target coding unit is not considered any longer, namely the coding cost of the target coding unit under the non-adaptive prediction mode and the unnecessary division condition is calculated, the coding cost of the target coding unit is reduced, the coding cost of the target coding unit is greatly reduced, the target coding unit is coded under the coding depth coding frame, the reference coding efficiency is reduced, and the target coding cost is greatly reduced, and the target coding cost is reduced.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
fig. 1A is a flowchart of a method for determining a coding mode according to a first embodiment of the present invention;
fig. 1B is a schematic diagram of a coding mode determining process according to a first embodiment of the present invention;
fig. 2A is a flowchart of a method for determining a coding mode according to a second embodiment of the present invention;
fig. 2B is a schematic diagram of a process for determining a target coding mode of a target coding unit in the method according to the second embodiment of the present invention;
fig. 3A is a flowchart of a method for determining a coding mode according to a third embodiment of the present invention;
fig. 3B is a schematic diagram of a determination process of an adaptive prediction mode and a depth division indication of a target coding unit under the coding depth in the method according to the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a coding mode determining apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
Fig. 1A is a flowchart of a method for determining a coding mode according to an embodiment of the present invention, where the embodiment is applicable to a scenario where multiple coding rates are required for any video. The method for determining the coding mode provided by the embodiment of the invention can be implemented by the device for determining the coding mode provided by the embodiment of the invention, the device can be implemented in a software and/or hardware mode, and the device is integrated in a server for executing the method, and the server can be a background server for participating in video data interaction.
Specifically, referring to fig. 1A, the method may include the steps of:
s110, based on the reference coding parameters of each mapping coding unit of the target coding unit in the corresponding reference video frame under each coding depth, determining the adaptive prediction mode and the depth division indication of the target coding unit under the coding depth.
Specifically, in the internet, video data is generally transmitted and stored offline by adopting a video compression coding technology, in order to adapt to the bandwidths and equipment conditions of different audiences, for each uploaded video uploaded to a server by other users (such as a host, etc.), the server needs to transcode the uploaded video under different resolutions and different code rates, and further distributes the video transcoded by the uploaded video under multiple code rates to the corresponding audiences for downloading and playing, at this time, in order to facilitate the fast transcoding of the uploaded video under multiple code rates, the server performs corresponding scaling operation on each video frame in the uploaded video according to each code rate to be transcoded, so that each source video corresponds to only one code rate to be transcoded, and then when transcoding under each code rate to be transcoded, one source video under the code rate to be transcoded in the multiple source videos can be directly and correspondingly encoded. However, when the multi-channel source video is encoded correspondingly, the computing overhead is great, and the multi-channel source video belongs to the same video content under different resolutions, so in order to improve the video encoding efficiency under multi-rate transcoding, in this embodiment, one channel of source video can be screened from the multi-channel source video according to the transcoding requirement, so that the existing video compression encoding technology is adopted to perform encoding on the channel of source video in advance, each video frame in the video after the channel of source video is encoded is further used as a reference video frame which needs to be correspondingly referred to when each video frame in other source videos which are not encoded in the multi-channel source video is encoded, at this time, the encoding mode adopted under the reference video frame can ensure that the encoding quality of the source video is higher, and in addition, the encoding mode of each reference video frame in the reference video is also applicable to encoding of corresponding video frames in other multi-channel source videos to a certain extent, so that the embodiment can fully utilize the encoding parameters adopted by the reference video frame to perform effective encoding on other frames in the multi-channel source video.
It should be noted that, since each video frame in the multi-path source video is obtained by performing different scaling operations on each video frame in the same uploaded video according to different corresponding code rates to be converted, the resolution ratio between each video frame in other source videos that are not coded in the multi-path source video and a corresponding reference video frame with the same video content in the reference video will be in a certain proportion.
Meanwhile, at present, video Coding is usually performed by using Coding Units (CU) as basic units, where the Coding units CU have four sizes of 64×64, 32×32, 16×16 and 8×8, four-tree recursion attempts are required to be continuously performed from the Coding Unit under the maximum size to the Coding Unit under the minimum size in the video Coding process, so that the Coding Unit with optimal efficiency is selected from the Coding units before and after the recursion under each size, and at this time, according to the recursion condition of the Coding units, different Coding depths exist, and the Coding units under different Coding depths have different sizes, for example, the Coding depth where the Coding Unit CU with 64×64 sizes is located is 0, and the Coding depth where the Coding Unit CU with 1,8×8 sizes is located is 3 for each recursion once.
In this embodiment, in order to achieve successful encoding of each video frame in a multi-channel source video, when encoding a current video frame in a certain channel source video, each target encoding unit of the current video frame in a specific size corresponding to the encoded depth needs to be determined according to each encoding depth first, it can be understood that the current video frame is divided according to the size corresponding to each encoding depth to obtain target encoding units in each encoded depth, then each target encoding unit in the current video frame is encoded according to each target encoding unit, so as to achieve successful encoding of the current video frame, at this time, for each target encoding unit in the current video frame in the encoded depth, because scaling of the multi-channel source video is different, each target encoding unit in the corresponding reference video frame of the reference video corresponds to different target encoding units, in this embodiment, the reference video frame can be a video frame with the same video content in the reference video frame, that is, namely, by judging that the video frame in the target encoding unit is located in the reference video frame, each reference video frame has the same in the reference video frame, the target encoding unit is mapped with the corresponding video frame, and the target frame in this embodiment, the target encoding unit is encoded according to the target frame, the target frame has the target frame, and the target frame has the target frame 1, and the target frame 1 is encoded according to the target frame in the reference video frame, meanwhile, according to the coding information adopted by the corresponding reference video frame, the reference coding parameters of each mapping coding Unit are determined, the reference coding parameters can indicate the optimal PU Prediction mode of the Prediction Unit (PU) adopted by each mapping coding Unit in coding under high coding quality, the optimal reference frame adopted in coding cost Prediction, the optimal motion vector and the like, at the moment, because the video content of each mapping coding Unit in the corresponding reference video frame is approximately the same as that of the target coding Unit, the reference coding parameters of each mapping coding Unit are also applicable to coding of the target coding Unit to a certain extent, and the coding quality of the target coding Unit can be ensured, therefore, by referring to the suitability degree of each reference coding parameter adopted by each mapping coding Unit in coding under the corresponding reference video frame for different Prediction modes and the recursion division condition of each mapping coding Unit in coding, the adaptive Prediction mode and the depth division indication of the target coding Unit under the coding depth can be determined, at the moment, the adaptive Prediction mode and the depth division indication of the target coding Unit under the coding cost can be possibly adopted under the Prediction coding cost of the target coding Unit, the depth division can be calculated, the coding cost of the target coding Unit under the coding Unit can be calculated under the coding depth division of the coding Unit is not required, and the subsequent calculation of the adaptive depth division is required under the coding mode, and the calculation of the coding cost is required under the coding mode.
It should be noted that, each coding unit has multiple prediction modes, for example, intra_2nx2N N, INTRA _nxn and PCM in the INTRA prediction mode, inter_2nx2N, INTER _2nxn, inter_nx2N, INTER _nxn, inter_2nxnu, inter_2nxnd, inter_nlx2n and inter_nrx2n in the INTER prediction mode, and the Merge mode and skip mode in the special INTER prediction mode, and in this embodiment, reference coding parameters of each mapping coding unit of the target coding unit in the corresponding reference video frame can be selected to perform calculation of coding cost by selecting the corresponding adaptive prediction mode.
Meanwhile, since the four-way tree recursion is continuously performed from the coding unit under the maximum size in the video coding process until the coding unit under the minimum size is recursion, if the coding depth is the initial coding depth, that is, the coding depth is 0, the target coding unit under the coding depth is each coding unit obtained by dividing the current video frame according to the 64×64 size, and if the coding depth is the non-initial coding depth, that is, the coding depth is other coding depths except for the coding depth being 0 in the four-way tree recursion process, the target coding unit under the coding depth can include each divided sub-unit obtained by dividing the target coding unit under the last coding depth adjacent to the coding depth according to the depth division indication under the last coding depth, for example, when the coding depth is 0, there are 2 target coding units under the 64×64 sizes, and when the target coding unit under the 1×64×64 sizes can be divided into 4×32 sub-units according to the depth division indication, and when the target coding unit under the 1×32×32 is coded depth exists. Furthermore, the size of the coding Unit CU is continuously divided from 64×64 to 8×8, that is, the size of the smallest coding Unit CU is 8×8, the coding Unit at the size of 64×64 may directly predict the entire coding block at the size of 64×64 without dividing, and the coding Unit CU at the size of 8×8 may not continue dividing because of the smallest coding Unit size, but since the smallest size of the Prediction Unit (PU) used by the coding Unit CU is 4*4, when the coding Unit CU at the size of 8×8 predicts at the current coding depth, there may be different Prediction modes, such as NxN, to divide the Prediction block at the size of 4*4.
S120, determining a target coding mode for optimizing the coding cost of the target coding unit from the adaptive prediction modes and the depth division instruction oriented coding division modes under the coding depth.
Specifically, after determining the adaptive prediction mode and the depth division indication of the target coding unit under each coding depth, respectively calculating the coding cost generated when the target coding unit adopts each adaptive prediction mode for coding under the coding depth before the division of the target coding unit, without considering the coding influence of other non-adaptive prediction modes on the target coding unit, namely, without calculating the coding cost of the target coding unit under the non-adaptive prediction mode; meanwhile, according to the depth division indication of the target coding unit under the coding depth, judging whether the target coding unit needs to be continuously divided into the next coding depth adjacent to the coding depth, determining a coding division mode facing the depth division indication when the target coding unit needs to be divided, further calculating coding cost generated when the target coding unit adopts the coding division modes of all the divided units under the coding division mode, taking the sum of the coding cost of all the divided units as the coding cost of the target coding unit under the coding division mode, if the target coding unit does not need to be divided, calculating the coding cost of all the divided units, namely, not considering the coding cost of the target coding unit under the unnecessary coding division mode, greatly reducing coding cost in the video coding process, further determining a target coding mode which enables the coding cost of the target coding unit to be optimal according to the coding cost of all the target coding unit under the coding division modes facing the adaptive prediction mode and the depth division indication, fully utilizing the coding cost of each target coding unit in the corresponding frame unit, guiding the coding parameter of each target coding unit to be the reference coding unit, improving the coding efficiency of the target coding unit, and reducing the coding quality of the target coding unit.
It should be noted that, because the depth division indication of the target coding unit under the coding depth may accurately indicate that the target coding unit must be divided into the next coding depth adjacent to the coding depth, and it is explained that the target coding unit must not use each adaptive prediction mode under the coding depth to perform coding, in this embodiment, under such a situation, it may not be necessary to calculate the coding cost of the target coding unit when using each adaptive prediction mode to perform coding under the coding depth, and it may be directly determined that the target coding mode that makes the coding cost of the target coding unit optimal is the coding division mode for the depth division indication, that is, the target coding unit is divided into 4 small coding units, so as to further reduce the coding cost in the video coding process.
Meanwhile, when the coding cost is calculated by adopting different prediction modes, the corresponding search frames are generally needed to be referred to, in the embodiment, the search frame candidate set which is referred to by the target coding unit when the corresponding coding cost is predicted by adopting each prediction mode is set to be composed of the optimal reference frames of each mapping coding unit, the search frames referred to by the target coding unit do not need to be screened one by one from the corresponding source video, and the calculation flow of the coding cost is simplified, so that the corresponding coding efficiency is improved.
According to the technical scheme provided by the embodiment, when video transcoding under multiple code rates is realized, the reference video frame is already coded under a certain code rate, so that the video transcoding under other code rates can refer to the coding condition of the reference video frame, at the moment, by searching each mapping coding unit of a target coding unit under each coding depth in the corresponding reference video frame and referring to the reference coding parameters of each mapping coding unit, the adaptive prediction mode and the depth division indication of the target coding unit under the coding depth can be determined, the depth division indication can indicate whether the target coding unit needs to be continuously divided under the coding depth or not, so as to judge whether the coding division mode exists in the target coding unit under the coding depth or not, and further, the coding cost of the target coding unit reaches the optimal target coding mode from each adaptive prediction mode and the coding division mode facing the depth division indication, at the moment, the coding influence of the target coding unit by other non-adaptive prediction modes and unnecessary division conditions is not considered, namely, the coding cost of the target coding unit is not calculated any more, the target coding unit is greatly reduced in the coding process under the non-adaptive prediction mode and the unnecessary division condition, the reference coding frame is greatly reduced, the coding cost of the target coding unit is guaranteed, the target coding efficiency is greatly reduced, the target coding frame is coded, and the target coding efficiency is greatly reduced, and the target coding frame is coded in the coding frame is greatly reduced, and the target coding cost is coded in the coding unit is coded in the coding process.
Example two
Fig. 2A is a flowchart of a method for determining a coding mode according to a second embodiment of the present invention, and fig. 2B is a schematic diagram of a process for determining a target coding mode of a target coding unit in the method according to the second embodiment of the present invention. This embodiment is optimized based on the above embodiment. Specifically, as shown in fig. 2B, the specific calculation process of the coding cost generated when each target coding unit uses each adaptive prediction mode or the depth division indication oriented coding division mode for coding in the coding depth is mainly explained in detail in this embodiment.
Optionally, as shown in fig. 2A, the present embodiment may include the following steps:
s210, based on the reference coding parameters of each mapping coding unit of the target coding unit in the corresponding reference video frame under each coding depth, determining the adaptive prediction mode and the depth division indication of the target coding unit under the coding depth.
S220, predicting the first coding cost of the target coding unit under each adaptive prediction mode.
Optionally, after the reference coding parameters of each mapping coding unit of the target coding unit in the corresponding reference video frame under each coding depth are fully utilized to determine the adaptive prediction mode of the target coding unit under the coding depth, in order to accurately obtain the target coding mode for optimizing the coding cost of the target coding unit, each adaptive prediction mode of the target coding unit under the coding depth needs to be adopted to perform analog coding on the target coding unit, for example, intra_2nx2N or intra_nxn under the INTRA-frame prediction mode, or inter_2nx2N, INTER _2nxn or inter_nx2N under the INTER-frame prediction mode, so as to calculate the first coding cost generated when the target coding unit is coded under each adaptive prediction mode one by one, so that the target coding mode capable of optimizing the coding cost of the target coding unit is further selected from a plurality of adaptive prediction modes under the coding depth, and further ensure the coding efficiency of the target coding unit.
It should be noted that, in this embodiment, in order to further improve the determination efficiency of the target coding mode, after determining that the target coding unit performs the depth division indication under the coding depth, the embodiment further determines whether to calculate the coding cost generated when the target coding unit performs coding under each adaptive prediction mode under the coding depth, and since the depth division indication under the coding depth of the target coding unit may accurately indicate that the target coding unit must be divided into the next coding depth adjacent to the coding depth to perform coding, it is described that the target coding unit must not perform coding by adopting each adaptive prediction mode under the coding depth, so in this case, the embodiment may directly determine that the target coding mode for optimizing the coding cost of the target coding unit is the coding division mode for the depth division indication, that is, directly divide the target coding unit into 4 small coding units, and further reduce the coding cost in the video coding process without calculating the first coding cost when the target coding unit adopts each adaptive prediction mode under the coding depth.
S230, determining a target coding mode for optimizing the coding cost of the target coding unit based on at least one of the first coding cost and the second coding cost in the coding division mode facing the depth division indication.
Optionally, after determining the depth division instruction of the target coding unit under the coding depth by fully utilizing the reference coding parameters of each mapping coding unit in the corresponding reference video frame of the target coding unit under each coding depth, it can accurately determine whether the target coding unit has a requirement of continuing to divide to the next coding depth adjacent to the coding depth under the coding depth, and at this time, the following 3 division conditions exist: 1) The target coding unit must be partitioned; 2) The target coding unit may or may not be divided; 3) The target coding unit must not be partitioned. And under each division condition, judging whether the current suitable coding mode of the target coding unit comprises each adaptive prediction mode and a depth division indication oriented coding division mode under the coding depth, if the depth division indication requires the target coding unit to be divided, further calculating the coding cost of the target coding unit after division, taking the sum of the coding costs of the target coding units as the second coding cost of the target coding unit under the depth division indication oriented coding division mode, and accordingly, selecting at least one reference information for judging whether the coding cost reaches the optimal or not from the first coding cost under each adaptive prediction mode and the second coding cost under the depth division indication oriented coding division mode by analyzing the current suitable coding mode of the target coding unit, and determining the target coding mode capable of enabling the coding cost of the target coding unit to reach the optimal from each adaptive prediction mode and the depth division indication oriented coding division mode according to the size of the selected coding cost.
For example, this embodiment may respectively describe three kinds of division cases existing when the target coding unit is coded:
in the 1 st division case, the target coding unit is required to code under the next coding depth adjacent to the coding depth by the depth division indication under the coding depth, which indicates that the coding division mode facing the depth division indication is non-null, then the target coding unit is required to be divided into division subunits under the next coding depth adjacent to the coding depth, and the second coding cost after the combination of the division subunits is predicted; it can be understood that if the coding division mode for the depth division indication is non-null, the target coding unit is directly divided into 4 division subunits under the next coding depth adjacent to the coding depth, and meanwhile, the coding cost generated when each division subunit is coded is calculated, and then the sum of the coding costs of the division subunits is used as the second coding cost of the target coding unit in the coding division mode; it should be noted that, in this embodiment, for the calculation of the coding cost generated when each sub-unit is coded, the sub-unit may be used as the target coding unit in the next coding depth in this embodiment, and the coding cost of each sub-unit may be calculated by adopting the above-described calculation step of the coding cost of the target coding unit in the coding depth.
In the case of 2), the depth division instruction of the target coding unit under the coding depth requires that the target coding unit can be divided into the next coding depth adjacent to the coding depth to perform coding, or can be directly encoded under the coding depth without division, and at this time, the coding division mode for the depth division instruction is also non-null, so that it is also required to divide the target coding unit into division subunits under the next coding depth adjacent to the coding depth, and predict the second coding cost after the combination of the division subunits.
At this time, in the 1 st division case and the 2 nd division case, the coding division mode for which the depth division instruction is oriented is not null, but the requirements for whether the target coding unit needs to adopt the adaptive prediction mode for the coded depth for coding are different, so the target coding mode capable of optimizing the coding cost of the target coding unit can be determined at least according to the second coding cost of the target coding unit in the coding division mode for which the depth division instruction is oriented. For example, in the case of 1) the partition, the depth partition indication of the target coding unit under the coding depth requires that the target coding unit must partition to the next coding depth adjacent to the coding depth, which means that the target coding unit does not use each adaptive prediction mode of the target coding unit under the coding depth to perform coding, so that only the target coding mode capable of optimizing the coding cost of the target coding unit needs to be determined according to the second coding cost of the target coding unit under the coding partition mode facing the depth partition indication; in the case of division 2), the depth division indication of the target coding unit under the coded depth requires that the target coding unit can divide into the next coded depth adjacent to the coded depth and can also directly encode under the coded depth without dividing, which means that the target coding unit may encode by using each adaptive prediction mode under the coded depth and may encode by using the coding division mode facing the depth division indication, so that the target coding mode capable of optimizing the coding cost of the target coding unit needs to be determined together according to the first coding cost of the target coding unit under each adaptive prediction mode and the second coding cost of the target coding unit under the coding division mode facing the depth division indication.
In the 3 rd division case, the depth division indication of the target coding unit under the coding depth requires that the target coding unit does not allow division to the next coding depth adjacent to the coding depth to perform coding, and only each adaptive prediction mode under the coding depth can be used for coding, which indicates that the coding division mode facing the depth division indication is null, so that only the target coding mode capable of enabling the coding cost of the target coding unit to reach the optimal value is determined according to the first coding cost of the target coding unit under each adaptive prediction mode.
It should be noted that, in this embodiment, S220 and S230 respectively calculate coding costs of the target coding unit in each adaptive prediction mode and the depth division mode facing the depth division instruction in the coding depth, and there is no specific sequence, so the execution sequence of S220 and S230 is not limited, and may be executed sequentially or simultaneously.
S240, integrating the target coding modes of the target coding units under each coding depth in sequence to obtain the integral coding mode under the optimal coding cost.
Optionally, after determining the target coding mode of each target coding unit in each coding depth, the target coding mode can optimize the coding cost of the corresponding target coding unit, and at this time, for each adjacent coding depth, the size of each divided subunit divided by the target coding unit in the last coding depth in the adjacent coding depth pair is the same as the size of the target coding unit in the next coding depth in the adjacent coding depth pair, so that each divided subunit in the coding depth divided by the target coding unit in the last coding depth existing in the same coding depth and the target coding mode of the target coding unit in the coding depth can be integrated in sequence, thereby obtaining the overall coding mode under the optimal coding cost.
According to the technical scheme provided by the embodiment, the adaptive prediction mode and the depth division indication of the target coding unit under the coding depth can be determined by searching each mapping coding unit of the target coding unit under each coding depth in the corresponding reference video frame and referring to the reference coding parameters of each mapping coding unit, so that the coding cost calculation steps of the target coding unit under the condition of non-adaptive prediction mode and unnecessary division according to the adaptive prediction mode and the depth division indication are skipped accurately, coding cost in the video coding process is greatly reduced, coding guidance is carried out for the target coding unit under other code rates by utilizing the reference coding parameters of the reference video frame, coding complexity of the target coding unit is reduced on the basis of ensuring coding quality of the target coding unit, and coding efficiency of the target coding unit is improved.
Example III
Fig. 3A is a flowchart of a method for determining a coding mode according to the third embodiment of the present invention, and fig. 3B is a schematic diagram of a process for determining an adaptive prediction mode and a depth division indication of a target coding unit under the coding depth according to the method according to the third embodiment of the present invention. This embodiment is optimized based on the above embodiment. Specifically, as shown in fig. 3A, the present embodiment explains in detail the specific determination process of the adaptive prediction mode and the depth division indication of the target coding unit at each coding depth at that coding depth.
Optionally, as shown in fig. 3A, the present embodiment may include the following steps:
s310, calculating coding reference depth and prediction adaptation reference items of the target coding unit based on the reference coding parameters of the target coding unit in the corresponding reference video frame.
Optionally, after determining the reference coding parameters of each mapping coding unit in the corresponding reference video frame, the reference coding parameters may include the current coding depth, the optimal prediction mode, and the optimal reference frame and the optimal motion vector adopted by each mapping coding unit in the optimal prediction mode, where in this case, since the reference coding parameters of each mapping coding unit in the corresponding reference video frame are also applicable to the optimal coding of the target coding unit, in this embodiment, the average coding depth under the current coding depth adopted by each mapping coding unit may be used as the coding reference depth of the target coding unit, however, since the sizes of each mapping coding unit may be different, the mapping area duty ratio of each mapping coding unit and the target coding unit is also different, as shown in fig. 3B, in this embodiment, the mapping area duty ratio of each mapping coding unit under the corresponding target coding unit is used as the corresponding weight, then the current coding depth adopted by each mapping coding unit is weighted average calculated, so as to obtain the coding reference depth of the target coding unit, and the coding reference depth of the target coding unit is indicated by d_depthd, and the following coding depth is indicated by the coding depth of the target coding unit.
Meanwhile, by analyzing related parameters of each existing prediction mode existing in the existing coding technology in advance, which can be skipped when coding and not used for coding cost prediction, corresponding adaptation conditions can be set for each existing prediction mode, whether each existing prediction mode meets the corresponding adaptation conditions can be analyzed through a prediction adaptation reference item of a target coding unit, at this time, the prediction adaptation reference item in this embodiment can include a skip macroblock mode ratio (i.e., skip mode ratio) of each mapping coding unit in a corresponding standard video frame of the target coding unit and a motion reference vector of each prediction area in a specific INTER-frame prediction mode, and the specific INTER-frame prediction mode can be only two modes of inter_2nxn and inter_Nx2n in the INTER-frame prediction mode, the target coding unit can be divided into two areas up and down or left and right under the coding depth according to corresponding different division formats, and then the adaptive prediction mode of the target coding unit can be determined by judging whether each prediction adaptation reference item meets the corresponding adaptation conditions.
S320, determining a depth division indication of the target coding unit under the coding depth according to the coding reference depth.
Optionally, in order to make the target coding unit encode in the same coding mode as the integral coding module combined by each mapping coding unit as far as possible, so as to improve the coding efficiency of the target coding unit, the embodiment may analyze whether the target coding unit needs to be continuously divided into the next coding depth adjacent to the coding depth under the coding depth by judging the difference between the coding depth where the target coding unit is currently located and the coding reference depth determined by the current coding depth actually adopted by each mapping coding unit, so as to ensure the similarity degree between the coding mode finally adopted by the target coding unit and the coding mode of each mapping coding unit, thereby fully utilizing the reference coding parameters of each mapping coding unit and improving the accuracy of division when the target coding unit codes.
The coding depth of the target coding unit is represented as depth, at this time, if the coding depth of the target coding unit meets depth < pred_avgDepth-2, which indicates that the coding depth of the target coding unit is higher than the coding reference depth, the coding depth must be divided, at this time, coding cost of the target coding unit in each prediction mode of the coding depth must not be calculated, the target coding unit is directly divided into 4 divided subunits of the next coding depth adjacent to the coding depth, and the divided 4 divided subunits are used as the target coding unit of the next coding depth to calculate the corresponding coding cost; if the coding depth of the target coding unit meets depth > pred_avgDepth+2, the current coding depth of the target coding unit is lower than the coding reference depth, and the coding cannot be continuously divided at the moment, so that the coding cost of the target coding unit in each prediction mode of the coding depth is only needed to be calculated; if the coded depth of the target coding unit meets pred_avgDepth-2< depth < pred_avgDepth+2, the coded depth where the target coding unit is currently located is not greatly different from the coded reference depth, and the target coding unit can be divided or not divided at this time, so that the coding cost of the target coding unit in each prediction mode under the coded depth and the coding cost of the divided 4 divided subunits under the next coded depth need to be calculated.
S330, according to the prediction adaptation reference item, an adaptation prediction mode of the target coding unit under the coding depth is determined.
Optionally, after the reference coding parameters of each mapping coding unit are fully utilized to calculate the prediction adaptive reference item of the target coding unit, whether each existing prediction mode of the target coding unit under the coding depth meets the corresponding adaptive conditions or not may be determined by judging whether each prediction adaptive reference item meets the corresponding adaptive conditions, so that the existing prediction mode when each prediction adaptive reference item under the coding depth meets the corresponding adaptive conditions is selected as the adaptive prediction mode of the target coding unit under the coding depth in this embodiment, and then only the coding cost of the target coding unit under each adaptive prediction mode needs to be calculated.
For example, the skip macroblock (skip) mode duty ratio in the prediction adaptive reference term may represent the coding ratio of each mapping coding unit in the skip mode, and the motion reference vector of each prediction region in the prediction adaptive reference term in the specific inter prediction mode may represent whether the specific inter prediction mode in the prediction region partitioning mode is suitable for coding by using the distance between the motion reference vectors of each prediction region, where when calculating the motion reference vector of each prediction region in the specific inter prediction mode, the mapping area duty ratio occupied by each mapping coding unit in the corresponding prediction region may be used as the motion weight of the mapping coding unit, and the weighted average calculation may be performed on the optimal motion vector adopted by each mapping coding unit, that is, after the corresponding scaling operation is performed on the optimal motion vector adopted by each mapping coding unit, the motion vector average may be calculated as the motion reference vector of each prediction region of the target coding unit in the specific inter prediction mode.
At this time, in this embodiment, determining the adaptive prediction mode of the target coding unit at the coding depth according to the prediction adaptive reference term may specifically include: if the ratio of the skipped macroblock mode is a preset full ratio, determining that the adaptive prediction mode of the target coding unit under the coding depth is the skipped macroblock mode; if the skip macroblock mode duty ratio is a non-preset full duty ratio and the skip macroblock mode duty ratio exceeds a preset duty ratio upper limit, determining that the target coding unit excludes an asymmetric partition mode in the inter prediction mode in the adaptive prediction mode under the coding depth.
Specifically, if the skip mode duty ratio is a preset full duty ratio, it is indicated that each mapping coding unit adopts the skip mode to perform coding, and then the target coding unit also adopts the skip mode to perform coding under the coding depth, so that the adaptive prediction mode of the target coding unit under the coding depth can be directly determined to be a skipped macroblock mode; if the skip macroblock mode duty ratio is not the preset full duty ratio, but the skip macroblock mode duty ratio exceeds the preset duty ratio upper limit, it is indicated that most of the mapping coding units in each mapping coding unit adopt skip mode for coding, and the difference of coding contents faced by the skip mode and the asymmetric partition mode in the inter-frame prediction mode is larger, so when the skip macroblock mode duty ratio exceeds the preset duty ratio upper limit, it can be determined that the adaptive prediction mode of the target coding unit in the coding depth does not have the asymmetric partition mode in the inter-frame prediction mode, so that the coding cost of the target coding unit in the asymmetric partition mode does not need to be calculated in the follow-up. In addition, for a specific INTER prediction mode, such as inter_2nxn and inter_nx2N, the target coding unit is divided into 2 prediction areas up and down or left and right for coding, at this time, according to the best motion vector adopted by each mapping coding module, the motion reference vector of the target coding unit in each prediction area in the inter_2nxn mode and the motion reference vector in each prediction area in the inter_nx2N mode are calculated respectively, at this time, for the inter_2nxn mode, the distance between the motion reference vectors in the upper and lower prediction areas is calculated, if the distance is greater than a certain threshold value, it is very likely to select the inter_2nxn mode for coding, so that the inter_2nxn mode is determined to be absent in the adaptive prediction mode of the target coding unit under the coding depth; similarly, if the distance between the motion reference vectors in the left and right prediction areas in the inter_nx2n mode is greater than a certain threshold, it is indicated that the target coding unit is most likely to select the inter_nx2n mode for coding in the inter_2nxn and inter_nx2N modes, and thus it is determined that the inter_2nxn mode does not exist in the adaptive prediction mode of the target coding unit at the coding depth; otherwise the target coding unit would include inter_2nxn and inter_nr2n in the adapted prediction mode at that coding depth.
It should be noted that, in this embodiment, when it is determined that the target coding unit must be divided into the next coding depth adjacent to the coding depth according to the depth division indication of the target coding unit under the coding depth, it is explained that the target coding unit must not be coded under the coding depth, that is, the coding cost of the target coding unit under each prediction mode of the coding depth is not calculated, so in order to further improve the coding efficiency of the target coding unit, S330 may be omitted, and the adaptive prediction mode of the target coding unit under the coding depth is not determined.
S340, determining a target coding mode for optimizing the coding cost of the target coding unit from the adaptive prediction mode and the depth division instruction oriented coding division mode under the coding depth.
According to the technical scheme provided by the embodiment, the reference coding parameters of each mapping coding unit of each coding depth in the corresponding reference video frame are fully utilized, coding reference depth and prediction adaptation reference items of the target coding units are calculated, and then the adaptation prediction mode and depth division indication of the target coding units under the coding depth are determined by referencing the coding reference depth and the prediction adaptation reference items, the accuracy of the adaptation prediction mode and depth division indication of the target coding units under the coding depth is improved, the coding cost calculation steps of the target coding units under the condition of non-adaptation prediction mode and unnecessary division are accurately skipped according to the adaptation prediction mode and the depth division indication, coding cost in the video coding process is greatly reduced, coding guidance is carried out for the target coding units under other code rates by utilizing the reference coding parameters of the reference video frames, the coding complexity of the target coding units is reduced on the basis of guaranteeing the coding quality of the target coding units, and the coding efficiency of the target coding units is improved.
Example IV
Fig. 4 is a schematic structural diagram of a coding mode determining apparatus according to a fourth embodiment of the present invention, and specifically, as shown in fig. 4, the apparatus may include:
an encoding adaptation module 410, configured to determine an adaptation prediction mode and a depth division indication of a target coding unit under each encoding depth based on reference encoding parameters of each mapping coding unit in a corresponding reference video frame;
the coding mode determining module 420 is configured to determine, from each of the adaptive prediction mode and the depth division indication oriented coding division mode under the coded depth, a target coding mode that optimizes the coding cost of the target coding unit.
According to the technical scheme provided by the embodiment, when video transcoding under multiple code rates is realized, the reference video frame is already coded under a certain code rate, so that the video transcoding under other code rates can refer to the coding condition of the reference video frame, at the moment, by searching each mapping coding unit of a target coding unit under each coding depth in the corresponding reference video frame and referring to the reference coding parameters of each mapping coding unit, the adaptive prediction mode and the depth division indication of the target coding unit under the coding depth can be determined, the depth division indication can indicate whether the target coding unit needs to be continuously divided under the coding depth or not, so as to judge whether the coding division mode exists in the target coding unit under the coding depth or not, and further, the coding cost of the target coding unit reaches the optimal target coding mode from each adaptive prediction mode and the coding division mode facing the depth division indication, at the moment, the coding influence of the target coding unit by other non-adaptive prediction modes and unnecessary division conditions is not considered, namely, the coding cost of the target coding unit is not calculated any more, the target coding unit is greatly reduced in the coding process under the non-adaptive prediction mode and the unnecessary division condition, the reference coding frame is greatly reduced, the coding cost of the target coding unit is guaranteed, the target coding efficiency is greatly reduced, the target coding frame is coded, and the target coding efficiency is greatly reduced, and the target coding frame is coded in the coding frame is greatly reduced, and the target coding cost is coded in the coding unit is coded in the coding process.
The coding mode determining device provided in this embodiment is applicable to the coding mode determining method provided in any of the foregoing embodiments, and has corresponding functions and beneficial effects.
Example five
Fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present invention, as shown in fig. 5, the server includes a processor 50, a storage device 51 and a communication device 52; the number of processors 50 in the server may be one or more, one processor 50 being taken as an example in fig. 5; the processor 50, the storage device 51 and the communication device 52 in the server may be connected by a bus or other means, for example by a bus connection in fig. 5.
The server provided by the embodiment can be used for executing the coding mode determining method provided by any embodiment, and has corresponding functions and beneficial effects.
Example six
The sixth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for determining an encoding mode in any of the above embodiments. The method specifically comprises the following steps:
determining an adaptive prediction mode and a depth division indication of a target coding unit under each coding depth based on reference coding parameters of each mapping coding unit of the target coding unit under the corresponding reference video frame;
And determining a target coding mode for optimizing the coding cost of the target coding unit from the adaptive prediction mode and the depth division indication-oriented coding division mode under the coding depth.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform the related operations in the method for determining the coding mode provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the encoding mode determining apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A method for determining a coding mode, comprising:
determining an adaptive prediction mode and a depth division indication of a target coding unit under each coding depth based on reference coding parameters of each mapping coding unit of the target coding unit under the corresponding reference video frame;
determining a target coding mode for optimizing the coding cost of the target coding unit from the adaptive prediction mode and the coding division mode facing the depth division instruction under the coding depth;
The determining the adaptive prediction mode of the target coding unit at the coding depth comprises:
according to the prediction adaptation reference item, determining an adaptation prediction mode of the target coding unit under the coding depth;
the determining the adaptive prediction mode of the target coding unit under the coding depth according to the prediction adaptive reference item comprises the following steps:
if the ratio of the skipped macroblock mode is a preset full ratio, determining that the adaptive prediction mode of the target coding unit under the coding depth is the skipped macroblock mode;
and if the skip macroblock mode duty ratio is a non-preset full duty ratio and exceeds a preset duty ratio upper limit, determining that the target coding unit excludes an asymmetric partition mode in an inter-frame prediction mode in an adaptive prediction mode under the coding depth.
2. The method according to claim 1, wherein said determining a target coding mode that optimizes a coding cost of the target coding unit from among the adaptive prediction modes and the depth-division-indication-oriented coding division modes at the coded depth comprises:
predicting a first coding cost of the target coding unit in each adaptive prediction mode;
And determining a target coding mode for optimizing the coding cost of the target coding unit based on at least one of the first coding cost and the second coding cost in the coding partition mode facing the depth partition indication.
3. The method of claim 2, wherein the determining a target coding mode that optimizes the coding cost of the target coding unit based on at least one of the first coding cost and a second coding cost in the depth partition indication oriented coding partition mode comprises:
if the coding division mode facing to the depth division indication is null, determining a target coding mode for enabling the coding cost of the target coding unit to reach the optimal according to the first coding cost;
if the coding division mode facing to the depth division indication is non-null, dividing the target coding unit into division subunits under the next coding depth adjacent to the coding depth, and predicting a second coding cost after the division subunits are combined;
and determining the target coding mode for optimizing the coding cost of the target coding unit at least according to the second coding cost.
4. The method of claim 1, wherein determining the adaptive prediction mode and the depth division indication for the target coding unit at each coded depth based on reference coding parameters for each mapped coding unit within the corresponding reference video frame comprises:
calculating coding reference depth and prediction adaptation reference items of the target coding unit based on the reference coding parameters of each mapping coding unit of the target coding unit in the corresponding reference video frame;
and determining a depth division indication of the target coding unit under the coding depth according to the coding reference depth.
5. The method of claim 4, wherein the prediction adaptation reference comprises a skipped macroblock mode duty cycle of the target coding unit at each mapped coding unit within the corresponding base video frame and a motion reference vector for each prediction region in a particular inter prediction mode.
6. The method according to any one of claims 1-5, wherein the search frame candidate set to which the target coding unit refers when predicting the corresponding coding cost using each of the adapted prediction modes consists of the best reference frame of each of the mapped coding units.
7. The method according to any one of claims 1 to 5, wherein for each target coding unit under the coded depth, if the coded depth is not the initial coded depth, the target coding unit under the coded depth includes each sub-unit obtained by dividing the target coding unit under the coded depth adjacent to the previous coded depth according to the depth division instruction under the previous coded depth.
8. The method according to any one of claims 1-5, further comprising, after determining a target coding mode that optimizes the coding cost of the target coding unit:
and integrating the target coding modes of the target coding units under each coding depth in sequence to obtain the integral coding mode under the optimal coding cost.
9. The method according to any one of claims 1-5, wherein the reference video in which the reference video frame is located is one source video at a lowest resolution of the multiple source videos.
10. A coding mode determining apparatus, comprising:
the coding adaptation module is used for determining an adaptation prediction mode and a depth division indication of a target coding unit under each coding depth based on reference coding parameters of each mapping coding unit in a corresponding reference video frame;
The determining the adaptive prediction mode of the target coding unit at the coding depth comprises:
according to the prediction adaptation reference item, determining an adaptation prediction mode of the target coding unit under the coding depth;
the determining the adaptive prediction mode of the target coding unit under the coding depth according to the prediction adaptive reference item comprises the following steps:
if the ratio of the skipped macroblock mode is a preset full ratio, determining that the adaptive prediction mode of the target coding unit under the coding depth is the skipped macroblock mode;
if the ratio of the skipped macroblock mode is a non-preset full ratio, and the ratio of the skipped macroblock mode exceeds a preset upper limit of the ratio, determining that the target coding unit excludes an asymmetric partition mode in an inter-frame prediction mode in an adaptive prediction mode under the coding depth;
and the coding mode determining module is used for determining a target coding mode which enables the coding cost of the target coding unit to reach the optimal value from the adaptive prediction mode and the depth division indication-oriented coding division mode under the coding depth.
11. A server, the server comprising:
one or more processors;
A storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of determining a coding mode as claimed in any one of claims 1-9.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a method of determining an encoding mode according to any one of claims 1-9.
CN202010739370.2A 2020-07-28 2020-07-28 Method, device, server and storage medium for determining coding mode Active CN111901591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010739370.2A CN111901591B (en) 2020-07-28 2020-07-28 Method, device, server and storage medium for determining coding mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010739370.2A CN111901591B (en) 2020-07-28 2020-07-28 Method, device, server and storage medium for determining coding mode

Publications (2)

Publication Number Publication Date
CN111901591A CN111901591A (en) 2020-11-06
CN111901591B true CN111901591B (en) 2023-07-18

Family

ID=73182473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010739370.2A Active CN111901591B (en) 2020-07-28 2020-07-28 Method, device, server and storage medium for determining coding mode

Country Status (1)

Country Link
CN (1) CN111901591B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602017A (en) * 2014-06-10 2015-05-06 腾讯科技(北京)有限公司 Video coder, method and device and inter-frame mode selection method and device thereof
WO2016115968A1 (en) * 2015-01-20 2016-07-28 北京工业大学 Visual perception feature-fused scaled video coding method
WO2016160240A1 (en) * 2015-03-31 2016-10-06 Microsoft Technology Licensing, Llc Digital content streaming from digital tv broadcast
CN108769689A (en) * 2018-05-03 2018-11-06 深圳市网心科技有限公司 Skip macro blocks determination method, video transcoding method, electronic equipment and storage medium
CN108924550A (en) * 2018-06-19 2018-11-30 复旦大学 A kind of multichannel is the same as resolution video code-transferring method
WO2019024919A1 (en) * 2017-08-03 2019-02-07 腾讯科技(深圳)有限公司 Video transcoding method and apparatus, server, and readable storage medium
WO2019214373A1 (en) * 2018-05-10 2019-11-14 腾讯科技(深圳)有限公司 Video frame encoding unit division method and apparatus, and storage medium and electronic apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9100656B2 (en) * 2009-05-21 2015-08-04 Ecole De Technologie Superieure Method and system for efficient video transcoding using coding modes, motion vectors and residual information
CN105812796B (en) * 2016-03-21 2018-10-26 同济大学 A kind of SCC interframe encodes unit candidate prediction modes reduction method
CN107404648B (en) * 2017-08-24 2019-12-03 中南大学 A kind of multi-channel video code-transferring method based on HEVC
CN108401185B (en) * 2018-05-03 2021-10-22 深圳市网心科技有限公司 Reference frame selection method, video transcoding method, electronic device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602017A (en) * 2014-06-10 2015-05-06 腾讯科技(北京)有限公司 Video coder, method and device and inter-frame mode selection method and device thereof
WO2016115968A1 (en) * 2015-01-20 2016-07-28 北京工业大学 Visual perception feature-fused scaled video coding method
WO2016160240A1 (en) * 2015-03-31 2016-10-06 Microsoft Technology Licensing, Llc Digital content streaming from digital tv broadcast
WO2019024919A1 (en) * 2017-08-03 2019-02-07 腾讯科技(深圳)有限公司 Video transcoding method and apparatus, server, and readable storage medium
CN108769689A (en) * 2018-05-03 2018-11-06 深圳市网心科技有限公司 Skip macro blocks determination method, video transcoding method, electronic equipment and storage medium
WO2019214373A1 (en) * 2018-05-10 2019-11-14 腾讯科技(深圳)有限公司 Video frame encoding unit division method and apparatus, and storage medium and electronic apparatus
CN108924550A (en) * 2018-06-19 2018-11-30 复旦大学 A kind of multichannel is the same as resolution video code-transferring method

Also Published As

Publication number Publication date
CN111901591A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
US20200322619A1 (en) Systems and Methods of Encoding Multiple Video Streams for Adaptive Bitrate Streaming
US9924183B2 (en) Fast HEVC transcoding
EP2664142B1 (en) Video encoding and decoding with improved error resilience
KR100754205B1 (en) Multi-view video encoding apparatus and method
CN105451031B (en) Video transcoding method and system
GB2495995A (en) Determining Parameters for Encoding an Image of a Video Sequence
KR20110083365A (en) Method and apparatus for encoding/decoding motion vector
JP6943482B2 (en) In-frame prediction methods, devices, video coding devices, and storage media
CN110198440B (en) Method, apparatus and readable medium for determining coding prediction information and video coding
EP2277314A1 (en) Content adaptive video encoder and coding method
US20220353502A1 (en) Texture-based partitioning decisions for video compression
US10015487B2 (en) Picture coding device, picture coding method and picture coding program as well as picture decoding device, picture decoding method, and picture decoding program
WO2021185022A1 (en) Method and apparatus for determining coding mode, and device and storage medium
US20220408097A1 (en) Adaptively encoding video frames using content and network analysis
Liu et al. Efficient prediction of CU depth and PU mode for fast HEVC encoding using statistical analysis
CN111901591B (en) Method, device, server and storage medium for determining coding mode
CN111726656A (en) Transcoding method, device, server and storage medium for live video
CN113709498A (en) Inter-frame prediction method, encoder, decoder, and computer storage medium
CN111541898B (en) Method, device, server and storage medium for determining coding mode
CN105516724B (en) A kind of motion information storage compacting method
Bubolz et al. Coding Tree Early Termination for Fast HEVC Transrating Based on Random Forests
KR20190069830A (en) Video Coding method and Apparatus for Selecting Reference Frame using Context of Coding Unit
US20230300330A1 (en) Bitrate-adaptive segmentation for video transcoding
CN116366839A (en) Prediction mode decision method, device, equipment and storage medium
CN115941971A (en) Video processing method, video processing device, computer equipment, storage medium and program product

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