It's LZMA compression. See my commentary here:Hi..... I have two DS-2CD2732F-IS Camera's... After messing around with this problem for a while, and then upgrading one of them from 5.1.6 to 5.2.0. I came upon this thread and applied the change to my 5.1 version Camera.. Everything worked.. And all was fine.... However, now I have a camera that is at 5.2 version, and sadly, things aren't so happy for this camera as it still has the same problem, despite the obvious fix, ( not sure why HIKVISION hasn't fixed this yet!)
Anyway, I was wondering if anyone has found a fix/patch for the 5.2 version. Sadly when I attempt to GUNZIP the davinci.tar.gz file on the 5.2 version not only does my gunzip not recognize it as a gzip file, nor does any other program that I have that normally unzips files, and especially troubling, is that the gzip supplied with the DS-2CD2732F-IS also does not recognize it as a gzip file....
Hoping someone has had some success with this, as I don't know where to find a copy of version 5.1 that I can backout to....
Thanks in advance...
mkdir /dev/davtar && cd /dev/davtar
tar -C /dev/davtar -xzvf /dav/davinci.tar.gz
echo -ne "\x00\x00\x00\x00\x0B\x00\x5C\xE1\x00\x00\x00\x00" | dd conv=notrunc of=/dev/davtar/davinci bs=1 seek=2019916
#next step takes a while due to slow Armv6 CPU
tar -czf /dav/davinci.tar.gz.new davinci
cd / && rm -rf /dev/davtar
chmod 777 /dav/davinci.tar.gz.new
mv /dav/davinci.tar.gz /dav/davinci.tar.gz.old
mv /dav/davinci.tar.gz.new /dav/davinci.tar.gz
Thanks for this. I just did this on my Linux server and it worked perfectly. This is a lot nicer than partitioning since it will be much easier to change the storage size for each camera by adjusting the quota and re-initializing the camera.I solved this issue on 5.2.0 by creating a specific account and quota on my Linux machine (essentially my NAS) and then setting up an individual network share for this user. Each cam will need it's own user and share. The benefit of setting up a quota is you can now limit how much space each camera can take without having to setup separate partitions. I setup 50GB quotas for each camera and haven't had any issues recording. This is essentially what I did. https://www.digitalocean.com/community/tutorials/how-to-enable-user-and-group-quotas
Its a re-certified drive (basically a refurb/return).That's actually a good price (£95) for the WD MyCloud with 4TB, much less than typically advertised. I wonder what type of HDD is inside it? Will it be rated for the 24/7 streaming that a surveillance use requires?
On the cameras - for the image quality and extensive feature set the Hikvision 2-series cameras are very good value for money and hard to beat. And there are not many cameras that support recording to a NAS destination.