Please wait a minute...
J4  2012, Vol. 46 Issue (12): 2146-2154    DOI: 10.3785/j.issn.1008-973X.2012.12.003
计算机技术﹑电信技术     
自适应网络带宽的H.264视频流传输控制方法
刘高平1, 宋执环2
1. 浙江万里学院 电子工程研究所,浙江 宁波 315100;2. 浙江大学 控制科学与工程学系,浙江 杭州 310027
Adaptive network bandwidth control method for
 H.264 video stream transmission
LIU Gao-ping1, SONG Zhi-huan2
1. Institute of Electronic Engineering, Zhejiang Wanli University, Ningbo 315100, China;
2. Department of Control Science and Engineering, Zhejiang University, Hangzhou 310027, China
 全文: PDF 
摘要:

根据H.264视频流编码格式与视频传输实时性,提出一种基于传输控制协议(TCP)的双缓冲与双线程视频实时传输控制方法.考虑到实际情况下视频码率调整不能完全与网络带宽变化相同,重点阐述了处理视频传输过程中视频丢帧、视频码率上调与下调的三个主要控制策略:为了避免传输过程中视频“碎帧”出现,控制方法中设置一个帧地址数组实现视频数据按帧传输与丢弃;为了确保视频码率调整的正确性,控制方法采用时间为参数的线性加权累加方法来判断视频数据积累的变化趋势.给出了控制方法的具体步骤与测试情况,并与传统方法进行了比较.比较与测试结果表明:该控制方法能保证视频码率随网络带宽波动或在可变码率下随视频场景变化而自适应调整,可有效地应用于动态带宽网络环境下的实时视频监视.

关键词: H.264实时传输视频码率网络带宽视频丢帧    
Abstract:

A real-time video transmission control method using double buffers and double operation threads based on transmission control protocol (TCP) is proposed according to the characteristics of H.264 video stream encoding and real-time video stream transmission. Considering the video bit rate adjustment can not be same completely with network bandwidth variation in actual fact, three key control strategies, which are video frames discarding, video bitrate increase and decrease, were elaborated. In these control strategies, a frame address array is set up to achieve video data transmission and discarding according to the frame unit in the control method in order to avoid the emergence of “broken frame”. At the same time, a linear weighted summation method is used to judge the change trend of the accumulated video data in the control method in order to ensure the correctness of the video bitrate adjustment. The specific procedures, test cases and comparison with exiting traditional methods were given at last. The test result and the comparison show that the proposed control method can ensure the video bitrate adaptive adjustment according to the network bandwidth fluctuation or video scene change under variable bit control, utilize network variable bandwidth in the greatest extent for transmitting video to receiver by realtime and play back smoothly in receiver accordingly, and can be applied effectively to real-time video surveillance under the circumstances of variable bandwidth network.

Key words:  H.264    real-time transmission    video bitrate    network bandwidth    discard
出版日期: 2013-01-08
:  TN 919.85  
基金资助:

浙江省省级重点科技创新团队项目(2012R10009-06);浙江省公益性技术应用研究计划资助项目(2011C21035);浙江大学工业控制技术国家重点实验室开放课题基金资助项目(ICT1004).

通讯作者: 宋执环,男,教授,博导.     E-mail: zhsong@iipc.zju.edu.cn
作者简介: 刘高平(1964—),男,教授,从事图像处理与传输的研究工作. E-mail: 0574119@163.com
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章  

引用本文:

刘高平, 宋执环. 自适应网络带宽的H.264视频流传输控制方法[J]. J4, 2012, 46(12): 2146-2154.

LIU Gao-ping, SONG Zhi-huan. Adaptive network bandwidth control method for
 H.264 video stream transmission. J4, 2012, 46(12): 2146-2154.

链接本文:

http://www.zjujournals.com/xueshu/eng/CN/10.3785/j.issn.1008-973X.2012.12.003        http://www.zjujournals.com/xueshu/eng/CN/Y2012/V46/I12/2146

