计算机科学 ›› 2019, Vol. 46 ›› Issue (3): 142-147.doi: 10.11896/j.issn.1002-137X.2019.03.021

• 2018 中国多媒体大会 • 上一篇    下一篇

一种改进的R-λ模型码率控制算法

郭红伟1,2,骆洪军1,刘帅1,牛林1,杨波1   

  1. (红河学院工学院 云南 蒙自 661100)1
    (电子科技大学信息与通信工程学院 成都 611731)2
  • 收稿日期:2018-07-06 修回日期:2018-09-30 出版日期:2019-03-15 发布日期:2019-03-22
  • 通讯作者: 刘帅(1979-),男,博士,教授,主要研究方向为信号处理、三维建模,E-mail:liushuai_csu@126.com(通信作者)
  • 作者简介:郭红伟(1980-),男,博士生,副教授,CCF高级会员,主要研究方向为视频编码与通信、图像处理;骆洪军(1981-),男,硕士,讲师,主要研究方向为视频编码与通信;牛林(1967-),女,硕士,教授,主要研究方向为信号处理;杨波(1977-),男,硕士,副教授,主要研究方向为视频编码。
  • 基金资助:
    国家自然科学基金(41761079,61463013),云南省教育厅科学研究基金(2018JS475)资助。

Improved R-λ Model Based Rate Control Algorithm

GUO Hong-wei1,2,LUO Hong-jun1,LIU Shuai1,NIU Lin1,YANG Bo1   

  1. (School of Engineering,Honghe University,Mengzi,Yunnan 661100,China)1
    (School of Information and Communication Engineering,University of Electronic Science and Technology of China,Chengdu 611731,China)2
  • Received:2018-07-06 Revised:2018-09-30 Online:2019-03-15 Published:2019-03-22

摘要: 码率控制是视频编码系统中的重要模块,用于控制编码器输出特定目标的码率,并使编码视频失真最小。R-λ模型码率控制方法是新一代视频编码标准HEVC中推荐的码率控制算法,其主要包括固定比例比特分配和自适应比率比特分配两种码率控制策略。为了提高R-λ模型码率控制算法的码率控制精度和率失真性能,文中提出了相应的算法改进。首先,根据图像组的编码结构设计了精确的率失真模型参数更新方法;其次,根据率失真依赖关系改进了图像组层的比特分配策略;最后,提出动态的图像组层拉格朗日乘子和编码帧比特权重计算方法。实验结果显示,所提方法在低延迟P帧和B帧配置下,码率相对误差仅为0.006%和0.005%,相比自适应比率比特分配码率控制策略,改进方法的率失真性能提高了1.2%和1.3%。

关键词: HEVC, R-λ模型, 比特分配, 码率控制, 视频编码

Abstract: Rate control is an important module in video coding systems,which makes an encoder output specific bit rates,and minimizes the distortion of encoded videos.The R-λ model based rate control is recommended in high efficiency video coding (HEVC) international video coding standard,which mainly includes two schemes,i.e.,the fixed ratio bit allocation and the adaptive ratio bit allocation.In order to improve both the accuracy of rate control and the rate-distortion (R-D) performance,this paper proposed an improved R-λ model based rate control algorithm.Firstly,an accurate R-D model update method is designed according to the coding structure of group of picture (GOP).Secondly,the GOP-level bit allocation scheme is improved according to the relationship of R-D dependency.Finally,the calculation formulas of the dynamic Lagrange multiplier at GOP-level and the dynamic bit weight for the frame to be encoded are proposed.Experimental results demonstrate that the bit rate relative errors of the proposed method are only about 0.006% and 0.005%,and achieves average 1.2% and 1.3% R-D performance gains compared with the adaptive ratio bit allocation scheme under the low delay configuration of P and B frames,respectively.

Key words: Bit allocation, HEVC, Rate control, R-λ model, Video coding

中图分类号: 

  • TN919.8
