Remote Videos Can Be Retrieved But Cannot Be Played Because the BSM Cache Size Is Too Small

Publication Date:  2012-07-21 Views:  101 Downloads:  0
Issue Description
Version:
iNVS V100R002C01
Symptoms:
After you open Special Player, you can retrieve remote videos but cannot play them, and the system indicates that the server is abnormal.
Alarm Information
None.
Handling Process

Run the vim /hinvs/psm/etc/bsm/bsm.conf command to edit the configuration file bsm.conf.

Set read_cache_size to 1024.

 

l      Press i to enter the editing mode.

l      Press Esc to exit the editing mode.

Enter :wq to save and exit

Root Cause
Cause analysis:
1.         Connect an SSH tool to the NVR.
The default user name is root and default password is 123456.
2.         Run the less /hinvs/psm/etc/bsm/bsm.conf command to view the read_cache_size value.
The read_cache_size value is too small (smaller than 500). It is inferred that the BSM cache size is too small.
Conclusion:
The BSM cache size is too small, which causes that the remote videos can be retrieved but cannot be played.
Suggestions
The BSM read/write cache size is the read/write size of each channel. Its value depends on the video bit rate. The following table lists the recommended values.
Read/Write Cache Size Configuration
Video Bit Rate
(Mbit/s)
Read Cache Size
(KB)
Write Cache Size
(KB)
1 to 2 1024 1024
3 to 4 2048 2048
5 to 6 3072 3072
7 to 8 4096 4096
9 to 10 5120 5120
 
If you use iNVS V100R002C02, you can log in to the NVR Controller and click the NVR management tab, and then choose Basic NVR Settings>   > Cache Parameter to change the BSM cache size in Professional Settings.

If streams with various bit rates are accessed, you are advised to set the cache size to Auto-adaptation.

END