|
|
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 |
|
|
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 realtime and play back smoothly in receiver accordingly, and can be applied effectively to real-time video surveillance under the circumstances of variable bandwidth network.
|
Published: 01 December 2012
|
|
自适应网络带宽的H.264视频流传输控制方法
根据H.264视频流编码格式与视频传输实时性,提出一种基于传输控制协议(TCP)的双缓冲与双线程视频实时传输控制方法.考虑到实际情况下视频码率调整不能完全与网络带宽变化相同,重点阐述了处理视频传输过程中视频丢帧、视频码率上调与下调的三个主要控制策略:为了避免传输过程中视频“碎帧”出现,控制方法中设置一个帧地址数组实现视频数据按帧传输与丢弃;为了确保视频码率调整的正确性,控制方法采用时间为参数的线性加权累加方法来判断视频数据积累的变化趋势.给出了控制方法的具体步骤与测试情况,并与传统方法进行了比较.比较与测试结果表明:该控制方法能保证视频码率随网络带宽波动或在可变码率下随视频场景变化而自适应调整,可有效地应用于动态带宽网络环境下的实时视频监视.
|
|
[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 interstream synchronization[J]. Multimedia Tools and Applications, 2008,40(2): 285-319.
[4] SCHULZRINNE H, CASNER S. RTP: A transport protocol for realtime applications[EB/OL]. [2011-01-05]. http:∥www.ietf.org/rfc/rfc1889.txt.
[5] SIWEI M, WEN G, YAN L. Ratedistortion 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 realtime 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 Weikang, 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 YongHua. Study and application of rate adaptive realtime 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 TCPbased video streaming[J]. Communication and Networking International Conference, 2009,56: 25-32.
[10] DRAFT ITUT recommendation and final draft international standard of joint video specification (ITUT Rec. H.264/ISO/IEC 1449610 AVC) [S]. Geneva, Switzerland: Joint Video Team of ISO/IEC MPEG and ITUT VCEG. JVTG050, 2003.
[11] Texas Instruments Incorporated. TMS320DM6467 Digital media system-on-chip data manual (Rev. G) [EB/OL]. [20101115]. http:∥focus.ti.com/docs/prod/folders/print/ tms320dm6467.html. |
|
Viewed |
|
|
|
Full text
|
|
|
|
|
Abstract
|
|
|
|
|
Cited |
|
|
|
|
|
Shared |
|
|
|
|
|
Discussed |
|
|
|
|