[1]GUO H W,ZHU C,ZHOU Y M.Recent advances on rate control for HEVC[J].Journal of Chongqing University of Posts and Telecommunications(Natural Science Edition),2018,30(2):199-209.(in Chinese)
郭红伟,朱策,周益民.HEVC码率控制技术的研究进展[J].重庆邮电大学学报(自然科学版),2018,30(2):199-209.
[2]SULLIVAN G J,OHM J R,HAN W J,et al.Overview of the High Efficiency Video Coding (HEVC) Standard [J].IEEE Transactions on Circuits and Systems for Video Technology,2012,22(12):1649-1668.
[3]CHOI H,YOO J,NAM J,et al.Pixel-Wise Unified Rate-
Quantization Model for Multi-Level Rate Control [J].IEEE Journal of Selected Topics in Signal Processing,2013,7(6):1112-1123.
[4]LI B,LI H Q,LI L,et al.λ Domain Rate Control Algorithm for High Efficiency Video Coding [J].IEEE Transactions on Image Processing,2014,23(9):3841-3854.
[5]ZUPANCIC I,NACCARI M,MRAK M,et al.Two-Pass Rate Control for Improved Quality of Experience in UHDTV Delivery[J].IEEE Journal of Selected Topics in Signal Processing,2017,11(1):167-179.
[6]WEN J T,FANG M Y,TANG M H,et al.R-lambda Model
Based Improved Rate Control for HEVC with Pre-Encoding [C]∥Data Compression Conference (DCC).Snowbird,UT,USA,2015:53-62.
[7]WANG M H,NGAN K N,LI H L.An Efficient Frame-Content Based Intra Frame Rate Control for High Efficiency Video Co-ding[J].IEEE Signal Processing Letters,2015,22(7):896-900.
[8]WANG M H,NGAN K N,LI H L.Low-Delay Rate Control for Consistent Quality Using Distortion-Based Lagrange Multiplier [J].IEEE Transactions on Image Processing,2016,25(7):2943-2955.
[9]SEO C W,MOON J H,HAN J K.Rate Control for Consistent Objective Quality in High Efficiency Video Coding [J].IEEE Transactions on Image Processing,2013,22(6):2442-2454.
[10]YANG S H,VO P B.Adaptive Bit Allocation for Consistent
Video Quality in Scalable High-Efficiency Video Coding [J].IEEE Transactions on Circuits and Systems for Video Techno-logy,2017,27(7):1555-1567.
[11]LI L,LI B,LI H,et al.λ Domain Optimal Bit Allocation Algorithm for High Efficiency Video Coding [J].IEEE Transactions on Circuits and Systems for Video Technology,2018,28(1):130-142.
[12]KIM I,MCCANN K,SUGIMOTO K,et al.High Efficiency
Video Coding (HEVC) Test Model 11 (HM11) Encoder Description [C]∥Document JCTVC-M1002.Incheon,KR,2013.
[13]LI B,XU J Z,ZHANG D,et al.QP Refinement According to Lagrange Multiplier for High Efficiency Video Coding [C]∥International Symposium on Circuits and Systems (ISCAS).Beijing,China:IEEE,2013:477-480.
[14]LI H Q,LI B,XU J Z.Rate-Distortion Optimized Reference Picture Management for High Efficiency Video Coding [J].IEEE Transactions on Circuits and Systems for Video Technology,2012,22(12):1844-1857.
[15]HUANG T Y,JOHARI R,MCKEOWN N,et al.A Buffer-
Based Approach to Rate Adaptation:Evidence from a Large Video Streaming Service [J].Acm Sigcomm Computer Communication Review,2014,44(4):187-198.
[16]BOSSEN F.Common Test Conditions and Software Reference
Configurations [C]∥Document JCTVC-L1100.Geneva,Swit-zerland,2013.
[17]BJONTEGAARD G.Calculation of average PSNR difference between RDcurves [C]∥Document VCEG-M33.Austin,Texas,USA,2001.
[1] 杨桃雨, 徐媛媛, 谭增洁.
面向6G的全景视频片划分优化编码算法
Tile Partition Optimized Omnidirectional Video Coding for 6G Network
计算机科学, 2022, 49(6): 66-72. https://doi.org/10.11896/jsjkx.220400034
[2] 金华, 朱靖宇, 王昌达.
视频隐私保护技术综述
Review on Video Privacy Protection
计算机科学, 2022, 49(1): 306-313. https://doi.org/10.11896/jsjkx.201200047
[3] 成昭炜, 沈航, 汪悦, 王敏, 白光伟.
基于深度强化学习的无人机辅助弹性视频多播机制
Deep Reinforcement Learning Based UAV Assisted SVC Video Multicast
计算机科学, 2021, 48(9): 271-277. https://doi.org/10.11896/jsjkx.201000078
[4] 徐艺菲, 熊淑华, 孙伟恒, 何小海, 陈洪刚.
基于非局部低秩和自适应量化约束先验的HEVC后处理算法
HEVC Post-processing Algorithm Based on Non-local Low-rank and Adaptive Quantization Constraint Prior
计算机科学, 2021, 48(5): 155-162. https://doi.org/10.11896/jsjkx.200800079
[5] 刘东, 王叶斐, 林建平, 马海川, 杨闰宇.
端到端优化的图像压缩技术进展
Advances in End-to-End Optimized Image Compression Technologies
计算机科学, 2021, 48(3): 1-8. https://doi.org/10.11896/jsjkx.201100134
[6] 吉晓祥, 沈航, 白光伟.
异构无线网络中基于非正交多址的可伸缩视频多播机制
Non-orthogonal Multiple Access Enabled Scalable Video Multicast in HetNets
计算机科学, 2021, 48(11): 356-362. https://doi.org/10.11896/jsjkx.200900080
[7] 蔡于涵,熊淑华,孙伟恒,Karn Pradeep,何小海.
基于运动矢量细化的帧率上变换与HEVC结合的视频压缩算法
Video Compression Algorithm Combining Frame Rate Up-conversion with HEVC Standard Based on Motion Vector Refinement
计算机科学, 2020, 47(2): 76-82. https://doi.org/10.11896/jsjkx.190500092
[8] 何晓艺,段凌宇,林巍峣.
基于深度残差网络的HEVC压缩视频增强
Deep Residual Network Based HEVC Compressed Videos Enhancement
计算机科学, 2019, 46(3): 88-91. https://doi.org/10.11896/j.issn.1002-137X.2019.03.011
[9] 徐婧瑶, 王祖林, 徐迈.
基于深度学习的视频转码快速算法
Deep Learning Based Fast VideoTranscoding Algorithm
计算机科学, 2019, 46(3): 113-118. https://doi.org/10.11896/j.issn.1002-137X.2019.03.016
[10] 朱威, 商明将, 荣意, 冯杰.
基于HEVC压缩域的镜头边界检测方法
Shot Boundary Detection Method Based on HEVC Compressed Domain
计算机科学, 2019, 46(2): 271-278. https://doi.org/10.11896/j.issn.1002-137X.2019.02.042
[11] 朱威, 易瑶, 王图强, 郑雅羽.
一种深度图像帧内编码单元快速划分算法
Fast Coding Unit Partition Algorithm for Depth Maps
计算机科学, 2019, 46(10): 286-294. https://doi.org/10.11896/jsjkx.180701337
[12] 杜秀丽, 胡兴, 陈波, 邱少明.
基于加权非局部相似性的视频压缩感知多假设重构算法
Multi-hypothesis Reconstruction Algorithm of DCVS Based on Weighted Non-local Similarity
计算机科学, 2019, 46(1): 291-296. https://doi.org/10.11896/j.issn.1002-137X.2019.01.045
[13] 熊丽荣, 尤日晶, 金鑫.
基于传感器的移动流媒体码率控制方法
Sensor-based Adaptive Rate Control Method for Mobile Streaming
计算机科学, 2018, 45(10): 124-129. https://doi.org/10.11896/j.issn.1002-137X.2018.10.024
[14] 任云,程福林,黎洪松.
基于频率敏感三维自组织映射的视差估计算法
Disparity Estimation Algorithm Based on Frequency Sensitive Three-dimensional Self-organizing Map
计算机科学, 2017, 44(Z11): 225-227. https://doi.org/10.11896/j.issn.1002-137X.2017.11A.047
[15] 单娜娜,周巍,段哲民.
HEVC中的变换系数熵编码优化算法
Improved Entropy Coding Algorithm for Transform Coefficients in HEVC
计算机科学, 2017, 44(6): 290-293. https://doi.org/10.11896/j.issn.1002-137X.2017.06.051
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!