摘要
Wireshark作为常用的抓包工具被广泛使用,但是Wireshark无法直接观察到数据包里的帧图像,针对这个问题,提出了一种从抓取的RTP数据包中提取H.265码流的方法,通过抓取监控视频系统中网络实时传输的包含H.265码流的RTP数据包,并对保存的pcap文件进行分析。结合对传输协议的理解,同时剖析了H.265码流的结构,利用确定的ip地址和端口号来过滤数据包,实现从pcap文件中提取H.265码流的方法,为工程上测试监控视频图像提供了便捷。该提取方法对研究H.265码流在网络中的的传输机制及pcap文件对抓包的存储模式有很重要的研究价值。
Wireshark is widely used as a common packet capture tool,but Wireshark can not directly observe the frame image in the data packet.In order to solve this problem,a method to extract H.265 code stream from the captured RTP packet is proposed.This paper analyzes the saved pcap file,analyzes the structure of H.265 code stream,filters the data packet with the determined IP address and port number,and finally realizes the method of extracting H.265 code stream from pcap file,which provides convenience for testing and monitoring video image in engineering.This extraction method is useful for studying the transmission mechanism of H.265 code stream in network and pcap file is of great value to the storage mode of capturing packets.
作者
刘敏慧
贺波涛
LIU Minhui;HE Botao(Wuhan Research Institute of Posts and Telecommunications,Wuhan 430074,China;Wuhan FiberHome Digital Technology Co.,Ltd.,Wuhan 430074,China)
出处
《电子设计工程》
2021年第21期159-162,共4页
Electronic Design Engineering