计算机科学 ›› 2017, Vol. 44 ›› Issue (2): 129-134.doi: 10.11896/j.issn.1002-137X.2017.02.019

• 网络与通信 • 上一篇    下一篇

一种基于HTTP自适应流的混合码率自适应算法

熊丽荣,雷静之,金鑫   

  1. 浙江工业大学计算机科学与技术学院 杭州310023,浙江工业大学计算机科学与技术学院 杭州310023,浙江工业大学计算机科学与技术学院 杭州310023
  • 出版日期:2018-11-13 发布日期:2018-11-13
  • 基金资助:
    本文受浙江省重大科技专项重大工业项目(2012C11026-2)资助

Hybrid Rate Adaptation Algorithm for Adaptive HTTP Streaming

XIONG Li-rong, LEI Jing-zhi and JIN Xin   

  • Online:2018-11-13 Published:2018-11-13

摘要: 码率自适应算法是HTTP自适应流技术的热点和难点。提出一种综合网络带宽和缓存两个因素的终端码率自适应算法(Combined with Bandwidth and Buffer,CBB)。该算法采用“探测”的机制在应用层上估算网络实时带宽,避免视频码率频繁切换;然后构建随缓存状态动态变化的平滑因子模型,并基于指数加权移动平均(EWMA)实现带宽的平滑处理;利用推动缓存趋近均衡级别变化的调度策略,尽可能使缓存区的数据量处于均衡的范围。整个算法经带宽估算、平滑处理、量化及确定调度时间构成一个循环作用的闭环。在使用MPEG-DASH标准的参考平台libdash上验证该算法的性能,结果表明,在变化的网络状况中所提算法表现良好。

关键词: HTTP自适应流,码率控制,网络带宽,缓存状态,MPEG-DASH

Abstract: The rate-adaptation algorithm is the hotspot and difficulty in adaptive HTTP streaming(AHS).In this paper,we proposed a hybrid rate-adaptation algorithm (Combined with Bandwidth and Buffer,CBB) for adaptive HTTP streaming.It is designed at the application layer using a “probe” principle to estimate the real-time bandwidth and avoid frequent switching of video rate.Then an exponential weighted moving average smoother (EWMA) is applied in bandwidth smoothing procedure.The smoothing factor can vary with the client buffer status to reduce buffer overflows.The schedule strategy is designed to keep buffer level in a balanced range as far as possible.The whole algorithm includes estimating,smoothing,quantizing and scheduling.These four steps proceed to form a circular closed-loop.The algorithm has been verified on the MPEG-DASH standard reference platform-libdash,and the experiments show that our algorithm performs well under varying network conditions.

Key words: AHS,Rate control,Network bandwidth,Buffer state,MPEG-DASH

