METHOD FOR INITIAL QUANTIZATION PARAMETER OPTIMIZATION IN VIDEO CODING

Information

  • Patent Application
  • 20190394466
  • Publication Number
    20190394466
  • Date Filed
    June 25, 2018
    6 years ago
  • Date Published
    December 26, 2019
    4 years ago
Abstract
A machine learning based initial quantization parameter (QP) prediction method, which can effectively optimize RC performance. A machine learning framework for initial QP prediction is proposed, where learning labels are built with the criterion of maximizing rate-distortion (RC) performance, which is proved to be much more effective than the QP determination method with the only consideration on sum of the absolute transformed difference (SATD) complexity. Instead of target bits per pixel for intra frame, target bits per pixel for remaining frames is used as sample data to avoid empirically setting intra frame bit allocation, thus improve the prediction accuracy as the real-time updated remaining bits can better reflect the real-time requirements on the level of QPs. In addition, a clipping and decision approach based on the previous initial QP and the target bits per pixel for all remaining frames is proposed, which can help fast QP adaption and quality smoothness.
Description
COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material, which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.


FIELD OF THE INVENTION

The present invention relates generally to rate control (RC) in video coding. Particularly, the present invention relates to a machine learning based method for initial quantization parameter (QP) prediction for rate control optimization in video coding.


BACKGROUND

Due to the limited bit rate resources and quality dependency among frames, video coding performance is very sensitive to the QP configuration for the initial intra frame in RC. In video coding, each intra period is started with an intra coded frame, for which the initial QP determination is one of the key steps of RC initialization. The difficulty of obtaining a desirable initial QP comes from two reasons: 1) bit resources are always limited and bit allocation for intra frame actually means the trade-off on coding bit resources between intra frame and following inter frames; 2) the quality dependency between intra frame and following inter frames makes the bit allocation more complex. Therefore, the optimal initial QP determination can be deemed as a trade-off problem between intra and inter frames. Similarly, the precise problem modeling and accurate model parameters for optimal initial QP are difficult to achieve.


Regrettably, there is very little literature on refining RC initialization, particularly on using machine learning to find the optimal solution of initial QP. The existing typical non-learning based methods for initial QP determination are listed in a table in FIG. 1, which usually use two categories of influential factors: 1) target bit per pixel related, and 2) intra coding complexity related.


An early typical initial QP determination method is disclosed in JVT-0079 [1] for H.264/AVC, where three thresholds on target bit per pixel from the available bandwidth are used to set four fixed QPs. In TCSVT-2008 [2], the coding complexity is modeled with relation to entropy information and INTRA16 DC mode. In TBC-2009 [3] for H.264/AVC, the information of the edge vector amplitudes is considered to be related to the coding complexity. In TIE-2012 [4] for H.264/SVC, from intra frame and among specific frames, macroblock based variance (MBV) and sum of absolute difference (SAD) are extracted to generate the evaluation metric for coding complexity of intra coded content. It should be noticed that the above coding complexity related features may not be easily available in High Efficiency Video Coding (HEVC) and future video coding due to their high correlations with the particular coding tools in H.264/AVC and H.264/SVC. Therefore, it is better to make the coding complexity related feature independent of coding tools for easy adoption in future video coding.


Many of the model parameters in the existing calculation based initial QP determination methods are empirically achieved, and even differently configured for different videos with diverse resolutions. Therefore, the achieved model parameter cannot always be reliable for other different videos. These existing methods actually lack guarantees to obtain robustness for the coding performances achieved ultimately.


Another critical problem for the existing initial QP determination methods is the lack of effective optimization goals such that the efforts for optimization are useless for any of RC optimization goals, as well as for video coding performances. In general, the main RC optimization goals include improved R-D performance, lower quality fluctuations, higher bit rate achievement, and stable buffer occupancy control. Some existing initial QP methods evaluate coding distortion only to identify the best scheme, which is not accurate since different initial QPs will have different results on bit rate mismatch. The critical influence of initial QP on the overall video coding is embodied in the fact that different initial QPs will generate different coding results on both average bit rates and distortions. Although some conventional frame-level and block-level RC algorithms endeavor to make the final achieved bit rates be close to target bit rates, it will definitely fail for some unsatisfactory options of initial QPs. Therefore, it is obviously unacceptable to just compare the coding distortions to give the R-D performance evaluation and it is desirable to have an effective RC optimization scheme.


