The Open Source Ministry Project

The Open Source Ministry Project
 


  Reply to this topicStart new topicStart Poll

> DCS-5300 Pan Tilt Digital Zoom, Network Camera
Bob Brown
Posted: Dec 19 2006, 11:17 PM
Quote Post


MrHerald
******

Group: Admin
Posts: 4194
Member No.: 1
Joined: 28-April 04



I posted about the DCS-5300 on my blog, but thought it would be useful to have a link to it from here.

I also wanted to post the code for using the ActiveX video and this forum software handles it much better than the blog software does.

CODE
<OBJECT  ID="VaCtrl" WIDTH="714" HEIGHT="546"
CLASSID=CLSID:A93B47FD-9BF6-4DA8-97FC-9270B9D64A6C
CODEBASE="http://username:password@example.com:1234/plugin/h263ctrl.cab#version=1,7,0,23">
<PARAM NAME="VSize" VALUE="SIF">
<PARAM NAME="Language" VALUE="EN">
<PARAM NAME="ClickEventHandler" VALUE=0>
<PARAM NAME="DigitalZoomEnableChk" VALUE="false">
<PARAM NAME="DisplayTimeFormat" VALUE="1">
<PARAM NAME="Deblocking" VALUE="true">
<PARAM NAME="Url" VALUE="http://username:password@example.com:1234/cgi-bin/video.vam">
<PARAM NAME="Stretch" VALUE="1">
</OBJECT>


You will need to do a "View Source" on the particular D-Link camera you are using. I had to change the codebase link and I changed the CLASSID just to make sure it worked properly. I originally built this code for use with the DCS-3220G, but found it worked good for the DCS-5300 as well. It was much better than what I was getting from just hacking the code from the page.

For the addresses in the code linking to the codebase and the Url I placed the username and password for the camera. I used limited passwords without administrative control rights, they only allow viewing but not config changes.

I point domain names at the IP addresses the network uses so that I don't have to tell people to go to 167.232.124.209 in order to view the links from outside the network. I obviously did not use port 1234 for the camera. I actually used ports above the 40000 range.

If you have any questions, let me know.


--------------------
Open Source is not about software,
it's about people helping people accomplish great things.

user posted image The Open Source Ministry blog.
user posted image Church Security Blog
Life is like an analogy. Sometimes it makes sense, and sometimes it doesn't.
PMEmail PosterUsers WebsiteICQAOLMSN
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll