Abstract
In order to meet the emerging demands of high-fidelity video services, a new video coding standard — High Efficiency Video Coding (HEVC) is developed to improve the compression performance of high definition (HD) videos and save half of the bitrate for the same perceptual video quality compared with H.264/Advanced Video Coding (AVC). Rate control still plays a significant role in HD video data transmission via the communication channel. However, R-lambda model based HEVC rate control algorithm does not take the relationship between the encoding complexity and Human Visual System (HVS) into account, what’s more, the convergence speed of Least Mean Square (LMS) algorithm is slow. In this paper, an adaptive gradient information and Broyden Fletcher Goldfarb Shanno (BFGS) based R-lambda model (GBRL) is proposed for the inter frame rate control, where the gradient based on Sobel operator can effectively measure the frame-content complexity and BFGS algorithm converges speedily than LMS algorithm. Experimental results show that the proposed GBRL method can achieve bitrate error reduction and peak signal to noise ratio (PSNR) improvement especially for the sequences with large motion, compared to the state-of-the-art rate control methods. In addition, if the optimal initial quantization parameter (QP) prediction model based on linear regression can be incorporated into the proposed GBRL method, the performance of rate control can be further improved.
Similar content being viewed by others
References
Cheng X (1997) Convergence of Newton’s Method. Journal of Zhejiang University of Technology 25(3):230–235
Choi H, Nam J, Yoo J, Sim D, and Bajić I (2012) Rate control based on unified RQ model for HEVC. JCT-VCof ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, JCT-VC H0213 (m23088), San José, CA, USA
Gao J, Xue W (2005) Analysis of the convergence rate on Newton iteration method. Journal of Zhengzhou University of Light Industry (Natural Science) 20(4):100–102
Gao W, Kwong S, Yuan H, Wang X (2016) DCT Coefficient Distribution Modeling and Quality Dependency Analysis Based Frame-level Bit Allocation for HEVC. IEEE Transactions on Circuits and Systems for Video Technology:139–153. doi:10.1109/TCSVT.2015.2444671
Jing X, Lap-Pui Chau (2006) A Novel Intra-Rate Estimation Method for H.264 Rate Control. IEEE Int Symp Circuits Syst 5019–5022. doi:10.1109/ISCAS.2006.1693759
Jing X, Chau L-P, Siu W-C (2008) Frame Complexity-Based Rate-Quantization Model for H.264 /AVC Intraframe Rate Control. IEEE Signal Process Lett 15:373–376. doi:10.1109/LSP.2008.920010
Lee B, Kim M (2011) Modeling Rates and Distortions Based on a Mixture of Laplacian Distributions for Inter-Predicted Residues in Quadtree Coding of HEVC. IEEE Signal Process Lett:571–574. doi:10.1109/LSP.2011.2163935
Lee B, Kim M, Nguyen T (2014) A Frame-Level Rate Control Scheme Based on Texture and Nontexture Rate Models for High Efficiency Video Coding. IEEE Transactions on Circuits and Systems for Video Technology:465–479. doi:10.1109/TCSVT.2013.2276880
Li B, Li H, Li L, Zhang J (2014) Lambda Domain Rate Control Algorithm for High Efficiency Video Coding. IEEE Trans Image Process 23(9):3841–3854. doi:10.1109/TIP.2014.2336550
Liang X, Wang Q, Zhou Y, Luo B, and Men A (2013) A novel R-Q model based rate control scheme in HEVC. Vis Commun Image Process 1–6. doi:10.1109/VCIP.2013.6706343
Lin H, He X, Teng Q, Fu W, Xiong S (2016) Adaptive bit allocation scheme for extremely low-delay intraframe rate control in high efficiency video coding. J. Electron. Imaging 25(4). doi:10.1117/1.JEI.25.4.043008
Liu G, Yin H (1994) Analysis on the global convergence of BFGS algorithm. Journal of Qufu Normal University 20(1):1–8
Shi C, Huang D (2012) Research on H.264 Rate Control Algorithm. MS Thesis of Central South University, pp.1–61
Sun H, Liao J (2008) Image Fringe Detection and Realization Based on Sobel Operator. Comput Knowl Technol 1105–1125. doi:10.3969/j.issn.1009-3044.2008.15.054
Wang H, Kwong S (2008) Rate-Distortion Optimization of Rate Control for H.264 With Adaptive Initial Quantization Parameter Determination. IEEE Transactions on Circuits and Systems for Video Technology 18(1):140–144
Wang H, Zhang X (2008) An Improved QP Setting Algorithm of I Frame and Its Application in Scene Change. Journal of Beijing University of Posts and Telecommunications 31(6):99–103
Wu S (2012) The optimal question solution of BFGS and DFP and their realization in matlab. J. Chang. Univ 26(5):1–3
Wu D, Pan F, Lim KP, Wu S, Li ZG, Lin X, Rahardja S, Ko CC (2005) Fast Intermode Decision in H.264 /AVC Video Coding. IEEE Transactions on Circuits and Systems for Video Technology 15(6):953–958. doi:10.1109/TCSVT.2005.848304
Yoon Y, Kim H, Jung S, Jun D, Kim Y, Choi J, Ko S (2012) A New Rate Control Method for Hierarchical Video Coding in HEVC. IEEE international Symposium on Broadband Multimedia Systems and Broadcasting:1–4. doi:10.1109/BMSB.2012.6264268
Zhang Z, Jing T, Han J, Xu Y, Zhang F (2017) A New Rate Control Scheme For Video Coding Based On Region Of Interest. IEEE Early Access Articles:1–1. doi:10.1109/ACCESS.2017.2676125
Acknowledgements
This work was supported by the National Natural Science Foundation of China (Grant No. 61471248), the Science and Technology Program of Sichuan Province (Grant No. 2015JY0189), and the 2014 Graduate education reform and innovation project of Sichuan Department of Education (Grant No. 2014-Edu-034).
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendix 1
1.1 Proof of α and β updating in (20) and (21)
The α old , β old , bpp real and λ real are known variables. According to (6), we have
After the lnoperation
The squared error between the real λ and caculated λ is
Take the derivative of the eq. (30) with respect to α ' and β
Update α ' according to BFGS algorithm
According to (29), we have
Thus,
After Taylor’s expansion and ignore high-order items
It is similar to the updating of β according to BFGS algorithm
(36) and (37) form the model of parameter update together.
Appendix 2
1.1 The specific caculation process of δ armijo
According to (29) and (30), we have
The initial search step size δ InitialArmijo is set to 0.55, related parameter σ is set to 0.4, the loop count m is initialized to 0, and m k is set to 0.
Accordin to (31) and (32), we form the error gradient vector ∇f(x k )
According to the equation \( d=-{B}_k^{-1}\cdot \nabla f\left({x}_k\right) \), we obtain the search direction vector d
According to (33) and (37), we have
According to (B.1), we get the old and new mean square error formulas
The specific caculation steps of δ armijo are as follows:
-
Step 1
Determine whether m is less than 20, if it is, then go to step 2, otherwise, jump to step 4;
-
Step 2
Determine whether \( {e}_{new}^2 \) is less than \( {e}_{old}^2+\sigma \cdot {\delta}_{InitialArmijo}^m\cdot \nabla f{\left({x}_k\right)}^T\cdot d \), if it is, then m k = m, jump to step 4, otherwise, make m = m + 1;
-
Step 3
Jump to step 1;
-
Step 4
\( {\delta}_{armijo}={\delta}_{InitialArmijo}^{m_k} \).
δ armijo in step 4 is the so-called search step size.
Rights and permissions
About this article
Cite this article
Ye, Y., He, X., Teng, Q. et al. Adaptive Gradient Information and BFGS Based Inter Frame Rate Control for High Efficiency Video Coding. Multimed Tools Appl 77, 14557–14577 (2018). https://doi.org/10.1007/s11042-017-5047-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-017-5047-5