NAS recording issue

intweed

n3wb
Joined
Oct 10, 2015
Messages
9
Reaction score
0
Location
Russia
Hi all!
First of all, sorry for my bad english.
A few months ago I installed 3 cameras at my apartment and entryway: one 2cd2432f-iw and two 2cd2132f-is. All cams are chineese, reflashed with multilanguage 5.2.5 by the seller, records to NAS via NFS (HP Microserver with Nas4Free OS) and powered by TP-LINK TL-SG1008P.
At first month everything worked fine, but then it began appearing some artifacts and frame loss in recorded videos from all 3 cams. This effect was increasing: from small lags at first time to this: example1, example2.

ch01_08000000000000201.mp4_snapshot_00.13_[2016.03.10_11.22.24].jpg ch01_08000000010000001.mp4_snapshot_00.24_[2016.03.10_11.20.49].jpg ch01_08000000010000001.mp4_snapshot_00.17_[2016.03.10_11.20.38].jpg ch01_08000000010000001.mp4_snapshot_00.44_[2016.03.10_11.21.38].jpg ch01_08000000008000101.mp4_snapshot_00.11_[2016.03.10_11.18.30].jpg ch01_08000000084000201.mp4_snapshot_00.09_[2016.03.10_11.16.19].jpg ch01_08000000084000201.mp4_snapshot_00.13_[2016.03.10_11.16.40].jpg
But in live-view and SD-card recordings there is no such problems at all.
I've tried to connect one camera directly to notebook with Win10 and set record path to SMB-share, but it took no positive effect (netstat -e shows no errors). The only way I found to stop this is to reset camera settings to default and set everything back manually (when importing last config - problem returns). Anyway, this is a temporary solution, because now 2 of 3 cams again writes with lost frames sometimes.

The things I've already tested, but found useless:

- Changing video settings on cameras and settings on NAS
- Changing patch cables
- Leave only one camera connected to NAS
- Formatting camera storage in Web-GUI
- Powering by POE-injector instead of switch.

What could it be? Which direction to keep digging?
Is there any way to update FW without getting bricked device? It would be enough just english interface.
2132-2.jpg2132-1.jpg2432.jpg

Thanks!
 

ruppmeister

Getting the hang of it
Joined
Apr 15, 2015
Messages
668
Reaction score
98
To me this looks like you might not be sending enough i-frames with the feed. What is your camera settings for i-frame and fps?
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
The only way I found to stop this is to reset camera settings to default and set everything back manually (when importing last config - problem returns). Anyway, this is a temporary solution, because now 2 of 3 cams again writes with lost frames sometimes.
The solution to your problem will very likely be found tweaking the camera settings, lower iframe rate.. are you using VBR or CBR? sometimes VBR can struggle with sudden motion.. tweak frame rates, bitrates, resolutions, encodings and see if you can find any compromise.

Make sure you dont have a disk failure or any kind of issues with your NAS, all this could be a symptom of file corruption.. run some benchmarks and integrity checks on it.
 

intweed

n3wb
Joined
Oct 10, 2015
Messages
9
Reaction score
0
Location
Russia
The solution to your problem will very likely be found tweaking the camera settings, lower iframe rate.. are you using VBR or CBR? sometimes VBR can struggle with sudden motion.. tweak frame rates, bitrates, resolutions, encodings and see if you can find any compromise.

Make sure you dont have a disk failure or any kind of issues with your NAS, all this could be a symptom of file corruption.. run some benchmarks and integrity checks on it.
Already tried changing VBR to CBR, no difference in result. As I wrote, it is unlikely that this is on NAS-side problem, because there are no changes when recording to another device via different protocol. Also, I have no complaints to my NAS as a home file storage, recording speed is little more than 100 MB/s.
 
Top