JavaScript is browser side handled so the browser runs the script. Lets break this down so anyone can understand what is going on here. In the code we will be focusing on thumb0 since this is the current and most up to date image and snapshot is the file the was once the current file. One is named snapshot0 and the other one is titled thumb0, these are both JPG image files. In this video you can see how the software uploads the files and keeps 2 files with the same name. A better setting would have been 30 second snapshot with 30 fps I did not have a lot of time so I chose a quicker method. Once you have set the software to upload the images and take the snapshots to whatever you want, in my case I chose 5 seconds and the video above was encoded to 30FPS. It was not the best position but it makes a good example of what can be achieved with the software. The video shown here was taken from an IPOD-EL1MPIR50 camera set to take snapshots at 5 second intervals. You can select to push a video at a certain time and from a certain day or in general. Here you can select the settings for your Time lapse video if you wish to upload one. I left mine set to default as you can see in the image. Here is where you will name the file you will be using on your HTML code and JavaScript. You can set here the FTP settings as well as the capture rate, make sure the Credentials are correct for your FTP server. In my case I have it pointed to a local folder in my PC. In this Image you can see the Schedule and FTP settings In the General Options you can select the Image quality. Once we have confirmed that the connection is established click on “Save Settings”. Once you have done this make sure the Display on check box is on and click on the “Take Picture” this will display an image. IP camera is checked and “Generic” is utilized. So, we leave the check box for “Use Login” unchecked. Since we are using the Onvif port of this camera we are not required to input the cameras credentials. We are using the Onvif port which is 9989 and we are calling to view the Snapshot feature of the camera by navigating to the Snapshot service. Insert the following addressġ92.168.1.82 is my cameras IP address make sure to add the correct address. In the image above we are in the “View” tab. Lets start configuring and learning how to setup the software. This is why we will be using the software that does most of the hard work. Now if we utilize the File Transfer Protocol on the Network Camera it will create a file with different file names and folders and this is not best when creating your code for your webpage. The software itself is great if you want to create time-lapse videos or upload still images onto a webpage as it does this by uploading the files using a File Transfer Protocol “FTP” and keeps the file names correct so that it may be correctly coded into the webpage. It is a paid software but there is a trial you can utilize to test the software. The software that I am utilizing is IPTIMELAPSE by. After identifying the cameras IP address we can move on to the Software that we will be utilized to create the images and upload them to the FTP server. Of course this will not work if you have an NVR with a Built in PoE switch as the built-in switch will keep the cameras attached to it separate from your local network. Just launch the application after installing the software and it will display all of your cameras in the network. You can use this software here which will scan your network for any cameras running that are Onvif. Normally our cameras are set to 192.168.1.108 but in occasions where you may have multiple cameras or simply have a different IP scheme such as 10.1.1.1 you will end up having to search and see what your cameras are set to. If you forgot the IP address it can be a little confusing. Identifying your Network camera’s IP address: Lets start with the Hardware and software we will be needing for this task.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |