How to use wireshark to analyze H264 stream when the RTMP push disconnection reconnection tool EasyStreamClient pulls the stream?

EasyStreamClient is a very stable, easy-to-use, reconnect-supporting StreamClient tool. It is provided in the form of SDK. The interface call is very simple. After years of actual combat and online operation, it supports RTMP push for disconnected reconnect, ring buffering, and intelligent frame dropping. , Network event callback; no longer need to deal with the entire RTSP complex process like calling live555, worry about memory release.

In this article, we will talk about how to use wireshark to analyze H.264 stream when EasyStreamClient pulls the stream?

When capturing packets and analyzing the code stream recently, wireshark will appear to capture packets. The captured packets can only display the RTP protocol, and cannot see the packet information transmitted by RTP. Such as:

49.png

50.png

It can be seen that the payload is the original code stream, and the specific data information is not clearly displayed.

In response to this phenomenon, you can configure wireshark to display the H.264 packet information transmitted by RTP.
Select Edit->Preferences

51.png

In the preferences dialog box, select H264 under Protocols,

52.png

The default is 96, just modify it to the value 105 displayed in the current RTP.

53.png

After the modification is completed, you can see that the Protocol is displayed as H264, and the Payload under the RTP package has been parsed as H264 data. As shown below

54.png

The EasyStreamClient tool can be used in security monitoring services, suitable for various cascading forwarding and NVR hardware services, and supports video file on-demand, positioning, playback, fast forward and other functions, especially in the support of security RTSP protocol; it can also be used For image analysis, such as the access and processing of various RTSP data sources, image analysis application scenarios, the use of cameras to obtain video and picture information, the use of mathematical models and image processing technology to analyze the underlying features and upper structure, so as to extract Certainly intelligent information.

In addition to such tools, more video-related solutions can be accessed by Tsingsee Green Rhinoceros Video . Welcome to contact us to get a demo solution, intuitive experience, or download and test by yourself .

Guess you like

Origin blog.csdn.net/TsingSee/article/details/108708636