首页 | 本学科首页   官方微博 | 高级检索  
     

基于窄变带宽的实时视频传输算法
引用本文:刘高平,李国胜,宋执环.基于窄变带宽的实时视频传输算法[J].光电子.激光,2012(3):547-553.
作者姓名:刘高平  李国胜  宋执环
作者单位:浙江万里学院电子工程研究所;浙江万里学院电子工程研究所;浙江大学控制科学与工程学系
基金项目:浙江省科技计划项目(2011C21035,2010R50009);工业控制技术国家重点实验室开放课题(ICT1004)资助项目
摘    要:根据视频流与实时监视应用的特点,提出一种基于TCP协议的动态双缓冲与双线程视频实时传输算法。在发送方设置视频数据缓存与数据发送缓存,并分别由视频数据输入线程与视频数据发送线程负责管理;视频数据输入线程根据预设的最大等待发送时间与实时计算的网络传输速率,动态调节缓存的大小以及在网络拥塞时有选择性地丢弃视频帧;视频数据发送线程实现视频数据发送与按帧从视频数据缓存获取数据,并实时计算出网络数据传输速率。实验结果表明,本算法能最大限度地利用动态变化的网络带宽,保证视频实时发送至接收方与平稳播放,可有效地应用于窄变带宽网络环境下实时视频监视。

关 键 词:视频  实时传输  窄变带宽  丢帧

Real-time video transmission algorithm based on narrow and variable bandwidth
LIU Gao-ping,LI Guo-sheng and SONG Zhi-huan.Real-time video transmission algorithm based on narrow and variable bandwidth[J].Journal of Optoelectronics·laser,2012(3):547-553.
Authors:LIU Gao-ping  LI Guo-sheng and SONG Zhi-huan
Affiliation:Electronic Engineering Institute,Zhejiang Wanli University,Ningbo 315100,China;Electronic Engineering Institute,Zhejiang Wanli University,Ningbo 315100,China;Department of Control Science and Engineering,Zhejiang University,Hangzhou 310027,China
Abstract:A real-time video transmission algorithm using double dynamic buffers and double operation threads based on TCP protocol is proposed according to the characteristics of video stream and real-time surveillance applications.One video data buffer and one data sending buffer,which are managed respectively by one video data storing thread and one data sending thread,are set up in the transmitter.The video data storing thread dynamically adjusts the video data buffer size and discards some video frames selectively during network congestion according to the maximal time waiting for sending and the network data transmission speed calculated actually in the data sending thread.The data sending thread sends video data to receiver and obtains video data one frame by one frame from the video data buffer,and calculates the network real-time data transmission speed.The experiment in simulated environment is given at last.The results show that the proposed algorithm is able to utilize network variable bandwidth in the greatest extent for transmitting video to receiver by real-time and ensures to play back smoothly in receiver,and can be applied effectively for real-time video surveillance in narrow and variable bandwidth networks.
Keywords:video  real-time transmission  narrow and variable bandwidth  discard video frames
本文献已被 CNKI 等数据库收录!
点击此处可从《光电子.激光》浏览原始摘要信息
点击此处可从《光电子.激光》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号