Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: HTML Webcam
I am attempting a project that will put a webcam feed onto a web page.
 
I have created the viewer with
 <img src="webcam.jpg" width="200" height="200" border="0" alt="my cam pic" />
 
I have refreshed and cache controlled with:
<meta http-equiv="refresh" content="15"/>
<meta http-equiv="expires" content="0"/>
in the header.
 
So far so good.
 
Now I know I need some way of posting from the camera to the website.
 
Can anyone recommend either how I can do this or point me to any software that can do it for me.
 
Thanks.
Posted 18-Jan-11 12:51pm
Dalek Dave432.9K
Comments
SAKryukov at 18-Jan-11 17:54pm
   
Good question
--SA
Nishant Sivakumar at 18-Jan-11 17:55pm
   
These guys do it : http://www.tincam.com/
 
Not free though.
Nishant Sivakumar at 18-Jan-11 17:57pm
   
Okay, it's only $19 so it's quite cheap.
 
Their software will periodically capture images via the webcam, and optionally upload it to a website via FTP. That's basically what you need here.
Dalek Dave at 18-Jan-11 18:05pm
   
Thank you Nish and SAKryukov, I looked and it seems ideal for the job.
Nishant Sivakumar at 18-Jan-11 18:17pm
   
You're welcome.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Didn't the web cam come with software that does the capture/upload part for you?
  Permalink  
Comments
Dalek Dave at 18-Jan-11 18:36pm
   
Alas not, I can access through windows media, but there is no specialist software with it.
(Built in vanilla web cam - I could stretch to actually buying a proper one with all the necessary software, but for what I want to do it is unnecessary).
SAKryukov at 18-Jan-11 19:05pm
   
I don't think so. I used to buy many, mostly industrial and few consumer. See my answer -- it must be at least something close.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Just to summarize the discussion, here're the steps needed:
 
(1) Periodically capture images form the connected webcam
 
(2) Upload captures images to a website via FTP
 
One company that has software that automates this is:
 
http://www.tincam.com/[^]
 
It's cheap, and currently costs $19.00 for a license.
  Permalink  
v2
Comments
SAKryukov at 18-Jan-11 19:06pm
   
The money is not a problem; the problem there is no source code.
--SA
SAKryukov at 18-Jan-11 19:34pm
   
Also, it can be two slow. A stream of frames is not a video stream. In particular, compression is done not just at the level of separate frames.
Nishant Sivakumar at 19-Jan-11 9:06am
   
Yeah but I thought the idea was to periodically show a still capture (like weather cams) and not to stream actual video.
Espen Harlinn at 19-Jan-11 9:47am
   
5+ $19.00 I'll have remember that one - it's a question that pops up from time to time
Nishant Sivakumar at 19-Jan-11 9:48am
   
If one of us gets the time, it should not take more than a couple of days to write a free library that will do this. The question is who will take it up? :-)
Espen Harlinn at 19-Jan-11 10:17am
   
Using something like http://www.red5server.org/ and SilverLight just to check if it can be done?
Nishant Sivakumar at 19-Jan-11 10:23am
   
Yeah, something like that I guess. Haven't previously heard of that red5server site though.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Dalek, my first idea was using VLC which I knew was a streaming software, but I was not sure it would accept camera input. I used VLC for different purposes like downloading/conversion in tricky situations, not streaming. Important thing: this is Open Source.
 
See also http://en.wikipedia.org/wiki/VLC_media_player[^] and http://en.wikipedia.org/wiki/VideoLAN[^]. Originally, VLC means VideoLAN client.
 
(No cameras do not come with streaming software, John, I used good number of them (more of industrial class though)). Some comes with embedded server or course, but this is firmware, you cannot serve it from a regular Web site.
 
Combined search on Goodle gave me this:
 
http://www.wikihow.com/Stream-Your-Webcam[^].
 
(By the way: a credit to Espen Harlinn: he reminded me about VLC in some completely irrelevant context, so I immediately remembered Dalek's question and decided to find out if VLC could serve up a camera.)
 
Please see if it's good enough for you.
If you need something better, try to Google "stream camera to web" or "stream camera to web VLC".
 
Please share you experience if you find and implement something interesting.
  Permalink  
v5
Comments
Espen Harlinn at 19-Jan-11 9:46am
   
5+ Liked ... streaming software, John, I used ... and it's a good answer. I use VLC as part of a setup to stream TV and Video around the house from a set top box ... accessed via web
SAKryukov at 19-Jan-11 10:22am
   
Thank again, Espen!
I wonder what Dalek say, if he wants to try that.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

  Permalink  
Comments
JF2015 at 19-Jan-11 0:20am
   
Good links!
Espen Harlinn at 19-Jan-11 9:48am
   
5+ Good answer, another good solution
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

There was a PowerToy for WindowsXP called Timershot that would capture a webcam picture at a set interval and upload it to a website - I don't know what OS you are using but it may be worth a look
 
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 381
1 Sergey Alexandrovich Kryukov 265
2 Praneet Nadkar 237
3 Marcin Kozub 225
4 /\jmot 189
0 OriginalGriff 8,284
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,614
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 20 Jan 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100