Dear User
Generally, video quality problems are caused by packet loss on the network. Check the network status first.
The network transmission quality is poor.
please check this link http://support.huawei.com/hedex/pages/EDOC1000017009NYB0731A/04/EDOC1000017009NYB0731A/04/resources/trsg/trsg/eivs_trsg_00076.html?ft=0&fe=10&hib=6.1.2.2.5&id=eivs_trsg_00076&text=Live Video Freezing and Garbled Image&docid=EDOC1000017009
Live Video Freezing and Garbled Image
Symptom
When you play a live video on an IVS client, the video is frozen and garbled, as shown in
Figure 1.
Figure 1 Live video freezing and garbled image
Check code stream information, as shown in
Figure 2.
Figure 2 Code stream information
Possible Causes
The network transmission quality is poor.
The frame rate and resolution of video streams are changed during local recording.
NOTE:The frame rate and resolution of video streams cannot be changed during local recording; otherwise, garbled image occurs.
Live media streams are transmitted by using User Datagram Protocol (UDP), which leads to packet loss.
The operating system cache of the media server is insufficient.
Procedure
Check the network transmission quality.
For details about the description of Resolution, Bit Rate, and Transmission Protocol, see the eSpace IVS V100R001C30 CS Client Online Help.
The frame rate and resolution of video streams cannot be changed during local recording; otherwise, garbled image occurs.
If yes, go to the next step.
If no, go to 2.
Capture data packets transmitted over the network by using network analysis tools and check whether the packet loss rate is high.
Log in to the IVS C/S client.
Choose .
The Device Mgt. page is displayed.
Select an IPC from Organization Tree and click Edit.
The Edit Camera page is displayed.
Verify that Resolution, Bit Rate, and Transmission Protocol are correctly configured.
NOTE:
Change the value of Transmission Protocol to RTP over TCP and click Save, as shown in Figure 3.
Figure 3 Setting video streams
Check whether the fault is rectified.
If the fault is rectified, no further action is required. If the fault persists, go to 2.
Check whether the frame rate and bit rate are changed during the local recording.
Check whether the fault is rectified.
If the fault is rectified, no further action is required. If the fault persists, go to 3.
Verify that live media streams are not transmitted by using UDP.
Check whether the fault is rectified.
If the fault is rectified, no further action is required. If the fault persists, go to 4.
Log in to the IVS C/S client.
Click Local Settings.
The Local Settings page is displayed.
Click the Network Parameters tab.
Check whether Transport Protocol is set to UDP.
Check the operating system cache of the media server.
If the media server receives many incorrect data packets, go to the next step.
If the media server properly receives data packets but the fault persists, contact Huawei technical support.
Log in to the media server as the root user.
Run the netstat -su command.
View the statistics on the data packets received by the media server, as shown in Figure 4.
Figure 4 Statistics on the data packets
Run the sysctl -a |grep net.core command to view the system cache as follows:
net.core.rmem_default = 126976
net.core.wmem_default = 126976
net.core.rmem_max = 131071
net.core.wmem_max = 131071
Run the vi /etc/sysctl.conf command. Change the system cache in the following way:
net.core.wmem_default = 26214400
net.core.rmem_default = 26214400
net.ipv4.tcp_rmem=4096 87380 26214400
net.core.rmem_max=41943040
net.ipv4.tcp_wmem=4096 65536 26214400
net.core.wmem_max=41943040
Check whether the fault is rectified.
If the fault is rectified, no further action is required. If the fault persists, contact Huawei technical support.