
| home | AJAX (8) || C#.NET (7) || Coldfusion Development (16) || DHTML (15) || Flash Development (19) || jQuery (8) || MSSQL (2) || UNIX (10) |
| 1.24.07 | Canon Network Camera Control Protocol Hack - VB-C50i Control Port Communication |
UPDATE 10/10/2007 - Put together a very simple Coldfusion script that can control a camera by connecting directly to the cam, taking control of it, and sending binary control data. Here’s the example source:
Download this code: camera_control-coldfusion.cfm
Another goal of mine was to be able to control a Canon VB-series Network Camera that has controllable Pan, Tilt and Zoom functionality. I wanted to figure out how to access the camera directly through it’s proprietary “Control” port which defaults to 65311.
After analyzing the traffic sent over this port - the protocol has proven to be rather easy to use. A single 16byte TCP packet controls the camera’s Pan, Tilt and Zoom. The 16byte command is outlined in the following packet breakdown:
This is just a note sent to outline my initial findings. This is specific to the “VB-C50i” cameras. The maximum Pan, Tilt and Zoom values should be outlined in the manual - and the “33|00|E0″ command works for the VB-C10i camera as well.
Other functions used over this control protocol need to be determined, such as:
Notes:
… More to come …
| dirk maas on 4.9.08 at 2pm |
|
This is looks very promising, as Canon VB-C50iR is good hardware with crappy firmware. I guess nobody dares to make a paperweight from his camera by force-flashing Axis PTZ 213 firmware? |
| dirk maas on 4.12.08 at 2pm |
|
another interesting find: |
| dirk maas on 4.22.08 at 2am |
|
one more if you don’t mind. |
| Jim Palmer on 4.22.08 at 11am |
|
the shawnhogan writeup uses the built-in web server on the cameras which is very effective. This might actually be a better avenue when trying to build a front-end to control the cameras one user at a time. the realitystorm writeup is rad too - I just haven’t gotten as far as to even come close to finishing this project let alone really start coding the front-end piece. Good finds - keep them coming - you’re helping me start to pseudo-code my front-end from these links! |
| dirk maas on 5.7.08 at 10pm |
|
if you are on mac, use securityspy as a server http://www.securityspy.com/ It has it’s own code versus LiveScope WebView. My concern is to find if VB-C50iR is capable of any Axis 213PTZ features and formats, though. Like native FLV stream. Control can take place via another layer and session management on the proxy/streaming server (Darwin streaming server, red5, ffmpg, whatever). Actually I was hoping for you to do some more dissection of the Canon. I’ll drop by with ne finds on my side - if we don’t switch to Axis. |
5 Comments