For HEVC, the latest reference software HM-16.14 [5] provides a unique R-λ, model-based method for initial QP determination and parameter updating. Besides target bit per pixel of the current intra frame, the sum of the absolute transformed difference (SATD) is exploited as the coding complexity. The drawback of this initial QP determination method in HM-16.14 may easily come from the introduced inaccuracy from the empirical setting for the allocated bits of intra frame. This empirical bit setting makes the optimal initial QP achievement impossible, and then RC performance cannot be effectively optimized. Another problem is that the initial QP is predicted using the modulated R-λ, model with inaccurate parameters. In fact, there is no guarantee that the intra frame bit allocation is optimal, as well as the accuracy of the final initial QP determination based on the modulated R-λ, model. Therefore, it is preferable to have a better initial QP approach to avoid the inaccuracy of empirically setting intra frame bit allocation.


REFERENCES



  • [1] K. P. Lim, G. Sullivan, and T. Wiegand, “Text Description of Joint Model Reference Encoding Methods and Decoding Concealment Methods,” JVT-O079, Busan, Korea, April 2005.

  • [2] H. Wang and S. Kwong, “Rate-distortion optimization of rate control for H.264 with adaptive initial quantization parameter determination,” IEEE Trans. Circuits Syst. Video Technol., vol. 18, no. 1, pp. 140-144, January 2008.

  • [3] M. Yang, J. C. Serrano and C. Grecos, “MPEG-7 Descriptors Based Shot Detection and Adaptive Initial Quantization Parameter Estimation for the H.264/AVC,” IEEE Trans. Broadcasting, vol. 55, no. 2, pp. 165-177, June 2009.

  • [4] S. Hu, H. Wang, S. Kwong and C. C. J. Kuo, “Novel Rate-Quantization Model-Based Rate Control With Adaptive Initialization for Spatial Scalable Video Coding,” IEEE Trans. Ind. Electron., vol. 59, no. 3, pp. 1673-1684, March 2012.

  • [5] HM Reference Software 16.14. (2017, August) [Online]. Available: https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/tags/HM-16.14.


    The disclosures of above references are incorporated herein by reference in their entirety.



SUMMARY OF THE INVENTION

The present disclosure relates to machine learning based initial QP prediction method which can effectively optimize RC performance. A machine learning framework for initial QP prediction is proposed, where learning labels are built with the criterion of maximizing rate-distortion (R-D) performance Instead of the traditionally used target bits per pixel for intra frame, the target bits per pixel for remaining frames is used as learning feature to avoid empirical setting for intra frame bit allocation, and thus improve the prediction accuracy since the real-time updated remaining bits can better reflect the real-time requirements on the level of QPs. A support vector regression (SVR) is chosen to perform the machine learning as it is well-known for robustness and simplicity. In addition, a clipping and decision approach based on the previous initial QP and the target bits per pixel for all remaining frames is proposed, which can help fast QP adaption and quality smoothness.





BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the invention are described in more detail hereinafter with reference to the drawings, in which:



FIG. 1 shows a table listing existing typical non-learning based methods on initial QP determination;



FIG. 2 depicts a framework of a method for determining initial QP for rate control in video coding according to one embodiment of the present invention;



FIG. 3 illustrates coding results of two R-D data pairs and how to determine a better initial QP coding scheme by comparison with the criterion of maximizing R-D performance;



FIGS. 4A-4E show various relationship between initial QP selection and its corresponding RD score; wherein FIG. 4A shows the relationship for video sequence Traffic; FIG. 4B shows the relationship for video sequence BQTerrace; FIG. 4C shows the relationship for video sequence BasketballDrill; FIG. 4D shows the relationship for video sequence BasketballPass and FIG. 4E shows the relationship for video sequence KristenAndSara;



FIG. 5 shows a table listing other video sequences recommended for HEVC coding performance evaluation;



FIGS. 6A-6C depict results of learning parameter grid search for prediction error (RMSE) minimization using different feature sets denoted as FS1, FS2 and FS3, respectively; wherein FIG. 6A depicts the results for feature set FS1 using target bits per pixel for remaining frames, Tbpp, only; FIG. 6B depicts the results for feature set FS2 using sum of the absolute transformed difference, SATD, only; and FIG. 6C depicts the results for feature set FS3 using both Tbpp and SATD; and



