Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Network download of CC5MPX images


Ron Muzzi Jul 18, 2012 04:02 PM

We would like to download an image from the CC5MPX camera directly through the ethernet port using a remote script, not a browser or Loggernet. If images are stored on the sdcard, then URL's such as this can be used to download the image:

http://192.168.1.90/sdcard/SelfTimed1Still/2012_07/Still1.jpg

Does anyone know a URL that can be used to trigger a manual image and then download it from memory instead of the sdcard?

Thanks!


Ron Muzzi Jul 19, 2012 05:53 PM

OK, I'll answer my own post in case it helps somebody else...

After working with the camera, capturing and examining packets, and other reverse engineering tricks, this is what I came up with:

To cause the camera to take an image, store it in the internal memory of the camera, and then download the image via the ethernet connection do the following:

First send the camera this URL:

http://192.168.1.90/vb.htm?language=ie&imagename=5&imagesavelocation=1

You can replace the default camera IP with the IP address and port number that applies to your setup, which can work through a NAT router. To use a port other than 80, use the standard :NN convention, e.g., http://10.0.0.1:8080/.

For the imagename parameter, use one of the following:

0 for 320 x 176
1 for 320 x 240
2 for 640 x 352
3 for 640 x 480
4 for 1280 x 720
5 for 1280 x 960
6 for 2592 x 1944

You'll get a response something like this (possibly all on the same line):

OK language
OK imagename
OK imagesavelocation

Wait 10 seconds for the camera to take the picture. Then send the camera this URL:

http://192.168.1.90/vb.htm?language=ie&getmanualcapture

You'll get a response something like this:

OK language
OK getmanualcapture=1,0000000000000002,still_1280_960_2012_07_19_13_17_51.jpg

You need to capture this response in order to determine the correct image filename. Then send something like the following URL to download the image file using the image filename:

http://192.168.1.90/manualstill/still_1280_960_2012_07_19_13_17_51.jpg

For additional images, you need to start over from the first step.

I use the wget program and the -O option to send and capture URL's from the camera.

Enjoy!


Ron Muzzi Jul 19, 2012 05:53 PM

OK, I'll answer my own post in case it helps somebody else...

After working with the camera, capturing and examining packets, and other reverse engineering tricks, this is what I came up with:

To cause the camera to take an image, store it in the internal memory of the camera, and then download the image via the ethernet connection do the following:

First send the camera this URL:

http://192.168.1.90/vb.htm?language=ie&imagename=5&imagesavelocation=1

You can replace the default camera IP with the IP address and port number that applies to your setup, which can work through a NAT router. To use a port other than 80, use the standard :NN convention, e.g., http://10.0.0.1:8080/.

For the imagename parameter, use one of the following:

0 for 320 x 176
1 for 320 x 240
2 for 640 x 352
3 for 640 x 480
4 for 1280 x 720
5 for 1280 x 960
6 for 2592 x 1944

You'll get a response something like this (possibly all on the same line):

OK language
OK imagename
OK imagesavelocation

Wait 10 seconds for the camera to take the picture. Then send the camera this URL:

http://192.168.1.90/vb.htm?language=ie&getmanualcapture

You'll get a response something like this:

OK language
OK getmanualcapture=1,0000000000000002,still_1280_960_2012_07_19_13_17_51.jpg

You need to capture this response in order to determine the correct image filename. Then send something like the following URL to download the image file using the image filename:

http://192.168.1.90/manualstill/still_1280_960_2012_07_19_13_17_51.jpg

For additional images, you need to start over from the first step.

I use the wget program and the -O option to send and capture URL's from the camera.

Enjoy!

Log in or register to post/reply in the forum.