After the VCN3010 platform is connected to the Hikvision platform as the upper-level external domain, black screen occurs on the Hikvision camera.
1. Display the code stream of the video on the VCN3010 platform.
2. Run tcpdump -i bond0 host ip -s0 -vv -w /home/00.pcap to capture media packets.
3. Use the Elecard StreamEye tool to analyze the obtained code stream, report an error, and verify that the code stream of the peer end is not standard.
4. Identify the I frame to analyze the structure.
According to the PS packet structure, the start sequence of I frames is as follows: PS header, system header, and PSM.
The format of PS header, system header, and PSM are 00 00 01 ba, 01 bb, and 00 00 01 bc respectively. The structure of the captured packet is as follows: PS header > PSM > system header.If the code stream of the Hikvision platform is not standard, packets cannot be parsed. In this case, modify the packets on the Hikvision platform.