FIG. 7 shows a table comparing the training and testing results for initial QP learning with the criterion of maximizing prediction accuracy based on the three different feature sets FS1, FS2 and FS3, respectively.





DETAILED DESCRIPTION

In the following description, methods for predicting initial quantization parameter (QP) for rate control in video coding are set forth as preferred examples. It will be apparent to those skilled in the art that modifications, including additions and/or substitutions may be made without departing from the scope and spirit of the invention. Specific details may be omitted so as not to obscure the invention; however, the disclosure is written to enable one skilled in the art to practice the teachings herein without undue experimentation.



FIG. 2 depicts a framework of a method for predicting an initial QP for rate control in video coding according to one embodiment of the present invention, comprising: receiving an input video; extracting one or more feature vectors from the input video; feeding the extracted feature vector into a machine learning model; and predicting one or more initial QP using the machine learning model.


The process of feature vector extraction may comprise: determining an initial target bit per pixel, Tbpp0, for an initial intra frame in the input video; determining target bits per pixel for remaining frames, Tbpp, in the input video; and extracting feature vector from the determined target bits per pixel for remaining frames, Tbpp.


The initial target bit per pixel, Tbpp0, may be determined by the equation:











Tbpp
0

=

TBR

FR
×
FP



,




(
1
)







where TBR is the target bit rate, FR is the frame rate and FP is the number of pixels in a frame of the input video, respectively.


The target bits per pixel for remaining frames, Tbpp, may be determined by the equation:










Tbpp
=




Tbpp
0

×
AFN
×
FP

-




i
=
1

CFN







R
i





(

AFN
-
CFN

)

×
FP



,




(
2
)







where AFN is the total number of frames, CFN is the number of coded frames and Ri is the consumed bits of the i-th frame of the input video, respectively.


The process of machine learning model training may comprise: receiving a test video; extracting sample data from the test video; selecting an optimal initial QP from a plurality of initial QPs on the basis of a criterion of performance optimization; inputting the extracted sample data and corresponding selected optimal initial QP into the machine learning model; and training the machine learning model to obtain a prediction function for initial QP.


The process of sample date extraction for machine learning model training may be similar to the process of feature vector extraction, which comprises: setting a target bit rate for coding the test video; determining an initial target bit per pixel, Tbpp0, for an initial frame in the test video; determining target bits per pixel, Tbpp, for remaining frames in the test video; and extracting sample data from the determined target bits per pixel, Tbpp, for remaining frames.


Similarly, the initial target bit per pixel, Tbpp0, may be calculated with Equation (1) with TBR being the target bit rate, FR being the frame rate and FP being the number of pixels in a frame of the test video, respectively.


Similarly, the target bits per pixel for remaining frames, Tbpp, may be determined with Equation (2), with AFN being the total number of frames, CFN being the number of coded frames and Ri being the consumed bits of the i-th frame of the test video, respectively.


The process of optimal initial QP selection for machine learning model training may comprise: coding the test video with one or more coding schemes having different initial QP values; calculating a rate-distortion (R-D) performance score, RDSi, for each of the coding schemes; and selecting the optimal initial QP value which corresponds the coding scheme achieving the highest R-D performance score.


The rate-distortion (R-D) performance score, RDSi, for an i-th initial QP coding scheme may be determined by the equation:











RDS
i

=



C
F


C
i


=



R
F

·

D
F




R
i

·

D
i





,




(
3
)







where RF, DF and CF are average consumed bits, mean square error (MSE) distortions and residual complexity indicator for a Fixed QP coding, respectively; and Ci is the product of a pair of R-D date of the i-th initial QP coding scheme which is approximated by the equation:






C
i
=R
i
·D
i,  (4)


where Ri and Di are consumed bits and mean square error (MSE) distortions of the i-th initial QP coding scheme, respectively.



FIG. 3 illustrates how to determine a better initial QP coding scheme by comparing single R-D data pairs with the criterion of R-D performance maximization. There are two coding results of R-D data pairs: S1 (R1, D1) and S2 (R2, D2) from two different initial QP schemes: A and B. According to the R-D relationship as shown in (2), C1<C2. If we extend S1 to the curve of Scheme B at S1,B, then S1,B has a larger R at R1,B than S1 at R1, which means that to achieve the same D as Scheme A at S1, Scheme B will need to consume more bits. Similarly, if Scheme A has the same bits as S2 at the curve of Scheme B, S2,A has a lower D at D2,A than S2 at D2. Therefore, we can conclude that Scheme A is better than Scheme B on R-D performance Obviously, we can see that if Ci of Scheme i is smaller, Scheme i can have a better R-D performance Therefore, by comparing Ci of different schemes, we can quickly identify the optimal initial QP that best maximize R-D performance, where only a single R-D data pair is used.


