摘要: 通用UDP协议传输实时视频时存在延时较长的问题。为此,提出一种基于贝叶斯分类器的自适应视频实时传输方法。在发送图像数据前进行帧内压缩,压缩过程根据网络的实时带宽调整压缩质量因子,进行分组发送。在接收端进行数据包重组并解码,利用贝叶斯准则得出自适应调整的阈值,对使用自适应算法与使用固定因子情况下产生的延时进行比较,分析延时产生的原因。实验结果表明,该方法由于优化了传输数据队列的长度,在不增加网络延时的情况下,局部时间内提高了视频图像的传输质量。
关键词:
贝叶斯分类器,
JPEG算法,
帧内压缩,
自适应算法,
实时传输,
传输延时
Abstract: Using the common UDP protocol to transmit the real-time video,there is a serious problem of a very long delay,especially in the wireless environment.In response to these problems,this paper proposes an adaptive real-time video transmission method based on Bayesian classifier.Before the network sends the packets,the intraframe image data is compressed.The compression process adjusts timely the compression quality factor based on the network’s real-time bandwidth.At the same time,the receiving-end restructures and decodes them.The Bayesian theory gives the adaptive threshold through calculating.This paper compares the transmission delay which uses the adaptive algorithm with that uses fixed factor algorithm,and analyzes the reasons for the delay generated.Results show that,because of the need to optimize data transmission queue length,the adaptive method improves the transmission quality of the video image without increasing the latency of the network.
Key words:
Bayesian classifier,
JPEG algorithm,
intraframe compression,
adaptive algorithm,
real-time transmission,
transmission delay
中图分类号:
杨明华,王云会,谭励,苏维均,王振海. 基于贝叶斯分类器的实时视频优化传输方法[J]. 计算机工程, 2014, 40(12): 251-257.
YANG Minghua,WANG Yunhui,TAN Li,SU Weijun,WANG Zhenhai. Real-time Video Optimization Transmission Method Based on Bayesian Classifier[J]. Computer Engineering, 2014, 40(12): 251-257.