Difference between revisions of "Canon"

From ZoneMinder Wiki
Jump to navigationJump to search
(Created page with "Canon IP Cameras =Canon VB-C10 / VB-C10R= This camera can serve single JPG o stream MJPEG. I experienced lots of timeouts (blue images) when using JPG, so MJPEG is recommend...")
 
Line 2: Line 2:


=Canon VB-C10 / VB-C10R=
=Canon VB-C10 / VB-C10R=
This camera can serve single JPG o stream MJPEG.  I experienced lots of timeouts (blue images) when using JPG, so MJPEG is recommended.
This camera can serve single JPG or stream MJPEG.  I experienced lots of timeouts (blue images) when using JPG, so MJPEG is recommended.


A JPG is retreived via:
A JPG is retreived via:
Line 27: Line 27:
</pre>
</pre>


I'm working on the PTZ functions now...
 
PTZ functions:
 
I had to do some reverse-engineering to find these strings.  I dumped the camera's file-system via FTP and analyzed the file "bin/webview" with the strings utility. That gave me clues as to what commands to try. (some of the parameters listed below might be optional.)
<pre>
http://IPADDRESS/-wvhttp-01-/OpenCameraServer
(returns connection_id=0d39-06b2)
http://IPADDRESS/-wvhttp-01-/GetCameraControl?connection_id=0d39-06b2
http://IPADDRESS/-wvhttp-01-/GetCameraList
http://IPADDRESS/-wvhttp-01-/SelectCamera?connection_id=0d39-06b8&camera_id=camera_129
http://IPADDRESS/-wvhttp-01-/OperateCamera?connection_id=0d39-06b8&camera_id=camera_129
http://IPADDRESS/-wvhttp-01-/CameraPosition?connection_id=0d39-06ba&camera_id=camera_129&pan=0
http://IPADDRESS/-wvhttp-01-/CameraPosition?connection_id=0d39-06ba&camera_id=camera_129&tilt=-3500
http://IPADDRESS/-wvhttp-01-/CameraPosition?connection_id=0d39-06ba&camera_id=camera_129&zoom=4304
(pan= -9200 to 9200) (tilt= 1001 to -9000) (zoom= 336 to 4304)
http://IPADDRESS/-wvhttp-01-/GetClientList
http://IPADDRESS/-wvhttp-01-/CloseCameraServer?connection_id=0d39-06b8
</pre>

Revision as of 15:57, 18 December 2017

Canon IP Cameras

Canon VB-C10 / VB-C10R

This camera can serve single JPG or stream MJPEG. I experienced lots of timeouts (blue images) when using JPG, so MJPEG is recommended.

A JPG is retreived via:

http://IPADDRESS/-wvhttp-01-/GetLiveImage

The MJPG stream is here:

http://IPADDRESS/-wvhttp-01-/GetOneShot?frame_count=0

Here the ZM configuration that's working for me:

Maximum FPS (leave blank)
Remote Protocol	= HTTP
Remote Method	= Simple
Remote Host Name = (ip of camera)
Remote Host Port = 80
Remote Host Path = /-wvhttp-01-/GetOneShot?frame_count=0
Remote Image Colours = 24 bit colour
Capture Width (pixels) = 640
Capture Height (pixels)	= 480


PTZ functions:

I had to do some reverse-engineering to find these strings. I dumped the camera's file-system via FTP and analyzed the file "bin/webview" with the strings utility. That gave me clues as to what commands to try. (some of the parameters listed below might be optional.)

http://IPADDRESS/-wvhttp-01-/OpenCameraServer
(returns connection_id=0d39-06b2)
http://IPADDRESS/-wvhttp-01-/GetCameraControl?connection_id=0d39-06b2
http://IPADDRESS/-wvhttp-01-/GetCameraList
http://IPADDRESS/-wvhttp-01-/SelectCamera?connection_id=0d39-06b8&camera_id=camera_129
http://IPADDRESS/-wvhttp-01-/OperateCamera?connection_id=0d39-06b8&camera_id=camera_129
http://IPADDRESS/-wvhttp-01-/CameraPosition?connection_id=0d39-06ba&camera_id=camera_129&pan=0
http://IPADDRESS/-wvhttp-01-/CameraPosition?connection_id=0d39-06ba&camera_id=camera_129&tilt=-3500
http://IPADDRESS/-wvhttp-01-/CameraPosition?connection_id=0d39-06ba&camera_id=camera_129&zoom=4304
(pan= -9200 to 9200) (tilt= 1001 to -9000) (zoom= 336 to 4304)
http://IPADDRESS/-wvhttp-01-/GetClientList
http://IPADDRESS/-wvhttp-01-/CloseCameraServer?connection_id=0d39-06b8