CN110636303A - GOP layer rate control and adjustment method and system - Google Patents

GOP layer rate control and adjustment method and system Download PDF

Info

Publication number
CN110636303A
CN110636303A CN201910887321.0A CN201910887321A CN110636303A CN 110636303 A CN110636303 A CN 110636303A CN 201910887321 A CN201910887321 A CN 201910887321A CN 110636303 A CN110636303 A CN 110636303A
Authority
CN
China
Prior art keywords
gop
complexity
current
film source
com
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.)
Granted
Application number
CN201910887321.0A
Other languages
Chinese (zh)
Other versions
CN110636303B (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.)
Shenzhen Monternet Encyclopedia Information Technology Co Ltd
Original Assignee
Shenzhen Monternet Encyclopedia 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 Shenzhen Monternet Encyclopedia Information Technology Co Ltd filed Critical Shenzhen Monternet Encyclopedia Information Technology Co Ltd
Priority to CN201910887321.0A priority Critical patent/CN110636303B/en
Publication of CN110636303A publication Critical patent/CN110636303A/en
Application granted granted Critical
Publication of CN110636303B publication Critical patent/CN110636303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/177Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]

Abstract

The invention provides a GOP layer rate control adjusting method and a system. The method of the invention obtains the change trend of the whole film source motion complexity by GOP subsection analysis, and then carries out GOP layer code rate distribution by utilizing the change trend of the film source motion complexity, so that an encoder can be self-adaptive to code rate distribution according to the complexity of the film source, and the performance of the encoder is improved.

Description