It should be noted that due to the importance of QP to the rate distortion optimization (RDO) processes of mode decision (MD) and motion estimation (ME), different QP strategies will produce different results on residual complexity, namely different R-D characteristics for coding content. Therefore, different initial QP schemes will generate different results on Ci for different coding content. For initial QP determination problem, the variation of RDS can reflect the quality of different initial QP scheme candidates. As mentioned, smaller Ci indicates better R-D performance. Then, by normalizing with the coding results of Fixed QP under the same target bit rates, the largest RDS result indicates the best selection of initial QP for R-D optimization.



FIGS. 4A-4E show various relationship between initial QP selection and its corresponding RD score for video sequences Traffic, BQTerrace, BasketballDrill, BasketballPass and KristenAndSara, respectively. As a non-limiting example, a low delay B coding structure with GOP size of 4 and intra period size of 8 is adopted. The dotted lines indicate the optimal initial QPs and the achieved RD scores at 12 different target bit rates for different video sequences. It should be appreciated by those skilled in that art that the video sequences for collecting the benchmark learning labels for initial QP prediction are not limited to those indicated in FIGS. 4A-4E. As shown in a table in FIG. 5, other video sequences recommended for HEVC coding performance evaluation may also be used for training and testing, respectively.


The machine learning model may be a support vector regression (SVR) model which is well-known for robustness and simplicity. However, it should be understood that the SVR is used herein as a non-limiting example and may be replaced with other proper regression algorithms for elevating the prediction accuracy.


In training the SVR machine learning model, a radial basis function (RBF) based kernel trick may be adopted to produce a hyperplane defined as:






f(x)=ωTϕ(x)+b  (5)


where ϕ(⋅) is the RBF kernel function, b is the bias term, and ω is highly related to the support vector coefficients which depict the relationship between the selected support vectors and the learned hyperplane.


The hyperplane may be fine-tuned by minimizing a cost function, J, defined by the model:










J
=



1
2





ω


2


+

C





i
=
1

n







(


ξ
i

+

ξ
i
*


)





,





s
.
t
.