[1] ZHU X C,SHEN S B.Survey of dynamic adaptive streamingover HTTP(DASH)[J].Journal of System Simulation,2013,25(11):2522-2527,2533.(in Chinese) 朱晓晨,沈苏彬.基于HTTP的动态自适应流技术综述[J].系统仿真学报,2013,25(11):2522-2527,2533.
[2] BEGEN A C,AKGUL T,BAUGHER M.Watching video over the web:Part 1:Streaming Protocols[J].IEEE Internet Computing,2011,15(2):54-63.
[3] BEGEN A C,AKGUL T,BAUGHER M.Watching video over the web:Part 2:Applications,standardization,and open issues[J].IEEE Internet Computing,2011,15(3):59-63.
[4] CHEN L W,LI G P,TENG G W,et al.Adaptive hybrid rate control algorithm based on HTTP streaming[J].Journal of Shanghai University (Natural Science),2014,20(3):313-320.(in Chinese) 陈立伟,李国平,滕国伟,等.基于HTTP流化的自适应码率混合控制算法[J].上海大学学报(自然科学版),2014,20(3):313-320.
[5] LIU C,BOUAZIZI I,GABBOUJ M.Rate adaptation for adaptive HTTP streaming[C]∥Proceedings of the Second Annual ACM Conference on Multimedia Systems.New York:ACM,2011:169-174.
[6] THANG T C,HO Q D,KANG J W,et al.Adaptive streaming of audiovisual content using MPEG DASH[J].IEEE Transactions on Consumer Electronics,2012,58(1):78-85.
[7] MUELLER C,LEDERER S,TIMMERER C.An evaluation ofdynamic adaptive streaming over HTTP in vehicular environments[C]∥Proceedings of the 4th Workshop on Mobile Video.New York:ACM,2012:37-42.
[8] LE H T,NGUYEN D V,NGOC N P,et al.Buffer-based bitrate adaptation for adaptive HTTP streaming[C]∥2013 InternationalConference on Advanced Technologies for Communications.Washington:IEEE,2013:33-38.
[9] YOU X Q.DASH scheduling algorithm based on a penalty factor[J].Modern Electronics Technique,2014,37(16):45-48.(in Chinese) 尤小泉.一种基于罚因子的DASH调度算法[J].现代电子技术,2014,37(16):45-48.
[10] ZHU X C.Research on technology of network video transportover HTTP and its applications[D].Nanjing:Nanjing University of Posts and Telecommunications,2013.(in Chinese) 朱晓晨.基于HTTP的网络视频传送技术及其应用研究[D].南京:南京邮电大学,2013.
[11] HESSES S.Design of scheduling and rate-adaptation algorithmsfor adaptive HTTP streaming[C]∥Applications of Digital Ima-ge ProcessingXXXVI.San Diego:SPIE,2013:88560M-88560M-8.
[12] POZUECO L,PAEDA X G,GARC A R,et al.Adaptation engine for a streaming service based on MPEG-DASH[J].Multimedia Tools and Applications,2014,74(18):1-20.
[13] Apple Corporation.HTTP Live Streaming Overview[EB/OL].[2014-02-11].https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGui-de/Introduction/Introduction.html.
[14] Microsoft Corporation.Smooth Streaming protocol[EB/OL].
[15] Adobe.HTTP Dynamic Streaming on the Adobe Flash Platform[EB/OL].https://bugbase.adobe.com/index.cfm?event=file.view&id=2943064&seqNum=6&name=httpdynamicstreaming_wp_ue.pdf.
[16] Dynamic Adaptive Streaming over HTTP[EB/OL].https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP.
[17] STOCKHAMMER T.Dynamic adaptive streaming over HTTP:standards and design principles[C]∥Proceedings of the Second Annual ACM Conference on Multimedia Systems.New York:ACM,2011:133-144.
[18] THANG T C,LE H T, PHAM A T,et al.An evaluation of bitra-te adaptation methods for HTTP live streaming[J].IEEE Journal on Selected Areas in Communications,2014,32(32):693-705.
[19] LIU C,BOUAZIZI I,HANNUKSELA M M,et al.Rate adaptation for dynamic adaptive streaming over HTTP in content distribution network[J].Signal Processing:Image Communication,2012,27(4):288-311.
[20] ROMERO L R.A dynamic adaptive HTTP streaming videoservice for Google Android[C]∥Communication Systems Cos.2011:33-51.
[21] LIN Rui.The design and implementation of multi-rate adaptive streaming transmission system based on server-driven[D].Nanjing:Nanjing University of Posts and Telecommunications,2013.(in Chinese) 林锐.基于服务器驱动的多码率自适应流媒体传输系统的设计与实现[D].南京:南京邮电大学,2012.
[22] LI Z,ZHU X,GAHM J,et al.Probe and adapt:Rate adaptation for http video streaming at scale[J].IEEE Journal on Selected Areas in Communications,2014,32(4):719-733.
[23] JIANG J,SEKAR V,ZHANG H.Improving fairness,efficiency,and stability in http-based adaptive video streaming with festive[C]∥Proceedings of the 8th International Conference on Emerging Networking Experiments and Technologies.New York:ACM,2012:97-108.
[24] MUELLER C,LEDERER S,POECHER J,et al.Demo paper:Libdash-an open source software library for the mpeg-dash standard[C]∥2013 IEEE International Conference on Multimedia and Expo Workshops.Washington:IEEE,2013:1-2.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!