WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-24-2008, 09:02 AM
Jeff Sundin's Avatar
Jeff Sundin Jeff Sundin is offline
WebProWorld Member
 

Join Date: Dec 2003
Location: Minnesota
Posts: 43
Jeff Sundin RepRank 0
Question Live Camera Feed to Web Page

I have a customer who is planning to install a live camera in a remote location that updates about every fifteen seconds. He wants to feed that image into a window on a page of his site. Can someone point me in the direction of what I'll need to learn?
__________________
Jeff Sundin, Professional Fishing Guide - WannaBe Webmaster
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 11:05 AM
kgun's Avatar
kgun kgun is offline
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,565
kgun RepRank 3kgun RepRank 3
Default Re: Live Camera Feed to Web Page

That is close to an online (broadband) real time Tv over Ip:

Perhaps you can talk to the experts here: AVForums Home

Related thread: Google TV

DSL · Cable · VOIP · Security · Satellite · Fiber · News · Tips · Reviews · Community · Tools - dslreports.com

Last edited by kgun : 02-24-2008 at 11:33 AM.
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 11:07 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,629
wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: Live Camera Feed to Web Page

I used to work for a consumer electronics company as a technician, specifically working on IP camera systems. Generally speaking, it is very easy to integrate. There are a few different ways to accomplish this. Generally speaking you would not want to present the user with access to the live feed. This will increase your bandwidth, slow down the rest of the network, and present a potential security risk to the network itself.

The cameras I worked with had a built in FTP client and a timer. You could set up the timer to take a still image every so many seconds or minutes and transfer the image to a web server via FTP. This will probably give you the exact results you are looking for. Then the only thing you need is basic Javascript to change the image every 15 seconds if you don't want the user to have to refresh the page manually.
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote
  #4 (permalink)  
Old 02-25-2008, 11:18 AM
Alan-Hart's Avatar
Alan-Hart Alan-Hart is offline
WebProWorld Member
 

Join Date: Jun 2007
Location: Swindon
Posts: 59
Alan-Hart RepRank 0
Default Re: Live Camera Feed to Web Page