GOP layer rate control and adjustment method and system
Technical Field
The invention relates to the field of video coding, in particular to a GOP layer rate control adjusting method and system.
Background
Video film sources of different complexity have completely different characteristics in terms of temporal information redundancy: the sequence with violent motion has low time redundancy, and the sequence with violent motion has high time redundancy when the sequence is relatively static. The conventional three-level rate control algorithm comprises a GOP (group of pictures) layer, a picture layer, and a coding unit layer (or a macroblock layer), wherein a method for equally allocating code rates is adopted at the GOP layer. According to the rate control method, because the average allocation method does not consider the difference of different GOPs, when the complexity of a film source changes greatly, the problem that too many bits are allocated to relatively static segments and the visual effect is improved little is caused, and the problem that the bits allocated to the segments with violent motion are insufficient and the visual effect is reduced sharply is caused.
Disclosure of Invention
The embodiment of the invention aims to provide a GOP layer rate control adjusting method, and aims to solve the problems of bit waste or poor visual effect caused by a rate control average distribution method adopted by video film sources with different complexities in the prior art.
The embodiment of the invention is realized in such a way that a GOP layer rate control and adjustment method comprises the steps of obtaining the change trend of the motion complexity of the whole film source;
and carrying out GOP layer code rate distribution according to the change trend of the motion complexity of the whole film source.
The GOP layer code rate distribution according to the whole film source motion complexity variation trend specifically comprises the following steps:
if the whole film source is in a mode with mild complexity, using a conventional method for evenly distributing code rate to the current film source GOP layer; otherwise, carrying out weighted code rate distribution of the GOP layer according to the complexity of each GOP.
Another objective of an embodiment of the present invention is to provide a GOP layer rate control adjusting system, which includes:
the whole film source motion complexity variation trend acquisition device is used for acquiring the whole film source motion complexity variation trend;
and the GOP layer code rate distribution module is used for carrying out GOP layer code rate distribution according to the change trend of the motion complexity of the whole film source.
The GOP layer code rate allocation module is used for allocating GOP layer code rates according to the change trend of the whole film source motion complexity, and specifically comprises the following steps:
if the whole film source is in a mode with mild complexity, using a conventional method for evenly distributing code rate to the current film source GOP layer; otherwise, carrying out weighted code rate distribution of the GOP layer according to the complexity of each GOP.
The invention has the advantages of
The invention provides a GOP layer rate control adjusting method and a system. The method of the invention obtains the change trend of the whole film source motion complexity by GOP subsection analysis, and then carries out GOP layer code rate distribution by utilizing the change trend of the film source motion complexity, so that an encoder can be self-adaptive to code rate distribution according to the complexity of the film source, and the performance of the encoder is improved.
Drawings
FIG. 1 is a flow chart of a GOP level rate control adjustment method according to a preferred embodiment of the present invention;
FIG. 2 is a flowchart of the detailed method of Step1 in FIG. 2;
FIG. 3 is a flowchart of a detailed method of step A2 in FIG. 2;
FIG. 4 is a block diagram of a GOP level rate control adjustment system in accordance with a preferred embodiment of the present invention;
FIG. 5 is a diagram of the overall film source motion complexity variation trend acquiring device in FIG. 4;
fig. 6 is a complexity calculating apparatus of the current analysis point in fig. 5.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples, and for convenience of description, only parts related to the examples of the present invention are shown. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a GOP layer rate control adjusting method and a system. The method of the invention obtains the change trend of the whole film source motion complexity by GOP subsection analysis, and then carries out GOP layer code rate distribution by utilizing the change trend of the film source motion complexity, so that an encoder can be self-adaptive to code rate distribution according to the complexity of the film source, and the performance of the encoder is improved.
Example one
FIG. 1 is a flow chart of a GOP level rate control adjustment method according to a preferred embodiment of the present invention; the method comprises the following steps:
step 1: and acquiring the change trend of the motion complexity of the whole film source.
FIG. 2 is a flowchart of the detailed method of Step1 in FIG. 2; the method comprises the following steps:
step A1: and assigning an initial value to be the first GOP of the film source at the current analysis point of the film source complexity.
Step A2: and acquiring the complexity of the current analysis point of the complexity of the film source.
FIG. 3 is a flowchart of a detailed method of step A2 in FIG. 2; the method comprises the following steps:
step a 21: determining the analysis point set omega of the current GOP complexity according to the GOP length Lii
Figure BDA0002207712810000031
Wherein omegaiiA set of analysis points representing a ii GOP (current GOP) complexity; thres1、Thres2Respectively representing a first and a second threshold; f. ofiiA first frame representing a current GOP; int denotes the rounding operation, ii denotes the index of the current GOP, and the initial value is 1.
Step a 22: calculating the complexity of each point of an analysis point set of the complexity of the current GOP;
Figure BDA0002207712810000032
wherein, comii,kA complexity of a kth analysis point in the analysis point set representing a ii GOP (current GOP) complexity; vabm,n=clip(std(y2(i,j)-y1(i,j)|y1(i,j)∈block1,m,nAnd y is2(i,j)∈block2,m,n)),
Figure BDA0002207712810000033
std (variable | condition) represents the mean square error of all variables that satisfy the condition; tempf1Representing the first analysis image, tempf1=Ωii(k),Ωii(k) Represents the set omegaiiThe kth element of (1); tempf2Representing a second analysis image, wherein the second analysis image is a post jj frame image 1 which is more than or equal to jj and less than L/3 in the playing sequence of the first analysis image; y is1(i,j)、y2(i,j)、block1,m,n、block2,m,nRespectively represent tempf1、tempf2A luminance value of the ith row and the jth column and a block of the mth row and the nth column;wb and hb respectively represent the column width and the line width of the image in units of blocks; thres3Representing a third threshold, typically Thres38 ═ (1+ 24/fps); fps denotes the slice source sample frame rate. Wherein num (Ω)ii) Represents omegaiiContaining the elements in totalAmount of the compound (A).
Step a 23: calculating current GOP complexity
Figure BDA0002207712810000035
Wherein; mean (variable | condition) represents averaging variables satisfying the condition;
step A3: let com exist if the ii + int (N/numk) th GOP of the film source existskk=comiiIi + 1. ltoreq. kk. ltoreq.i + int (N/numk) -1, setting the current analysis point to be ii + int (N/numk) th GOP, and then returning to the step A2; otherwise, command comkk=comiiIi + 1. ltoreq. kk. ltoreq.N, and then to step A4.
Wherein, comkkRepresents the kth GOP complexity; comiiRepresents the ii < th > GOP complexity (current GOP complexity); numk represents the number of analysis points, and is generally 2-8; n denotes the number of GOPs contained by the slice source.
Step A4: and acquiring the change trend of the motion complexity of the whole film source.
If max (com)kk)>const*min(comkk) If the film source is in the complexity fluctuation mode; otherwise, the slice source is in the complexity flat mode.
Wherein, max () and min () respectively represent functions of taking a maximum value and a minimum value; const denotes a threshold constant, typically const ≧ 2.
Step 2: and carrying out GOP layer code rate distribution according to the change trend of the motion complexity of the whole film source.
The method specifically comprises the following steps: if the whole film source is in a mode with mild complexity, using a conventional method for evenly distributing code rate to the current film source GOP layer; otherwise, carrying out weighted code rate distribution of the GOP layer according to the complexity of each GOP.
Figure BDA0002207712810000041
Wherein GOP _ bitiiBit representing the ii < th > GOP allocation, GOP _ bitminIndicates a set minimum GOP bit value, GOP _ bitmaxIndicates the set maximum GOP bit value;
Figure BDA0002207712810000042
bit means the number of coded bits that are,
Figure BDA0002207712810000043
representing the current remaining bits; GOP _ bit1、GOP_bitii-1Bits representing the 1 st, ii-1 st GOP allocations, respectively; sum () represents a summing function.
Example two
FIG. 4 is a block diagram of a GOP level rate control adjustment system in accordance with a preferred embodiment of the present invention; the system comprises:
the whole film source motion complexity variation trend acquisition device is used for acquiring the whole film source motion complexity variation trend;
the GOP layer code rate distribution module is used for carrying out GOP layer code rate distribution according to the change trend of the motion complexity of the whole film source;
the method specifically comprises the following steps: if the whole film source is in a mode with mild complexity, using a conventional method for evenly distributing code rate to the current film source GOP layer; otherwise, according to the complexity of each GOP, carrying out weighted code rate distribution of the GOP layer.
Further, fig. 5 is a structural diagram of the overall film source motion complexity variation trend acquiring device in fig. 4; the whole film source motion complexity variation trend acquisition device comprises:
the current analysis point initial value assigning module is used for assigning an initial value to the current analysis point of the film source complexity as a first GOP of the film source;
the current analysis point complexity calculating device is used for acquiring the complexity of the current analysis point of the film source complexity; a first judgment processing module for judging if ii + int (N/numk) GOP of the film source exists, then making comkk=comiiIi + 1. ltoreq. kk. ltoreq. ii + int (N/numk) -1, setting the current analysis point to be the ii + int (N/numk) th GOP, and then returning to the current analysis point complexity calculation means; otherwise, command comkk=comiiAnd ii +1 is more than or equal to kk and less than or equal to N, and then the whole film source motion complexity change trend acquisition module is entered.
Wherein, comkkRepresents the kth GOP complexity; comiiRepresents the ii < th > GOP complexity (current GOP complexity); numk represents the number of analysis points, and is generally 2-8; n represents the number of GOPs contained by the slice source; int denotes a rounding operation.
And the whole film source motion complexity variation trend acquisition module is used for acquiring the whole film source motion complexity variation trend.
If max (com)kk)>const*min(comkk) If the film source is in the complexity fluctuation mode; otherwise, the slice source is in the complexity flat mode.
Wherein, max () and min () respectively represent functions of taking a maximum value and a minimum value; const denotes a threshold constant, typically const ≧ 2.
Further, fig. 6 is a complexity calculating apparatus of the current analysis point in fig. 5; the device comprises:
a GOP complexity analysis point set determining module for determining the analysis point set omega of the current GOP complexity according to the GOP length Lii
Figure BDA0002207712810000051
Wherein omegaiiA set of analysis points representing a ii < th > GOP complexity; thres1、Thres2Respectively representing a first and a second threshold; f. ofiiA first frame representing a current GOP; int denotes the rounding operation, ii denotes the index of the current GOP, and the initial value is 1.
The current analysis point complexity calculating module is used for calculating the complexity of each point of an analysis point set of the current GOP complexity;
Figure BDA0002207712810000061
1≤k≤num(Ωii)。
wherein, comii,kA complexity of a kth analysis point in the analysis point set representing a ii GOP (current GOP) complexity; vabm,n=clip(std(y2(i,j)-y1(i,j)|y1(i,j)∈block1,m,nAnd y is2(i,j)∈block2,m,n)),
Figure BDA0002207712810000062
std (variable | condition) represents the mean square error of all variables that satisfy the condition; tempf1Representing the first analysis image, tempf1=Ωii(k),Ωii(k) Represents the set omegaiiThe kth element of (1); tempf2Representing a second analysis image, wherein the second analysis image is a post jj frame image 1 which is more than or equal to jj and less than L/3 in the playing sequence of the first analysis image; y is1(i,j)、y2(i,j)、block1,m,n、block2,m,nRespectively represent tempf1、tempf2A luminance value of the ith row and the jth column and a block of the mth row and the nth column;
Figure BDA0002207712810000063
wb and hb respectively represent the column width and the line width of the image in units of blocks; thres3Representing a third threshold, typically Thres38 ═ (1+ 24/fps); fps denotes the slice source sample frame rate. Wherein num (Ω)ii) Represents omegaiiThe total amount of elements contained.
A current GOP complexity calculating module for calculating the complexity of the current GOP
Figure BDA0002207712810000064
Wherein; mean (variable | condition) represents averaging variables satisfying the condition;
further, the allocating the weighted code rate of the GOP layer according to the complexity of each GOP specifically includes:
Figure BDA0002207712810000065
wherein GOP _ bitiiBit representing the ii < th > GOP allocation, GOP _ bitminIndicates a set minimum GOP bit value, GOP _ bitmaxIndicates the set maximum GOP bit value;
Figure BDA0002207712810000066
bit means the number of coded bits that are,representing the current remaining bits; GOP _ bit1、GOP_bitii-1Bits representing the 1 st, ii-1 st GOP allocations, respectively; sum () represents a summing function.
It will be understood by those skilled in the art that all or part of the steps in the method according to the above embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, such as ROM, RAM, magnetic disk, optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A GOP layer rate control adjustment method is characterized by comprising
Acquiring the change trend of the motion complexity of the whole film source;
and carrying out GOP layer code rate distribution according to the change trend of the motion complexity of the whole film source.
2. The GOP layer rate control adjusting method according to claim 1, wherein the acquiring the entire motion complexity variation trend of the slice source includes:
step A1: assigning an initial value to be a first GOP of the film source at the current analysis point of the film source complexity;
step A2: acquiring the complexity of a current analysis point of the complexity of the film source;
step A3: let com exist if the ii + int (N/numk) th GOP of the film source existskk=comiiIi + 1. ltoreq. kk. ltoreq.i + int (N/numk) -1, setting the current analysis point to be ii + int (N/numk) th GOP, and then returning to the step A2; otherwise, command comkk=comiiAnd ii + 1. ltoreq. kk. ltoreq.N, and then entering step A4;
step A4: acquiring the change trend of the motion complexity of the whole film source;
the method specifically comprises the following steps: if max (com)kk)>const*min(comkk) If the film source is in the complexity fluctuation mode; otherwise, the film source is in a mild complexity mode;
wherein, comkkRepresents the kth GOP complexity; comiiRepresents the ii < th > GOP complexity; numk represents the number of analysis points, and numk is more than or equal to 2 and less than 8; n represents the number of GOPs contained by the slice source; max () and min () respectively represent functions of taking a maximum value and a minimum value; const denotes a threshold constant, const ≧ 2.
3. The GOP layer rate control adjusting method according to claim 2, wherein the obtaining the complexity of the current analysis point of the slice source complexity includes:
step a 21: determining the analysis point set omega of the current GOP complexity according to the GOP length Lii
Figure FDA0002207712800000011
Wherein omegaiiA set of analysis points representing a ii < th > GOP complexity; thres1、Thres2Respectively representing a first and a second threshold; f. ofiiA first frame representing a current GOP; int denotes a rounding operation, ii denotes a reference number of the current GOP;
step a 22: calculating the complexity of each point of an analysis point set of the complexity of the current GOP;
Figure FDA0002207712800000012
wherein, comii,kRepresenting the complexity of the kth analysis point in the set of analysis points for the ii GOP complexity; vabm,n=clip(std(y2(i,j)-y1(i,j)|y1(i,j)∈block1,m,nAnd y is2(i,j)∈block2,m,n)),
Figure FDA0002207712800000021
std (variable | Condition) represents a measure for satisfying the ConditionCalculating the mean square error with a variable; tempf1Representing the first analysis image, tempf1=Ωii(k),Ωii(k) Represents the set omegaiiThe kth element of (1); tempf2Representing a second analysis image, wherein the second analysis image is a post jj frame image 1 which is more than or equal to jj and less than L/3 in the playing sequence of the first analysis image; y is1(i,j)、y2(i,j)、block1,m,n、block2,m,nRespectively represent tempf1、tempf2A luminance value of the ith row and the jth column and a block of the mth row and the nth column;
Figure FDA0002207712800000022
wb and hb respectively represent the column width and the line width of the image in units of blocks; thres3Represents a third threshold value, Thres38 ═ (1+ 24/fps); fps represents a slice source sampling frame rate; num (omega)ii) Represents omegaiiThe total amount of elements contained;
step a 23: calculating current GOP complexity
Figure FDA0002207712800000023
Wherein; mean (variable | condition) represents averaging the variables that satisfy the condition.
4. The method according to any of claims 1-3, wherein the GOP layer rate allocation according to the whole motion complexity variation trend specifically comprises:
if the whole film source is in a mode with mild complexity, using a conventional method for evenly distributing code rate to the current film source GOP layer; otherwise, carrying out weighted code rate distribution of the GOP layer according to the complexity of each GOP.
5. The method for adjusting GOP layer rate control according to claim 4, wherein the weighted code rate allocation of the GOP layer according to the complexity of each GOP specifically comprises:
Figure FDA0002207712800000024
wherein GOP _ bitiiBit representing the ii < th > GOP allocation, GOP _ bitminIndicates a set minimum GOP bit value, GOP _ bitmaxIndicates the set maximum GOP bit value;
Figure FDA0002207712800000025
bit means the number of coded bits that are,
Figure FDA0002207712800000026
representing the current remaining bits; GOP _ bit1、GOP_bitii-1Bits representing the 1 st, ii-1 st GOP allocations, respectively; sum () represents a summing function.
6. A GOP-level rate control adjustment system, comprising:
the whole film source motion complexity variation trend acquisition device is used for acquiring the whole film source motion complexity variation trend;
and the GOP layer code rate distribution module is used for carrying out GOP layer code rate distribution according to the change trend of the motion complexity of the whole film source.
7. The GOP layer rate control adjustment system of claim 6, wherein the global source motion complexity variation trend obtaining means comprises:
the current analysis point initial value assigning module is used for assigning an initial value to the current analysis point of the film source complexity as a first GOP of the film source;
the current analysis point complexity calculating device is used for acquiring the complexity of the current analysis point of the film source complexity; a first judgment processing module for judging if ii + int (N/numk) GOP of the film source exists, then making comkk=comiiIi + 1. ltoreq. kk. ltoreq. ii + int (N/numk) -1, setting the current analysis point to be the ii + int (N/numk) th GOP, and then returning to the current analysis point complexity calculation means; otherwise, command comkk=comiiIi +1 is more than or equal to kk is less than or equal to N, and then the motion complexity variation trend of the whole film source is obtainedA module;
the whole film source motion complexity variation trend acquisition module is used for acquiring the whole film source motion complexity variation trend;
the method specifically comprises the following steps: if max (com)kk)>const*min(comkk) If the film source is in the complexity fluctuation mode; otherwise, the slice source is in the complexity flat mode.
Wherein, comkkRepresents the kth GOP complexity; comiiRepresents the ii < th > GOP complexity; numk represents the number of analysis points, and numk is more than or equal to 2 and less than 8; n represents the number of GOPs contained by the slice source; int represents a rounding operation; max () and min () respectively represent functions of taking the maximum value and the minimum value; const denotes a threshold constant, const ≧ 2.
8. The GOP layer rate control adjustment system of claim 7, wherein the current analysis point complexity calculating means:
a GOP complexity analysis point set determining module for determining the analysis point set omega of the current GOP complexity according to the GOP length Lii
Figure FDA0002207712800000031
Wherein omegaiiA set of analysis points representing a ii < th > GOP complexity; thres1、Thres2Respectively representing a first and a second threshold; f. ofiiA first frame representing a current GOP; int denotes a rounding operation, ii denotes a reference number of the current GOP;
the current analysis point complexity calculating module is used for calculating the complexity of each point of an analysis point set of the current GOP complexity;
Figure FDA0002207712800000041
wherein, comii,kRepresenting the complexity of the kth analysis point in the set of analysis points for the ii GOP complexity; vabm,n=clip(std(y2(i,j)-y1(i,j)|y1(i,j)∈block1,m,nAnd y is2(i,j)∈block2,m,n)),
Figure FDA0002207712800000042
std (variable | condition) represents the mean square error of all variables that satisfy the condition; tempf1Representing the first analysis image, tempf1=Ωii(k),Ωii(k) Represents the set omegaiiThe kth element of (1); tempf2Representing a second analysis image, wherein the second analysis image is a post jj frame image 1 which is more than or equal to jj and less than L/3 in the playing sequence of the first analysis image; y is1(i,j)、y2(i,j)、block1,m,n、block2,m,nRespectively represent tempf1、tempf2A luminance value of the ith row and the jth column and a block of the mth row and the nth column;
Figure FDA0002207712800000043
wb and hb respectively represent the column width and the line width of the image in units of blocks; thres3Represents a third threshold value, Thres38 ═ (1+ 24/fps); fps represents a slice source sampling frame rate; num (omega)ii) Represents omegaiiThe total amount of elements contained;
the current GOP complexity calculating module is used for calculating the complexity of the current GOP;
Figure FDA0002207712800000044
wherein; mean (variable | condition) represents averaging the variables that satisfy the condition.
9. The GOP level rate control adjustment system of any of claims 6-8,
the GOP layer code rate allocation module is used for allocating GOP layer code rates according to the change trend of the whole film source motion complexity, and specifically comprises the following steps:
if the whole film source is in a mode with mild complexity, using a conventional method for evenly distributing code rate to the current film source GOP layer; otherwise, carrying out weighted code rate distribution of the GOP layer according to the complexity of each GOP.
10. The GOP layer rate control and adjustment system according to claim 9, wherein the weighted code rate allocation of the GOP layer according to the complexity of each GOP is specifically:
Figure FDA0002207712800000045
wherein GOP _ bitiiBit representing the ii < th > GOP allocation, GOP _ bitminIndicates a set minimum GOP bit value, GOP _ bitmaxIndicates the set maximum GOP bit value;
Figure FDA0002207712800000046
bit means the number of coded bits that are,
Figure FDA0002207712800000051
representing the current remaining bits; GOP _ bit1、GOP_bitii-1Bits representing the 1 st, ii-1 st GOP allocations, respectively; sum () represents a summing function.
CN201910887321.0A 2019-09-19 2019-09-19 GOP layer rate control adjusting method and system Active CN110636303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910887321.0A CN110636303B (en) 2019-09-19 2019-09-19 GOP layer rate control adjusting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910887321.0A CN110636303B (en) 2019-09-19 2019-09-19 GOP layer rate control adjusting method and system

