ed
Member
Registered: 10th Sep 03
User status: Offline
|
My parents have Axis 205 web-cams. It has a built in web-server which apparently allows you to access the web-cam from the net as at the moment you can only view them via our LAN and VPN.
I was wanting to be able to put a live feed from the web-cam up on their website, however I'm not really sure how to do it. There are options to allow you to configure a DNS and Host Names but I'm not sure what's needed to get it working. Would I need to use a service like Dynamic DNS (I've had a look on there site, but I can't seem to figure out what I need to do there either).
|
Nismo
Member
Registered: 12th Sep 02
User status: Offline
|
Just install webcam XP, that has a built in web server, so you can copy the code from that if your not sure on how to write your own.
Setup a DYNDNS host, then configure your router with it, then point the code to the DYNDNS name to get the live feed onto the website.
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Comes down to the internet connection at the site where the camera is. Ideally you would just have a static IP and embed the video stream in the web page using that.
You also need to NAT to camera if its behind a router (ie. you currently use 192.168.x.x or 10.x.x.x address to see it)
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
We don't have a static IP. I think this is beyond my knowledge set as I'm not all that brushed up on networking
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Static IP makes it easier.
[Edited on 30-08-2009 by Ian]
|
Nismo
Member
Registered: 12th Sep 02
User status: Offline
|
But no biggy, just use a Dynamic DNS, free and works fine.
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
YOu can use dynamic DNS, its gurdd
If you ever need a hand ed, I work just up the road, drop me a U2U
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Cheers. I really don't have a clue how to do it
I'm sure it's pretty simple
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
When i've got the new motor i'll happily come and set it up for you. Let me know
|
DaveyLC
Member
Registered: 8th Oct 08
Location: Berkshire
User status: Offline
|
You need to open up the web cams through your firewall then use a dyanmic dns service like
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
On the network the webcams are running on, the router is a Netgear DG834. Do I open up a new TCP service, give it a name and a port number; then go to firewall settings and set a new inbound rule on that selected service sending it to it's IP on the LAN?
I've tried that and I can't seem to get it working. I tested it using the current IP followed by the selected port. So something like http://xx.xx.xx.xx:xxxx
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Which on my DG834G works perfectly fine on port 80. Using my DynDNS I'm able to forward traffic to my web server on my PC. There must be something up with the one at my parents place that I'm not too clued up on.
[Edited on 01-09-2009 by ed]
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Ok, got one working now on port 80 http://wf.dnsdojo.org/ which I'm going to iframe into my website here http://www.windmill-farm.co.uk/46-webcams.html providing the image isn't too big
|
DaveyLC
Member
Registered: 8th Oct 08
Location: Berkshire
User status: Offline
|
No need to iframe it, you can have the image in a div then use javascript to refresh it..
If you use two absoloute positioned div's (one on top of the other) with two images you can refresh one image in the background then bring it to the front for a seamless refresh
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Was thinking that's how they do it on their own software actually. I can then reduce the refresh rate to reduce load on the network
|
DaveyLC
Member
Registered: 8th Oct 08
Location: Berkshire
User status: Offline
|
Just noticed its Active X, just put the control on your site
Here you go, I stripped the control out for you:
<OBJECT ID="Player" height=480 width=640 border="0" CLASSID="CLSID:745395C8-D0E1-4227-8586-624CA9A10A8D" CODEBASE="http://wf.dnsdojo.org/activex/AMC.cab#version=3,11,0,1" STANDBY="Loading Axis Media Control components...">
<param name="MediaURL" value="http://wf.dnsdojo.org/mjpg/video.mjpg">
<param name="MediaType" value="mjpeg-unicast">
<param name="ShowStatusBar" value="0">
<param name="ShowToolbar" value="0">
<param name="AutoStart" value="1">
<param name="StretchToFit" value="1">
<param name="ToolbarConfiguration" value="play,+snapshot,+fullscreen">
<param name="PTZControlURL" value="http://wf.dnsdojo.org/axis-cgi/com/ptz.cgi?camera=0">
<param name="UIMode"; value="ptz-relative">
<param name="UIMode" value="MDConfig">
<param name="MotionConfigURL" value="http://wf.dnsdojo.org/axis-cgi/operator/param.cgi?ImageSource=0">
<param name="MotionDataURL" value="http://wf.dnsdojo.org/axis-cgi/motion/motiondata.cgi">
</OBJECT>
[Edited on 01-09-2009 by DaveyLC]
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Cheers
Works in IE now, think I still need to use JS for it to be cross-browser compliment though. Just realised I forgot to check and see if my news ticker was cross-browser too
|
Nismo
Member
Registered: 12th Sep 02
User status: Offline
|
Edd if you need more stuff we can supply http://www.i-equestrian.com
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
I'll forward that to the parents for them to have a look at, thanks
|
Nismo
Member
Registered: 12th Sep 02
User status: Offline
|
And have a native iPhone app and mobile client so take the cameras with you where ever you go
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Ok, only other thing is I have two webcams coming from the same router. I've got the current one working off of port 80 so it works fine if you type in the DynDNS domain. I thought that if you typed in the domain in this sort of way http://wf.dnsdojo.org:1234 that would specify the port you wanted to use, however it doesn't work.
Any tips?
|
DaveyLC
Member
Registered: 8th Oct 08
Location: Berkshire
User status: Offline
|
Use a port forward on your firewall/router.
|
Nismo
Member
Registered: 12th Sep 02
User status: Offline
|
yeah set the router to port forward one cam to 81 and the other to 82 or something.
|