{







y
i

-


ω
T



φ


(

x
i

)



-
b



ɛ
+

ξ
i
*











ω
T



φ


(

x
i

)



+
b
-

y
i




ɛ
+

ξ
i









ξ
i

,


ξ
i
*


0

,



i

=

1











n


,

ɛ

0





,







(
6
)







where xi and yi are extracted sample data and corresponding selected optimal initial QP for the i-th test video, respectively, n is number of data samples, j and indicate slacks, is allowable error and data samples within the ε-tube which will not be penalized, parameter C defines the penalty factor for data samples outside the s-tube, and parameter determines the sensitivity of error zone and thus influences the number of selected support vectors.


After the SVR machine learning model is trained, an initial QP prediction function, H, may be formulated with the support vector, SV, corresponding support vector coefficients, SVCoef, and the bias parameter, b, which are obtained from the achieved optimal hyperplane, wherein:





Pred_IQP=H(SV,SVCoef,ϕ(x),b)  (7)


where x is an input feature vector extracted from and Pred_IQP is an initial QP predicted for an input video, respectively.


In some embodiments, the prediction errors can be further minimized by tuning learning parameters {g, c} of the machine learning model by grid search, wherein g corresponds to kernel hyperparameter γ in RBF kernel function and c corresponds to cost parameter C in ε-SVR, respectively. FIGS. 6A-6C depict results of learning parameter grid search for prediction error (RMSE) minimization using different feature sets. Three different sample data sets denoted as FS1, FS2 and FS3, respectively, are tested. The feature set FS1 consists of target bits per pixel for remaining frames, Tbpp, only; FS2 consists of sum of the absolute transformed difference, SATD, only and FS3 consists of both Tbpp and SATD.



FIG. 7 shows a table comparing the training and testing results for the machine learning model trained for initial QP prediction with the criterion of maximizing prediction accuracy based on the three different feature sets FS1, FS2 and FS3, respectively. The fitting accuracy is measured by correlation coefficients, R2, whereas the prediction errors are measured by root MSE (RMSE) of regression results with rounding of QP, denoted as RMSE_wr.


It can be seen in the table of FIG. 7 that R2 achieves 0.8947, 0.0140 and 0.6904 for FS1, FS2 and FS3, respectively. RMSE_wr are 3.8005, 5.7381 and 4.4701 for FS1, FS2 and FS3, respectively. The scheme FS1 using only target bit per pixel of remaining frames provides the minimal prediction error. The scheme FS2 using only the simple SATD cannot give an effective initial QP prediction, and FS3 cannot give a more accurate prediction than FS1. Therefore, by using the machine learning scheme based on feature vectors extracted from target bpp of remaining frames, initial QP prediction error can be narrowed from the wide available QP range of 0˜51 to a much smaller range.


In another embodiment according to the present invention, a method for predicting an initial quantization parameter (QP) for rate control in coding a video having one or more intra periods is provided. The method comprises: receiving an input video; extracting one or more feature vectors from each of the intra periods of the input video; feeding the feature vector extracted from the first intra period into a machine learning model; predicting an initial QP for the first intra period using the machine learning model; and determining initial QP for each of following intra periods with a clipping model.


The feature vector extraction comprises: setting a target bit rate for coding the test video; determining an initial target bit per pixel, Tbpp0, for an intra frame for each of the intra periods; determining target bits per pixel, Tbpp, for remaining frames for each of the intra periods; and extracting feature vector from the determined target bits per pixel, Tbpp, for remaining frames for each of the intra periods.


Similarly, the initial target bit per pixel, Tbpp0, is calculated by Equation (1) with TBR being the target bit rate, FR being the frame rate and FP being the number of pixels in a frame of the input video, respectively.


Similarly, the target bits per pixel for remaining frames, Tbpp, are determined by Equation (2), with AFN being the total number of frames, CFN being the number of coded frames and Ri being the consumed bits of the i-th frame of the input video, respectively.


The clipping range for the clipping model is denoted as [min_IQP, max_IQP] and defined by:









min_IQP
=

{






Prev_IQP
-
deltaQP

,


if





Tbpp

>

Tbpp
0








Prev_IQP
,
otherwise




,






(
8
)





and










max_IQP
=

{





Prev_IQP
,


if





Tbpp

>

Tbpp
0









Prev_IQP
+
deltaQP

,
otherwise




,






(
9
)







respectively.


where Prev_IQP is the previous initial QP predicted by the machine learning model for the intra frame at the previous intra period, deltaQP is the clipping value, Tbpp0 and Tbpp are the initial target bit per pixel of the intra frame and the target bit per pixel of the remaining inter frames in a following intra period respectively.


If the clipping parameter, deltaQP, is too large, it will make the predicted initial QP choose a possible large value which achieves good R-D performance by sacrificing quality smoothness. If the clipping parameter, deltaQP, is too small, it will make the learning algorithm fail to work, since the allowable range for initial QP is very limited. Preferably, the clipping parameter, deltaQP, may be set to 2 or 3.


The clipping model may also be defined by:









Pred_IQP
=

{






Prev_IQP
-
deltaQP

,


if





Tbpp

>


η
1



Tbpp
0










Prev_IQP
+
deltaQP

,


if





Tbpp

<


η
2



Tbpp
0







,






(
10
)







where η1 and η2 are parameters for bit consumption tuning.


With the clipping model (10), if the target bit per pixel of the remaining inter frames in the current intra period is significantly lower than the initial target bit per pixel, Tbpp0, the current Pred_IQP should be increased to slow down the bit consumption, and vice versa. The deltaQP is used for the abnormal cases on the real-time available bandwidth, which is a compulsory setting for fast QP adaptation. To measure the significant changes on the target bit per pixel of the remaining inter frames in the current intra period, Tbpp, we may set the η1 and η2 parameters as 1.5 and 0.5, respectively.


As the initial QP predicted in the previous intra frame is utilized for effective initial QP clipping and the target bit per pixel of the remaining inter frames, which depends on the available bandwidth, is real-time updated, the aforesaid clipping model can help fast QP adaption and smooth quality.


The method and system for predicting initial QP for rate control in video coding may be implemented in apparatus such as high definition televisions, mobile or personal computing devices (e.g. “tablet” computer, laptop computer, and personal computer), kiosks, printers, digital cameras, scanners or photocopiers or user terminals having built-in or peripheral electronic displays. The apparatus comprises at least machine instructions for performing the algorithms; wherein the machine instructions can be executed using general purpose or specialized computing devices, computer processors, or electronic circuitries including, but not limited to, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), and other programmable logic devices. The apparatus may also comprise computer storage media having computer instructions or software codes stored therein which can be used to program computers or microprocessors to perform any of the processes of the present invention. The storage media can include, but are not limited to, floppy disks, optical discs, Blu-ray Disc, DVD, CD-ROMs, and magneto-optical disks, ROMs, RAMs, flash memory devices, or any type of media or devices suitable for storing instructions, codes, and/or data.


The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Various of the above-disclosed and other features and functions, or alternatives thereof, may be combined into many other different systems or applications. Various presently unforeseen or unanticipated alternatives, modifications, variations or improvements therein may be subsequently made by those skilled in the art, each of which is also intended to be encompassed by the disclosed embodiments.

Claims
  • 1. A method for predicting an initial quantization parameter (QP) for rate control in video coding, comprising: receiving an input video;extracting one or more feature vectors from the input video;feeding the extracted feature vector into a machine learning model; andpredicting one or more initial QPs using the machine learning model.
  • 2. A method according to claim 1, wherein the feature vector extraction comprises: determining an initial target bit per pixel, Tbpp0, for an initial frame in the input video;determining target bits per pixel for remaining frames, Tbpp, in the input video; andextracting a feature vector from the determined target bits per pixel for remaining frames, Tbpp, of the input video.
  • 3. A method according to claim 2, wherein the initial target bit per pixel, Tbpp0, is determined by:
  • 4. A method according to claim 3, wherein the target bits per pixel for remaining frames, Tbpp, is determined by:
  • 5. A method according to claim 1, wherein the machine learning model is trained by: receiving a test video;extracting sample data from the test video;selecting an optimal initial QP from a plurality of initial QP on the basis of a criterion of performance optimization;inputting the extracted sample data and corresponding selected optimal initial QP into the machine learning model; andtraining the machine learning model to obtain a prediction function for initial QP.
  • 6. A method according to claim 5, wherein the sample data extraction comprises: setting a target bit rate for coding the test video;determining an initial target bit per pixel, Tbpp0, for an initial frame in the test video;determining target bits per pixel, Tbpp, for remaining frames in the test video; andextracting sample data from the determined target bits per pixel, Tbpp, for remaining frames.
  • 7. A method according to claim 6, wherein the initial target bit per pixel, Tbpp0, is determined by:
  • 8. A method according to claim 7, wherein the target bits per pixel for remaining frames, Tbpp, is determined by:
  • 9. A method according to claim 5, wherein the optimal initial QP selection comprises: coding the test video with one or more coding schemes having different initial QP values;calculating a rate-distortion (R-D) performance score, RDSi, for each of the coding schemes; andselecting the optimal initial QP value which corresponds to the coding scheme achieving the highest R-D performance score.
  • 10. A method according to claim 9, wherein the rate-distortion (R-D) performance score, RDSi, for an i-th initial QP coding scheme is determined by:
  • 11. A method according to claim 1, wherein the machine learning model is a support vector regression (SVR) and the training the machine learning model comprises: adopting a radial basis function (RBF) based kernel trick to produce a hyperplane defined by: f(x)=ωTϕ(x)+b
  • 12. A method according to claim 11, wherein the prediction errors of the machine learning model are further minimized by tuning learning parameters {g, c} of the machine learning model by grid search, wherein g corresponds to kernel hyperparameter γ in the RBF kernel function and c corresponds to a cost parameter, respectively.
  • 13. A method according to claim 1, wherein the input video comprises one or more of intra periods;the initial QP for an initial intra frame of the first intra period is predicted using the machine learning model;the initial QP for intra frames in each of following intra periods, Pred_IQP, are predicted using the machine learning model and then determined with a clipping function; wherein the clipping function has a clipping range denoted as [min_IQP, max_IQP] and defined by:
  • 14. A method according to claim 13, wherein the clipping parameter, deltaQP, is set to 2 or 3.