Jump to content

goldserve

Members
  • Content Count

    55
  • Joined

  • Last visited

Everything posted by goldserve

  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.
  16. I tried this fix and surveillance station does not seem to work with v5.1 firmware. I reverted back to v5.05 and it is working good.
  17. Anymore info on this /dav/davinci patch that could fix the issue with Synology NAS?
  18. From another thread, the URL http://IPADDRESS/cgi-bin/configManager.cgi?action=getConfig&name= gives alot of details and I wondered if I can change any parameters so I went ahead and modified some. My biggest gripe is that I can not record to FTP and SD card at the same time for redundancy and viewing from SD card in the new playback manager so I modified the following to record to both. table..RecordStoragePoint[0].VideoDetectRecord.AutoSync=false table..RecordStoragePoint[0].VideoDetectRecord.AutoSyncRange=0 table..RecordStoragePoint[0].VideoDetectRecord.Custom=false table..RecordStoragePoint[0].VideoDetectRecord.FTP=false table..RecordStoragePoint[0].VideoDetectRecord.Local=true table..RecordStoragePoint[0].VideoDetectRecord.LocalForEmergency=true table..RecordStoragePoint[0].VideoDetectRecord.Redundant=false table..RecordStoragePoint[0].VideoDetectRecord.Remote=true .Remote=true is actually NFS so i enabled this over FTP to save overhead. To enable NFS, enter the following: table..NAS[1].Address=192.168.10.245 table..NAS[1].Directory=/volume1/Camera/Garage table..NAS[1].Enable=true table..NAS[1].Password= table..NAS[1].Port=21 table..NAS[1].Protocol=NFS table..NAS[1].UserName= To confirm you have NFS mounted correctly after reboot, telnet into the camera (root/vizxv) and do a "mount": 192.168.10.245:/volume1/Camera/Garage on /var/tmp/nfs1 type nfs (rw,vers=3,rsize=131072,wsize=131072,soft,intr,nolock,proto=tcp,timeo=3,retrans=3,sec=sys,addr=192.168.10.245) /dev/mmc0p1 on /mnt/sd type vfat (rw,nodev,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1) Both SD card and NFS is mounted! Happy hacking and report back if you find more juicy config options!
  19. With this hack, you can write to both NFS and SD card at the same time so you can play back from SD card with a network backup. I am using the same synology NFS server in the latest DSM 4.3 as with my Hikvision bullet.
  20. Settings will stick. They are imported by the config file.
  21. Well, for one, the Dahua interface never allowed the user to record to both SD CARD + FTP together so this hack allows you to do this. Secondly, there is no interface to enter NFS server details so this hack allows one to mount an NFS server which is less resource intensive. Hopefully, others will discover some more useful things.
  22. goldserve

    Hikvision DVR problem viewing on 3G

    Well, I changed the RTSP port to 555 from 554 and everything works. iVMS-4500 and LiveCams Pro over LTE connects to the stream properly. Great!
  23. goldserve

    Hikvision DVR problem viewing on 3G

    Yeah, wifi outside of home so I know port forwards work and I'm connecting to the ip dome camera and not NVR. I wonder if I change the port to 555 or something, will it work or not.
  24. goldserve

    Hikvision DVR problem viewing on 3G

    I can conclusively say the problem is on AT&T side of things. On wifi, I can view the rtsp stream through LiveCams Pro but when on LTE, the connection fails. I just tested this within minutes of each other.
  25. goldserve

    Hikvision DVR problem viewing on 3G

    The ISP is not and issue cause when the phone is on wifi, I can connect through port 554 back to the cam. The phone has the latest 6.1.4 firmware. Finally, the dome camera has v5.0.0 firmware.
×