This software (http://www.pysoft.com/ActiveWebCamMainpage.htm) can do the ftp upload for you then you just need some javascript to display and update the image every xx seconds

This JavaScript will load new images from a 640 × 480 webcam as fast as your connection (or the server's) can supply them, without caching problems. It requires the "document.images" object, though could easily be updated for more modern DOMs by using document.getElementWithId().

<script type="text/javascript" language="JavaScript">
newImage = new Image();
function LoadNewImage()
{
var unique = new Date();
document.images.webcam.src = newImage.src;
newImage.src = "http://path/to/webcam.jpeg?time=" + unique.getTime();
}
function InitialImage()
{
var unique = new Date();
newImage.onload = LoadNewImage;
newImage.src = "http://path/to/webcam.jpeg?time=" + unique.getTime(); document.images.webcam.onload="";
}
</script>
<img src="http://path/to/webcam.jpeg" name="webcam" onload="InitialImage()" width="640" height="480">
Reply With Quote
  #5 (permalink)  
Old 02-25-2008, 12:52 PM
eCycle Group eCycle Group is offline
WebProWorld New Member
 

Join Date: Feb 2008
Location: Ojai, CA, USA
Posts: 2
eCycle Group RepRank 0
Default Considering a Live Feed - www.ecyclegroup.com

Hi everyone. We are new to this site and we are considering posting a live video feed into our processing facilities. We recycle printer cartridges and cell phones . Our web url is Recycle Cartridges and Used Cell Phones. (that slogan just popped up when I entered our url - another mystery).

Any advice would be great. Is this common to post a feed that is focused on processing?

Reply With Quote
  #6 (permalink)  
Old 02-25-2008, 01:30 PM
Dubbya's Avatar
Dubbya Dubbya is offline
WebProWorld 1,000+ Club
 

Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,098
Dubbya RepRank 3Dubbya RepRank 3
Default Re: Live Camera Feed to Web Page

I'm with Wige and Mr. Hart.

We did virtually the same thing several years back.

Our client runs construction sites all across the prairies and wanted their investors and potential clients to be able to monitor projects from anywhere.

We used a local PC on the job site which was hooked up to an outdoor webcam to shoot still images every 30 seconds. The camera software would then log on to the net, ftp the still shots (via dialup connection) to the web server, log off and compile the still shots into stop motion videos at the end of each week. All automatically.

The clients were thrilled and so where their investors. Eezie-Peezie to set up, inexpensive to operate and it works like a charm as long as there's an internet connection and a power supply.

Sorry, can't recall the name of the software but there are a few brands around that all do pretty much the same thing. Follow Alan-Hart's link, that'll get ya started in the right direction.
__________________
Printer ink, inkjet & toner cartridges in Canada
"Price-wise printing supplies"
inkjetOasis.ca
Reply With Quote
  #7 (permalink)  
Old 02-25-2008, 01:45 PM
eCycle Group eCycle Group is offline
WebProWorld New Member
 

Join Date: Feb 2008
Location: Ojai, CA, USA
Posts: 2
eCycle Group RepRank 0
Default Re: Live Camera Feed to Web Page

Thanks Dubbya!
Reply With Quote
  #8 (permalink)  
Old 02-25-2008, 03:51 PM
uberanimal's Avatar
uberanimal uberanimal is offline
WebProWorld Member
 

Join Date: Jan 2008
Posts: 55
uberanimal RepRank 0
Default Re: Live Camera Feed to Web Page

wont that eat up bandwidth like a mother?
Reply With Quote
  #9 (permalink)  
Old 02-25-2008, 05:08 PM
Dubbya's Avatar
Dubbya Dubbya is offline
WebProWorld 1,000+ Club
 

Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,098
Dubbya RepRank 3Dubbya RepRank 3
Default Re: Live Camera Feed to Web Page

Quote:
wont that eat up bandwidth like a mother?
Nope... only connects to the network once a minute, just long enough to upload a 320x240 .jpg file

The video is not meant for the general public and are seldom ever linked to other than in the pages they're displayed in.
__________________
Printer ink, inkjet & toner cartridges in Canada
"Price-wise printing supplies"
inkjetOasis.ca
Reply With Quote
  #10 (permalink)  
Old 02-26-2008, 12:59 AM
kgun's Avatar
kgun kgun is offline
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,565
kgun RepRank 3kgun RepRank 3
Default Re: Live Camera Feed to Web Page

Quote:
Originally Posted by wige View Post
I used to work for a consumer electronics company as a technician, specifically working on IP camera systems. Generally speaking, it is very easy to integrate. There are a few different ways to accomplish this. Generally speaking you would not want to present the user with access to the live feed. This will increase your bandwidth, slow down the rest of the network, and present a potential security risk to the network itself.

The cameras I worked with had a built in FTP client and a timer. You could set up the timer to take a still image every so many seconds or minutes and transfer the image to a web server via FTP. This will probably give you the exact results you are looking for. Then the only thing you need is basic Javascript to change the image every 15 seconds if you don't want the user to have to refresh the page manually.
My bolding.

Googling that term gives a lot of potential solutions.
Reply With Quote
  #11 (permalink)  
Old 02-26-2008, 01:02 AM
kgun's Avatar
kgun kgun is offline
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,565
kgun RepRank 3kgun RepRank 3
Default Re: Live Camera Feed to Web Page

Quote:
Originally Posted by Alan-Hart View Post
This JavaScript will load new images from a 640 × 480 webcam as fast as your connection (or the server's) can supply them, without caching problems. It requires the "document.images" object, though could easily be updated for more modern DOMs by using document.getElementWithId(). You mean document.getElementById().

<script type="text/javascript" language="JavaScript">
newImage = new Image();
function LoadNewImage()
{
var unique = new Date();
document.images.webcam.src = newImage.src;
newImage.src = "http://path/to/webcam.jpeg?time=" + unique.getTime();
}
function InitialImage()
{
var unique = new Date();
newImage.onload = LoadNewImage;
newImage.src = "http://path/to/webcam.jpeg?time=" + unique.getTime(); document.images.webcam.onload="";
}
</script>
<img src="http://path/to/webcam.jpeg" name="webcam" onload="InitialImage()" width="640" height="480">
May be that script is good enough, but is it crossbrowser compatible?

Good starting point.
Reply With Quote
  #12 (permalink)  
Old 02-26-2008, 09:50 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,629
wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: Live Camera Feed to Web Page

In our case the cameras I worked with had a built in web server and FTP solution, so that everything could be automated from the device itself. This cut down on the need for additional resources at the site where the camera was installed. All you need at that location is a firewall to limit direct access to the camera. On your web server you would create the client-side coding.

This functionality is available on IP cameras from D-Link, Linksys, and Panasonic, and probably others.
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: live camera, remote camera feed



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Market Your RSS Feed With Microsoft Windows Live mliron Marketing Strategies Discussion Forum 0 06-29-2006 06:04 PM
MSN 's Live.com and Start.com Offer "Feed" Only Search Tab WPW_Feedbot Search Engine Optimization Forum 0 11-13-2005 03:30 PM
New "Google Sitemaps" Web Page Feed Program WPW_Feedbot Search Engine Optimization Forum 1 06-06-2005 10:29 PM
LIVE Video Feed - FREE - Short Film Tournament - Must See! SnerdeyWebs Breakroom (General: Any Topic) 0 05-08-2005 09:11 PM
MSN Beta feed into main search now Live! TrafficProducer MSN Search Discussion Forum 11 02-05-2005 02:18 AM


Search Engine Friendly URLs by vBSEO 3.0.0