Publications (2)

Publication Number Publication Date
CN110636303A true CN110636303A (en) 2019-12-31
CN110636303B CN110636303B (en) 2022-12-06

Family

ID=68971850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910887321.0A Active CN110636303B (en) 2019-09-19 2019-09-19 GOP layer rate control adjusting method and system

Country Status (1)

Country Link
CN (1) CN110636303B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030169933A1 (en) * 2002-03-09 2003-09-11 Samsung Electronics Co., Ltd. Method for adaptively encoding motion image based on temporal and spatial complexity and apparatus therefor
WO2010130190A1 (en) * 2009-05-11 2010-11-18 华为技术有限公司 Rate control method and device for multi layer coding
CN102970540A (en) * 2012-11-21 2013-03-13 宁波大学 Multi-view video code rate control method based on key frame code rate-quantitative model
CN104052998A (en) * 2014-05-26 2014-09-17 深圳百科信息技术有限公司 GOP layer ratio control and adjustment method and system based on exercise intensity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030169933A1 (en) * 2002-03-09 2003-09-11 Samsung Electronics Co., Ltd. Method for adaptively encoding motion image based on temporal and spatial complexity and apparatus therefor
WO2010130190A1 (en) * 2009-05-11 2010-11-18 华为技术有限公司 Rate control method and device for multi layer coding
CN102970540A (en) * 2012-11-21 2013-03-13 宁波大学 Multi-view video code rate control method based on key frame code rate-quantitative model
CN104052998A (en) * 2014-05-26 2014-09-17 深圳百科信息技术有限公司 GOP layer ratio control and adjustment method and system based on exercise intensity

