Jump to content

goldserve

Members
  • Content Count

    55
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Time for me to give back to the community! I modified and fixed the python scripts to extract videos, create a snapshot of pictures at 5.5seconds into the video and create a new !summary video from the pictures. All I have to do now is to review the !summary.mp4 video everyday and this runs on my freenas server, inside a jail with lang/python34, multimedia/libav, and multimedia/ffmpeg installed. http://1drv.ms/1EJVC8Z In freenas, create a new jail based on busy box template. Add storage to that contains the folder to your camera's NFS storage Download the files and extract to some directory in the jail Edit the paths in config.cfg execute the following in the jail and accept everything: pkg install lang/python34 pkg install multimedia/libav pkg install multimedia/ffmpeg Make extracted python files executable (chmod +x *) run ./hikstract Enjoy!
  2. How do you run the program? If you do it like this ./extract_video -i /media/ipcam/datadir0/ -o /path/to/output -l it's expecting the index file /media/ipcam/datadir0/index00.bin to contain the video index. Does it? I run it exactly the way you said and I also put in -v for verbose. FILE 146 ================= fileNo: 119495468 chan: 28327 startTime: 109836406-05-25 03:41:51 endTime: 1970-01-01 00:00:00 FILE 147 ================= fileNo: 268394496 chan: 22168 startTime: 5645-07-10 22:22:05 endTime: 111197427-05-09 10:49:27 FILE 148 ================= fileNo: 122015904 chan: 37418 startTime: 111197427-05-09 10:49:27 endTime: 1970-01-01 00:00:00 error: logger.main - Can't read 80 bytes for segment index Looks like either the file structure changed a little and everything is fubar'd now. I can run the python script and that extracts the data fine.
  3. I compiled this program in freebsd on my freenas server but I get the following error: error: logger.main - Can't read 80 bytes for segment index Any ideas?
  4. Wonders if the line traversal works better or not than the one in 5.1.6. Mine still trips when the security lights turn on. Not much for line traversal.
  5. Yes, in theory but shadows and wind...I haven't figured out how to fine tune the traversal yet.
  6. I am using the new 6.3.3341 in PSIA mode and the new traversal doesn't seem to trigger SS to record. I am also noticing that the cameras are no longer recording to the NFS even though the disk is normal and working.
  7. Can someone post the direct link or FTP site again? Thanks!
  8. I recently ventured into building my own nas (HP Microserver Gen8, ESXi with 4 virtual machines running) using xpenology (synology) and I have 3 drives in SHR (RAID5) and one more drive that is virtually partitioned into 500GB volumes for synology. In the end, my configuration is: Volume 1 (6TB, 3 drives, raid 5) Volume 2 (500GB) Volume 3 (500GB) Volume 4 (500GB) I can in theory add three more 500GB partitions using the 3TB drive that I have. Knowing the limitations of the Hikvision cameras with NFS and NAS, now each camera can have its own volume and hence, the space and free space never changes and the cameras now work very nicely with the synology. Let me know if anyone has any questions regarding my setup.
  9. Yeah, it was the unix vs windows line encoding. Everything seems to be working now. Anyways, do you have time to investigate returning a fixed amount of space on NFS shares instead of the entire partition? Also, how do you get two cameras to write to the same SD card? Does 1 not try to "format" the other? Thanks, this has been very educational!
  10. CBX, Your video and picture extraction scripts would be appreciated as well! I'm also getting this error: # cat busybox.sh for FUNC in `/dav/opt/busybox --list-functions`; do ln -s /dav/opt/busybox /"$FUNC" done # bash busybox.sh busybox.sh: line 1: syntax error: unexpected word (expecting "do") # Cheers!
  11. CBX, Is there a way to hack the nfs format to occupy a fixed amount of space instead of taking the entire space of the nfs share available? I can't create partitions and nfs quotas on the synology NAS.
  12. Very nice! Can you share this hex binary change?
  13. Your technical information is great! What about sharing the other hacks you mention like sd card improvement, etc?
  14. We need to petition for a new plugin for safari on a Mac.
  15. Good to know PSIA mode works. I just tried the config file fix and it would not connect to the camera even though test connection succeeded. V5.1 firmware totally broke NFS so if that isn't fixed, I'm not going there.
×