[1] 毕厚杰.新一代视频压缩编码标准—H.264/AVC[M].北京:人民邮电出版社,2005.
[2] WENGER S, WANG Y, HANNUKSELA M. RTP payload format for H.264/SVC scalable video coding[J]. Journal of Zhejiang University SCIENCE A, 2006,7 (5): 657667.[3] FERNANDO B S, JUAN C G C, JAIME L M. An RTP/RTCP based approach for multimedia group and interstream synchronization[J]. Multimedia Tools and Applications, 2008,40(2): 285-319.
[4] SCHULZRINNE H, CASNER S. RTP: A transport protocol for realtime applications[EB/OL]. [2011-01-05]. http:∥www.ietf.org/rfc/rfc1889.txt.
[5] SIWEI M, WEN G, YAN L. Ratedistortion analysis for H.264/AVC video coding and its application to rate control[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2005,15(12):1533-1544.
[6]  VISWESH P, SUDHEENDRA M, ARUNABHA S, et al. An adaptive slice group multiple description coding technique for realtime video transmission over wireless networks[C]∥ Proceedings of IEEE International Conference on Military Communications. \
[S.l.\]: IEEE, 2007: 1-7.
[7] 凌波,方健,顾伟康,等.低码率下增强目标区域质量的视频会议系统[J].浙江大学学报:工学版,2009,43(4): 697-704.
LING Bo, FANG Jian, GU Weikang, et al. Video conference system for enhancing quality of target region under low bit rate[J]. Journal of Zhejiang University: Engineering Science,2009,43(4): 697-704.
[8] 熊永华.基于TCP的实时流媒体自适应传输策略及其应用研究[D].长沙:中南大学, 2009.
XIONG YongHua. Study and application of rate adaptive realtime multimedia streaming transmission scheme over TCP[D]. Changsha: Central South University, 2009.
[9] CHAN K F, H W J, LIN C P. Priority early frame discard algorithm for TCPbased video streaming[J]. Communication and Networking International Conference, 2009,56: 25-32.
[10] DRAFT ITUT recommendation and final draft international standard of joint video specification (ITUT Rec. H.264/ISO/IEC 1449610 AVC) [S]. Geneva, Switzerland: Joint Video Team of ISO/IEC MPEG and ITUT VCEG. JVTG050, 2003.
[11] Texas Instruments Incorporated. TMS320DM6467 Digital media system-on-chip data manual (Rev. G) [EB/OL]. [20101115]. http:∥focus.ti.com/docs/prod/folders/print/ tms320dm6467.html.

[1] 蒋炜, 田翔, 陈耀武. H.264到HEVC的低复杂度视频转码算法[J]. 浙江大学学报(工学版), 2014, 48(6): 994-003.
[2] 杜娟,丁丹丹,虞露. 基于FPGA的可重构视频编码器设计[J]. J4, 2012, 46(5): 905-911.
[3] 马德,黄凯,陈华锋,余慜,严晓浪. H.264去块效应滤波器的混合递增滤波流水线设计[J]. J4, 2011, 45(7): 1206-1214.
[4] 李春澍,黄凯,修思文,马德,葛海通,严晓浪. H.264/AVC子像素插值的高性能流水线设计及实现[J]. J4, 2011, 45(7): 1187-1193.
[5] 刘云海 林宇. 基于运动复杂度的码率控制算法研究[J]. , 2009, 43(4): 710-715+742.
[6] 戴郁 李东晓 郑伟 骆凯 张明. 运动补偿的高效插值结构设计[J]. J4, 2009, 43(2): 255-260.
[7] 石冰 郑伟 李东晓 张明. 高性能通用H.264/AVC变换编码的硬件结构设计[J]. J4, 2008, 42(6): 933-938.
[8] 莫林剑 卜佳俊 陈纯 杨智. H.264中基于预测的快速模式决策算法[J]. J4, 2008, 42(4): 612-617.
[9] 李德贤 秦兴 严晓浪 彭剑英. 基于ASIP平台的H.264环内去块效应滤波器实现[J]. J4, 2008, 42(4): 608-611.
[10] 方健 张丁 徐红 王匡. 针对H.264去块滤波的实用结构设计[J]. J4, 2008, 42(3): 460-465.
[11] 范佑 刘鹏. H.264中整像素和分数像素快速搜索算法[J]. J4, 2008, 42(2): 332-336.
[12] 李东晓 郑伟 张明. 访存带宽最小化的H.264整像素运动估计VLSI结构[J]. J4, 2007, 41(8): 1341-1347.
[13] 陈梅丽 刘鹏 姚庆栋.  面向H.264/AVC的宏块级码率控制算法[J]. J4, 2007, 41(6): 925-929.
[14] 方健 郑伟 王匡. ATETS: 针对H.264的自适应提前终止搜索算法[J]. J4, 2007, 41(4): 607-611.
[15] 张丁 张明 张瑾 郑伟. 一种新的自适应变长码编码算法[J]. J4, 2006, 40(5): 783-786.