论文部分内容阅读
流媒体应用过程中,网络原因或者服务器缺陷会造成播放启动慢或者画面停顿,甚至出现花屏现象.针对目前使用Wire Shark工具解析数据包截取文件速度慢等缺点,设计了基于Python批量解析UDP数据包的脚本程序,能快速、有效的方式确定流媒体是否有丢包和码率是否平稳,从而快速发现视频异常现象.实践证明,分析100、200、400、600、800 M和1 G的数据包所需时间相比Wireshark软件分别提高49倍、52倍、59倍、85倍和135倍,并且随着数据包的增大,分析时间结果越明显,还可实现批量处理数据包截取文件,用法简单.
Streaming media applications, network causes or server defects will cause slow start playback or picture pause, or even Huaping phenomenon.According to the current use of Wire Shark tool to parse the packet interception of files and other shortcomings, the design of the Python batch-based analysis of UDP packets Scripting program to quickly and efficiently determine whether there is packet loss and streaming rate smoothing in streaming media to quickly detect video anomalies.It has been proved that the analysis of packets of 100, 200, 400, 600, 800 M and 1 G The time required is 49x, 52x, 59x, 85x, and 135x longer than the Wireshark software, and as the packet size increases, the analysis time results become more noticeable and batch processing of packet interceptions can be achieved. simple.