Also Published As

Publication number Publication date
CN110636303B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
US8406293B2 (en) Multi-pass video encoding based on different quantization parameters
US8594190B2 (en) Encoding with visual masking
CN110662044B (en) Video coding method, video coding device and computer storage medium
US20040017850A1 (en) Advanced method for rate control and apparatus thereof
US20050201460A1 (en) System and method for controlling bit rate of an image
EP1762093A2 (en) Multi-pass video encoding
US20050226321A1 (en) Method and system for two-pass video encoding using sliding windows
US20080075164A1 (en) Motion picture encoding apparatus and method
JPH0865677A (en) Moving image encoding device
US20040179596A1 (en) Method and apparatus for encoding video signal with variable bit rate
US7929603B2 (en) System and method for accurate rate control for video compression
US20070104271A1 (en) Moving picture encoding system
TWI436648B (en) Bitrate control method for video coding, bitrate control apparatus for video coding, bitrate control program for video coding, and computer-readable recording medium for recording the program
CN110636303B (en) GOP layer rate control adjusting method and system
US10136134B2 (en) Method to encode video with close multiple scene changes
US11323703B2 (en) Moving-image encoding device, moving-image encoding method, and program
CN110636330B (en) Film source scene complexity analysis method and system based on compressed information
US11825088B2 (en) Adaptively encoding video frames based on complexity
CN110545434B (en) Method and system for adjusting rate control of GOP (group of pictures) layer of transcoding slice source
CN110636389B (en) Method and system for analyzing complexity of sheet source
CN115190309A (en) Video frame processing method, training method, device, equipment and storage medium
JPH08265769A (en) Method and apparatus for adaptive quantization of image data
CN117041580A (en) Bit allocation method and terminal for HEVC rate control of motion video
CN114173128A (en) Encoding processing method, device, equipment and readable storage medium
JPH0918874A (en) Controlling method for image quality

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
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets high in the four Longtaili Technology Building Room 325 No. 30

Applicant after: Shenzhen mengwang video Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets high in the four Longtaili Technology Building Room 325 No. 30

Applicant before: SHENZHEN MONTNETS ENCYCLOPEDIA INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant