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...")
 
 
(One intermediate revision by the same user not shown)
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:===
<pre>
http://IPADDRESS/-wvhttp-01-/CameraPosition?pan=-1000&tilt=-3000&zoom=4001
 
(pan= -9200 to 9200) (tilt= 1001 to -9000) (zoom= 336 to 4304)
</pre>
 
====Reverse-engineering notes====
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>
 
Some interesting parts of "strings bin/webview | less":
<pre>
-wvdoc-01-/
-wvhttp-
GetLiveImage
        GetNotice
OperateCamera
OperateCameraEx
OperateCameraOnScreen
SelectCamera
GetCameraControl
GetStillImage
GetOneShot
ExternalIO
OpenCameraServer
CloseCameraServer
ReleaseCameraControl
GetPanoramaImage
GetPanoramaInfo
GetPanoramaList
GetPresetList
GetCameraList
GetCameraPositionList
GetCameraServerList
GetCameraServerInfo
GetProtocolVersion
ExternalIOStatus
ExternalIOConfig
ExternalIOCaption
SetPTZSpeed
GetPTZSpeedInfo
GetCameraInfo
GetVideoInfo
</pre>

Latest revision as of 16:06, 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:

http://IPADDRESS/-wvhttp-01-/CameraPosition?pan=-1000&tilt=-3000&zoom=4001

(pan= -9200 to 9200) (tilt= 1001 to -9000) (zoom= 336 to 4304)

Reverse-engineering notes

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

Some interesting parts of "strings bin/webview | less":

-wvdoc-01-/
-wvhttp-
GetLiveImage
        GetNotice
OperateCamera
OperateCameraEx
OperateCameraOnScreen
SelectCamera
GetCameraControl
GetStillImage
GetOneShot
ExternalIO
OpenCameraServer
CloseCameraServer
ReleaseCameraControl
GetPanoramaImage
GetPanoramaInfo
GetPanoramaList
GetPresetList
GetCameraList
GetCameraPositionList
GetCameraServerList
GetCameraServerInfo
GetProtocolVersion
ExternalIOStatus
ExternalIOConfig
ExternalIOCaption
SetPTZSpeed
GetPTZSpeedInfo
GetCameraInfo
GetVideoInfo